I have taken a Divx video in the latest virtualdub and cut and saved it in parts via direct stream. Then I attempted to convert each part to a newly formatted file using the same program. Problem is that only the first one converted properly, I think because it was cut out at the very beginning of the big file (headers?). The rest show up blank when reloaded into vdub. They stay black when converted. If I load them into Tmpgenc Xpress they show up green. Still, I can play them all in any media player and they are perfect.
Why can I not convert these files?
I'll create some more confusion. I am running WIndows 7 64-bit. I have both Virtualdub 32-bit and 64-bit versions. I can open the cut up files in the 64-bit vdub and they play back and convert easily. But it is the 32-bit vdub that only shows black (with audio). I need to use the 32-bit vdub because of the vfw codec being used.
Any ideas?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
Unless you're carefully cutting at GOP (group of pictures) boundaries, my best guess is that your problem has to do with inter-frame compression. MPEG-4 ASP (Divx) uses groups of frames, where most frames within the group reference other ones. Wikipedia has a pretty decent page explaining the different types of frames. If you cut such a file in the middle of one of these groups, especially using direct stream copy, then your new files will try to reference frames that don't exist in the trimmed stream. This is why MPEG-2, MPEG-4 ASP (Divx, Xvid, etc.), and H.264 video formats are considered somewhat difficult to edit. (Actually, some formats even allow "open" GOP's, which allow frames to reference frames from other groups entirely. This further increases compression efficiency at the expense of seeking and editing.)
Depending on what decoding libraries are used, dedicated media players may just be better than other programs at piecing together what's left of the partial stream (or throwing out a few frames so the rest can be played back), which could explain why you get different results playing back from different programs.Last edited by Mini-Me; 28th Dec 2010 at 21:15.
-
I have just encountered this although I have been splitting files for years. I have found that the first part is alright but the second part will not play on anything but VLC. Since most stand alones do not like files of more than 1gb is there any easy way round it except to convert the whole file back to mpg?
-
Basically it boils down to "cutting on key frames" so to speak. You can't just cut anywhere with Xvid/Divx.
-
VirtualDub in "direct stream copy" mode will only cut on key frames. If you mark-in on a non key frame it will automatically move the cut (when it saves that clip to a file) to the key frame immediately before the cut. There's no indication of this in the UI.
-
Both cooljoe666 and I have used VirtualDub. If VirtualDub only cuts on key frames then why in my case does only the first part play? The same thing happens with Avidemux
Whatever the problem is its beyond VirtualDub. Getting back to what Mini-Me said I would like to know how to else to cut rather than re-encode. -
VirtualDub and AviDemux are the only programs I've used for non-reencoding cuts of AVI files. I believe ffmpeg has the ability too.
-
Yes, but why should the index be lost? VirtualDub and AviDemux know how to handle the index.
-
I have seen various odd things happen when video are split. I suspect the first part keeps the original index and the remaining half is erronenously given a false one possibly caused by a glitch in the video stream, or a problem caused by a variable bitrate. In the cases where these problems occur I suspect there is message pops up just after loading the file.
-
I did not try divfix but I did try avifixed - no joy.
VirtualDub showed no warning at all.
If anyone knows what it means Gspot refers to
Note: 36 bytes unneeded bytes at end of file
AVI v1.0
Interleave: 43 ms (1.1 v.frames)
Audio frames: Aligned on interleaves
No details of user data
Similar Threads
-
[VirtualDub] How to split avi to x parts with one operation?
By ralf07 in forum Video ConversionReplies: 3Last Post: 5th Apr 2012, 17:01 -
How can I ACCURATELY split/cut a video file?
By KushSmoka420 in forum EditingReplies: 5Last Post: 2nd Mar 2012, 14:16 -
How to cut/split video at multiple intervals?
By killazys in forum EditingReplies: 5Last Post: 3rd Jun 2010, 17:04 -
Can't cut portion of an .avi with VirtualDub
By Lolipop Jones in forum Newbie / General discussionsReplies: 3Last Post: 28th Aug 2009, 08:12 -
Cannot split H.264 720P AVI using virtualdub
By frankyloves2sing in forum EditingReplies: 7Last Post: 24th Jun 2008, 19:55