Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
28th September 2019, 10:21 | #1 | Link | ||
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
SVTHevcEncApp and gop sizes
I'm trying to understand the setting of SVTHevcEncApp and stumbled over setting the gop size:
Reading: Quote:
How I understand this is that: 1. using CQP -irefresh-type can only be -1 or 0 2. using VBR -irefresh-type can only be -1 to N Problem is, I struggle with the differentiation of 'headers insertion interval' and 'Distance Between Intra Frame'. So what does '-intra-period X' do when I use: a. CQP + openGOP (-irefresh-type -1) b. CQP + closedGOP (-irefresh-type 0) c. VBR + openGOP (-irefresh-type -1) d. VBR + openGOP 0 (-irefresh-type 0) e. VBR + openGOP 1000 (-irefresh-type 1000) Can someone explain this ? Quote:
If that is the case, what does 'irefresh-type' with a value > 0 do? Cu Selur Last edited by Selur; 28th September 2019 at 10:24. |
||
28th September 2019, 12:37 | #2 | Link | |||
Registered User
Join Date: Jul 2015
Posts: 708
|
Quote:
Quote:
* * -1 = CRA, open GOP. * >=0 = IDR, closed GOP, and the value is headers insertion interval. * * Default is -1. */ int32_t intraRefreshType; Quote:
* Intra refresh. It is strongly recommended to set the value to multiple of * 8 minus 1 the closest to 1 second (e.g. 55, 47, 31, 23 should be used for * 60, 50, 30, (24 or 25) respectively. * * -1 = no intra update. * -2 = auto. * * Deault is -2. */ int32_t intraPeriodLength; If that is the case, what does 'irefresh-type' with a value > 0 do? 'irefresh-type' sets the value is headers insertion interval. 'intra-period' sets the GOP value. For GOP 60 and closed GOP 'irefresh-type' is 59 PS This is a test codec. The codec only works correctly for 10bit bitdepth. Last edited by Jamaika; 28th September 2019 at 12:49. |
|||
28th September 2019, 19:54 | #3 | Link | |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
Sadly that explanation doesn't really help my understanding. :/
Quote:
'-intra-period 60 -irefresh-type 59' and '-intra-period 60 -irefresh-type 0' ? Cu Selur |
|
28th September 2019, 21:45 | #4 | Link |
Registered User
Join Date: Jul 2015
Posts: 708
|
And rightly so, that you don't understand. My mistake
'intra-period' sets the GOP value. For GOP 60 and closed GOP 'intra-period' is 59. Defines the frequency of sequence header placement relative to GOPs. Sequence Headers include information required to decode the clip, such as buffer size, frame size, aspect ratio, frame rate, and bit rate. Sequence headers should occur more frequently for footage that will be edited or will be broadcast in order to allow access at any point in the video. Video encoded for DVD can have a sequence header only at the beginning. For this you need a HEVC analyzer. From what I understand, 'irefresh-type' is zero for BluRay. 'irefresh-type' is similar to 'intra-period' for video. Last edited by Jamaika; 29th September 2019 at 07:51. |
|
|