Answer the question
In order to leave comments, you need to log in
ffmpeg how to set multiple parameters at once?
Hey! I'm merging videos with ffmpeg. Judging by the documentation, you first need to convert the video to mpg and then glue it. I form a string with arguments -i c:\vid.avi -qscale:v 1 c:\vid.mpg
Next I encode the video
Then I take the second video and do the same -i c:\vid2.avi -qscale:v 1 c:\vid2.mpg
After that I encode the second video.
Then I merge both videos
-i concat:"c:\vid.mpg|c:\vid2.mpg" -c copy c:\vidfull.mpg
Answer the question
In order to leave comments, you need to log in
Merge video is a separate command, in any case.
If you have input files in the same codec and format, then they do not need to be recoded, but can be glued right away.
ps "combine into one" can be written by writing all the commands in one script file: .bat
or .sh
, depending on the platform.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question