[FFmpeg-user] Concat with listing all files in command?
micaelsilva at gmail.com
Mon Nov 19 18:13:28 EET 2018
On Sat, Nov 17, 2018 at 2:36 PM Ben <bxstover-at-yahoo.co.uk at ffmpeg.org>
> I want to concat various video files with ffmpeg (in WinOS). Therefore I
> used so far the following command:
> ffmpeg.exe" -f concat -safe 0 -i "D:\clips\filelist.txt" -c copy
> Where D:\filelist.txt contains all filenames to concatenate.
> Now I want to change the command so that no intermediate file is necessary
> any more.
> How can I achieve this?
> The following command does NOT work:
> ffmpeg.exe" -f concat -safe 0 -i "D:\clips\firstfile.mp4"
> "D:\clips\secondfile.mp4" "D:\clips\thirdfile.mp4" -c copy
> Whats worng?
Did you tried ffmpeg -i "concat:file1.ts|file2.ts|file3.ts" ?
But remember that concat input only accepts "headless" containers like mpg
or ts, mp4 isn't one of them.
More information about the ffmpeg-user