join_video.txt
file /Users/Video/input1.mp4
file /Users/Video/input2.mp4
Note : You can add more than two video files.
Then, run the FFmpeg command.
ffmpeg -f concat -safe 0 -i join_video.txt -c copy output_demuxer.mp4
-safe 0
is added so that any file name will be accepted. The default value 1
will reject absolute paths in the text file.
extract frames
ffmpeg -i kickflip.mp4 '%04d.png'
joing frames
ffmpeg -framerate 60 -pattern_type glob -i '*.png' -c:v libx264 -pix_fmt yuv420p result4.mp4
Nav komentāru:
Ierakstīt komentāru