How can you determine whether it is open or closed GOP when this information is missing from MediaInfo?
		
			+ Reply to Thread
			
		
		
		
			 
		
			
	
	
				Results 31 to 33 of 33
			
		- 
	
- 
	I am searching with google for answers/commands about that, but I can't find any to check easily. 
 
 See more in a separate thread for this.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 13:08. 
Similar Threads
- 
  Cutting/trimming mp4 files without re-encodingBy CaptainCatholic587 in forum EditingReplies: 10Last Post: 13th Jul 2020, 01:23
- 
  FFMpeg merging audio files truncates output to shortest audio fileBy Wayneos in forum Video ConversionReplies: 0Last Post: 3rd Jul 2019, 08:07
- 
  FFMPEG Batch process MP3s, cutting last second WITHOUT re-encoding themBy Axonn in forum AudioReplies: 3Last Post: 15th Jun 2016, 04:08
- 
  problem with ffmpeg - cutting video and merging audio tracksBy yakov in forum EditingReplies: 0Last Post: 23rd Mar 2016, 13:00
- 
  Merging / Joining videos of same / different encoding settingsBy qaisark787 in forum EditingReplies: 5Last Post: 20th Apr 2015, 09:28


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 
 
			
			


 Quote
 Quote