[FFmpeg-user] concatenate .h264 through a file

Reindl Harald h.reindl at thelounge.net
Tue Apr 11 13:29:39 EEST 2017



Am 11.04.2017 um 12:07 schrieb bbo2:
> Guys I am a noob apologies if this has been asked..
> 
> I have over 900 files to concatenate and am using following command:
> 
> ffmpeg -f concat -i files.txt -vf scale=1080:-1 -vcodec mpeg4 -b:v 1000k
> output.mp4
> 
> I Created a txt list(files.txt) with names of the videos (video-1.h264 - to
> video-943.h264)
> 
> the response I get is "[concat @ 0000000000e967e0] Line 1: unknown keyword
> 'video-1.h264'
> files.txt: Invalid data found when processing input
> 
> I am executing ffmpeg in the video directory... so don't need full path to
> videos, right?
> 
> what am I doing wrong?

besides that you can't concat h264 that way "-i" expects a video file, 
you need some shell scripting - but as said: h264 is not something you 
can concact that way

just read https://trac.ffmpeg.org/wiki/Concatenate


More information about the ffmpeg-user mailing list