aacparse/rtpmp4apay/depay: Add support for LATM
For testing aacparse
, used the below pipelines.
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=loas ! aacparse ! fdkaacdec ! audioconvert ! alsasink
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=latm-mcp1 ! aacparse ! fdkaacdec ! audioconvert ! alsasink
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=latm-mcp0 ! aacparse ! fdkaacdec ! audioconvert ! alsasink
For testing rtpmp4apay/depay
, used the below pipelines
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=raw ! rtpmp4apay ! application/x-rtp,clock-rate=44100,stream-format=raw ! rtpmp4adepay ! avdec_aac ! audioconvert ! alsasink
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=latm-mcp1 ! rtpmp4apay ! application/x-rtp,clock-rate=44100,stream-format=latm-mcp1 ! rtpmp4adepay ! fdkaacdec ! audioconvert ! alsasink
gst-launch-1.0 audiotestsrc volume=0.4 ! audioconvert ! fdkaacenc ! audio/mpeg,rate=44100,channels=2,stream-format=latm-mcp0 ! rtpmp4apay ! application/x-rtp,clock-rate=44100,stream-format=latm-mcp0 ! rtpmp4adepay ! fdkaacdec ! audioconvert ! alsasink
See the corresponding support in fdkaacenc
here for generating an AAC stream with loas
or latm-mcp0/1
.
Edited by Sanchayan Maity