How to extract time-accurate video segments with ffmpeg?
Ok, first of all assuming you know the start and stop duration; we will add key-frames at that duration. ffmpeg -i a.mp4 -force_key_frames 00:00:09,00:00:12 out.mp4 Most of the time you can directly cut the video with perfection but in your case it does not help you; so we have taken care of it by above … Read more