Quantcast TMPGEnc: ReadAVS Problem - digitalFAQ.com Forums [Archives]
  #1  
06-05-2005, 11:53 AM
oxycotton420 oxycotton420 is offline
Free Member
 
Join Date: May 2004
Location: Lebanon, Beirut
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
hey
whenever i try and open up a avs script using tmpgenc it gives me this error which it never gave before :
Code:
Can not open, or unsupported
this is very strange i tried it with 2 other scripts using 2 different .d2v and it still didn't work. This problem i think happened after i installed a new version of avisynth to my computer. but i'm sure there is a way to fix it. Thanks
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  
06-05-2005, 12:02 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
Make sure you have the ReadAVS.dll file, and registered, on your TMPGEnc folder.

-kwag
Reply With Quote
  #3  
06-05-2005, 12:04 PM
oxycotton420 oxycotton420 is offline
Free Member
 
Join Date: May 2004
Location: Lebanon, Beirut
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
yes kwag i did that even tried re-installing tmpgenc and doing the readavs.dll and registry thing all over again but still didn't work
Reply With Quote
  #4  
06-05-2005, 12:21 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi oxycotton420 ,
Make sure you put readavs.dll in a short path.
Try not to put any spaces in the folders names where it will be located .
Usually I make a c:\video folder and I install everything inside it.
If you take such a suggestion you will end up with tmpgenc installed under something like c:\video\tmpgenc.
Next make sure you add it to the registry using the ReadAVS.reg file that comes with it.
Following the above recommendations your edited ReadAVS.reg registry file should look like this:
Code:
[HKEY_CURRENT_USER\Software\VFPlugin]
"Avisynth"="c:\\video\\tmpgenc\\ReadAVS.dll"
This time make sure you use double back-slashes on the path inside the reg file.
Now double click that ReadAVS.reg file and agree when asked if you want to upload it's contents to your registry.
After that, if it still doesn't work, make sure you reinstall XviD.
It is XviD that decodes YV12 so you better make sure it is correctly installed.
After that make sure that the Mpeg2Dec3.dll you're using is appropriate for the DVD2AVI you're using.
If you're using DGIndex instead of DVD2AVI, make sure that you copied the dgdecode.dll that comes with it to the c:\video\avisynth\plugins directory.
If it still doesn't work we'll try to think of something else .
Cheers
__________________
Rui
Reply With Quote
  #5  
06-05-2005, 12:45 PM
Prodater64 Prodater64 is offline
Free Member
 
Join Date: Mar 2003
Location: Palma de Mallorca - España
Posts: 2,925
Thanks: 0
Thanked 0 Times in 0 Posts
Can you preview your avs file in VDMod?
Reply With Quote
  #6  
06-05-2005, 03:38 PM
oxycotton420 oxycotton420 is offline
Free Member
 
Join Date: May 2004
Location: Lebanon, Beirut
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
alright thanks for that but it still didn't work here is my script that i am using.....

Code:
LoadPlugin("C:\Filters25\MPEG2Dec3.dll") 
LoadPlugin("D:\KVCD\avisynth plugins\DGDecode.dll") 
LoadPLugin("D:\KVCD\avisynth plugins\RemoveGrainSSE2.dll")
LoadPlugin("D:\KVCD\avisynth plugins\deen.dll") 


DGDecode_Mpeg2Source("D:\movie\VIDEO_TS\movienew.d2v",cpu=4,idct=7) 
LanczosResize(496,416,8,0,704,576)
RemoveGrain() 
Deen() 
TemporalSoften(2,7,7,3,2) 
#Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5823) 
AddBorders(16,80,16,80)
i am using DGIndex to make my d2v project. But even if i don't use it and use dvd2avi, tmpgenc still won't like it.
Also i dunno if this is normal but when i tried opening my avs file using VLC or any other playback player it won't work. I doesn't give me an AVS script error but just that the file isn't supported. I am using the avisynth 2.5 version

EDIT:
When i oepn my avs file using VDmode it won't open gives me this error

Code:
Could'nt locate decompressor for 'YV12' (unknown) . .. ..
Reply With Quote
  #7  
06-05-2005, 03:43 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Very common problem : install XVID (yes, XVID) codec and all will be ok.

New avisynth produces YV12 output by default. As you don't have any YV12 codec on your PC, this does not work. Windows will use XVID to convert YV12 into something usable by the system.
Reply With Quote
  #8  
06-05-2005, 03:58 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
Very common problem : install XVID (yes, XVID) codec and all will be ok.

New avisynth produces YV12 output by default. As you don't have any YV12 codec on your PC, this does not work. Windows will use XVID to convert YV12 into something usable by the system.
As I had already pointed out.
Quote:
Originally Posted by rds_correia
After that, if it still doesn't work, make sure you reinstall XviD.
It is XviD that decodes YV12 so you better make sure it is correctly installed.
I never forget to point that out as it was my 1st argue with Phil and he also told me to install XviD.
I disregarded his tip because "I was trying kvcd not XviD".
Turned out he was right about it and I try not to forget what I learn .
Cheers
__________________
Rui
Reply With Quote
  #9  
