+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date: Jan 2013
    Location: USA
    Search PM
    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?
    Quote Quote  
  2. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    Originally Posted by wotdefcuk View Post
    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?

    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
    Quote Quote  



Similar Threads

Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools