Posts: 278
Threads: 61
Joined: Mar 2020
if a video info like this,
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.
Posts: 10.986
Threads: 57
Joined: May 2017
19.03.2021, 07:24
(This post was last modified: 19.03.2021, 07:31 by Selur.)
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'.
Cu Selur
Posts: 10.986
Threads: 57
Joined: May 2017
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