Selur's Little Message Board
[HELP] how to set x264 to get the same encode parameters? - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] how to set x264 to get the same encode parameters? (/thread-1778.html)



how to set x264 to get the same encode parameters? - ssdde - 19.03.2021

if a video info like this, 

[Image: dS71TtKm83OX9I4.jpg]

i want to encode ASS embed into it, but keep the same AVC encode parameters like before, so how to set in Hybrid? thanks.

Main@L5, 2 Ref Frames, i know how to set these two options in Hybrid, but CABAC:NO, GOP:N=2, codec ID, i don't know how to set in Hybrid.


RE: how to set x264 to get the same encode parameters? - Selur - 19.03.2021

Quote: but keep the same AVC encode parameters like before
unless you need to encode for some hardware which only supports these options, this usually is a bad idea.

Quote: but CABAC:NO, GOP:N=2, codec ID, i don't know how to set in Hybrid.
Assuming you are using x264:
For "CABAC: NO" set "x264->Restriction->Settings->Entropy coding" to "CAVLC"
For "GOP: N=2" set "x264->Frames->General Frame Settings->Gop size max min/max" to 2 (depending on the device you might even need to use 2/2, but max 2 is what "GOP: N=2" means).
(have to check on the codec id)
As a side note: Unless you encode for some specific old hardware which does not support more these settings are 'crap'. Smile



Cu Selur


RE: how to set x264 to get the same encode parameters? - Selur - 19.03.2021

I remembered the 'Codec ID': It's how .mkv tags AVC streams.
-> you need to use mkv (or webm) as output container for this.

Cu Selur