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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th December 2009, 14:04   #1  |  Link
jollye
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()
Thanks for your answer.
jollye
jollye is offline   Reply With Quote
Old 4th December 2009, 14:47   #2  |  Link
jollye
Registered User
 
Join Date: Oct 2006
Posts: 43
Thanks for you answer.
jollye is offline   Reply With Quote
Old 6th December 2009, 10:11   #3  |  Link
MadRat
Registered User
 
MadRat's Avatar
 
Join Date: Jan 2008
Posts: 110
What are you trying to do?
MadRat is offline   Reply With Quote
Old 6th December 2009, 10:25   #4  |  Link
MatLz
I often say "maybe"...
 
MatLz's Avatar
 
Join Date: Jul 2009
Location: France
Posts: 583
@MadRat
Quote:
Originally Posted by jollye View Post
...YV24...

...try to visualize an avs script outputing such a format...
MatLz is offline   Reply With Quote
Old 7th December 2009, 11:27   #5  |  Link
jollye
Registered User
 
Join Date: Oct 2006
Posts: 43
Quote:
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.

Last edited by jollye; 7th December 2009 at 11:29.
jollye is offline   Reply With Quote
Old 7th December 2009, 23:11   #6  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Quote:
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.
Wilbert is offline   Reply With Quote
Old 25th January 2010, 10:54   #7  |  Link
jollye
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.
jollye is offline   Reply With Quote
Old 25th January 2010, 14:57   #8  |  Link
IanB
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
IanB is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.