[FFmpeg-user] Encoding AAC to MPEGTS create a transport stram type mpeg1 instead of mpeg2

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Nov 8 20:57:44 CET 2013


Mauro Mombelli <mombelli.mauro <at> gmail.com> writes:

> ffmpeg -y -i  "input.aac"  -vn -ab 160k -acodec mp2 
> -ac 2 -ar 48000  -f mpegts asd.ts
> 
> But analising the output file, i get a Stream Type: 
> 0x03 MPEG-1 Audio, while i expect (and need) an 
> Stream Type: 0x04 MPEG-2 Audio

This needs only a small change in the source code 
but could you explain your use case?
Which application or device does not like 0x03 
but works with 0x04 ?

Carl Eugen



More information about the ffmpeg-user mailing list