View Full Version : DV Material Avs Prob with CCE 2.50
SurfaceCleanerZ
31st March 2003, 14:40
I've done my movie with Pinnacle Studio using HuffYUV 0.2.2 with CCE patch and PCM sound (44.100). Always when I add the avs script to CCE it takes a second and I'm in windows(XP PRO).
This happends just with DV avis. I tested the same script with a DIVX movie and it worked fine.
This error occurs in Avisynth 2.07 and 2.08 too.
I already tested usind Addaudio and resampleaudio, but the same error occurs.
It's PAL material I forgot to say.
My script:
LoadPlugin("C:\Programme\AviSynth2\plugins\SimpleResize.dll")
DirectShowSource("F:\spankap2a.avi",fps=25)
SimpleResize(480,576)
AddAudio()
I want to encode the Video to SVCD MPG2 PAL using the RoBa method manually.
I used the Main Concept DV codec to grab the material from the camera.
The system is Windows XP Pro with NTFS on the Movie Harddisk.
PS: What's the best Encoder for the Audiofile (WAV)?
I'm demuxing it using Graphedit.
I already tried toolame and SCMPX, but on some material both didn't work for the whole file, they crash always at the same point (72%).
SCMPX is working better sometimes, but the quality is not that good as toolame I think, is this right?
I know this is a very general question!
DDogg
31st March 2003, 18:09
I like to try to help with CCE questions, but CCE is sometimes difficult to diagnose without asking a lot of questions.
1> What version of CCE?
2> When the addaudio() is removed, what happens when you attempt to play your AVS in WMP 6.4 or open in VDub? Any errors?
3> Same as above with avisource instead of DirectShowSource (you will need to remove the FPS=25) ?
4> Will CCE load your avs if avisource is used?
Note: While I could load a DV-Type 2 (ntsc) source using DirectShowSource and AddAudio() into CCE 2.5, all my attempts to use it with a Huffy file (both with and without pcm audio) caused CCE to crash. Substituting AviSource allowed loading that same Huffy file in CCE 2.5 with no problems. It would be interesting to know if anybody else out there can open the avs using DirectShowSource in CCE 2.50 using Huffy source to see if this is machine specific.
#TestScript - DirectShowSource, Huffy and CCE 2.50
#AMD TBird 1.4
DirectShowSource("DV Type2Clip.avi")# loaded in CCE 2.50
#DirectShowSource("HuffyClip.avi")# crashed in CCE 2.50
#AviSource("HuffyClip.avi")# loaded in CCE 2.50
BilinearResize(480,480)
ConvertToYUY2()
AddAudio()
SurfaceCleanerZ
1st April 2003, 14:01
I mentioned in the headline that I use CCE 2.50.
I'm using an Athlon XP 1700 on an SIS 735 board ( ECS K7S5A).
If it helps, its Studio 8.5.21 (newest).
When I encode the same Avi direct into CCE there are no problems.
There is only that problem, when using resize(avisynth).
I'll try playing it yet and then add the result.
I'm using directshowsource because it's the better driver model, not that old Win 3.1 one. But I'll try it.
Why do you use convert to YUY2?
is this for DVD or SVCD?
edit:
MediaPlayer says : SimpleResize: Supports YUY2 color format only
(F:\span2.avs, line 3).
Do I have to convert the movie first, like you did?
edit:
I tried that too, the mplayer plays every 100s frame veeeeerrry slow now and the movie format is very small, but high. Do I have to exchange resolution for SVCD or is it just the mediaplayer not knowing it to play anamorph like DVD and SVCD?
Using this in CCE causes CCE to do something. It is not flashing back to WIN as before, but it gives no feedback to WIN (it uses 45 MB of RAM and 00% of CPU time). The CCE Window stays there with the X in the right above corner and thats it. I'm just able to click the X and it is exiting CCE.
Do I have to use another resize filter?
according to this board I found that this is the right one to reduze resolution.
edit:
with Avisource CCE exits even a bit more fast than before to WIN. The mplayer gives the same error as described above.
edit:
This skript is loading and encoding into CCE well :
LoadPlugin("C:\Programme\AviSynth2\plugins\SimpleResize.dll")
AviSource("F:\spankap2a.avi")
ConvertToYUY2()
SimpleResize(480,576)
AddAudio()
Is this a good method to do this? I think it is not (Avisource!!!), or am I wrong with this?
DDogg
1st April 2003, 21:00
If a script throws a red on black error in wmp then STOP. There is never any need to go forward to the next step until it is corrected. That just wastes your time.
In my personal opinion, the exception to the rule might be when using DirectShowSource. It is problematic, unpredictable and enigmatic :-). Sometimes a script using it will play in wmp but not work in the encoder, especially the very finicky CCE 2.50. Many (not all) people never use DirectShowSource except as a last resort for special cases where other methods are not appropriate. As to your comments:
"I'm using directshowsource because it's the better driver model...," and "Is this a good method to do this? I think it is not (Avisource!!!), or am I wrong with this?" What information are your comments based upon? I'm just a tool user and use what works to get the job done. I am not aware of any quality differences or discussion of that point.
To your question, "Why do you use convert to YUY2?", CCE 2.50 will not take YV12 input from a Avisynth 2.5 script. YUV2 is the recommended colorspace to deliver to CCE. There are ways to work around this with special registry settings and DIVX, but they have been proven to be much slower and are not worth the trouble.
SurfaceCleanerZ
2nd April 2003, 18:14
I'm not a tool user. I want to encode a movie into MPG2 with the RoBa method and don't know any tool that is really doing this well!
The mentioned tools are good for DVD ripping but I want to encode my own movies to SVCD.
And I want to have the highest possible quality out of my sources.
I did a part of my movie with this settings now and it works well!
So I'll have to do it so again with the rest, too.
THX for your help!
I'm writing a german tutorial about the things to do for this.
That's why I had to know that much things.
I probably will give it to the people of the german doom9 forum too(if its good).
Cause I thing such a tut is missing on doom.
There is nothing really interesting for DV encoding here.
You said you are a tool user which tool is good for toolame based audio encoding for my purposes.
At the moment I extract it with Graphedit (avi/wav file source; wavdest; file writer, then toolame and then bbmpg to mux it again.
but thats very much work!
PS: I'm using AVS 2.08 not 2.5!
DDogg
2nd April 2003, 20:31
OT: Well, as for encoding DV to SVCD, Just use ProCorder. IMO, based upon literally hundreds of experiments, nothing, and I mean nothing can touch the quality of ProCorder when encoding interlaced DV footage at SVCD rates. I am not talking about anything but interlaced DV. CCE, IMO, is still the king for Progressive DVD encoding.
I suspect using even the most complex methods with CCE you will never reach the quality of a simple drag and drop ProCorder encode for your pal or ntsc DV footage. At least, this could be the benchmark you compare your work with CCE/DV to. If you wish to discuss that, please do so here: http://forum.doom9.org/showthread.php?s=&threadid=46266
SurfaceCleanerZ
3rd April 2003, 13:43
Thx for the link.
I'll give it a try too, but I've to search for it first.
How fast is ProCoder ?
Thats one of the most interesting features of CCE, the speed!!!
CCE 2.5 with good audio quality would be the best encoder ever I think at the moment.
Is there a solution for that problem?
Is docce4u able to do that for me?
edit:
What about the ConverttoYUY2 option of HuffYUV, is it better or faster than the one in AVS?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.