00:00 intro 00:10 command to segment 1min intervals
@centralindian3 жыл бұрын
If I have to trim a video in multiple clips with different timestamps; how can I do it? Is it possible to do in one command?
@aforum44593 жыл бұрын
Hi this is a great question. I have found this command ffmpeg -i in.MOV -codec copy -map 0 -f segment -segment_list out.csv -segment_times 1,2,3,5,8,13,21 out%03d.MOV where you can specify the time in seconds and it will make a csv file for you with all the different files that have been created and their start time and end time. The segment times in this example is the time in seconds that the output video starts and the next number after the comma is when the video will end. here is a link: ffmpeg.org/ffmpeg-all.html#Examples-16 hope this helps.
@centralindian3 жыл бұрын
@@aforum4459 Hey thanks for the reply but sorry I didn't get you. Is it possible to create a video on this topic?
@centralindian3 жыл бұрын
@@aforum4459 Everyday I spend 8 to 10 hours just to cut and crop video in premiere. Every morning I get files from client for cutting and cropping. One file has to be clipped in multiple segment and different dimensions like 1920x1080 and 700x700. I export average 24 small clips from one video file. This becomes really boring when file count is high. I will appreciate if you could help me. Thanks in advance.
@aforum44593 жыл бұрын
@@centralindian This would be a good task for a bash script. I am still learning and I will do a video when I have it figured out. Hopefully I can get it done in the weekend. :)
@centralindian3 жыл бұрын
@@aforum4459 Sincerely thanks. It would be a great help if you could explain how script works. All the best and eagerly waiting for your reply.
@aforum44593 жыл бұрын
I've made a github file for this github.com/afrum/my_ffmpeg/blob/main/segmenting