Log in

View Full Version : Impossible to frameserv to DVD2SVCD?


j_olson
26th October 2005, 20:27
I have a .m2v and corresponding .ac3 file I want put on a DVD. I created a .d2v file for Test.m2v, using DGIndex, and then give the .avs file as input to DVD2SVCD (AVI2DVD) instead of an AVI file. Seems better than compressing an extra time, and uncompressed the AVI (or m2p) file would be too large.

But when I try to do like that I get "No audio selected" or something like that. Is this not possible?

Here is the avs file I use as input:

LoadPlugin("C:\Program\DVD2SVCD\dgindex\DGDecode.dll")
DGDecode_MPEG2Source("E:\Test.d2v")
ConvertToYUY2()
video = LanczosResize(720,576)
LoadPlugin("C:\Program\DVD2SVCD\nicaudio\NicAudio.dll")
audio = NicAC3Source("E:\Test.AC3")
AudioDub(video,audio)

DDogg
27th October 2005, 00:46
Man, dredges up some old memories, many of which are fading.

Yes, you can frameserve, but not as an avs. You must use a method that delivers a signpost avi, or as many call it, a "fake" or pseudo avi. The key point here is you must select the option that actually places the full audio in the signpost avi. A2D will not work if you attempt to serve the audio.

Vfapi is one method, but it delivers an RGB format ... at least it used to do so. Perhaps Donald Graft made some changes ... See the DGIndex docs in that sub directory of the DVD2SVCD install directory.

After you verify your avs plays correctly, go to the C:\Program Files\DVD2SVCD\VFAPI\reader directory and run VFAPIConv-EN.exe

Leave all three checkboxes activated and press the convert button. After a bit you will have a file named from your original avs name plus "-vfapi". Like this for a file called test.avs - "test_avs-vfapi.avi". It will be fairly large as it contains all the audio.

Load this file into A2D and proceed as normal. I verified this with a variant of your script and ac3 source ... whether it will be in audio sync was not verified. However, as a consequence of the audio being added to the signpost, I believe the audio will not remain in AC3 format. It will be seen as wav by A2D and converted to mp2.

My preferred method was to use VDub in frameserving mode, but I can't get it to work at the moment. Will come back if I do. I wrote a bunch of tutorials on this subject for the video editing forum once here several years ago, but don't know if any survived. Search and see. I found these: http://forum.doom9.org/showthread.php?s=&threadid=47194&highlight=ddogg+vfapi
http://forum.doom9.org/showthread.php?s=&threadid=47483

Don't worry about all the readavs stuff. I believe that is handled now by the d2s installation. If the vfapi reader's file open dialog has the AVS and VDR file extensions available, all is well.

j_olson
27th October 2005, 09:33
Thanks, I'll look into that. Right now I'm trying with TmpgEnc, but it's so much slower and you have to calculate more for yourself. ;)

I guess it's pretty easy to skip DVDAuthor, demux the resulting video and audio and then mux in the original AC3 sound again, will look into that too if I get that far...

j_olson
28th October 2005, 07:27
VFAPI upsamples to RGB. By default this is done in interlaced mode.
To force progressive upsampling, put "_P" just before the extension
in the filename. To force the upsampling to follow the progressive_frame
flag, put "_A" just before the extension in the filename. Note that
using the "_A" also means that a YUY2 frame will be returned instead of a
YV12 frame for 4:2:0 input.
That information wasn't 100% clear to me... :confused:
It will return RGB, but an "_A" will make it return YUY2 instead of YV12...?

j_olson
1st November 2005, 11:46
We will see what comes out of it... Am doing a full DVD from a DVB recording.
I have made a -vfapi-file and added _A before the extension.
First had problems with DVD2SVCD adding borders before I saw the AR 1:1 was ticked...
Will demux and add the AC3 audio instead, have made a 5.1 AC3 of the original sound using Bidule (though the LFE channel contains just about nothing).

Interesting to see if it will be a watchable result, will take a while though. And there is a problem for me with CCE 2.67.00.27 and the new version of DVD2SVCD, after having handled the ecl file correctly it misses to start the encoding (a "beep" sound is heard instead) and I have to manually press Encode. Hopefully SOMETHING will come out of it anyway...

j_olson
3rd November 2005, 00:17
The "beep bug" (seems to be something wrong when saving or selecting the ecl file) prevented me to use DVD2SVCD, but I made a 2-pass VBR manually in CCE and the vfapi "fix" worked as advertised, thanks :) I then muxed the m2v and ac3 files and it came out as a passable DVD.

raquete
3rd November 2005, 05:20
I have a .m2v and corresponding .ac3 file I want put on a DVD.
why don't you author a new dvd with ifoedit (or muxman...or rejig)with this files and load the result in dvd2svcd?
:confused:

j_olson
3rd November 2005, 07:14
why don't you author a new dvd with ifoedit (or muxman...or rejig)with this files and load the result in dvd2svcd?
:confused:
I don't know if it would be any easier than the vfapi method I got above, IFOEdit is also totally unstable on my (XP) system.