Selur's Little Message Board

Full Version: how to set x264 to get the same encode parameters?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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
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