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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th November 2007, 16:08   #1  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 219
Is xvYCC color space supported in avisynth?

Just bought a new Sony HD handy cam and it has the option of recording in this new extended color space - my TV does not support HDMI 1.3 so it does not play on that, wondering if avisynth can process footage shot in that color space.


Thanks

T
tedkunich is offline   Reply With Quote
Old 28th November 2007, 18:15   #2  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
First of all, if you don't change colorformats, anything colorspace you put in comes out the same.

In principle there is nothing holding AviSynth back for supporting conversion to/from it, but I cannot find any conversion matrices for it online.
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 28th November 2007, 22:55   #3  |  Link
IanB
Avisynth Developer
 
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,173
Quote:
Originally Posted by Wikipedia
xvYCC is a new international digital video color space standard published by the IEC (IEC 61966-2-4). It is based on the ITU BT.601 and BT.709 standards but extends the gamut beyond the R/G/B primaries specified in those standards.
gamut is the sub-triangle of displayable colours from absolute colour.

Avisynth is currently 8 Bit, any conversion will downgrade the image to the current quality of 24bit RGB limits.

However I have added some infrastructure to the API in 2.6 to be able to define 16bit and 32bit per channel formats. So some time in the future there can be actual code that implements these extended formats.
IanB is offline   Reply With Quote
Old 29th November 2007, 00:58   #4  |  Link
Mug Funky
interlace this!
 
Mug Funky's Avatar
 
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
is this just YUV with 0-255 ranges? in this case avisynth should support it already.

wikipedia is a bit light on the details about this, apart from the marketese sounding "deeper colours".
__________________
sucking the life out of your videos since 2004
Mug Funky is offline   Reply With Quote
Old 29th November 2007, 06:13   #5  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 219
Quote:
Originally Posted by Mug Funky View Post
is this just YUV with 0-255 ranges? in this case avisynth should support it already.

wikipedia is a bit light on the details about this, apart from the marketese sounding "deeper colours".
From Answers.com
xvYCC uses the full range of values (1 to 254 in an 8-bit space) to represent colors. In BT.601 and BT.709, RGB colors are represented only by 8-bit values from 16 to 235. This limited range was established to allow for undershoot and overshoot, attributes of analog TV signaling. With digital TV signaling, there is no undershoot or overshoot, and the values from 1-15 and 235-254 can be used to represent real colors. In order to maintain backward-compatibility with earlier standards, the red (R), green (G), blue (B) and white standard colors are still calculated at the same indices in the color space. The wider ranges of digital values allow representation of deeper greens, deeper reds, and deeper blues - and of course intermediate colors previously beyond the boundary limit in the CCIR 601 color space.
Full article here http://www.answers.com/topic/xvycc
tedkunich is offline   Reply With Quote
Old 1st December 2007, 09:47   #6  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,552
This is BT.709 Gamut (pretty close to 601 and NTSC) with the fullrange exposed. The primary reason 16-235 was chosen for digitization was because of the expectation that wider gamuts would shortly come into use; turns out they were about 20 years too early.

You can process it all you want in Avisynth, as long as it can read the container format, just don't convert it into 8-bit RGB or you'll lose all the extended range. You need a tool to convert it to 16-bit or higher RGB to be useful.

Despite what wiki sez, most cheap LCDs have a gamut limited to sRGB or at most approaching NTSC, though, so don't expect it to automatically translate to vibrance unless you have something like a new Bravia or another LED backlit set.
__________________
There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order.
foxyshadis is offline   Reply With Quote
Old 2nd December 2007, 13:15   #7  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
doc is not free.
http://webstore.iec.ch/webstore/webs.../artnum/035442

Preview:
http://webstore.iec.ch/preview/info_...4{ed1.0}en.pdf

Correction 1:
http://www.iec.ch/cgi-bin/getcorr.pl...1{ed1.0}en.pdf

HDMI 1.3
http://www.eetchina.com/ARTICLES/200...URCES=DOWNLOAD

See slide 17 of this:
http://www.jeita.or.jp/japanese/hot/2006/0830/0830.pdf
Seems, luma is not extended.

Last edited by Fizick; 4th December 2007 at 16:29.
Fizick is offline   Reply With Quote
Old 4th December 2007, 12:17   #8  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: Yorkshire, UK
Posts: 1,673
That Japanese presentation is interesting, even for a non-Japanese speaker!

I wonder how they got those extended colour demonstrations to display on my sRGB PC display!

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 25th December 2020, 12:37   #9  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 7
>on my sRGB PC display

Even sRGB display should be able to present superwhite values...
Balling is offline   Reply With Quote
Old 25th December 2020, 16:44   #10  |  Link
TheFluff
Excessively jovial fellow
 
Join Date: Jun 2004
Location: rude
Posts: 1,099
Quote:
Originally Posted by Balling View Post
>on my sRGB PC display

Even sRGB display should be able to present superwhite values...
I'm not sure if the person who posted that thirteen years ago cares anymore, especially since their last activity on this forum was five years ago.
TheFluff is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 02:17.


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