Log in

View Full Version : Strange bug


DmitryR
17th March 2003, 08:51
Source videdo is a Type-1 DV stream. DV codec is MainConcept. Source files are 4Gb+4Gb+50K under win2Kpro on FAT32 partition. Source files were captured by the Ulead Videostudio and splitted automatically. I tried Vdub 1.5.1 and 1.4.13, full processing, only one deinterlace filter, no resizing etc.

When I encode a small part of the file, everything is OK. When I encode the whole project - result file is broken. If I try to open it in Vdub, it says that DV type 1 stream detected. But FOURCC in the stream is of DivX.

Does anyone have an idea where the prob is? Maybe there is a way to repair the resulting file?

bb
17th March 2003, 12:34
If I understand correctly you tried to encode to DivX in VirtualDub. How big is your target file (the broken one)? Did you set your Audio to "No Audio" in VirtualDub, or feed the audio from an external WAV file?

You may be able to solve your problem through Avisynth frame serving. Make sure you encode the audio separately, because VirutalDub cannot deal with type-1 audio.

bb

DmitryR
17th March 2003, 14:03
Target file size is for one CD, i.e. ~600Mb. Sound is set to "no sound".

And one more information: I can encode a small part only when I open source parts separately. When I open all tree parts at a time they play correctly in vdub (one can not notice edges between parts), but the encoding of any part of it (even first 500 frames) results in a broken divx file.

bb
18th March 2003, 08:46
Probably it's an issue with the segmented file handling. I guess VideoStudio does not write the segments in a way VirtualDub expects them to be. You should instead try to open the files in a different manner:
- Either you rename the VideoStudio segments so that VirtualDub doesn't open them altogether. Then you open the first file just normally, then the second and third file via "Append AVI segment".
- Or you use Avisynth's AlignedSplice (or the "++" respectively).

I'd be curious about the results.

bb

DmitryR
19th March 2003, 09:24
Virtual Dub do not open all segments automatically. I open them manually with "Append AVI segment".

More info: the problem is not in he DV codec. I installed the Panasonic one - the same thing.

As to Avisynth - I cannot use it. I must develope a simple way of transcoding for my chief - it is impossible to teach him to use the Avisynth.

bb
19th March 2003, 15:27
As you're working on Win2000: is using NTFS an option for you? NTFS doesn't have the 4GB limit.

bb

DmitryR
20th March 2003, 12:51
Originally posted by bb
As you're working on Win2000: is using NTFS an option for you? NTFS doesn't have the 4GB limit.

bb

Yes, at last I was to work out this way.

DmitryR
27th March 2003, 16:13
Some time later I had time to play with this problem more. I found out that I can open the broken file with VirtualDub using advanced open options and explicitly setting both FOURCCs to 'divx'. Then I can easy resave it to normal playable file using direct stream copy.