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

ffmpeg encoding crashes when a video profile is set #1550

Open
b005t3r opened this issue Nov 18, 2024 · 3 comments
Open

ffmpeg encoding crashes when a video profile is set #1550

b005t3r opened this issue Nov 18, 2024 · 3 comments

Comments

@b005t3r
Copy link

b005t3r commented Nov 18, 2024

When encoding with the new release, I get this error:

Error: [libx264 @ 0x7f9ec011f2c0] [Eval @ 0x309c69968] Undefined constant or missing '(' in 'high'

Error: [libx264 @ 0x7f9ec011f2c0] Unable to parse option value "high"

Error: [libx264 @ 0x7f9ec011f2c0] Error setting option profile to value high.

It looks like an issue with ffmpeg 7.1, but I'm not certain about that, wasn't able to reproduce with the command line static builds for macOS (7.1 and the one from 2024-11-15 both work with no issues, so maybe just a libav issue?), but definitelly everything worked fine with 1.5.10.

@b005t3r
Copy link
Author

b005t3r commented Nov 18, 2024

Update: it does work when setting the profile using a numerical value instead (tested "100" which is "high" for both h264_videotoolbox and libx264).

@b005t3r
Copy link
Author

b005t3r commented Nov 18, 2024

Another update: this trick with numerical values does not work for dnxhd for somre reason, which makes it impossible to select the dnxhr_hq profile, which in turn makes it impossible to encode anything about 1080p.

I think the best bet would be to build and older version of ffmpeg for the official release, as this is a pretty serious issue, however ideally still something 7.x, because 6.x (used in 1.5.10) had another major issue with ProRes (transparency didn't work on the most recent macOS).

@saudet
Copy link
Member

saudet commented Nov 18, 2024

Please try with this patch: HandBrake/HandBrake#6340 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants