like this: ffmpeg -i out/i1.mp4 -i out/i2.mp4 -filter_complex "crop=iw/2+t:ih:0:0 crop=iw/2-t:ih:ow:0 hstack" out/generated. My question is - how to make the border between two videos floating, animated? For example from left side of output vide to the right? I have a file that shows the bounding box of where an object should be and have written a text file called 'myscript.txt' that has commands as follows: cropx125:y190:w105:h98 crop. Now I have 2 videos - white and aqua squares in one split output video, and this code works fine: ffmpeg -i out/i1.mp4 -i out/i2.mp4 -filter_complex "crop=iw/2:ih:0:0 crop=iw/2:ih:ow:0 hstack" out/generated.mp4 I am trying to use FFMPEGs filtercomplexscript option to crop a video in different places depending on the time. I'm looking for a way to make crop filter params depends on current time. Trim the input so that the output contains one continuous subpart of the input.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |