Quantcast KVCD: No Program Wants to Play my .AVS Files? - digitalFAQ.com Forums [Archives]
  #1  
08-17-2003, 04:08 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
I have a problematic .avi. It plays on the computer, but when, in the beginning I played the motion adapting script the error was "Acm failed to suggest a compatible pcm format". I searched this and other forums and I encoded the audio separately. I even encoded the .avi separetely with virtualdub. At last I tried to encode just the .avi without sound but when I play the .avs in any program (windows media player, zoom player, tok, virtualdub...) there is just error that says that the program will be closed and that's it. If I try the original .avi with .avs script that reads avisource("...avi",false) there is an error again. I really don't know what else to do so I decided to post my problem here. Have you had this problem?
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
08-17-2003, 04:51 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I guess your AVI is a Vorbis OGG container. That's a big sh*t (sorry) !!!

You can try with DirecShowSource insteed of AviSource but you can't do any prediction because Sampler() will take HOURS to procede

Try to open it in VDub and save it in "direct stream copy". That will give you a avi withotu any sound, but that is openable by avs (if it's really an ogg of course).

note: do you have Gspot ? If yes, open the avi with it and tell us what are the codec used for the rendering.
Reply With Quote
  #3  
08-17-2003, 10:21 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
I was going to post the characteristics of the avi yesterday but I was a little bit drunk , so:

I saved the .avi with direct stream copy in virtualdub. This is the info for it - video format: 588 x 316, 80975 Frames, 25.000 Frames/Sec, 191 KB/Sec, Unknown Format. But this format also gives me a constant error in WMP and zoomplayer so I need a restart after 2 tries to play the .avs

The info for the original avi is: audio format - Unknown Format,48*000 Hz; Stereo; video format - 588 x 316, 80975 Frames, 25.000 Frames/Sec, 223 KB/Sec, Unknown Format

Gspot gives me these codecs: for audio -
AC3filter
->Fraunhofer audio decoder
->AC3 from AVI Xform -> Fraunhofer audio decoder

for video:
ffdshow MPEG4 video decoder
DivX decoder filter
DivX decoder filter

And at the end thank you Dialhot for the "DirecShowSource" hint, I will give it a try, hope it works beacause I don't use prediction very often
Reply With Quote
  #4  
08-17-2003, 11:08 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Script error: there is no function named "DirectShowSource" (line 11)

this is shown in my .avs and this is my line 11:

DirecShowSource("C:\movies\dvd\Motor.avi")

Do I write this correct? Or do I need some plug-in or filter or whatever?
Reply With Quote
  #5  
08-17-2003, 11:10 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Edlund,

What version of AviSynth do you have installed

-kwag
Reply With Quote
  #6  
08-17-2003, 11:59 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
the latest - 2.52
Reply With Quote
  #7  
08-18-2003, 01:10 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Maybe you have installed two different versions of avisynth. Can you make an avs with the following content, open it wmp or similar and give us the result
Code:
version()
Reply With Quote
  #8  
08-18-2003, 04:04 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Edlund, did you notice that it miss a 't' in the line you reported ?

Quote:
DirecShowSource("C:\movies\dvd\Motor.avi")
It's DirectShowSource.

Perhaps the error is simply there.
Reply With Quote
  #9  
08-18-2003, 08:12 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Krassi
Maybe you have installed two different versions of avisynth. Can you make an avs with the following content, open it wmp or similar and give us the result
Code:
version()
Avisynth 2.52, build: jun 1 2003 [23:05:51]
2000-2003 Ben Roudiak-Gould et al.
http://www.avisynth.org
Reply With Quote
  #10  
08-18-2003, 08:19 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Edlund, did you notice that it miss a 't' in the line you reported ?

Quote:
DirecShowSource("C:\movies\dvd\Motor.avi")
It's DirectShowSource.

Perhaps the error is simply there.
Yes, I copy/pasted your hint Now when I try to play the .avs with direcTshowsource zoomplayer freezes and WMP opens it minutes long without success. (ToK and Tmpgenc freeze too)
I think if nothing works I will encode the video just with a KVCD template.
Reply With Quote
  #11  
08-18-2003, 08:21 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Do you ave a "Sampler" at the end of your avs ?

If yes, I told you that is will take HOURS to accomplish . So everything is normal

Can you copy your script there ?
Reply With Quote
  #12  
08-18-2003, 04:02 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
It's the optimal script:

Quote:
## DLL Section ##
#
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\MPEG2 Dec3.dll")
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\GripF it_YV12.dll")
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\STMed ianFilter.dll")
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\filte rsdownloaded\asharp.dll")
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\filte rsdownloaded\undot.dll")
LoadPlugin("C:\Movies\Programs\TMPGEnc1\KVCD\UnFil ter_Avisynth_2.5_Alpha\UnFilter.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
directshowsource("C:\movies\dvd\Motor.avi")
#
undot()
Limiter()
asharp(1, 4)
GripCrop(352, 288, overscan=1, source_anamorphic=false)
GripSize(resizer="BilinearResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.1))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2
ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf >= SwitchThreshold ? \
unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ) : \
TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2
}

#
####
Reply With Quote
  #13  
08-18-2003, 06:13 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
The command "YDifferenceToNext" used in MA part of the script is equivalent to a random access into the movie (you want to access directly to a specific frame). So I'm not surprised that this is not usable with a directshowsource.
Reply With Quote
  #14  
08-19-2003, 12:20 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
LoadPlugin("C:\MOVIES\PROGRAMS\TMPGENC1\KVCD\MPEG2 Dec3.dll")
LoadPlugin("C:\MOVIES\PROGRAMS\TMPGENC1\KVCD\GripF it_YV12.dll")

avisource("C:\movies\dvd\motor.avi")
GripCrop(352, 240, overscan=1, source_anamorphic=false)
GripSize(resizer="BilinearResize")
GripBorders()
I have problems even with this script, I think I'll give up with this file, it fucked up everything. Now I can't play a single .avs, every program says that there is a error, for examole "runtime error, the application (zoomplayer, tmpgenc) has requested the Runtime to terminate it in an unusual way." I reinstalled avisynth few times but it didn't work so I will forget about this file and hope that can handle at least the others.
Reply With Quote
  #15  
08-19-2003, 03:45 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
There is a avisource in the last script you reported. Did you try it with DirectShowSource ???

For your second problem, it can come from gripfit. Drop it and just make a script with that :

Code:
directshowsource("C:\movies\dvd\motor.avi")
That's all you need to see if your avi can be handled by avs. After this we will see what filter can be added.
Reply With Quote
  #16  
08-19-2003, 05:26 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
no(( the same runtime error. I receive this error for everything, for directshowsource, avisource, this .avi, other .avis, I'll commit suicide Do you know what it means?
Reply With Quote
  #17  
08-19-2003, 05:38 AM
Krassi Krassi is offline
Free Member
 
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
Just my 2 cents:
Have you tried updating or reinstalling your divx-codec
Reply With Quote
  #18  
08-19-2003, 06:37 AM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks, Krassi, I tried this too, I'm using ACE mega codecs pack 5.91, the problem remains the same
Reply With Quote
  #19  
08-19-2003, 05:15 PM
Edlund Edlund is offline
Free Member
 
Join Date: Jul 2003
Location: Pazardjik, Bulgaria
Posts: 147
Thanks: 0
Thanked 0 Times in 0 Posts
Virtualdub opens my .avs files, but tmpenc and wmp - no.
I'm really asking for help from anybody who knows what this "runtime error" mean.

"runtime error, the application (zoomplayer, tmpgenc) has requested the Runtime to terminate it in an unusual way."
Reply With Quote
  #20  
08-19-2003, 05:22 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Edlund,

Did you install "ReadAVS.dll" in your TMPGEnc folder
If not, here: http://www.kvcd.net/ReadAVS.zip

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Best program to cut VOB FILES ? NittoLive Video Encoding and Conversion 4 02-20-2007 08:49 PM
Avisynth: Telecide won't play KVCD files? jzhao66 Avisynth Scripting 3 07-11-2005 07:19 PM
Is there a program that can demultiplex AVI files? willy_annand Video Encoding and Conversion 2 06-30-2003 04:16 PM
KVCD: what role do the .bin and .cue files play? Reno Video Encoding and Conversion 3 05-20-2003 02:05 PM
KVCD: What program to play kvcd2 to your pc? hoslover20 Video Encoding and Conversion 6 11-10-2002 08:44 PM

Thread Tools



 
All times are GMT -5. The time now is 03:43 AM  —  vBulletin Jelsoft Enterprises Ltd