| Love ffmpeg! I was trying to do something the other day and couldn’t figure it out, if anyone has any ideas. The end goal is to provide a set of video files, with time stamps for each, splicing them into one file while removing parts I don’t want. That is straightforward enough, as long as you’re willing to re-encode the whole file. Otherwise, it seems like ffmpeg is restricted to make cuts at key frames. It’s rare for the key frame to be placed at the exact spot I would want to make a cut, so the section of the video around the cut would need to be re-encoded. Ideally that would be the only part hat is re-encoded - everything else would be a a straight transcode from key frame to key frame. I believe this is called ‘smart rendering’, and the pages I could find in the past said ffmpeg isn’t really suited for it, or it’s very difficult. Does anyone know if that has changed recently, or have found a way to do it? |
Afraid I don't know how to do what you want with the ffmpeg commandline tool, though, either by partial re-encoding or by edit lists.