VideoTek is a Tektronix-like waveform monitor for Avisynth written by Francesco Bucciantini (aka FranceBB).
Special thanks to Stainless, magiblot and erazortt.
Parameters
VideoTek(clip clp, String "Mode", String "Type", Bool "Detailed")
clip = input clip
String Mode = SDR
sets the mode of the source
"SDR" - Standard Dynamic Range
"HLG" - Hybrid Log Gamma
"PQ" - Perceptual Quantizer
String Type = volts
sets the display mode for luma
"volts"
"nits"
Bool Detailed = false
sets the level of details in the nits visualization
"true"
"false"
Usage Example 1 (SDR)
#Indexing a video
video=LWLibavVideoSource("test1.mxf")
audio=LWLibavAudioSource("test1.mxf")
AudioDub(video, audio)
#Calling VideoTek without parameters for SDR videos
VideoTek()
Menu
picture (top left), luma (top right)
chroma (bottom left), audio channels and Lissajou (bottom right)
Resolution, framerate, BitDepth (bottom left), Timecode (bottom right)
About the example
In the example it's possible to see how the luma is out of range and soft-highlights rollback will need to be performed.
By default, it uses the volts representation, however it's possible to use the nits representation as well.
#Indexing a video
video=LWLibavVideoSource("test2.mxf")
audio=LWLibavAudioSource("test2.mxf")
AudioDub(video, audio)
#Calling VideoTek SDR with nits representation
Usage Example 2 (HDR HLG)
#Indexing a video
video=LWLibavVideoSource("test3.mxf")
audio=LWLibavAudioSource("test3.mxf")
AudioDub(video, audio)
#Calling VideoTek with HLG Mode
The HLG Mode will enable the 75% Reference White marker at 0.525V
About the example
In the example it's possible to see how the specular highlights of the stones in the background are slightly over the 75% reference white of 0.525V.
By default, it uses the volts representation, however it's possible to use the nits representation as well.
#Indexing a video
video=LWLibavVideoSource("test4.mxf")
audio=LWLibavAudioSource("test4.mxf")
AudioDub(video, audio)
#Calling VideoTek with HLG Mode
The nits reference in HLG mode will enable the 0, 100, 200, 400, 600 and 1000 nits markers.
Usage Example 3 (HDR PQ)
#Indexing a video
video=LWLibavVideoSource("test5.mxf")
audio=LWLibavAudioSource("test5.mxf")
AudioDub(video, audio)
#Calling VideoTek with PQ Mode
VideoTek(Mode="PQ")
The PQ Mode will enable the 58% Reference White marker at 0.406V
About the example
In the example it's possible to see how the reflected light on the leaves is totally preserved and some reflections exceed the 58% reference white of 0.406V.
By default, it uses the volts representation, however it's possible to use the nits representation as well.
#Indexing a video
video=LWLibavVideoSource("test5.mxf")
audio=LWLibavAudioSource("test5.mxf")
AudioDub(video, audio)
#Calling VideoTek with PQ Mode
VideoTek(Mode="PQ", Type="nits")
The nits reference in PQ mode will enable the 0, 203, 1000, 5000 and 10000 nits markers.
It's also possible to increase the level of details by making VideoTek display all the 1k nits increments with Detailed=true.
#Indexing a video
video=LWLibavVideoSource("test5.mxf")
audio=LWLibavAudioSource("test5.mxf")
AudioDub(video, audio)
#Calling VideoTek with PQ Mode with Detailed set to true
The nits reference in PQ mode with Detailed=true will enable the 0, 203, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000 and 10000 nits markers.