03.02.2024, 19:53
(03.02.2024, 02:02)Selur Wrote: No clue what you understand under "dynamic range".
Comparing 'MVI_5394.AVI' with 'MVI_5394 Hybrid FFV1.mkv' in vsViewer using:
I don't see the problem:# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/Support/libhistogram.dll")
# source: 'C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 640x480, fps: 30, scanorder: progressive, yuv luminance scale: full, matrix: 470bg
# Loading C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv using LWLibavSource
clip1 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394.AVI", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
clip1 = core.hist.Levels(clip=clip1)
clip2 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394 Hybrid FFV1.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
clip2 = core.hist.Levels(clip=clip2)
clip = core.std.StackHorizontal([clip1, clip2])
# Output
clip.set_output()
the levels seem to be identical.
Same when using:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/Support/libhistogram.dll")
# source: 'C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 640x480, fps: 30, scanorder: progressive, yuv luminance scale: full, matrix: 470bg
# Loading C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv using LWLibavSource
clip1 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394.AVI", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
#clip1 = core.hist.Levels(clip=clip1)
clip1 = core.hist.Color2(clip=clip1)
clip2 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394 Hybrid FFV1.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
#clip2 = core.hist.Levels(clip=clip2)
clip2 = core.hist.Color2(clip=clip2)
clip = core.std.StackHorizontal([clip1, clip2])
# Output
clip.set_output()
=> atm. it seems like a problem with your comparison method.
Wild guess: Could be that whatever you use during the comparison might not respect "luminance scale: full", but assue luminance scale: limited.
Cu Selur
I have compared the files in DaVinci Resolve side by side and even when playing them one after another in VLC, the difference was clear. I include the files once again, and also a short clip rendered from DaVinci and add a more infomation about the clips.
BTW, dynamic range - how much information is in the shadows and highlights.
PS Compare MVI_5394 YAHR 116 FineDehalo+QTGMC with MVI_5394_FFV1 YAHR 116 FineDehalo+QTGMC
The first file, original AVI one, was directly put into Hybrid and processed as described above and the second, original AVI one, was processed using Shuter Encoder to create FFV1 file and then it was put into Hybrid and processed as described above. Look at the railroad sleepers ahead and below the train (shadows) and the boat on the left (quite bright). In the clip which was directly put to Hybrid the boat just looks as a totally blown away and the railroad sleepers are also much darker.
To make it clearer, I have changed the names of the clips and added them to DaVInci to show as as well the file AVI changed into FFV1 both in Shutter Encoder and Hybrid. And FFV1 files from both method look the same BUT after Hybrid filter application the difference starts to appear. I have aobserved it one year ago using ProRes output clips - head of a few people was much brighter than on the original file.
So looking at the mp4 from DaVinci, the order of short films is as follows:
1. MVI_5394_ AVI to FFV1 in Shutter Encoder
2. MVI_5394 AVI to FFV1 in Hybrid
Summary: The look the same.
3. MVI_5394_ AVI to FFV1 in Shutter Encoder then to Hybrid + YAHR+DeHalo+QTGMC
4. MVI_5394 AVI directly to Hybrid + YAHR+DeHalo+QTGMC
Summary: Clip no 4 has blown highlights and much darker shadows=much worse dynamic range.
I also include original AVI file to play with.
https://we.tl/t-O2eHmnTosL
(03.02.2024, 19:53)Al74 Wrote:(03.02.2024, 02:02)Selur Wrote: No clue what you understand under "dynamic range".
Comparing 'MVI_5394.AVI' with 'MVI_5394 Hybrid FFV1.mkv' in vsViewer using:
I don't see the problem:# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/Support/libhistogram.dll")
# source: 'C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 640x480, fps: 30, scanorder: progressive, yuv luminance scale: full, matrix: 470bg
# Loading C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv using LWLibavSource
clip1 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394.AVI", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
clip1 = core.hist.Levels(clip=clip1)
clip2 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394 Hybrid FFV1.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
clip2 = core.hist.Levels(clip=clip2)
clip = core.std.StackHorizontal([clip1, clip2])
# Output
clip.set_output()
the levels seem to be identical.
You compared the wrong files, these are identical.
Same when using:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Loading Plugins
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
core.std.LoadPlugin(path="F:/Hybrid/64bit/vsfilters/Support/libhistogram.dll")
# source: 'C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 640x480, fps: 30, scanorder: progressive, yuv luminance scale: full, matrix: 470bg
# Loading C:\Users\Selur\Desktop\MVI_5394 Hybrid FFV1.mkv using LWLibavSource
clip1 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394.AVI", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
#clip1 = core.hist.Levels(clip=clip1)
clip1 = core.hist.Color2(clip=clip1)
clip2 = core.lsmas.LWLibavSource(source="C:/Users/Selur/Desktop/MVI_5394 Hybrid FFV1.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
#clip2 = core.hist.Levels(clip=clip2)
clip2 = core.hist.Color2(clip=clip2)
clip = core.std.StackHorizontal([clip1, clip2])
# Output
clip.set_output()
=> atm. it seems like a problem with your comparison method.
Wild guess: Could be that whatever you use during the comparison might not respect "luminance scale: full", but assue luminance scale: limited.
Cu Selur
I have compared the files in DaVinci Resolve side by side and even when playing them one after another in VLC, the difference was clear. I include the files once again, and also a short clip rendered from DaVinci and add a more infomation about the clips.
BTW, dynamic range - how much information is in the shadows and highlights.
PS Compare MVI_5394 YAHR 116 FineDehalo+QTGMC with MVI_5394_FFV1 YAHR 116 FineDehalo+QTGMC
The first file, original AVI one, was directly put into Hybrid and processed as described above and the second, original AVI one, was processed using Shuter Encoder to create FFV1 file and then it was put into Hybrid and processed as described above. Look at the railroad sleepers ahead and below the train (shadows) and the boat on the left (quite bright). In the clip which was directly put to Hybrid the boat just looks as a totally blown away and the railroad sleepers are also much darker.
To make it clearer, I have changed the names of the clips and added them to DaVInci to show as well the file AVI changed into FFV1 both in Shutter Encoder and Hybrid. And FFV1 files from both methods look the same BUT after the Hybrid filter application, the difference starts to appear. I observed it one year ago using ProRes output clips - the heads of a few people were much brighter than on the original file.
So looking at the mp4 from DaVinci, the order of short films is as follows:
1. MVI_5394_ AVI to FFV1 in Shutter Encoder
2. MVI_5394 AVI to FFV1 in Hybrid
Summary: They look the same.
3. MVI_5394_ AVI to FFV1 in Shutter Encoder then to Hybrid + YAHR+DeHalo+QTGMC
4. MVI_5394 AVI directly to Hybrid + YAHR+DeHalo+QTGMC
Summary: Clip no 4 has blown highlights and much darker shadows=much worse dynamic range.
I also include original AVI file to play with.
https://we.tl/t-O2eHmnTosL