digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: Readavs problem (http://www.digitalfaq.com/archives/encode/13556-tmpgenc-readavs-problem.html)

oxycotton420 06-05-2005 11:53 AM

readavs problem
 
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

kwag 06-05-2005 12:02 PM

Make sure you have the ReadAVS.dll file, and registered, on your TMPGEnc folder.

-kwag

oxycotton420 06-05-2005 12:04 PM

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 :cry:

rds_correia 06-05-2005 12:21 PM

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 :lol:.
Cheers

Prodater64 06-05-2005 12:45 PM

Can you preview your avs file in VDMod?

oxycotton420 06-05-2005 03:38 PM

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) . .. ..

Dialhot 06-05-2005 03:43 PM

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.

rds_correia 06-05-2005 03:58 PM

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 :arrow: not XviD".
Turned out he was right about it and I try not to forget what I learn :lol:.
Cheers

oxycotton420 06-05-2005 04:12 PM

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.

rds_correia 06-05-2005 04:29 PM

Are you kidding us :lol:.
Just load one of the kvcd templates that you can find at http://www.kvcd.net/dvd-models.html.
You ARE kidding right?
Cheers

kwag 06-05-2005 04:33 PM

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 :mrgreen:

-kwag

oxycotton420 06-05-2005 04:59 PM

bahhh :lol:
i always loaded templets i just lost my mind and forgot that they included the matrix :)
haha sorry about that

rds_correia 06-05-2005 05:27 PM

Quote:

Originally Posted by oxycotton420
bahhh :lol:
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 :lol:.
Cheers

the viking 06-06-2005 05:09 AM

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)?

Dialhot 06-06-2005 05:21 AM

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).

the viking 06-06-2005 05:50 AM

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

Dialhot 06-06-2005 05:56 AM

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.

the viking 06-06-2005 06:13 AM

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

Dialhot 06-06-2005 06:46 AM

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.

the viking 06-06-2005 09:00 AM

Then I try that! Thanks!


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.