[FFmpeg-user] Concatenate mp4/h264 files, some without sound track
jshupert at pps-inc.com
Fri Nov 8 18:00:32 CET 2013
I have always had to mux a silent audio to files for them to cat together ok
and the audion should all be the same sort.
sampl rate , codec , num chn etc.
On 11/8/2013 1:25 AM, Francois Visagie wrote:
>> -----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
>> 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:
>>> 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
>>> 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
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user