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

Add defaults for mpeg2video encoder #252

Merged
merged 1 commit into from
Dec 22, 2024
Merged

Conversation

alexheretic
Copy link
Owner

mpeg2video: map --crf to ffmpeg -q and set default crf range to 2-30.

Usage example

$ ab-av1 crf-search -i vid.mp4 -e mpeg2video --max-encoded-percent 300
- crf 16 VMAF 83.56 (84%) (cache)
- crf 8 VMAF 91.74 (143%) (cache)
- crf 2 VMAF 97.33 (485%) (cache)
- crf 5 VMAF 94.43 (209%) (cache)
  00:00:00 crf 4 1/1 ##################################################### (eta 0s)
Encode with: ab-av1 encode -e mpeg2video -i vid.mp4 --crf 4

crf 4 VMAF 95.61 predicted video stream size 52.16 MiB (259%) taking 1 second

@alexheretic alexheretic merged commit 295faf0 into main Dec 22, 2024
2 checks passed
@alexheretic alexheretic deleted the mpeg2video-defaults branch December 22, 2024 17:51
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.

1 participant