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. |
|
|
Thread Tools | Search this Thread | Display Modes |
24th January 2019, 21:26 | #42 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
http://stereodude.net/LUT.zip |
|
24th January 2019, 23:40 | #44 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
Seems that this was fixed in timecube at some point:
https://forum.doom9.org/showthread.p...30#post1850130 The code link there is broken so I'll try to hunt down the r2 changes. |
24th January 2019, 23:48 | #45 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
Latest code is here:
https://github.com/sekrit-twc/timecube I'll do a re-port to Avisynth+ starting with this latest code. |
24th January 2019, 23:59 | #46 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
Code:
General Complete name : E:\TempBD\TIM\05\00005.h264 Format : AVC Format/Info : Advanced Video Codec File size : 618 MiB Overall bit rate mode : Variable Video Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, RefFrames : 4 frames Bit rate mode : Variable Maximum bit rate : 38.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits |
|
25th January 2019, 21:24 | #48 | Link |
Useful n00b
Join Date: Jul 2014
Posts: 1,667
|
Rather than upgrade to r2a I ported the fullrange fix only. Here is the revised version:
http://rationalqm.us/hdr/avscube_1.1.rar |
26th January 2019, 02:23 | #49 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
x64: 'C:/HDTV Tools/avscube/x64/vscube.dll' cannot be used as a plugin for AviSynth. x86: 'C:/HDTV Tools/avscube/x86/vscube.dll' cannot be used as a plugin for AviSynth. |
|
28th January 2019, 01:20 | #53 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
Quote:
Thanks again. |
|
27th November 2020, 08:32 | #56 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
Hi Donald,
I'm resurrecting this topic as it seems to be the only one which is AVSCube related and I'd like to ask you something about it. I've been using it all the time at work, in production, on my Xeon 28c/56th machines, but I'd like to speed things up a bit as all my server run fairly recent NVIDIA Quadro cards. You're a developer, you know CUDA, you made many hardware accelerated plugins, are you tempted even just a little bit to make this CUDA accelerated as well? |
15th September 2021, 21:32 | #57 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
I know that we all took this as granted, but just to reassure everyone, I made a simple test for Cube() with the identity matrix.
Test1: Code:
#Indexing video=LWLibavVideoSource("Z:\YUV_pattern-2fr.v210-14-2020PQ.mov") audio=BlankClip(length=1, channels=8, audio_rate=48000, fps=25) AudioDub(video, audio) #From 4:2:2 10bit to 4:2:2 16bit planar ConvertBits(16) #From 4:2:2 16bit planar Narrow Range to RGB Planar 16bit Narrow Range z_ConvertFormat(pixel_type="RGBP16", colorspace_op="2020:2020:2020:limited=>rgb:2020:2020:limited", dither_type="none", resample_filter="Spline64") Code:
#Indexing video=LWLibavVideoSource("Z:\YUV_pattern-2fr.v210-14-2020PQ.mov") audio=BlankClip(length=1, channels=8, audio_rate=48000, fps=25) AudioDub(video, audio) #From 4:2:2 10bit to 4:2:2 16bit planar ConvertBits(16) #From 4:2:2 16bit planar Narrow Range to RGB Planar 16bit Narrow Range z_ConvertFormat(pixel_type="RGBP16", colorspace_op="2020:2020:2020:limited=>rgb:2020:2020:limited", dither_type="none", resample_filter="Spline64") #From PQ to HLG with 16bit precision Cube("Z:\IDENTITY.cube", fullrange=true) I called "Test1" as noLUT and "Test2" as IdentityMatrix. Now, since anything times the identity matrix returns itself and therefore applying it or not shouldn't change anything (unless linear algebra and my whole life is a lie xD), I expected Test1 and Test2 to be the same, so I did: Code:
noLUT=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test4_PQ_Avisynth_no_LUT_no_dithering_RGBP16.tiff").ConverttoYUV444() IdentityMatrix=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test6_PQ_Avisynth_IdentityMatrix_no_dithering_RGBP16.tiff").ConverttoYUV444() StackHorizontal(noLUT, IdentityMatrix) TurnRight.Histogram.TurnLeft #luma and since I couldn't see differences at first glance, I tried with Subtract: Code:
noLUT=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test4_PQ_Avisynth_no_LUT_no_dithering_RGBP16.tiff").ConverttoYUV444() IdentityMatrix=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test6_PQ_Avisynth_IdentityMatrix_no_dithering_RGBP16.tiff").ConverttoYUV444() Subtract(noLUT, IdentityMatrix) So I thought: Uhm, maybe it's just my eyes but I can't see any difference, let's try with SSIM and... Code:
noLUT=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test4_PQ_Avisynth_no_LUT_no_dithering_RGBP16.tiff").ConverttoYUV420().ConvertBits(bits=8, dither=-1) IdentityMatrix=ImageSource("\\mibctvan000\Ingest\MEDIA\temp\Test6_PQ_Avisynth_IdentityMatrix_no_dithering_RGBP16.tiff").ConverttoYUV420().ConvertBits(bits=8, dither=-1) SSIM(noLUT, IdentityMatrix, "results.csv", "globalSSIM.txt", lumimask=1, scaled=1) so a perfect score, which means that the two are exactly the same: https://i.imgur.com/uxznR68.png so I can confirm that Cube() works as expected. The reason why I've made this test is to be 100% sure as I've been having some stuff processed through an analyzer and although the result was... "fine", there were some slight variations from how it should have been, so I was trying to find one function to blame but apparently it's not Cube() eheheheheh. Anyway, I think it was worth sharing to reassure everyone that the function is mathematically correct and does what it's supposed to do. |
20th January 2022, 05:37 | #59 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,156
|
Latest ver timecube i think avs ver don't port it
https://github.com/sekrit-twc/timecube |