digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Script Error - Blind PP: Work in YV12 colorspace? (http://www.digitalfaq.com/archives/avisynth/6040-script-error-blind.html)

beany101uk 10-11-2003 11:29 AM

Script Error - Blind PP: Work in YV12 colorspace?
 
This is the script I am using converting a divx film. The film is encoded using the Microsoft MPEG 4 V2 codec.

AviSource("C:\Program Files\eMule\Incoming\film_A.avi",false)
BlindPP(cpu=4)
Blockbuster(method="noise",detail_min=1,detail_max =3,variance=0.1,seed=1)
ATC(2,3,5,0.5,false)
GripCrop(704, 576, overscan=2, source_anamorphic=false, dest_anamorphic=false)
GripSize(resizer="LanczosResize")
Undot()
TemporalSoften(2,7,7,3,2)
DCTFilter(1,1,1,1,1,1,0.5,0)
GripBorders()
converttoyuy2()
Sampler(Length=15)

I get the following error when I view it in VirtualDub:

Blind PP: Work in YV12 colorspace.

Any help would be greatly appreciated, thanks.

Wolfi 10-11-2003 12:09 PM

Look at this thread :arrow:

http://www.kvcd.net/forum/viewtopic.php?t=6292

Markymoo 10-11-2003 12:43 PM

Hiya

You need to insert ConvertToYV12() after AVISource line before BlindPP

Dialhot 10-11-2003 02:14 PM

NO ! You need to UPDATE your codecs !

Last Xvid codec and Divx one since 5.05 decode movie directly in YV12. So you NEVER need to use a "convertToYV12" line.

mistermickster 11-26-2003 06:29 AM

Hi Phil,

I'm getting the same error. :(

What codecs should I use :?

Dialhot 11-26-2003 07:04 AM

Quote:

Originally Posted by mistermickster
Hi Phil,

I'm getting the same error. :(

What codecs should I use :?

I personally use Nic's Xvid codec and Divx 5.05.

You can find both here :

www.codec-download.com/

Be carreful : you have to confiugure them to provide YV12 (by default they do YUY2). In Xvid confguration panel you have to set "output colorspace" to "force YV12", and in divx5.05 you must check "enhanced YV output" (something like this).

mistermickster 12-03-2003 07:50 AM

Quote:

Originally Posted by Dialhot
Be carreful : you have to confiugure them to provide YV12 (by default they do YUY2). In Xvid confguration panel you have to set "output colorspace" to "force YV12", and in divx5.05 you must check "enhanced YV output" (something like this).

Sorry Phil :?

How do I get the Xvid and divx configuration panels :?:

Dialhot 12-03-2003 08:29 AM

If you installed the codecs manually, there is a configuration link somehwehre in the windows menu.

If you use a codec pack, you can open the config panel while looking the video with zoomplayer (right clock -> filter information).

Or you can use the tool dxman from analogx.

mistermickster 12-12-2003 08:13 AM

I've cured it :D


Quote:

If you use a codec pack, you can open the config panel while looking the video with zoomplayer (right clock -> filter information).

Or you can use the tool dxman from analogx
Couldn't get these to open any configs :?

Installed the Gordian Knot pack, changed the "enhanced YV output" setting on Divx 5.05.

Had to uninstall Divx 3.11 though for the avi to use the new codec :?

:?: If GSpot says there is more than one compatible codec installed, can you choose which one to use :?:

Dialhot 12-12-2003 08:31 AM

Quote:

Originally Posted by mistermickster
If GSpot says there is more than one compatible codec installed, can you choose which one to use :?:

You can but it so difficult I wouldn't recommand it to you.

If you want to have a look on that, use zoomplayer and go to the "Graphedit filter configuration" panel" You will see that each codec is referenced under windows with a "merit number" that tells to the system wich codec should be use according to the format of the media.

mistermickster 12-12-2003 09:23 AM

Thnx m8,

Helpful as always :)

mistermickster 12-15-2003 06:58 AM

Hi Phil,

Ok, so now I don't get a script error, but what I do get is people with blue faces :o

Do I need to add a 'ConvertToxxxx()' line at the end of my script? How do I know what to convert to ?

Abond 12-15-2003 11:52 AM

After your
AviSorce(xxxx.avi)
line put
SwapUV()
line.

Dialhot 12-15-2003 01:53 PM

Abond advice is okay but is far better to ipdate your Xvid codec.
This blueish face is corrected wince some release now.


All times are GMT -5. The time now is 09:30 PM  —  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.