[FFmpeg-user] Joining ts files as "Programs" (not concatenate)

Timothy Gu timothygu99 at gmail.com
Wed Mar 27 02:09:16 CET 2013


Hello,

On Mar 26, 2013 11:07 AM, "Jennifer Naomi Nagatani Nagamine" <
jnaomi at cpqd.com.br <javascript:_e({}, 'cvml', 'jnaomi at cpqd.com.br');>>
wrote:
>
> Hello,
>
> I'm having trouble trying to join 2 or more .ts files.
> I'm trying to desmux the videos and audios for mux them latter, but the
> examples I found are all like this:
> ffmpeg -i video.mts -acodec copy -vn audio.ac3
> ffmpeg -i video.mts -vcodec copy -an -f h264 ffNT.h264
> ffmpeg -i video.h264 -i audio.ac3 -vcodec copy -acodec copy videoaudio.ts
>
> This way, I ended up losing the other video and audio from my original .ts
> file and I didn't find how to extract the rest of the data in the .ts.
>
> My files have videos with some audios separated in programs. I would like
> to join the other as a "Program" keeping his audio together with his video
> (when i use VLC i would like to not be able to select the audio from other
> "Program" if possible).


Afaik the mpegts muxer is too bad to do the job. :(

http://ffmpeg.org/pipermail/ffmpeg-user/2012-April/005943.html

Timothy G.


More information about the ffmpeg-user mailing list