Yes, FFmpeg can do re-encodes. The small primer there on AviSynth was mainly because that's one way you can ensure that everything looks correct before giving it to FFmpeg, because as far as FFmpeg knows, it's only getting one file, not several.
But either way, the way you would go about encoding afterward is the same, whether you use a concat list file or an AviSynth script:
Code:
ffmpeg -f concat -safe 0 -i video.list -vcodec libx264 -crf 18 -acodec aac -b:a 192k 'Concatenated.mp4'
or
Code:
ffmpeg -i video.avs -vcodec libx264 -crf 18 -acodec aac -b:a 192k 'Concatenated.mp4'
Encoding parameters get listed after the input. vcodec (or c:v) selects the video codec (in this case, libx264, since H.264 is by far the most commonly supported video format these days), crf is the video quality control targeting a rough perceptual quality rather than a specific bitrate* (18 being a fairly middle of the road setting for anything ~720p or under), acodec (or c:a) selects the audio codec (aac, since that is typically what gets paired with H.264), and b:a sets the audio bitrate.
*if it has to be played back on dedicated hardware rather than a software player, you may need to switch to using a specific bitrate instead, but I would try with crf mode first.
Bookmarks