I would like to output them to be HLS playlist. overlay=shortest=1:x=960įinally, output it to the local file. setpts=PTS-STARTPTS, crop=iw/2, scale=960x1080 My final command is: ffmpeg -i webcam.mpg -i webcam2.mpg -filter_complex "nullsrc=size=1920x1080 setpts=PTS-STARTPTS, crop=iw/2, scale=960x1080 setpts=PTS-STARTPTS, crop=iw/2, scale=960x1080 overlay=shortest=1 overlay=shortest=1:x=960" -c:v libx264 output.tsįirst step is to create empty background. The document > of FFmpeg teach me how to merge input videos. The crop command looks like below: ffmpeg -i input.mpg -filter_complex crop=in_w/2 -c:v libx264 output.ts And position them to left and right.First, I have to crop their left and right areas. I would like to merge them to be one 1920x1080 video.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |