Edit videos quick , without editor



Edit videos quick , without editor



Using individual segments
If you want to split the clips and later reassemble them:

ffmpeg -i edv_g24.mp4 -ss 0 -to 10 -c copy part1.mp4
ffmpeg -i edv_g24.mp4 -ss 10 -to 15 -c copy part2.mp4
ffmpeg -i edv_g24.mp4 -ss 15 -c copy part3.mp4


Using concat demuxer
You can in principle also try to concatenate the bitstreams without re-encoding them, using the concat demuxer. Create a file called concat.txt and add the following entries (corresponding to the video clips created above):

file 'part1.mp4'
file 'short-video.mp4'
file 'part3.mp4'
Then concatenate these individual files:

ffmpeg -f concat -i concat.txt -c copy output.avi
This however requires your clips to have the same codec, resolution, framerate etc. – so it doesn't work with all kinds of heterogenous sources.




from
https://superuser.com/questions/1229945/ffmpeg-split-video-and-merge-back




VLC timecodes

https://addons.videolan.org/p/1154032/


Trim video file using FFMPEG
ffmpeg -i input.mp4 -ss 01:10:27 -to 02:18:51 -c:v copy -c:a copy output.mp4

https://www.arj.no/2018/05/18/trimvideo/

Kommentit