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

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th June 2024, 15:59   #1  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 95
ConvertToRGB - matrix

When converting to RGB using ConvertToRGB, should a matrix be provided or will the function recognize itself based on the frame parameters which matrix (601 or 709) to convert from?
rgr is offline   Reply With Quote
Old 4th June 2024, 19:59   #2  |  Link
Emulgator
Big Bit Savings Now !
 
Emulgator's Avatar
 
Join Date: Feb 2007
Location: close to the wall
Posts: 1,671
AviSynth assumes Rec601 as default, anything else you will have to provide.
AviSynth can not know, only believe from there.
From old AviSynth help:
Quote:
Options
matrix
Default Rec601. Controls the colour coefficients and scaling factors used in RGB - YUV conversions.
"Rec601" : Uses Rec.601 coefficients; scale full range [0..255] RGB to TV range [16..235] YUV, and vice versa.
"Rec709" : Uses Rec.709 coefficients; scale full range [0..255] RGB to TV range [16..235] YUV, and vice versa.
"PC.601" : Uses Rec.601 coefficients, keep full range.
"PC.709" : Uses Rec.709 coefficients, keep full range.
"AVERAGE" : Uses averaged coefficients, keep full range. (So the luma becomes the average of the RGB channels.)
With the advent of frame properties some conversions may pass some more parameters:
http://avisynth.nl/index.php/ConvertToRGB
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain)
"Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..."
Emulgator is offline   Reply With Quote
Old 4th June 2024, 20:21   #3  |  Link
DTL
Registered User
 
Join Date: Jul 2018
Posts: 1,180
If you know matrix (and also range mapping required) it is most safe way to provide it.
DTL is offline   Reply With Quote
Old 6th June 2024, 11:15   #4  |  Link
rgr
Registered User
 
Join Date: Jun 2022
Posts: 95
OK, thanks.
rgr is offline   Reply With Quote
Reply

Tags
converttorgb, matrix

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:03.


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