How can you determine whether it is open or closed GOP when this information is missing from MediaInfo?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 31 to 33 of 33
Thread
-
-
I am searching with google for answers/commands about that, but I can't find any to check easily.
For each I-frame in the sequence, search packets after it and note AVPacket.pos and AVPacket.pts. If B(pos) > I(pos) but B(pts) < I(pts), you have open GOP, else closed GOP.
If you want to be more precise, find some way to export the POC from the h264 parser, which is directly proportional to the timestamp.
The official way to confirm that is parse the reference list from the headers and make sure the I is in the reflist for the B.Last edited by Sotee; 20th Feb 2020 at 12:08.
Similar Threads
-
Cutting/trimming mp4 files without re-encoding
By CaptainCatholic587 in forum EditingReplies: 10Last Post: 13th Jul 2020, 00:23 -
FFMpeg merging audio files truncates output to shortest audio file
By Wayneos in forum Video ConversionReplies: 0Last Post: 3rd Jul 2019, 07:07 -
FFMPEG Batch process MP3s, cutting last second WITHOUT re-encoding them
By Axonn in forum AudioReplies: 3Last Post: 15th Jun 2016, 03:08 -
problem with ffmpeg - cutting video and merging audio tracks
By yakov in forum EditingReplies: 0Last Post: 23rd Mar 2016, 12:00 -
Merging / Joining videos of same / different encoding settings
By qaisark787 in forum EditingReplies: 5Last Post: 20th Apr 2015, 08:28