[FFmpeg-user] Trying to create Transport Stream (mpegts) having multiple programs embedded

Andrey Utkin andrey.krieger.utkin at gmail.com
Fri Apr 6 10:46:30 CEST 2012


2012/4/6 S Kilian <iskilian at hotmail.com>:
>
> FFMPEG:
>
> I can not find how to make a transport stream to contain multiple programs. I can make one program having 3 videos and 3 audios but this a standard TS file. I can't figure out how to make input file a separated programs with the TS file. Please advise. Thanks.

In AVFormatContext there's AVProgram* array for that.
But it looks mpegts muxer does not use it, it is used only in demuxer.
So IMO you can't do it with ffmpeg (both utility and API) currently.

-- 
Andrey Utkin


More information about the ffmpeg-user mailing list