VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I have mov file with keyframe in it. Now i want to convert(reencode) it to Avi file and keep original keyframe of mov. How can i do it?
    Or if i have a avi file, how do i import keyframe (txt file) to avi?
    Thanks all.
    Last edited by xicudiz; 31st Mar 2011 at 17:09.
    Quote Quote  
  2. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    The idea of "keyframes" is based on the codec. IOW, some codecs use ALL keyframes (all IntraFrame), some codecs use partial keyframes (short GOP), and some use keyframes rarely (long GOP). If you STAY WITHIN the SAME CODEC, by demuxing and remuxing (aka changing containers), you can keep those same keyframes, because they're built into the saved spec of the file based on that codec. And of course, both containers must be able to support that codec.
    However, if you do ANY change to the file first (aka fades, wipes, subtitle overlay, pip, FX, frame resize, FPS change, etc), or if you choose to use a DIFFERENT codec, you will LOSE ALL of your saved keyframes and have to start all over determining which ones should be a keyframe, based on whatever destination codec you've chosen. If you've ever heard the phrase "Smart-Rendering", this follows along with that capability, with the same gotchas.

    A very few apps support either export or import of keyframe listings (usually only MPEG2, maybe WMV?)

    Scott
    Quote Quote  
  3. Thanks all
    and dear @Cornucopia the point is i want to have avi file with original keyframe, so reencode or demux and remux (aka changing container as you said) is not problem. And if i do it (changing container to AVI) do you you which AVI muxer software support this mission ( import keyframe from txt or keep original keyframe)?
    Quote Quote  
  4. Remux with AviDemux. That will take your compressed audio and video out of an MOV box and put it into an AVI box. There will be no changes to the video or audio.
    Quote Quote  
  5. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    I wasn't aware that AVIDemux could deal with QT/MOV files - good if it can!

    BTW, xicudiz, if you DID have to re-encode, you WOULD NOT be able to keep the same keyframes. You might be able to create NEW ones at the same points (if you were lucky to get an app where you COULD apply keyframes via an imported file - and like I said before, these are RARE), but they wouldn't be the same ones.

    I hope AVI demux works for you, but Don't hold your breath.

    Scott

    p.s. WHY do you need the same keyframes?
    Quote Quote  
  6. What type of compression used in the MOV ? use mediainfo (view=>text) . You might be able to re-wrap using ffmpeg. Some compression formats used in MOV are not supported by AVI container

    If you re-encode to h264 you can specify keyframes with x264 using a qpfile , although AVI container isn't recommended

    Also, why do you want AVI ?
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!