[FFmpeg-user] Use segment muxer and concat: protocol
maxim.levkov at gmail.com
Mon Feb 13 23:29:34 CET 2012
The reason why your simple copy command for concatenation of video segments
failed to produce continuous playback, but only of the first segment, is
that all of the segments contain 'moov' atom box. Hence you need to remove
all of them and recalculate a single 'moov' atom for the entire movie.
Otherwise, you will end up having segments, but only the first segment will
be seen as having 'moov' atom.
Take a look at my paper on the topic,
On Sun, Feb 12, 2012 at 10:22 PM, Acer Yang <yangacer at gmail.com> wrote:
> On Sun, Feb 12, 2012 at 9:10 PM, Andrey Utkin <
> andrey.krieger.utkin at gmail.com> wrote:
> > 2012/2/12 Acer Yang <yangacer at gmail.com>:
> > > Is there any workaround to solve this problem?
> > You can concatenate mp4 files using MP4Box tool from GPAC project.
> > MP4Box -cat segment1.mp4 -cat segment2.mp4 out.mp4
> > --
> > Andrey Utkin
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> I've tested the mp4box tool, it worked well. Further, it rotated moov
> atom(box) automatically and just matched my needs.
> PS. I also tried to extract sub clip from on-joining input. That was
> mp4box -cat 1.m4v -cat 2.m4v -splitx x:-1 output.m4v
> It worked.
> Best wishes,
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user