* 2022-03-20 04:14:47-0400, lou wrote: > i have 2 video files, they are of same format because they are both > created by android's screen recorder and then resized with same ffmpeg > command to reduce file size now i want to concatenate them with ffmpeg > or mencoder how to specify options using either command? Thanks!
FFmpeg has "concat" file format which is a text file containing all the concatenated files. Create a text file (e.g. "list.txt") which contains lines like this (without indentation): file 'video1.mp4' file 'video2.mp4' Then use a FFmpeg command line like this: ffmpeg -f concat -safe 0 -i list.txt [...] In the place of "[...]" you will have all the codec, filter and output options. Some examples: -c copy ready.mp4 -c:v libx264 -crf 24 -c:a aac -q:a 2 ready.mkv -- /// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/ // OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462
signature.asc
Description: PGP signature