fba6488011bca9538377ce4fa327902e971acd23
Instead of a second select video filter, the frame cap is enforced with -frames:v. This prevents the unusual output and provides the desired performance benefits When a frame rate is forced, neither path would return the first input frame as the first output frame. ffmpeg would return the middlemost frame from that time window and the opencv code would return the latest. Both have been adjusted to return the earliest valid frame, but an off by one error seems to remain resulting in more correct output from opencv
ComfyUI-VideoHelperSuite
Nodes related to video workflows
Languages
Python
52.8%
JavaScript
47.2%