[x264]Max GOP size of 50fps video is *2 - Bug? >> Ukraine >> Forum about travel in Ukraine
Forum about travel in Ukraine

Forum about travel in Ukraine



SearchSearch   Users   Registration   Entrance
Today: 02.08.2025 - 03:52:25
Pages:  1  

[x264]Max GOP size of 50fps video is *2 - Bug?

Advertising


AuthorMessage

AlleyCat

user




Statistics:
Messages: 93
Registration: 03.03.2002

Hallo, i've encoded a 50fps video with MeGUI. I wanted 10sec I-frame interval so i set max gop size to 500 and minimum gop to 50. The command line was: program --level 4.2 --crf 18 --keyint 500 --output "output" "input" The output video had 20 seconds I-frame interval though. Shouldn't this be 1000 frames max gop size? Then i encoded the same video with 250/25 gop size and it resulted in a 10 sec I-frame interval (checked with avidemux). So, is 250/25 always 10 seconds I-frame interval independent of source video fps or is it a bug? MeGUI v2192 x264 v2216

---------------------
Message # 1 17.04.22 - 04:03:39
RE: [x264]Max GOP size of 50fps video is *2 - Bug?

e30evo

user




Statistics:
Messages: 607
Registration: 09.10.2003

If you open the encoded H.264 stream in MediaInfo (or a similar tool that can read the x264 info tag), what do "keyint=" and "keyint_min=" say? Also: If you look at the x264 log while encoding, what framerate does x264 detect? Does it actually detect the input as 50 fps? Code:

---------------------
1986 325eS. Auto Technic J-Stock Suspension Kit, Bilstein Shocks and Struts, ST Sway Bars, Front Camber Plates, Offset Euro Upper Strut Mounts, Chassis Reinforced, Aluminum Rear Shock Mounts, Offset control Arm bushings, Custom Control Arms, Custom S
Message # 2 17.04.22 - 04:07:49
RE: [x264]Max GOP size of 50fps video is *2 - Bug?

Madd96///M3

user




Statistics:
Messages: 41
Registration: 02.25.2002

So this all turns out to be the result of a "wrong" command-line and x264 is doing the exactly right thing (given the commnd-line it got). Please post the issue in the MeGUI support thread, if it can be reproduced with the latest MeGUI...

---------------------
Cosmos Black 96 M3 Lux - 70,000 miles put on by me 04 645 - 16,000 miles put on by me, lease expired 04 S4 convertible - 8,000 miles driven, lease expired next... xbrace, intake, zkw with dde, uuc tranny mounts Hardwired V1, highly recomended
Message # 3 17.04.22 - 04:19:24
RE: [x264]Max GOP size of 50fps video is *2 - Bug?

Wedge

user




Statistics:
Messages: 833
Registration: 11.19.2003

You have to specify the fixed mode for GOP calculation in the MeGUI preset if you really want to have a fixed value. Otherwise the default mode "FPS based" will be used where 25fps is the bias. So your 500 will be divided by 25fps and multiplied with your source fps (50) resulting in a value of 1000.

---------------------
Message # 4 17.04.22 - 04:24:35
RE: [x264]Max GOP size of 50fps video is *2 - Bug?
Reauthour Menu? : Previous topic
Pages:  1  

The administrator has prohibited guests from replying to messages! To register, follow the link: register


Participants