timecut
timecut copied to clipboard
When writing directly, there can be a ECONNRESET error thrown
When writing to the ffmpeg's stdin
(i.e. when not in frame mode), there can be a ECONNRESET error thrown from the ffmpeg process. It looks like this is caused by ffmpeg resetting the input stream for some option configurations. In these observed cases, it seems to not be thrown when ffmpeg is passed the -pix_fmt yuv420p
option for its output.
In any case, this should error should be detected and recommend the user to switch to frame mode or -pix_fmt.