I need to cut an AVI at a deltaframe, like
...D-D-D-K-D-D-D-D | D-D-D-D-K-D-D-D...
K=keyframe
D=deltaframe
where it is essential, that the startframe of part2 remains the same deltaframe.
Let me explain, what I'm intending.
I have a file, which once was split into parts for distribution over the internet. This file was rejoined to one, but leaving out one of the parts. I also have that missing part. So my intention is, to insert it inbetween the others. The parts were split regardless of keyframe distribution, so they usually start with deltaframes. The portion of the movie from the join position of the leftout part up to the next keyframe seems corrupted.
...D-D-D-K-D-D-D-D-(joined)-C-C-C-C-K-D-D-D...
C=seemingly corrupted frame
But I'm suspecting this corruption to be only seemingly, due to the wrong input from the last frame of the wrong previous part. So if I could cut at that join position and insert the missing part everything would turn out perfect.
I tried out several video editors/splitters, but the results were disappointing, because in trying to be smart, they either pushed the cut positon back to the previous keyframe,
...D-D-D (actual cut) K-D-D-D-D (intended cut) C-C-C-C-K-D-D-D...
[I don't want this]
or they inserted a keyframe as a start frame of the succeding part in place of the original deltaframe, inheriting and perpetuating the corrupted information of the wrong previous part.
...D-D-D-K-D-D-D-D | K-C-C-C-K-D-D-D...
[nor do I want that]
As I already mentioned, the original split parts usually started with deltaframes. Therefore I conclude, there must exist a tool/application, which accomplishes that. I just didn't find it yet. Maybe an older version?
Any suggestions?
+ Reply to Thread
Results 1 to 3 of 3
-
-
VirtualDub in Full Processing mode can cut on any frame. Of course, Full Processing mode will require that you reencode the video which you probably want to avoid. So use a combination of Direct Stream Copy and Full Processing mode.
Save from the start to the frame where you want to cut in Direct Stream Copy mode. Call this PART1.AVI.
Save from the first keyframe after where you want to cut, to the end of the video in Direct Stream Copy mode. Call this PART0.AVI.
Reencode the section from where you cut to the first keyframe after (not including) it in Full Processing Mode. Be sure to use the same codec and settings. Call this PART3.AVI.
Call the section you want to insert PART2.AVI.
Put VirtualDub back in Direct Stream Copy mode. Open PART1.AVI. Append PART2.AVI (this will automatically append PART3.AVI and PART4.AVI). Finally, File -> Save As. -
Similar Threads
-
Cut in lagarith avi
By Asesinato in forum EditingReplies: 5Last Post: 9th Apr 2012, 08:46 -
AVI Cut
By JP in forum EditingReplies: 4Last Post: 6th Mar 2012, 19:12 -
Cut AVI Files
By emoreira in forum EditingReplies: 2Last Post: 25th Sep 2010, 10:16 -
ts / avi into final cut
By marinebc11 in forum MacReplies: 3Last Post: 12th Sep 2007, 08:58 -
swf to avi - last few frames of animation get cut in the avi - any solution
By perfection in forum Newbie / General discussionsReplies: 0Last Post: 5th Sep 2007, 08:01