Avisynth: YUY2, YV12 error?
I'm having some problems with avs 2.52 and one of my divx files. Sometimes I get the error Undot: Supports YUY2 color format only when trying to open my avs files in virtualdub. This seems to only happen with divx files, in this case an older divx3 file. To get around this, I usually add the lines ConvertToYUY2() and ConvertToYV12() before and after Undot() respectively. But this time around, I get the error Couldn't locate a decompressor for format 'YV12'. Tmpgenc won't even open my avs files. I've tried uninstalling and reinstalling my codecs, avs 2.52 (including the ffvw), with no success. Any idea what's going on?
|
make sure your version of Undot is for 2.5x
http://www.avisynth.org/~warpenterprises/ also you can check which codec you need for your .avi with the GSpot utility. |
Well seeing as how there only IS Undot for 2.52, yes I'm sure I have the right filter. Interestingly enough, the readme file says UnDot "Requires either YUY2 or YV12 input" so I have no idea why I'm getting my original error in the first place. Also I have already loaded my file with GSpot which is how I know it is a div3 file (its 4cc designation). It says I have 3 compatible codecs on my system. So that's why I tried to reinstall my codecs to make sure that wasn't the problem. Here is a full copy of my current script
Code:
### Ver. June 30, 2003 @00:06 GMT ### |
Ok one last idea- replace the 'converttoyuy2' line with 'coverttoyv12' and open it with VDubMod (but not via avisynth script).
|
Quote:
|
maybe this thread can help:
http://www.kvcd.net/forum/viewtopic....f03a63197400eb |
Just install DivX5 or a recent build of XviD, which is capable of decoding YV12.
|
I just had the problem and the origin is that in fact your clip isn't in YV12 nor YUY2 but in RGB !
As told by Wilbert, it's a matter of codec : some don't uncompress video in YV12. But for my part I have one of the last Divx lib (5.05) so... ... its faster to add a "ConvertToYV12" just after the Avisource. That's all, everything will run ok. |
my problem was solved i uninstalled avisynth 2.52 because i gave up on it i installed and was working with scripts using avisynth 2.07 then i decided to try avisynth 2.52 again so i installed it (without uninstalling 2.07) and i changed my script a bit by just putting the undot() between the convert like in J wo's script
ConvertToYUY2() undot() ConvertToYV12() and it worked perfectly i don't know which of the above fixed it, i hope this helps Bilal |
i forgot to say i installed ffvw the program that comes with avisynth2.5, i chose not to install it when i was having the problem, so it could be this that fixed it :lol:
|
Quote:
Change your script to : Avisource(....) ConvertToYV12() Undot() ... And everything will be ok. |
ok i did that and it still works :oops: thanks dialhot so it's not that which fixed it.
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.