Answer the question
In order to leave comments, you need to log in
Video distortion when merging (concat) 2 files into one, what's the problem?
Merge files into 1 using ffmpeg
ffmpeg -f concat -i "$1" -c copy -y -threads 0 "$OUTPUT_FILE"
. Answer the question
In order to leave comments, you need to log in
I think this is due precisely to the GOP, the distance between the key frames on the first and second video is different, ffmpeg takes the parameters of the first (copy key) for gluing (In my opinion)
I would recode both videos with the same keys if I were you and then glued, or data from the first ffmpeg -i and re-encoded the second
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question