PDA

View Full Version : Test *.avi file where to get ?


HomerJ
24th August 2002, 19:25
I'm trying to use CCE for the first time, but having problems adding an Avisynth created *.avs script. Framserved by DVD2AVI

Avisynth seems to be working OK "version ()" seems to work OK

CCE seems to be doing a lot of hard disc searching then displays the error message "CCE has encountered a problem and needs to close down.....

I am running Windows XP (Home Edition) P4 2Ghz
CCE version is 2.5

Is there a web site where I can download a "small" *.avi file that CCE should recognise.

If this works, I perhaps need to look at my DVD2AVI or Avisynth.

Any suggestions welcome

HomerJ :)

Dreassica
24th August 2002, 22:23
It would be nice if u could post the contents of ur AVS script. That might shed some light on what could be the cause of the error.

HomerJ
24th August 2002, 22:30
Dreassica,

Thanks, contents are:-

LoadPlugin("c:\mpeg2dec.dll")
mpeg2source("F:\Trainingday\saturday.d2v")

I have played around with other file types. CCE comes up with various error messages, but these seem reasonably valid, although I am not 100% certain of their file format, so I think CCE is at least trying to validate the file.

I am currently thinking that my saturday.d2v file is corrupt in some way, but that's one of the reasons for trying a "known" *.avi file.

HomerJ :)

Dreassica
25th August 2002, 00:07
Try entering the line: resampleaudio(44100)
in your script, I know it's for Athlon, but i have seen it work on a p4 system too, which crashed without it but not so with the line added. Maybe that will solve ur problem.

Milkman Dan
25th August 2002, 01:06
Originally posted by Dreassica
Try entering the line: resampleaudio(44100)
in your script, I know it's for Athlon, but i have seen it work on a p4 system too, which crashed without it but not so with the line added. Maybe that will solve ur problem.

AFAIK, the ResampleAudio line has nothing to do with the CPU. It has to do with CCE wanting an audio stream in the AVI (which you're only faking with AviSynth) and it not being present. The ResampleAudio line just fools CCE into complacency, and gives you the chance to turn off the audio output in the settings dialog.

Dreassica
25th August 2002, 10:24
Originally posted by Milkman Dan


AFAIK, the ResampleAudio line has nothing to do with the CPU. It has to do with CCE wanting an audio stream in the AVI (which you're only faking with AviSynth) and it not being present. The ResampleAudio line just fools CCE into complacency, and gives you the chance to turn off the audio output in the settings dialog.

U do know this trick is also used to prevent CCE from crashing on Athlon machines! I have to use it to be able to load an AVS succesfully but P3 for example don't need it. But i had one guy having the same crashprob on a P4 system and adding that line solved it. I dont know if it will work here, but there is no harm in trying.

HomerJ
25th August 2002, 11:12
Many Thanks to Dreassica & Milkman Dan !!!

Both suggested to me overnight to try "ReSampleAudio(44000)" in my script file, even though this is supposed to be for Athlons.

I replied to Milkman in a thread on PC hardware (In there I asked if anyone had an ASUS Mobo/P4 working to CCE2.5) That I had tried this (several times) and it was true. (Even joked about the spelling)

BUT, of course I was also trying lots of other things as well. (including changing the "compatability" setting in properties)

Anyway, it was very late last night when I finally gave up.

In the cold light of day this morning, I thought I would give it another try. So, added the ReSampleAudio(44000) line, and BINGO !!!

Well, I can load the *.avs file, and the properties look OK.

I think this is the first time I have had to resort to changing the compatability mode on a program since using XP, but who cares.

By the way, compatabilty mode is set for Windows NT 4 SP 5

Thanks once again guys.

HomerJ :D IT'S WORKING !!!!

Dreassica
25th August 2002, 11:35
Originally posted by HomerJ
Many Thanks to Dreassica & Milkman Dan !!!

Both suggested to me overnight to try "ReSampleAudio(44000)" in my script file, even though this is supposed to be for Athlons.

I replied to Milkman in a thread on PC hardware (In there I asked if anyone had an ASUS Mobo/P4 working to CCE2.5) That I had tried this (several times) and it was true. (Even joked about the spelling)

BUT, of course I was also trying lots of other things as well. (including changing the "compatability" setting in properties)

Anyway, it was very late last night when I finally gave up.

In the cold light of day this morning, I thought I would give it another try. So, added the ReSampleAudio(44000) line, and BINGO !!!

Well, I can load the *.avs file, and the properties look OK.

I think this is the first time I have had to resort to changing the compatability mode on a program since using XP, but who cares.

By the way, compatabilty mode is set for Windows NT 4 SP 5

Thanks once again guys.

HomerJ :D IT'S WORKING !!!!

Uhh, U mean resample(44100, right? Because 44000 isn't the right figure to use!!:D :D

BTW i run XP too and don't need any compatibilitymode to run CCE!!

HomerJ
27th August 2002, 19:18
Dreassica,

Actually, I did mean 44000 (told you my spelling was suspect)

I have since changed it to 44100.

I might have a play a bit later on (I just want to finish of this movie first)

What I did check was to see if the ResampleAudio command was necessary, after changing the compatability mode. It is definately needed !! No big deal though.

When I said it worked with the 44000 value, this was just loading the *.avs file. Things might have started going wrong further down the process with the incorrect value.

HomerJ ;)

slk001
28th August 2002, 22:11
I, too, have experimented with leaving out the RESAMPLEAUDIO(44100) on my P4 system to see if CCE would work with an .AVS file. The answer is that this command seems to be definitively required just to get CCE to load the file. I suspect this is because the AUDIO FILE box is checked by default and, when CCE can't find one, it goes down in flames.

I use WIN2000PRO on a 1.8GHz P4 system.

HomerJ
29th August 2002, 09:28
slk001,

You could well be right. It would certainly make sense. I know my "version" has audio checked as a default.

HomerJ :)

auenf
29th August 2002, 14:55
altho it probably does the same if you use a template with audio unchecked.

Enf...

HomerJ
29th August 2002, 15:02
Now there's a thought.

Must put that on my list of things to learn !!!

My god, there's just not enough hours in the day (or night come to that)

HomerJ ;)

Pyre8
29th August 2002, 15:08
Just my 2cents - I have a P4 and CCE 2.5 does not load avs files unless it sees the resampleaudio line in the script. I have had CCE crash everytime I loaded an avs file without that line, so looks like it is not just my P4:)

PS: Wanted to add that I have not had to make changes to the compatibility mode on my XP Pro machine to run CCE - it runs fine in XP native mode.

HomerJ
29th August 2002, 17:44
Well there you go,

I think enough people have come forward saying they too need the "ResampleAudio" command as well as Athlons.

I guess perhaps the only difference is from what I've read, Athlons MUST have it where Pentiums MIGHT need it.

Any Pentium owners want to put their hand up and say if they use the command CCE crashes ?? (Now that would be novel)

HomerJ