Guanzhong Chen

Results 55 comments of Guanzhong Chen

Seems like a test failed for some reason, fixed it.

> Just wondering, isn't `force-keyframes-at-cuts` a better option? Since it would cut without leaving in any sponsor segments It re-encodes the video and takes FOREVER.

This is because Windows is horrible and stuff like `cmd.exe` just passes globs to the application as `*` instead of expanding it. You can manually specify all the files or...

> Windows horrors aside, the `glob` module would take care of this (unless for some reason it can't be used here). If you do this on Windows only, sure. Everywhere...

In #11911, I am introducing `get_keyframe_timestamps` for a related use case. However, someone better at using `ffmpeg` might be able to reuse that function to re-encode the section between the...