Hi all, I have checked Youtube Recommended setting and it wants closed GOP with its half the frame rate. I don't know what that really means, but Handbrake does seem to have that setting. Can anyone explain clearly what GOP means and if there is a way to get closed GOP with its half the frame rate using handbrake? I render as 720P high frame rate.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 14 of 14
Thread
-
-
https://en.wikipedia.org/wiki/Group_of_pictures
It's really the main thing that allows such levels of compression. -
Each frame in a closed GOP only references other frames within the GOP. In open GOPs the last few frames of the GOP may reference the keyframe of the next GOP.
-
Handbrake doesn't give you GUI control of GOP size or whether they are open or closed. But the default in its x264 encoder is closed GOP so you probably don't need to worry about that one. To specify a maximum GOP size you can enter it in the x264 Extra Options box. For example if your frame rate is 60 fps and you want half second GOPs enter "keyint=30" (without the quotes). If you need to specify more than one extra option separate the options with a colon. So if you wanted to specify GOP size 30 and open GOPs enter "keyint=30:open-gop" (again, without the quotes).
The default in x265 is open GOPs. If you want closed GOPs you have to enter "no-open-gop" in the Extra Options box. GOP size is specified the same was as in x264, "keyint=30".
See the x264 and x265 docs for any other options you may need to specify that way. -
-
-
Last edited by Takashi; 26th Sep 2020 at 21:11.
-
Yes, keyint is the GOP size. So" --keyint 300" creates 300 (max) frame GOPs. The default in x264 is closed GOPs. The default in x264 is also to start a new GOP at scene changes. Some many GOPs will be less than 300. "--min-keyint 30" prevents the GOPs from being less than 30 (to prevent bitrate spikes from too many I frames).
If your source is 720p at 50 fps youtube's recommendation of "closed GOP with its half the frame rate" means set --keyint 25. The min-keyint recommendation of 1/10 keyint becomes silly with such small GOPs. I'd set it to maybe 1/2 keyint, --min-keyint 12.
Note that "--keyint 25 --min-keyint 12" is the format for the x264 command line encoder. In Handbrake you need to use Handbrake's syntax "keyint=25:min-keyint=12" in the Extra Options box. -
for youtube I use filmora and it's fine
but now I use MeGUI to make backup copies of my DVD collection to MP4 some are PAL and others NTSC
so. Do you think "--keyint 25 --min-keyint 12" is ok for DVD PAL? or would it be better to go with "--keyint 250 --min-keyint 25"?
And what do you advise me for NTSC DVDs?
"--keyint 300 --min-keyint 30" "or --keyint 30 --min-keyint 15"
and finally which is better for GOP Calculation Fixed or FPS based? -
From some downloaded youtube video, they seem to be using 5s keyframes.
Recommandations are just that, recommandations. They reencode your video in any case. -
-
Just leave the keyint at the default -- 250 frames.
In theory, the longer the GOP the lower the bitrate requirement. But once you get beyond 50 or so there's not much difference with most material. The default is fine for most video. Worrying about whether it should be 250 or 300 is ridiculous. Unless you have specific requirements. For example, Blu-ray is limited to 2 second GOPs (50 frames at 25 fps), if I remember correctly.
You can easily run experiments to test this yourself. Do CRF encodings with 10, 50, 100, 250, and 500 frame GOPs and compare the resulting file sizes.
Similar Threads
-
Is dynamic GOP the same as closed GOP. GOP of half the frame rate?
By Chibi in forum EditingReplies: 3Last Post: 31st Aug 2017, 13:33 -
FULL color setting in Handbrake and Vidcoder?
By ConverterCrazy in forum Newbie / General discussionsReplies: 31Last Post: 19th Jan 2017, 03:07 -
Most simple Handbrake setting to convert MKV to H264 or Mp4
By joms in forum Video ConversionReplies: 65Last Post: 4th Jul 2015, 01:18 -
Handbrake: Quality setting is being overridden some how? help please
By stringpickin in forum Video ConversionReplies: 4Last Post: 10th May 2015, 23:24 -
Setting for Xvid on Older Handbrake
By Johnbil in forum DVD RippingReplies: 0Last Post: 20th May 2014, 13:18