Skip to content

Conversation

@EasyG0ing1
Copy link
Contributor

The class TwoPassFFmpegJob had a method in it for including a ProgressListener, but FFmpegExecutor did not have a method that would employ it. I simply added the method to the executor, tested it and it works fine.

I am curious, however ... ffmpeg has a command-line switch for two pass encoding, but this library seems to accomplish this manually ... why not just use the option that is built into ffmpeg?

@bramp
Copy link
Owner

bramp commented Oct 26, 2023

Sorry for the delay!

From memory, the reason two-pass was done manually, because there were certain scenarios where you needed/wanted to change flag, options between passes, and/or capture the output from the first pass. But honestly I don't remember the exact reason.

Otherwise your change looks good. Thanks.

@bramp bramp merged commit b8e588a into bramp:master Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants