As per ffmpeg bitstream filter documentation, if we use -bsf:a aac_adtstoasc then the AAC stream from a raw ADTS AAC or an MPEG-TS container to MP4A-LATM.


But when i try below command the file is not getting converted or adding the bitstream filter

./ffmpeg -i ~/Downloads/test_audio.aac -c:a copy -bsf:a aac_adtstoasc aac_try_with_bsf.aac

I have checked the output format with help fo mediainfo binary.

Could someone help me to figure out the issue ?

1 Answer 1


I assume you're the same poster as at ffmpeg-user who posted this.

.aac stores a raw bitstream and the demuxer has no facility to extract the stream parameters as extradata. So, you can try streaming like this,

./ffmpeg -re -i ~/Downloads/test_audio.aac -acodec copy -vn -rtpflags latm -f rtsp rtsp://shafi:shafi at

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.