AddGrain for a bigger challenge, not a simple test.
YUV444 for the same reason as the larger depth -- for greater accuracy.
The second YUV444 is actually unnecessary.
Why? QTGMC works with the parameters you give it. It's your job to give them the best.Okay, so your statement is only true for specific settings? Maybe it's just one filter that benefits from 16 bit (or the YUV444 conversion). Do you know which parameter in QTGMC is causing the differences.Because you are using a script that only uses a fraction of QTGMC.
If it can be clearly shown, that QTGMC benefits from using 16bit and/or 444, maybe an option for this could be added to QTGMC.![]()
+ Reply to Thread
Results 31 to 38 of 38
-
-
Settings always should be adjusted to the source.
Do you know which parameter in QTGMC is causing the differences.
If it can be clearly shown, that QTGMC benefits from using 16bit and/or 444, maybe an option for this could be added to QTGMC.users currently on my ignore list: deadrats, Stears555, marcorocchini -
-
Okay, so you have no clue, what happens. Thanks for clearing that up.
users currently on my ignore list: deadrats, Stears555, marcorocchini -
You too, you didn't even know how to get to it.
The important thing is that it works. -
I took real life footage, no colorbars etc., does not resize changes borders in them etc., of course, with higher chroma resolution, it will look better,
anyway,
I picked up a NTSC DV.avi footage which is interesting, has lines, edges, zigzaging, uniform areas prone to banding, and it is a pan.
Used this script using four formats to generate four clips with different format and QTGMC was applied:
Code:import vapoursynth as vs from vapoursynth import core from havsfunc import QTGMC # ffms2 Source loads it as YUV411P8 clip = core.ffms2.Source(r"D:\delorean_NTSC_DV.avi") clip = clip.std.SetFrameProps(_Matrix=6, _Transfer=6, _Primaries=6) # there will be as many clips set for output as there are formats here: formats = [vs.YUV420P8, vs.YUV422P10, vs.YUV444P10, vs.YUV444P16] clips = [] for index, format in enumerate(formats, start=1): c = core.resize.Bicubic(clip, format=format) c = QTGMC(c, Preset='Slower', TFF=False) c = core.resize.Bicubic(c, format=vs.YUV420P8) clips.append(c) c.set_output(index) if __name__ == '__main__': import view view.Preview(clips)
I encoded four clips with proper naming, using crf0 (it used qp 0), so I think all should be lossless:
https://files.videohelp.com/u/198160/clip1_420P8.mp4
https://files.videohelp.com/u/198160/clip2_422P10.mp4
https://files.videohelp.com/u/198160/clip3_444P10.mp4
https://files.videohelp.com/u/198160/clip4_444P16.mp4
each clip has about 50-60MB
original NTSC DV (27 MB):
https://files.videohelp.com/u/198160/delorean_NTSC_DV.aviLast edited by _Al_; 29th Oct 2024 at 21:52.
-
btw. I might include windows batch script, to post how easy to encode multiple outputs from a vapoursynth script:
Code:@echo off set "script=E:\vapoursynth_script.py" set "vspipe=C:\Program Files\VapourSynth\core\vspipe.exe" set "ffmpeg=E:\tools\ffmpeg.exe" set "encoded_directory=E:\encodes" set "index=0" for %%f in (420P8, 422P10, 444P10, 444P16) do call :encode %%f pause exit :encode <a string> set /a index+=1 "%vspipe%" "%script%" --outputindex %index% --container y4m - | "%ffmpeg%" -y -f yuv4mpegpipe -i - -c:v libx264 -crf 0 "%encoded_directory%\clip%index%_%1.mp4" goto :eof
-
@_AI_: Thanks
On a first glance, using:
Code:clip420P8 = core.lsmas.LibavSMASHSource(source="C:/Users/Selur/Desktop/compare/clip1_420P8.mp4") clip422P10 = core.lsmas.LibavSMASHSource(source="C:/Users/Selur/Desktop/compare/clip2_422P10.mp4") clip444P10 = core.lsmas.LibavSMASHSource(source="C:/Users/Selur/Desktop/compare/clip3_444P10.mp4") clip444P16 = core.lsmas.LibavSMASHSource(source="C:/Users/Selur/Desktop/compare/clip4_444P16.mp4") clip = core.std.Interleave([clip420P8.text.Text("420P8"), clip422P10.text.Text("422P10"), clip444P10.text.Text("444P10"), clip444P16.text.Text("444P16")])
users currently on my ignore list: deadrats, Stears555, marcorocchini
Similar Threads
-
Qtgmc-GUI. A simple encoder for your Qtgmc scripts.
By ProWo in forum Video ConversionReplies: 17Last Post: 4th Mar 2023, 02:01 -
Fresh x264 10-bit vs Ice Lake hevc qsv 10-bit
By sophisticles in forum Video ConversionReplies: 5Last Post: 7th Jan 2021, 16:06 -
What has better quality - DTS Core @ 24 bit or FLAC @ 16 bit
By vash1 in forum AudioReplies: 1Last Post: 1st Dec 2020, 08:45 -
10-bit colour - does it improves 8-bit videos and games?
By KENJI512 in forum Newbie / General discussionsReplies: 1Last Post: 27th Apr 2020, 17:55 -
10-bit to 8-bit Video File Conversions - the easy (free) way!
By VideoWiz in forum Video ConversionReplies: 10Last Post: 6th Feb 2020, 03:24