I am trying to decide programmatically if the video needs to be transcoded or not and one of the requirements is that the keyint needs to be 40 as the video is meant to be for a specific hardware. I am using mediainfo to get most of the video and audio parameters. I could not find a way to know what that keyint size of the video is. I tried Format_Settings_GOP but that field is empty depending on the encoding application for the video. Is there a way to find keyint from mediainfo or ffmpeg?
+ Reply to Thread
Results 1 to 2 of 2
-
-
Does the max keyframe interval have to be 40 or less (variable), or does an IDR frame have to be exactly spaced every 40 frames ?
You can generate a text file with frame types (e.g. using ffmpeg or selur's framecounter), but you would still to write a parsing utility to determine the maximum IDR interval
There are a bunch of different methods here to generate frame type list
http://forum.doom9.org/showthread.php?t=163553
It might be better if you posted in the "programming" section
Similar Threads
-
Extracting MMS Video Stream - Cannot find direct video link
By childofsai in forum Video Streaming DownloadingReplies: 6Last Post: 21st Feb 2013, 17:18 -
Sound and video do not sync up when I convert avi to h.264 x 264.
By toddlava1 in forum ffmpegX general discussionReplies: 1Last Post: 8th Mar 2012, 02:15 -
Empty audio files when converting MPEG2 with h.264 mencoder or h.264 x264
By doctormelodious in forum ffmpegX general discussionReplies: 3Last Post: 4th Jul 2010, 08:12 -
How to convert an h.264 MKV with softsubs to an h.264 MP4 with hardsubs.
By hawk16zz in forum User guidesReplies: 4Last Post: 27th Apr 2010, 11:41 -
Can't find a good program to convert .mov/.mp4/H.264/AVC watever video clip
By Nintendo Fan in forum Video ConversionReplies: 8Last Post: 21st Jan 2009, 18:28