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

Mauro Mombelli mombelli.mauro at gmail.com
Fri Nov 8 15:54:51 CET 2013

i have some .acc audio file, i want to create an mpega transport stream
from that file, and then stream them over UDP.
Actually I use this command:

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

I can't understand why this is appening, any help is apreciated

More information about the ffmpeg-user mailing list