PDA

View Full Version : mpg2 to avi WITH _NO_ compression (as is) and WITHOUT audio




The GodFather!
20 Aug 2002, 03:33 PM
How?
Flask, DVD2AVI, MPEG2AVI offers only conversion WITH codec selected -which codec I must use for no compression, or what?
Thanks.
My aim is to load in VirtualDub separately video (as AVI - I'll like to obtain it) and audio (as WAV - I have it already) and to convert to DivX 5 and MP3 using VirtualDub routine....

Nielchiano
20 Aug 2002, 04:01 PM
There are 2 ways of doing this: the normal way with a HUGE intermediate file, or the IPC way:

* You should decompress your MPEG video to some lossless format (if you realy want to wast space use Uncompressed AVI as codec, if you want to keep some spece without any sacrifice to quality use HuffYuv) (can be done in EG Flask)
* then open that file in Vdub and do what you want

The IPC way is "better": you can avoid the huge intermediate file and get the same quality:
You just tell your computer to "chain" some programs together:
DVD2AVI+VFAPI plugin will decode the MPEG2 stream to uncompressed AVI and feed that stream to VirtualDub which will do the rest.

The VFAPI part does "frameserving": VDub asks "can I please have frame number 2576" and he'll decode it at that very moment and give it. So you do not have an intermediate file, instead the programs just pass directly their output-input.

Hope this helps,
Nielchiano

The GodFather!
20 Aug 2002, 04:30 PM
Originally posted by Nielchiano
You just tell your computer to "chain" some programs together:
DVD2AVI+VFAPI plugin will decode the MPEG2 stream to uncompressed AVI and feed that stream to VirtualDub which will do the rest.
The VFAPI part does "frameserving": VDub asks "can I please have frame number 2576" and he'll decode it at that very moment and give it. So you do not have an intermediate file, instead the programs just pass directly their output-input.

:smashead:
Thank you!
I am just using this method (through VFAPI reader), but yesterday I had found that my avi is broken (only 1/3 of projected size), but VirtualDub says no messages/warnings :confused:
However, all process passed normally (i use 2 passes of DivX and have good resulst from previous ORIGINAL avi files)...
Can be there a problem?

Nielchiano
20 Aug 2002, 04:48 PM
hmm... probably if your AVI file is broken, there is a chance that it's broken somewhere in the middle of a frame, without the proper termination of the streams (if that is necesary, I'm no AVI-specialist).
I guess that VDub just opens the file, feeds the stream to the codec, and then just stops in the middle of a frame, which makes the codec crash.... however, than VDub should give you some kind of error....

Try this: Select, say the first 10 seconds of the movie (using Video - select range). and try to code that (2pass) see is that works.

The GodFather!
20 Aug 2002, 05:01 PM
Thanks, I'll try do all you advice...
;)