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 31st May 2021, 09:46   #161  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,086
Quote:
Originally Posted by StvG View Post
If anyone downloaded avsresize_r6, download it again (fixed regression: approximate_gamma (r5 is ok)).
Unable to download.

Code:
Il server non č stato in grado di completare la tua richiesta.

Se ciņ si verifca nuovamente, invia i seguenti dettagli tecnici all'amministratore del server.

Ulteriori dettagli sono disponibili nel log del server.

Dettagli tecnici
Indirizzo remoto: 84.221.196.138
ID richiesta: WXU1VipibSaEEFhe3TpD
Edit: now it works.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 21st June 2021, 16:47   #162  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,117
It was working, I updated Avisynth on my production server to 3.7.0, now it's throwing this error:



Why?

Edit: Tested on Avisynth 3.7.1 Beta 6, same result, same error.

Edit 2: I'm temporarily using ConverttoYUV422(matrix="PC2020") as a workaround. Technically, it should leave the levels untouched from the Studio RGB...

Last edited by FranceBB; 22nd June 2021 at 10:05.
FranceBB is offline   Reply With Quote
Old 23rd June 2021, 02:12   #163  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 274
avsresize_r7 (pass: hIaK6dSB69uK): fixed frame properties reading.
StvG is offline   Reply With Quote
Old 23rd June 2021, 03:09   #164  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,084
Thanks
kedautinh12 is offline   Reply With Quote
Old 23rd June 2021, 06:42   #165  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,117
I updated but now I get: RGB Color family cannot have YUV matrix coefficients



if I remove the last conversion and leave it as RGB it works:




Version: Avisynth 3.7.1 Beta 6 x64
OS: Windows 10 Enterprise x64

Last edited by FranceBB; 23rd June 2021 at 06:45.
FranceBB is offline   Reply With Quote
Old 23rd June 2021, 07:23   #166  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 274
Check the last line from the first screenshot: pixel_type=rgb but destination matrix 2020 (yuv).
StvG is offline   Reply With Quote
Old 23rd June 2021, 08:44   #167  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 1,895
Quote:
Originally Posted by StvG View Post
Check the last line from the first screenshot: pixel_type=rgb but destination matrix 2020 (yuv).
This is one of the many reasons why I started Transforms Pack, no-sense limitations and restrictions in avsresize. YUV 2020 can be converted to RGB 2020, it's even a standard conversion (CL and NCL).
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 23rd June 2021, 09:15   #168  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,117
Quote:
Originally Posted by StvG View Post
Check the last line from the first screenshot: pixel_type=rgb but destination matrix 2020 (yuv).
Daaaamn, this is why I shouldn't test things at 6.42 in the morning before having my breakfast...

Version 7 works like a charm now, thanks!
I'm rolling it on all my production server.
Now I've got a few MJPEG2000 12bit PQ masterfiles to encode in HLG eheheheh
FranceBB is offline   Reply With Quote
Old 29th June 2021, 09:28   #169  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 274
avsresize_r8 (pass: Zz299Qct9i4P): changed MT mode to MT_MULTI_INSTANCE.
StvG is offline   Reply With Quote
Old 29th June 2021, 10:31   #170  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,084
Thanks
kedautinh12 is offline   Reply With Quote
Old 30th June 2021, 14:05   #171  |  Link
Audionut
Registered User
 
Join Date: Nov 2003
Posts: 1,277
Hi, I'm seeing an issues with levels that begun in r7.

This is what the frames should look like.

And this is the output of ComparisonGen.avsi after updating to r7.

Still same issue in r8.
__________________
http://www.7-zip.org/

Last edited by Audionut; 1st July 2021 at 02:43. Reason: Problem fixed, thankyou
Audionut is offline   Reply With Quote
Old 30th June 2021, 18:01   #172  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 274
avsresize_r9 (pass: au7cG6ztmrW4): do not use the same color range for the destination when frame property available and source/destination color family is different;
- set the correct color range frame property value for destination YUV 32-bit.
StvG is offline   Reply With Quote
Old 1st July 2021, 03:05   #173  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 1,084
thanks
kedautinh12 is offline   Reply With Quote
Old 1st July 2021, 12:31   #174  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,117
Thanks for the update!
Time to test and then replace it in our production servers.
FranceBB is offline   Reply With Quote
Old 23rd July 2021, 12:18   #175  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,401
Out of interest, should the value for nominal_luminance be adjusted based on source metadata (=maximum content light level) in case of HDR?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 24th July 2021, 02:31   #176  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 274
Quote:
Originally Posted by Boulder View Post
Out of interest, should the value for nominal_luminance be adjusted based on source metadata (=maximum content light level) in case of HDR?
Check the first two comments from this issue.
Ideally you want to set it to the frame peak luminance.
StvG is offline   Reply With Quote
Old 24th July 2021, 08:57   #177  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,401
Quote:
Originally Posted by StvG View Post
Check the first two comments from this issue.
Ideally you want to set it to the frame peak luminance.
Thanks, looks like it's not worth it and best just to leave it at the default if unknown. There probably is no tool to find the value by scanning the whole video.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline   Reply With Quote
Old 24th July 2021, 16:27   #178  |  Link
Dogway
Registered User
 
Join Date: Nov 2009
Posts: 1,895
@Boulder: runtime yplanemax maybe? Maybe do a first pass analysis.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread
Dogway is offline   Reply With Quote
Old 26th July 2021, 20:00   #179  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 2,117
Quote:
Originally Posted by Boulder View Post
Thanks, looks like it's not worth it and best just to leave it at the default if unknown. There probably is no tool to find the value by scanning the whole video.
PQStat (written by William Swartzendruber, who is also a user of this forum) can do it for you: it's free, open source and written in Rust.
It will scan the whole video and report the right values in nits.
Please note, though, that if you're not scanning a lossless masterfile made of 12bit tiff but rather a consumer relatively low bitrate HEVC .ts file from a broadcasting channel or a consumer UHD-BD HEVC .m2ts file (which also has a low bitrate compared to the master), there are gonna be compression overshooting (i.e outliers) which might affect the overall detection.
(Just as a reference, a ProRes 4K mezzanine file, which is NOT lossless, has 1 Gbit/s as bitrate and it's still losing quality and potentially creating overshooting, so those ARE DEFINITELY GONNA HAPPEN in a "low bitrate" H.265 HEVC file...)

Last edited by FranceBB; 26th July 2021 at 20:02.
FranceBB is offline   Reply With Quote
Old 26th July 2021, 20:36   #180  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,401
Quote:
Originally Posted by FranceBB View Post
PQStat (written by William Swartzendruber, who is also a user of this forum) can do it for you: it's free, open source and written in Rust.
It will scan the whole video and report the right values in nits.
Please note, though, that if you're not scanning a lossless masterfile made of 12bit tiff but rather a consumer relatively low bitrate HEVC .ts file from a broadcasting channel or a consumer UHD-BD HEVC .m2ts file (which also has a low bitrate compared to the master), there are gonna be compression overshooting (i.e outliers) which might affect the overall detection.
(Just as a reference, a ProRes 4K mezzanine file, which is NOT lossless, has 1 Gbit/s as bitrate and it's still losing quality and potentially creating overshooting, so those ARE DEFINITELY GONNA HAPPEN in a "low bitrate" H.265 HEVC file...)
Thanks, I'll check that one out.

Wouldn't it actually be better to use the value, overshooting or not, since it's from the source that the decoder gets anyway?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder 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 10:00.


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