Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
4th December 2009, 14:04 | #1 | Link |
Registered User
Join Date: Oct 2006
Posts: 43
|
Question about YV24
Hi all,
I've seen that YV24 is supported in the new 2.6 version of AviSynth. However when I try to visualize an avs script outputing such a format using Windows Media Player or VirtualDubMod, it is not working whereas the last version of VirtualDub is displaying it fine. Do I have to install a DirectShow codec for that color space or is it simply uncompatible with those players? Code:
AVISource("myfile.avi").ConvertToYV24() jollye |
7th December 2009, 11:27 | #5 | Link | |
Registered User
Join Date: Oct 2006
Posts: 43
|
Quote:
It seems the answer to my problem was suppressed by the guy answering. Anyway I had the time to read it. He wrote that this format is internal to Avisynth and that to visualize the result with a player not supporting it I had to add ConvertToRGB at the end of my script. Thanks again for your replies. Last edited by jollye; 7th December 2009 at 11:29. |
|
25th January 2010, 10:54 | #7 | Link |
Registered User
Join Date: Oct 2006
Posts: 43
|
Hi all,
Actually after some research it appears a codec for YV24 would allow the output to be displayed in any DirectShow compatible player (like helix for YV12, for example). Otherwise, I think I've found a bug. When opening an Avisynth script using the yy24 color space with VirtualDub, if the number of pixels per line is not a multiple of 4, then the video displayed in VirtualDub is not correct. (diagonalized). I don't know if the bug comes from Avisynth or Virtualdub because I couldn't find AviSynth 2.6RC2 source code. |
25th January 2010, 14:57 | #8 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
Hmm, yes VDub seems to expect the input without 4 byte DIB alignment of lines, same for YV16. Y800 however expects the 4 byte alignment.
Source code for avisynth/src/core/main.cpp, see lines 1017 to 1058, CAVIStreamSynth::ReadFrame |
|
|