View Full Version : Question about YV24
jollye
4th December 2009, 14:04
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?
AVISource("myfile.avi").ConvertToYV24()
Thanks for your answer.
jollye
jollye
4th December 2009, 14:47
Thanks for you answer.
MadRat
6th December 2009, 10:11
What are you trying to do?
MatLz
6th December 2009, 10:25
@MadRat...YV24...
...try to visualize an avs script outputing such a format...
jollye
7th December 2009, 11:27
What are you trying to do?
Actually, I'm making some tests to understand how this new color space is supported by Avisynth. In other words, I'm trying to improve my knowledge of Avisynth. Then maybe I'll use it.
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.
Wilbert
7th December 2009, 23:11
He wrote that this format is internal to Avisynth and that to visualize the result with a player not supporting it
It always needs to be converted to RGB at some point.
jollye
25th January 2010, 10:54
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.
IanB
25th January 2010, 14:57
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. :confused:
Source code for avisynth/src/core/main.cpp (http://avisynth2.cvs.sourceforge.net/viewvc/avisynth2/avisynth/src/core/main.cpp?revision=1.38&view=markup), see lines 1017 to 1058, CAVIStreamSynth::ReadFrame
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.