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.
+ Reply to Thread
Results 1 to 6 of 6
-
Last edited by xicudiz; 31st Mar 2011 at 17:09.
-
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 -
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)? -
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? -
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 ?
Similar Threads
-
FFMpeg - warning: first frame is no keyframe - Encode to nearest keyframe?
By mh2011 in forum EditingReplies: 0Last Post: 3rd Nov 2011, 15:58 -
How do I convert MOV dv files to AVI?
By SixStringSW in forum MacReplies: 10Last Post: 17th Mar 2011, 00:21 -
Convert .MOV to .AVI
By hcs in forum Video ConversionReplies: 4Last Post: 25th Sep 2010, 16:44 -
mencoder wont convert the complete file, mov to avi|mov
By bjornieB in forum Video ConversionReplies: 2Last Post: 19th Nov 2009, 07:42 -
How would I convert MOV to AVI?
By Hittz in forum Video ConversionReplies: 9Last Post: 15th Oct 2008, 00:39