06-05-2005, 04:12 PM
oxycotton420 oxycotton420 is offline
Free Member
 
Join Date: May 2004
Location: Lebanon, Beirut
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
okay that worked thanks everyone i installed xvid and it worked perfectly i guesss that was the problem.

on the tmgpenc note i was wondering something:
i noticed that i havent been using the kvcd-notch matrix when using tmpgenc and i was wondering if there was a faster way to upload the matrix rather then type each number by itself thanks.
Reply With Quote
  #10  
06-05-2005, 04:29 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Are you kidding us .
Just load one of the kvcd templates that you can find at http://www.kvcd.net/dvd-models.html.
You ARE kidding right?
Cheers
__________________
Rui
Reply With Quote
  #11  
06-05-2005, 04:33 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
Quote:
Originally Posted by oxycotton420
i noticed that i havent been using the kvcd-notch matrix when using tmpgenc
Then you don't know what you've been missing

-kwag
Reply With Quote
  #12  
06-05-2005, 04:59 PM
oxycotton420 oxycotton420 is offline
Free Member
 
Join Date: May 2004
Location: Lebanon, Beirut
Posts: 228
Thanks: 0
Thanked 0 Times in 0 Posts
bahhh
i always loaded templets i just lost my mind and forgot that they included the matrix
haha sorry about that
Reply With Quote
  #13  
06-05-2005, 05:27 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by oxycotton420
bahhh
i always loaded templets i just lost my mind and forgot that they included the matrix
haha sorry about that
Phew
For a moment I almost believed you hadn't been using "The Notch" for a while.
You almost had me going for it .
Cheers
__________________
Rui
Reply With Quote
  #14  
06-06-2005, 05:09 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Dialhot wrote:
..."New avisynth produces YV12 output by default"...

Does that mean that AviSynth Converts to YV12 anyway,even if
input are YUY2 and I want the output to be the same(for CCE)?
Reply With Quote
  #15  
06-06-2005, 05:21 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by the viking
Does that mean that AviSynth Converts to YV12 anyway,even if
input are YUY2 and I want the output to be the same(for CCE)?
No. It means that if you do not force the mode, all commands like Avisource, Mpeg2Source and DirectShowSource will first ask to the codec installed on the PC if it can produce YV12, and use it. Else it will go to YUY2, then to RGB.

Look at "pixel_type" parameter in the doc for more informations :
http://www.avisynth.org/AviSource
(mpeg2source is not internal to avisynth but follows the same logic if I'm not wrong).
Reply With Quote
  #16  
06-06-2005, 05:50 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Ok,I read the page.And as you say,as long as I force the mode,the
output will be the the same as input.
So when I use
"AVISource("D:\VVCR Cap\video1.avi",pixel_type="YUY2")",
output will be YUY2 and then good for CCE.

I think I understand it now,thanks
Reply With Quote
  #17  
06-06-2005, 05:56 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by the viking
output will be YUY2 and then good for CCE.
1/ avisynth is 30% faster in YV12 than in YUY2
2/ for DVD (not AVI) YV12 is the original colorspace. Using YUY2 force the codec to perform a conversion
3/ Only CCE2.50 do not like YV12. Version above it don't have any problem if correct YV12 decompressor is installed on the PC.
(the same way tmpgenc should work in RGB24 but can be fed with YV12).

In few words : let work in YV12, or just put a "convertToYUY2" at the end of your script.
Reply With Quote
  #18  
06-06-2005, 06:13 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
My captures are YUY2,so It takes time,speed CCE 0,39.Its
probably a bad idea to convert to YV12 and then back to YUY2
at the end of the script.

So when using DVD RB,I should uncheck ConvertToYUY2()
option?Im using CCE 2.67
Reply With Quote
  #19  
06-06-2005, 06:46 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by the viking
My captures are YUY2,so It takes time,speed CCE 0,39.Its
probably a bad idea to convert to YV12 and then back to YUY2
at the end of the script.
You are right, I didn't think about captures.

Quote:
So when using DVD RB,I should uncheck ConvertToYUY2()
option?Im using CCE 2.67
Yes you should.
Reply With Quote
  #20  
06-06-2005, 09:00 AM
the viking the viking is offline
Free Member
 
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
Then I try that! Thanks!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
TMPGEnc: Can't open avs files in TMPGEnc, but ReadAVS installed audioslave Video Encoding and Conversion 8 10-05-2003 08:57 PM
TMPGEnc: Location of ReadAVS VFAPI trillium Video Encoding and Conversion 1 07-07-2003 11:53 AM
TMPGEnc: ReadAvs Plugin diablov90street Video Encoding and Conversion 5 06-30-2003 10:18 AM
TMPGEnc: ReadAVS error, LoadPlugin problem DCBJ Video Encoding and Conversion 22 05-19-2003 03:29 PM
TMPGEnc: ReadAVS.dll problems Tutankhamun Video Encoding and Conversion 2 04-12-2003 02:23 PM

Thread Tools



 
All times are GMT -5. The time now is 05:31 AM  —  vBulletin © Jelsoft Enterprises Ltd