Log in

View Full Version : error with latest MeGUI: invalid argument: nal-hrd = --b-pyramid


florinandrei
7th August 2010, 19:29
I let MeGUI update itself to latest version.

Loaded up an AVS file. Selected the x264: AVCHD (DVD5/9) - 2pass profile. Changed the bitrate. Selected Tunings: film. Enqueued the jobs.

When I try to launch the 1st job: I get this error:

[Error] An error occurred: x264 [error]: invalid argument: nal-hrd = --b-pyramid

Here's the command line as displayed by MeGUI in the lower field:

program --tune film --pass 2 --bitrate 4625 --stats ".stats" --slow-firstpass --trellis 0 --profile high --level 4.1
--bframes 3 --ref 4 --slices 4 --aud --nal-hrd --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000
--vbv-bufsize 14500 --output "output" "input"

What is the cause? ("who's wrong?")

What can I do to fix it?

b66pak
7th August 2010, 19:42
post the encoding line from the log: just before the error line...
_

Lyle_JP
7th August 2010, 21:16
--nal-hrd requires a parameter, either vbr or cbr. What version of MeGUI are you using? 0.3.5.6 always uses one of the parameters.

Zathor
8th August 2010, 17:12
What is the cause? ("who's wrong?") What can I do to fix it?

(At least) three things can be tried:
- fix your profile (very likely a vbr is missing after the --nal-hrd in your custom command line)
- update to the development build of MeGUI (a fix is included since 0.3.5.3 so that these wrong command line will be fixed)
- use the profiles which have been installed with 0.3.5.0

florinandrei
10th August 2010, 04:55
Here's what I did: I uninstalled MeGUI, downloaded 0.3.5.0 and installed it, let it update all components (and re-imported all profiles), then I tried again.

This time it worked fine. I killed the first pass when I saw it didn't throw any errors after a couple minutes or so. I'll let it complete encoding tomorrow.

This is the new command line:

program --tune film --pass 2 --bitrate 4625 --stats ".stats" --slow-firstpass --level 4.1 --bframes 3 --ref 4 --slices 4 --aud --nal-hrd vbr --b-pyramid strict --keyint 24 --min-keyint 2 --vbv-maxrate 14000 --vbv-bufsize 14500 --weightp 0 --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --output "output" "input"

Thank you all for the suggestions. I'll do my best to remember to try this procedure if a problem like this happens again.