Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two Pass Encoding Class #10

Merged
merged 8 commits into from
Jan 25, 2024
Merged

Two Pass Encoding Class #10

merged 8 commits into from
Jan 25, 2024

Conversation

zfleeman
Copy link
Owner

ffmpeg-python supports two-pass encoding, but it is not well-documented on the web. This MR introduces a class that creates a two-pass encoding run with ffmpeg-python in order to achieve a target filesize.

@zfleeman zfleeman self-assigned this Jan 20, 2024
Dockerfile Outdated Show resolved Hide resolved
encode.bat Outdated Show resolved Hide resolved
ffmpeg4discord.py Outdated Show resolved Hide resolved
twopass/twopass.py Show resolved Hide resolved
utils/arguments.py Outdated Show resolved Hide resolved
twopass/twopass.py Outdated Show resolved Hide resolved
twopass/twopass.py Outdated Show resolved Hide resolved
twopass/twopass.py Show resolved Hide resolved
twopass/twopass.py Outdated Show resolved Hide resolved
twopass class handles streams better and returns a file size
@zfleeman zfleeman added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 22, 2024
@zfleeman zfleeman marked this pull request as ready for review January 25, 2024 02:11
@zfleeman zfleeman merged commit 2af6051 into main Jan 25, 2024
1 check passed
@zfleeman zfleeman deleted the high-class branch January 25, 2024 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Create a TwoPass() class, and replicate the current script's functionality.
1 participant