Colorspace Question, ConverttoRGB32()

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Colorspace Question, ConverttoRGB32()

Post by Kero777 » Tue Jul 08, 2008 1:39 pm

I was re-reading the filtering guide yesterday and something caught my eye this time. I have payed so much attention to the actual filtering in the past that I have completely neglected the subject of colorspace. As a matter of fact, I don't know that much about it. I know that when a source is taken from a DVD it is in the YV12 colorspace, but what happens if you forget to add ConverttoRGB32() or ConverttoRGB24() to the end of your script before making Lagarith clips and importing it into your editing program? Is there a real difference between RGB24() and RGB32() and do they affect quality of the final product?

I'm curious because I completely forgot to change the colorspace to RGB before making clips and importing into Vegas for the project I'm working on and as of yet I don't see any problems. Thanks.
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Tue Jul 08, 2008 1:59 pm

Either lagarith or your editing program did the conversion for you, so there's little or no difference.

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Post by Kero777 » Thu Jul 10, 2008 5:34 pm

Zarxrax wrote:Either lagarith or your editing program did the conversion for you, so there's little or no difference.
Thanks. :D And there's no big difference between RGB24() and RGB32() so I can choose either? I found a good explanation somewhere, but forget where it was.
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Post by BasharOfTheAges » Thu Jul 10, 2008 5:49 pm

Kero777 wrote:
Zarxrax wrote:Either lagarith or your editing program did the conversion for you, so there's little or no difference.
Thanks. :D And there's no big difference between RGB24() and RGB32() so I can choose either? I found a good explanation somewhere, but forget where it was.
The 8bits of difference between them are an alpha layer. Unless you're planning on layering your exports onto something else and need to have transparencies preserved, you don't really need RGB32.
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

User avatar
Zarxrax
Joined: Sun Apr 01, 2001 6:37 pm
Contact:
Org Profile

Post by Zarxrax » Thu Jul 10, 2008 6:08 pm

BasharOfTheAges wrote:The 8bits of difference between them are an alpha layer. Unless you're planning on layering your exports onto something else and need to have transparencies preserved, you don't really need RGB32.
Not really. RGBA is used to refer to RGB that contains an alpha layer. RGB32 basically has an extra empty (or perhaps non empty) channel thrown on there because computers can process data on 32bit chunks much better than they can on 24bit chunks. So essentially, RGB32 is for all intents and purposes the same as RGB24, but more optimized for speed. There is almost never any reason to use RGB24.

User avatar
BasharOfTheAges
Just zis guy, you know?
Joined: Tue Sep 14, 2004 11:32 pm
Status: Breathing
Location: Merrimack, NH
Org Profile

Post by BasharOfTheAges » Thu Jul 10, 2008 11:29 pm

Zarxrax wrote:
BasharOfTheAges wrote:The 8bits of difference between them are an alpha layer. Unless you're planning on layering your exports onto something else and need to have transparencies preserved, you don't really need RGB32.
Not really. RGBA is used to refer to RGB that contains an alpha layer. RGB32 basically has an extra empty (or perhaps non empty) channel thrown on there because computers can process data on 32bit chunks much better than they can on 24bit chunks. So essentially, RGB32 is for all intents and purposes the same as RGB24, but more optimized for speed. There is almost never any reason to use RGB24.
Well, I was sure misinformed then. :oops:
Anime Boston Fan Creations Coordinator (2019-2023)
Anime Boston Fan Creations Staff (2016-2018)
Another Anime Convention AMV Contest Coordinator 2008-2016
| | |

User avatar
Kero777
Joined: Sun May 06, 2007 9:37 am
Org Profile

Post by Kero777 » Fri Jul 11, 2008 12:47 pm

Zarxrax wrote:
BasharOfTheAges wrote:The 8bits of difference between them are an alpha layer. Unless you're planning on layering your exports onto something else and need to have transparencies preserved, you don't really need RGB32.
Not really. RGBA is used to refer to RGB that contains an alpha layer. RGB32 basically has an extra empty (or perhaps non empty) channel thrown on there because computers can process data on 32bit chunks much better than they can on 24bit chunks. So essentially, RGB32 is for all intents and purposes the same as RGB24, but more optimized for speed. There is almost never any reason to use RGB24.
Ah, I see. Thank you, Zarxrax. :D I realized though while making a search that just as many people who use RGB32() use RGB24() instead... I wonder if they don't know about this either? It's good to know.
Thanks to: Qyot27, Jaddziadax, BasharOfTheAges, Scintilla, Post-It, Anubisx00, Kariudo and everyone else for helping this Newby out! :P

"Hard work is worthless for those that don't believe in themselves." -Naruto Uzumaki

Locked

Return to “AviSynth Help”