Hi. I'm not an expert on video coding, so please let me know if I get things wrong.
I record a lot of TV shows from my satellite box, and the output is always in MPEG-TS. When I check the MediaInfo, I find that the format setting for GOP (group of pictures) is "variable". What I think I understand from this is although the framerate is displayed as 25 FPS, some parts seem to play as 60 FPS. This is where my problem culminates. I want to encode the video from MPEG to H.264 while retaining a variable framerate. However, it's pretty much impossible with HandBrake because when I set the FPS options to 25 and peak framerate, it always outputs a constant framerate no matter what. Is there a way other than HandBrake to deal with this?
By the way, here is part of the MediaInfo for reference:
Code:Video ID : 1304 (0x518) Menu ID : 10304 (0x2840) Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings, BVOP : Yes Format settings, Matrix : Custom Format settings, GOP : Variable Format settings, picture struc : Frame Codec ID : 2 Duration : 1 h 55 min Bit rate mode : Variable Bit rate : 2 319 kb/s Maximum bit rate : 2 919 kb/s Width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Active Format Description : Full frame 16:9 image Frame rate : 25.000 FPS Standard : PAL Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Top Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.224 Time code of first frame : 16:04:01:21 Time code source : Group of pictures header GOP, Open/Closed : Open Stream size : 1.88 GiB (81%)
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by Insurgent; 28th Jan 2022 at 14:16. Reason: Adding MediaInfo
-
GOP is something else than FPS - AFAIK MPEG-2/H.262 do not support variable framerate so everything seem to be OK at least for me... variable GOP is one of many ways to improve coding efficiency - same approach is used in H.264 world...
-
Here is an example of a sort-of constant GOP format:
IBPIBPIBPIBPIBPIBP
and another sort-of constant (common one):
IBBPBBPBBPBBPBBPIBBPBBPBBPBBP
and one even more constant:
IIIIIIIIIIIIIIIIIIIIIII
Here is an example of a wildly variable GOP format:
IIIIIBPIBBPBBPIIBPIPPIBBPBBPBBPIIBBBBBPIPIBIP
(it's possible that as far as mediainfo is concerned, those 1st 2 examples, though repetitive, could also be considered variable. the 3rd is truly constant)
Note that it is likely that all of the above frames are of the same duration, aka constant framerate.
Look at the MediaInfo report again:
Format settings, GOP : Variable
Bitrate mode: Variable
Framerate: 25.000 FPS (aka constant)
Variable Frame rate is almost unheard of in broadcast. (personally, I avoid it like the plague, except when necessity arises, like with cellphone cameras)
Variable Bitrate is common in many places, including broadcast.
Variable GOP format depends on the program material, but is common enough in broadcast when you consider the inclusion of interstitials, ads, etc.
ScottLast edited by Cornucopia; 28th Jan 2022 at 17:11.
-
Similar Threads
-
Encoding with Staxrip, FPS constant-Variable
By keemarcello in forum Blu-ray RippingReplies: 3Last Post: 21st Oct 2021, 09:21 -
Help - How encoding with Variable Frame Rate using x264 command line.
By Kuronoe in forum Newbie / General discussionsReplies: 7Last Post: 25th Feb 2020, 10:55 -
Handbrake encoding at Variable FPS when Constant is chosen
By ManiKz in forum Newbie / General discussionsReplies: 7Last Post: 10th Dec 2019, 15:16 -
How to deal with dvb recorded transport streams of variable GOP?
By mahmoud2z5 in forum EditingReplies: 0Last Post: 22nd Apr 2018, 08:18 -
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