Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: bernd_b on February 04, 2012, 03:26:28 PM

Title: Adaptive B-frame Decision always disabled
Post by: bernd_b on February 04, 2012, 03:26:28 PM
As told in the headline:

Regardless what I do, any setting of the option "Adaptive B-frame Decision" in the x264 Configuration Dialog under "Frame" is ignored. When I return to the Dialog the setting is again the default "disabled".

- using r7732 -

Title: Re: Adaptive B-frame Decision always disabled
Post by: nibbles on February 04, 2012, 08:44:03 PM
There is variation in the source between these

i_bframe_adaptive
i_bframe_adaptative


that I can't quite wrap my phead arjound.
Title: Re: Adaptive B-frame Decision always disabled
Post by: Agent_007 on February 05, 2012, 11:15:18 AM
Might be a typo, since i_bframe_adaptative seems to be AVIdemux only.
Title: Re: Adaptive B-frame Decision always disabled
Post by: bernd_b on February 12, 2012, 06:42:57 PM
Can anyone tell me which files exactly are to be corrected? So I could try a simple copy and paste assuming it is a typo ....
Title: Re: Adaptive B-frame Decision always disabled
Post by: nibbles on February 12, 2012, 07:53:53 PM
You might replace all the adaptative occurrences, which is "easy to do" with sed.  Anyone up for it?
Title: Re: Adaptive B-frame Decision always disabled
Post by: Agent_007 on February 13, 2012, 05:39:58 PM
QuoteYou might replace all the adaptative occurrences, which is "easy to do" with sed.  Anyone up for it?
Something like
sed -i 's/i_bframe_adaptative/i_bframe_adaptive/g' avidemux_plugins/ADM_videoEncoder/x264/x264_encoder_desc.cpp
sed -i 's/i_bframe_adaptative/i_bframe_adaptive/g' avidemux_plugins/ADM_videoEncoder/x264/x264_encoder.h
sed -i 's/i_bframe_adaptative/i_bframe_adaptive/g' avidemux_plugins/ADM_videoEncoder/x264/x264_encoder.h
sed -i 's/i_bframe_adaptative/i_bframe_adaptive/g' avidemux_plugins/ADM_videoEncoder/x264/ADM_x264Setup.cpp

(untested)
Title: Re: Adaptive B-frame Decision always disabled
Post by: mean on February 13, 2012, 07:03:43 PM
I fixed the typo, but it should have been harmless
Title: Re: Adaptive B-frame Decision always disabled
Post by: bernd_b on February 26, 2012, 03:05:39 PM
I tried the "sed"-corrections proposed two posts before but for me they changed nothing.

Now I noticed similar problems with trellis.

Mediainfo shows that the encoded file has trellis enabled?!: "trellis=1". But I have it disabled under the option tab Analysis. Maybe I mixed something up, but if this is true, could trellis enabled be the reason why I experience x264 encoding in avidemux3 slower than in avidemux2?
Title: Re: Adaptive B-frame Decision always disabled
Post by: Agent_007 on February 27, 2012, 06:38:34 PM
AVIdemux log file should tell which options it passes to x264. That way you will see if the AVIdemux passes the wrong settings or is there some x264 setting that overrides your selection.
Title: Re: Adaptive B-frame Decision always disabled
Post by: Ethan on March 24, 2012, 03:36:55 PM
Hi,

using the build 7801 I can't still enable both options ("Adaptive B-frame decision" and "Trellis quantization").
I hope someone fixes them soon.

Best regards.
Title: Re: Adaptive B-frame Decision always disabled
Post by: mean on March 25, 2012, 01:23:32 PM
B_daptive maybe fixed
Trellis should work already
Title: Re: Adaptive B-frame Decision always disabled
Post by: nibbles on March 25, 2012, 09:37:37 PM
Adaptive B-frame decision value now persists.  Thanks for fixing that.
Trellis I'm not so sure about, but still testing & learning what to look for.
It was unchecked, but I saw a 1 in the list of x264 settings.
Title: Re: Adaptive B-frame Decision always disabled
Post by: bernd_b on March 26, 2012, 02:04:00 PM
Yes, thanks very much, Adaptive b-frame decision (b_adapt) option now stays and seems to be executed according to mediainfo.

I have trouble with these:

- trellis: All settings here will be lost (trellis is always disabled when I return to the configuration menu) but it seems to be enabled considering the information extracted from the encoded file (says trellis=1).

- Is it a recent change that the loop Filter options are greyed out (not able to be set)?


Title: Re: Adaptive B-frame Decision always disabled
Post by: styrol on March 26, 2012, 03:09:19 PM
QuoteIs it a recent change that the loop Filter options are greyed out (not able to be set)?
Not all filters are implemented yet in Avidemux 2.6, maybe this is the reason in your case.
Title: Re: Adaptive B-frame Decision always disabled
Post by: bernd_b on March 26, 2012, 05:19:25 PM
Yes, maybe. But just to be sure that there is no misunderstanding: we are talking of x264-codec option and not a Filter in the sense of Avidemux....

Still - someone here who had luck with trellis option under x264 or do we have a bug here?
Title: Re: Adaptive B-frame Decision always disabled
Post by: mean on March 26, 2012, 05:56:20 PM
Trellis should be okay now
All options are not bound. Most of them should be thought.
Title: Re: Adaptive B-frame Decision always disabled
Post by: bernd_b on March 28, 2012, 08:34:20 AM
 :)Just want to confirm that I could disable trellis successfully with yesterday evening compiled version. :)
Title: Re: Adaptive B-frame Decision always disabled
Post by: Ethan on March 29, 2012, 01:11:40 PM
Looks like both options now work.
There are still other options not managed so avidemux2.5 compresses a little more than avidemux2.6, but this is a different matter :)
Thanks!
Title: Re: Adaptive B-frame Decision always disabled
Post by: Jan Gruuthuse on March 29, 2012, 01:22:54 PM
2.6 is still under construction