PDA

View Full Version : Select Range when I try to convert D2V -> SVCD


aldaco12
28th September 2005, 09:06
Hi. I worked a lot to learn how to use CCE. I have CCE 2.50.
I learned ho to make Multipass VBR SVCDs, how to load D2V files, and so on.
But I still have a problem, which is getting me crazy.
I load a D2V file, and I choose my settings to make a Multipass SVCD loading audio from an external file (the WAV decoded by DVD2AVI while it created the D2V).
I prepare the First CD and the only problem is that the 'Frame search' window in CCE/File settings dosn't work.
On the first DVD I decoded to learn this stuff, the 'frame' goes backward (from 0 to , say, -146859) and the windos shows nothing.
On the 2nd DVD, the one I'm speaking about, the 'Frame search' ranges rom 0 to 1148 even if it shows, below this line, in the same window: 'Encode from': 0 to 132221 (which corresponds to a movie's length = 88' 08").
Ok, I skip this. I load the D2V wth TMPGenc+D2V Plugin and I decide to split the movie in 2 at F=72210.
Therefore, in my intentions, CD1 ranges from 0 to 72210, and
CD2 from 72211 to 132221.
I choose an appropriate bitrate and I begin encoding.

This is the result: on first CD all is OK; movie range: 48' 08" , authored image size = 846,019,900 (perfect fit on a 80' CD, which can contain an image not larger than 2352*360,000 bytes = 846,720,000 bytes).

The second CD goes crazy: in the encoding window all is ok, the 2nd movies is shown to range all 60010 frames.
But when I look at te output files, the MPA is OK (60010 @25 fps = 40'), but the MPV is much smaller rispec to my ideal size a,d its length is 32' 59". Obviously, A/V is not in sync.

Whay is happening? Is there a way fo fix this? The 'File preview' is not so important because I can use another program like TMPGenc, but I would like to manage to set a range from F to the end of the movie.
I don't think it's a DVD2AVI's fault, all the movies I encoded with TMPGenc before went right.
I'm waitimg for your kind suggestion.
Till it arrives, I'll try to encode a 'big' SVCD (close to a 2*CD size = 1,693,440 bytes) movie that I'll try later to split in 2 movies (but how much work!!).

aldaco12
28th September 2005, 10:04
I found, in http://www.videohelp.com/forum/archive/t78221.html , a possible to skip this (but, again the 'Select Frame' goes backward from 0 to -5432 , the 'preview' window is black and I cannot use it to find a good split frame).
Once I find the desired split frame (with TMPGenc), I must write this AVS file (I use or AviSynth 2.5):

loadplugin("C:\myplugins\mpeg2dec.dll") (not necessary if it the dll stays in AviSynth 2.5 auto-plugin directory)
v=mpeg2source("c:\movies\movie.d2v")
a=wavsource("c:\movies\movie.wav")
audiodub(v,a) (I avoid to be obliged to insert AddAudio() in the script which loads the 'mute' D2V and, to create the MPA, to select 'load audio from an external file')
bicubicresize(480,360)
addborders(0,60,0,60) (needed for NTSC; the 2 commnends are different for PAL)
trim(Fmin,Fmax) (selects the desired range, in frames)
ConvertToYUY2()

here Fmin = 0 and Fmax = Split Frame for CD1, and Fmin = Split Frame +1, Fmax = max Frame for CD2.

Or, if I load the audio from an external file (if Mpeg2Dec3.dll is in AviSynth 2.5's auto-load plugin directory), you can also make (so you don't have to rename 'movie.wav' the uncompressed audio stream extracted by D2DAVI):

Mpeg2Dec3_mpeg2source("C:\MOVIES\MOVIE.d2v")
BicubicResize(480,432)
AddBorders(0,72,0,72)
trim(Fmin,Fmax)
AddAudio()
ConvertToYUY2()

CCE loads perfectly the D2V file and I just have to be sure the audio is downsampled to 44.1 kHz , since I want to make a SVCD movie , not a DVD one, and 48 kHz is not acceptable.
Later you'll multiplex the MPV video file and the MPA audio file into a 'MPEG SuperVideo CD' with the encoder of your choice. Again, TMPGenc is the best choice, and is the one which creates the best result, in term of MPG final size, and allows you to save more bitrate for the video - as FitCD suggests).
The only drawback is that the 'Frame search' windows doesn't work, but it's not important..any suggestion/comment?

aldaco12
28th September 2005, 11:58
Nope..I receive an error message and I can't go on, CCE crashes just after making the VAF. Any sugestion, please?

aldaco12
29th September 2005, 10:54
Luckily, yesterday night found the solition: when the player plays the M2V file, it says it is 1h 12' (and the audio is 1h 28'), but if I compress to MP2 the File (downsampling it to 44.1 kHz, since it is for a SVCD) and multiplex it to the big M2V file, everything is in-sync!
Therefore it's not a problem of the encoder (apart the audio, which I've already read that CCE makes badly, and therefore is better to join the full MP2 audio to the full M2V movie and to split the file into 2/3 parts only later) but of the 'player'.
Ignoring what the player says and multiplexing to the M2V file the MP2 224 kbps 44.1 kHz everything goes fine!

Amnon82
29th September 2005, 11:00
good news for You ;)