Log in

View Full Version : Weird colour issues in Avisynth


maxh77
8th March 2010, 03:09
http://i924.photobucket.com/albums/ad84/maxh77/Avisynth/Screen.jpg

Hi there - I'm still a bit of a noob with this Avisynth stuff, and this is my first post.

I've been transferring some PAL tapes to DVD and been using Avisynth within Virtualdub to do the job. It's worked great up till now. I just recently started with some NTSC tapes and the capturing seemed to go fine, and the captured video file is great when previewed in Media Player, but when I open it in Avisynth (without even processing it - just opening the AVI and looking at the results), it has weird colour issues (see screen). I've never seen this before and I've got no idea what's going on. As I mentioned, it can't be an error with a particular filter as even with all filters disabled it still happens.

It seems to be an issue with Avisynth though, because opening it in Virtualdub by itself is fine and doesn't show the same problem. Also, changing colourspaces doesn't fix the error either, so I don't think it's an issue with that.

Has anyone found the same error before and can give me any advice on what to do?

I'm using the lastest Avisynth (2.5) and Virtualdub 1.9.4.

Thanks!

wonkey_monkey
8th March 2010, 20:00
What happens if you try:

avisource("yoursource.avi",pixel_type="rgb24")

And what's the codec?

David

maxh77
14th March 2010, 04:46
Hi David,

Thanks for the input - I hadn't tried that. It fixed the problem for me!

Max

wonkey_monkey
14th March 2010, 13:25
Hi David,

Thanks for the input - I hadn't tried that. It fixed the problem for me!

Max

Wow, good, because I wasn't really expecting it to! (edit: no, wait, I kinda was, but I'd forgotten why - it was the "okay in vdub" that clued me in, because vdub always asks for RGB from a codec - same reason some MJPEG codecs come out darker with AVS)

It's possibly a bug in the codec - by telling it you want rgb24 output I think you're forcing it through some different code and thus (perhaps) bypassing the bug?

David