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

Jennifer Naomi Nagatani Nagamine jnaomi at cpqd.com.br
Wed Mar 27 13:04:33 CET 2013


Hello,

Thanks for the reply!

I really need to join streams, so now I want to know if the ffmpeg can't
really do it (if it does bad or is to much complicated) and what other
programms can I use then?

Naomi N.


2013/3/26 Timothy Gu <timothygu99 at gmail.com>

> 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