Log in

View Full Version : FFMPEG -streamid and mp4


mbmacri
31st January 2013, 21:05
Hi

I'm not sure this is the right place to post, but I have a question about ffmpeg and mp4 container.

I need to encode some videos naming every streams (or objects) in a particular way:

Video object=0x65 (101)
Audio object 1=0xC9 (201)
Audio object 2=0xCA (202)
Audio object 3 …
Timed text object 1 =0x12D (301)
Timed text object 2 =0x12E (302)
Timed text object 3...

I tried with -streamid option, but it seams to work only for MPEG-TS output format.

Do anyone know a way to set the object/stream ids for the mp4 output format using ffmpeng?

thanks.