[FFmpeg-user] he_aac with latm framing in a TS

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Nov 14 02:17:46 CET 2012


Chris Wass <chris.wass <at> gmail.com> writes:

> $ ffmpeg -y -i catswiththumbs_1080_short.mp4 -vn 
> -acodec libfdk_aac -latm 1
> -aprofile aac_he -ar 48000 audio.ts

This does not seem to work, sorry for the bad advice;-(
The following does work though:
$ ffmpeg -i input -mpegts_flags latm -acodec aac -strict -2 out.ts

[...]

> $ ffmpeg -y -i catswiththumbs_1080_short.mp4 -vn 
> -acodec libfdk_aac -latm 1
> -aprofile aac_he -ar 48000 audio.latm

I opened ticket #1917 for the crash (thank you).

The following works here: (surprisingly!)
$ ffmpeg -i input -acodec libfdk_aac -latm 1 out.aac
(or: -f adts out.latm)

Carl Eugen



More information about the ffmpeg-user mailing list