View Full Version : Problem converting Divx to SVCD
Alacran
17th March 2005, 07:53
Hello,
Here goes my first post, newbie so please be nice.
I'm using the latest version of D2S and everything is working perfectly, for DVD conversions that is. Was not easy at first to get it all running.
Next step is the conversion of Divx to svcd.
But I ran in to various problems that I coul not solve until now.
I've read most of the topics related to my problem, and I know WHY it happens but I don't know HOW to solve it.
In short, I get this error: YV12 width must be a multiple of.....etc.
I'm using the FACAR-script, it worked flawless before (with DVD).
Tried using Simple resize, but CCE won't eat it and hangs or returns an error.
Tried resizing described in the D2S faq, CCE says something about not supported etc.
Tried the Virtualdubmod procedure but it was making a 33Gig file, seems way to large (result of raw RGB, no compression). Recompressing to Xvid for example wouldn't be practical because of quality loss.
Tried using DIKO (you all know it, I guess) and that works fine but it is very slow and I prefer D2S because it also gives me a lot more options.
Can someone put me back on the right track? I'm not a noob but this is getting over my head.
If this issue is already covered somewhere, I apologize. The forum is quite big and only to read up will take several days.
Other than that, no problems at all. D2S is excelent to work with,
I have had fantastic results with it.
Thanks for your help.
Nick
18th March 2005, 18:32
OK first things first, FACAR is designed for DVD backup.
If your AVI is not of DVD resolution, this may not work well for you.
Try the autofitCD plugin if you are determined to remove TV overscan.
As for the VirtualDub trick, if you read the instructions carefully it tells you to set the mode to Direct Stream Copy in the Video menu. This prevents you creating a decompressed AVI of enormous precautions. Incidentally, this will not help with your problem anyway. It is FACAR's resizing causing the problem.
Alacran
19th March 2005, 08:35
Hello,
Thanks Nick for your reply. I did what you said, but didn't have much luck.
You are right, the AVI is not a DVD resolution.
I downloaded Autofit, en upon instal I found it needed FitCD, downloaded that too and put FitCD in a subdirectory in the D2S folder.
Then installed autofitCD and fired up D2S.
The options showed in the frameserver settings, so that far everything was OK. Read the readme files included and first selected Autofit in the frameserver tab. After that a preview, it showed ok indicating the borders. Then clicked the FitCD button, and got the following errors:
-EJclFileUtilsError Unable to create directory (in the log)
-DirectShowSource: could not open......
-Video returned:......DirectShowSource an object or name...
-Audio returned:......DirectShowSource an object or name...
The points indicate where the preview window cuts off, could not see all of the message.
The only thing I found was that the FitCD util was newer than the Autofit plugin, I don't know if that has something to do with the error?
I have no need for extensive script files, my main goal is to get the AVI accepted by CCE so it can at least encode the movie.
As for the tweak settings, will figure them out later on.
It's not easy at all.
I hope you can give some tips, anyway thanks for your efforts and thanks all of you guys around here for helping out.
Nick
19th March 2005, 11:55
Tips
1. To see full avisynth errors, drag and drop the script that created the error into Media Player.
2. AutoFitCD is designed to work with FitCD 1.1.2, so if you have a different version this may be the problem. Unfortunately I've just remembered that the current DVD2SVCD doesn't get on with the AutoFitCD plugin anyway.
Probably your best bet is to tell us the Aspect Ratio and resolution of your AVI and describe exactly what you wish to do, and let's see what we can do.
Alacran
19th March 2005, 20:00
HelloNick,
Thank you for your reply.
My avi is in DivX format. It has a non-standard framerate.
Framerate: 23.977
Aspect ratio: 4:3
Resolution: 640x360
Compresion: Divx3.
What I want to do, is feed the divx movie into D2S to encode it to SVCD. I have my colection mainly in Divx, but svcd is compatible with standalone players, so that's why.
Once I know how to overcome this problem, I can do all my stuff the same way.
BTW: Diko has converted some of the Divx, but it takes all night and sometimes, like this particular movie, it won't encode because the framerate is not supported. Like I said, D2S is much more professional.
I'm sorry to bother you with this question. But I'm sure someone has stumbled upon the same issue before, so there might be a solution for this.
Thanks for your help.
Nick
19th March 2005, 20:37
I would create a script to resize it manually, run it thru VFAPI and convert that.
Script something like this in Notepad
Avisource("Drive letter and path\file.avi") <- insert correct details in the brackets
LanczosResize(640,480)
Save as whatever.avs
Find your VFAPI executable. It is in your DVD2SVCD installation directory > VFAPI > Reader folder
Add your script with Add Job, then hit Convert.
It will create a dummy AVI file which will be 1:1 PAR.
This should then covert without the need for resizing plugins.
Alacran
21st March 2005, 10:05
Hello,
Thanks Nick for your fast answer.
Yesterday my system crashed, corrupt data on the boot partition and I was unable to repair the damage, I first had to fix the motherboard (cause of the failure), that's finished now. But as you know, installing software is a mayor task. I'm just up and running with the basic stuff.
My luck, I had backups of everything so nothing is lost but nevertheless it's a lot of work configuring, especially the video encoding material.
Back to work, as I understand this simple procedure is kind of
"fooling" CCE to encode the AVI.
I didn't think of that before, but it seems ok to give it a shot.
Will start over again tomorow, so please don't go away. I will get back to you with the results.
Thanks!
Alacran
24th March 2005, 05:19
Hello Nick,
Well, back on track, sort of.
Did the steps you suggested. Worked OK at first, but still got an error: "Deen needs YV12 input".
But after looking closely, I found that the cause is D2SRoBa. When it is searching for the Q-factor, the error pops up. I opened the .mv file in mediaplayer and there it was....
So I tried without D2SRoBa. And it encoded OK! Even without the tips you gave me, right from the original avi.
So that's the problem. "D2SRoBa_conditional.avs"
Downside to this method is, that we loose the size prediction and automation D2SRoBa always does. Therefore, could not use single-pass VBR but instead 2 pass VBR. Not that it's that critical, but I would like to use D2SRoBa on this too (yes, I've been spoiled).
For now, it is a workaround and I've yet to see the final avi (it is still encoding).
Perhaps you can get an idea by now what is going wrong. If you feel like helping me along, it would be great.
Thanks for your patience.
Venom_IL
25th March 2005, 16:49
edit your robaconditional.avs in the directory where you installed D2sROBA, usually "tylo" under the DVD2SVCD dir (edit robaconditional.avs.true if such a file exists there) like so
# Default conditional filter for D2SRoBa.
#
# Requires that Undot.dll and Deen.dll (http://www.avisynth.org/warpenterprises)
# are in your avisynth plugins directory, e.g. C:\Program Files\AviSynth 2.5\plugins
ConvertToYV12()
Undot().Deen()
ConvertBackToYUY2()
you can do this in notepad
GL
next time search the forum, I wrote about this in the D2SROBA sticky in the advanced forum
Alacran
28th March 2005, 19:08
Hi Venom,
I'm going to try that fix today.
I did search for information on the issue, but the d2SRoba post you mentioned is a 200+ post topic with lots of different info.
I simply failed to see the connection between the errors reported by Avisynth and your post in that topic.
I found the post you are talking about.
I'm sorry if the issue is not that difficult to solve, but I'm fairly new on D2S, and you guys do have a lot more experience.
I just sometimes need a little push in the right direction.
Thanks for your help.
Venom_IL
28th March 2005, 21:51
hey, no harm done =)
just a little tip though - try "show results as posts" when the search turns up long threads.. in this case, if you do this searching the relevant forums (i.e. "VCD & SVCD") using the term "Deen needs a YV12 input" you get precisely 3 results - one is this thread, the second is the same question asked in said thread, and the third is my answer :cool:
Alacran
28th March 2005, 21:55
Hello,
Venom you were right. Not so difficult indeed.
I looked up the .avs.true file and edited it, putting in the 2 lines.
The avi converted perfectly, no problems at all! And the most important, 10 times as fast as Diko would have done it.
By the way, I used FACAR for the sizing and cropping, it gives me the best results, even when Nick said it was mainly for DVD material (I just had to try and see)
Now I'm a happy man, converting all my divx stuff. And learned a whole lot more on the way.
Thanks Nick and Venom for sorting this out.
I also would like to thank the rest of the people on this forum for helping out every day, you guys are the best.
Venom_IL
29th March 2005, 19:00
happy encoding !
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.