Quote:
Originally Posted by martino
I keep getting an error when I want to open just a simple AVS script, only with AviSource() in it;
Code:
Traceback (most recent call last):
File "AvsP.py", line 4552, in OnMenuFileOpen
File "AvsP.py", line 6200, in OpenFile
File "wx\stc.pyo", line 2842, in SetText
File "encodings\cp1252.pyo", line 22, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 49: character maps to <undefined>
The script opens up fine in VDub and media players though and even encoding works without any problems...
UPDATE: Looks like changing the input avi filename resolved this issue... :/
|
Thanks for bringing that up, I'll try and get this and the other unicode issues squared away for the next release.
Quote:
Originally Posted by jmac698
avsp 1.3.7 bug
Pixel color display in YUV mode, shows wrong values.
Code:
colorbars(pixel_type="YV12")
click on the yellow bar, it should read 161, not 159.
But thanks for adding this feature, I've been waiting a long time to have it
ps you can't just convert from rgb, some YUV can't be displayed as well. There's several yuv that can map to one rgb.
The main reason I wanted it is to measure yuv colors ;(
|
I'm not very knowledgeable about color space conversions, as you guessed all I did was use the rgb to yuv conversions (rec601) as pointed out in
this thread. At the time that was the only way I could handle it, since the frames were being passed to AvsP in rgb. In the next version, AvsP will be doing more direct communication with AviSynth (thanks to contributions from tsp), so this way of handling things may change (once I get everything figured out).