[FFmpeg-user] Concatenate mp4/h264 files, some without sound track
Francois Visagie
francois.visagie at gmail.com
Fri Nov 8 07:25:37 CET 2013
> -----Original Message-----
> From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> bounces at ffmpeg.org] On Behalf Of Tim Hiles
> Sent: 07 November 2013 21:48
> To: FFmpeg user questions
> Subject: Re: [FFmpeg-user] Concatenate mp4/h264 files, some without
> sound track
>
> in windows I use this:
>
> c:\ffmpeg\ffmpeg\bin\ffmpeg.exe -loglevel error -f concat -i filelist.txt
-c
> copy %finalname%
>
> filelist.txt looks like this
>
> # this is a comment
> file 'C:\somepath\somefile.mp4'
> file 'C:\somepath\somefile2.mp4'
>
> Seems to work fine for me.
You don't say whether some of your input files doesn't have sound (mine
always do when concatenating). In case this still gives the original poster
trouble with files missing audio, I suggest adding silent streams with the
same audio parameters as the other files.
> On Thu, Nov 7, 2013 at 10:36 AM, Laurent Polèse
> <laurent.polese at gmail.com>wrote:
>
> > Hello
> >
> > I know this is covered in faq, but it didn't work for me.
> > I use ffmpeg version 0.10.9
> > I have 3 mp4 files to concatenate, ideally with no re-encoding.
> > But the trick is that first and last file has no sound track.
> >
> > I tried the "mmcat" tool from burek, but I have sound issue.
> > I tried to add first sound to the files with no sound track, it didn't
> > help.
> > I tried the concat filter, the MP4Box tool but I always have problems
> > : the sound disappears, loose sync, image freezes, etc.
> >
> > Does anyone have in main a simple solution to just concatenate 3
> > mp4/h264/AAC files, some of them without sound tracks ?
> >
> > Thanks a lot ;)
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list