qencoder icon indicating copy to clipboard operation
qencoder copied to clipboard

Please add ability to specify maximum segment length when using scene detection

Open Nagorak opened this issue 3 years ago • 0 comments

I am compressing some rather unusual videos that are essentially video conferencing and are all extremely long while having basically no scene breaks except for when I briefly tab out. When trying to compress these using scene detection option the program only ends up making about 5 chunks, 4 of which may be 5-15 minutes long, and then the last one is like an hour or two in length. Needless to say this doesn't result in optimal compression performance since the small chunks are finished very quickly and the remaining chunk only has one worker on it.

It would be really helpful if you could add the option to specify the maximum length for a segment, even when using scene detection. If nothing is detected it would break it after X number of frames, similar to how it works with time based splitting.

Also if I could make another suggestion, I would split the keyframe interval and maximum segment length into two different options. The keyframe interval could be used to simply set the encoder keyframe interval, while the segment length would be what is used for time based splitting, as well as serving as backup for videos that scene detection doesn't find anything on.

Nagorak avatar May 06 '21 03:05 Nagorak