Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: EEMcGee on November 20, 2016, 11:27:25 PM

Title: settting X265 to more than 6 ref frames hass error
Post by: EEMcGee on November 20, 2016, 11:27:25 PM
When  setting number of ref frames to more than 6 in x265 it says "cannot set up codec.  Bitrate to low" when trying so save.
Title: Re: settting X265 to more than 6 ref frames hass error
Post by: eumagga0x2a on November 20, 2016, 11:57:23 PM
http://x265.readthedocs.io/en/default/cli.html#cmdoption--ref (http://x265.readthedocs.io/en/default/cli.html#cmdoption--ref) should shed light on the reasons.
Title: Re: settting X265 to more than 6 ref frames hass error
Post by: EEMcGee on November 21, 2016, 05:12:27 PM
Thanks for the info.  So from what I gathered it is limited by the commercial version of HVEC/x265.  That kind of sucks that the new standard (HVEC) is limiting it more than X264.  I wonder why they would do that.
Title: Re: settting X265 to more than 6 ref frames hass error
Post by: mean on November 21, 2016, 05:43:23 PM
More to help you to have a stream that can be decoded by most devices/codec

Title: Re: settting X265 to more than 6 ref frames hass error
Post by: EEMcGee on November 21, 2016, 08:42:41 PM
Maybe you could set 6 as the max for X265 settings.  I assume that would just be changing one variable in the code.  It would avoid people running into that and wondering what is wrong.  It took me a while to isolate ref frame setting higher than 6 as the culprit out of all of the X265 settings.
Title: Re: settting X265 to more than 6 ref frames hass error
Post by: eumagga0x2a on November 28, 2016, 10:53:40 PM
Quote from: EEMcGee on November 21, 2016, 08:42:41 PM
Maybe you could set 6 as the max for X265 settings.  I assume that would just be changing one variable in the code.

This should be fixed now: https://github.com/mean00/avidemux2/commit/c3fa6a3d42bf434189daaaa2a43b8ee637ea321d (https://github.com/mean00/avidemux2/commit/c3fa6a3d42bf434189daaaa2a43b8ee637ea321d)

Thank you for raising the issue.