mandm
6th November 2002, 00:37
Hi all,
I was trying to add a complete dual pass support (DivX, xVid, RealMagic) to the M&M program (DVD2AVI evolution) but I've been stuck in some points.
1) there is a way (after I've called the ICCompressorChose) to understand if the selected plugin is the first step of a dual pass ?
1a) for video
1b) for audio
2) which is the correct sequence i have to do to create an avi with a dual pass ?
for single pass is:
ICCompressorChoose
AVIFileOpen
AVIFileCreateStream
AVIMakeCompressedStream
AVIStreamSetFormat
AVIStreamWrite
AVIStreamClose
ICSeqCompressFrameEnd
ICCompressorFree
2a) how do I start the second pass ?
2b) with which filename ?
3) I have to process again the whole file ? this means I have to provide again all the frames to the compressor to encode it?
4) which structures i have to keep in memory to reinit the compresso for second pass ?
Thanks in advance,
M&M
I was trying to add a complete dual pass support (DivX, xVid, RealMagic) to the M&M program (DVD2AVI evolution) but I've been stuck in some points.
1) there is a way (after I've called the ICCompressorChose) to understand if the selected plugin is the first step of a dual pass ?
1a) for video
1b) for audio
2) which is the correct sequence i have to do to create an avi with a dual pass ?
for single pass is:
ICCompressorChoose
AVIFileOpen
AVIFileCreateStream
AVIMakeCompressedStream
AVIStreamSetFormat
AVIStreamWrite
AVIStreamClose
ICSeqCompressFrameEnd
ICCompressorFree
2a) how do I start the second pass ?
2b) with which filename ?
3) I have to process again the whole file ? this means I have to provide again all the frames to the compressor to encode it?
4) which structures i have to keep in memory to reinit the compresso for second pass ?
Thanks in advance,
M&M