I have been capturing TV shows and am using Vdub to remove the commercials. Then I use "save as" to do a "copy stream" to another avi file.
However the start and end of the commercial dont seldom happen on a key frame and I cannot get a neat cut. Is there any way I can insert a key frame into the stream before I do the cut?
zeto
+ Reply to Thread
Results 1 to 4 of 4
-
-
avisynth is perfect for what you want to do. use the trim command to cut out all the comercials.check out the guides for cut/join clips. I use it for half hour TV shows and it works perfect, one segment just fades right into the next. 30min TV shows only wind up being 21and a half min anyway
(Bastard networks)"The software said Win XP or better, so I Installed Linux" -
If you cap to HuffYUV or some flavor of MJPEG, every frame is a key frame , so it's very easy to edit. If you cap to DiVX, where you have one key frame every 100 or so, I don't know about it. Never have to deal with it.
-
If you're using DivX, go into the codec's configuration and put the key frame interval down to 5 or 10 frames (approximately 6 or 3 key frames per second). I've never had a problem cutting off things when I could get down to a 6th of a second, it's always been close enough for commercials. Theoretically you could put it even lower. I don't know how to "insert" a new keyframe though. I think you may want to lower the key frame interval the first time you encode it/capture to a format like DivX where key frames can be a problem.Originally Posted by Poplar
AVISynth sounds like a good option as well. I've never tried using it, but I think I might as I've been finding it fun messing with new programs. If you can get it to work, this sounds like a great way.
It looks like your options are to capture with more keyframes in the first place, use a format like Huffy or an MJPEG and edit when every frame is a key frame, use AVISynth as mentioned above or re-encode it with more key frames (I think this will work).
Similar Threads
-
Avidemux: The beginning frame is not a key frame. Please move the A marker
By devilcoelhodog in forum EditingReplies: 13Last Post: 8th Jun 2015, 13:38 -
Key frame editing?
By vato76 in forum EditingReplies: 3Last Post: 7th Jun 2011, 13:55 -
avi key frame error issue
By greendesert in forum Software PlayingReplies: 1Last Post: 8th Jul 2009, 13:06 -
configure XVID so virtualdub key I-frame's is able to go 1,2,3,4,...?
By Ghtpua in forum EditingReplies: 0Last Post: 21st Oct 2007, 15:05 -
Virtualdub: the key frame displayed is off
By cheerful in forum Newbie / General discussionsReplies: 11Last Post: 19th Jun 2007, 13:28



Quote