This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Video Qualität wird schlechter über zeit
#1
Ich Habe ein seltsames Problem, das einfach nicht verschwinden will. 
Ich starte die encodierung, Die ersten Frames sehen noch gut aus, bis nach kurzer zeit (3 min in video) man schon die ersten macro blöcke sieht, und allgemein das bild immer stetig schlechter wird seid dem ersten Frame, bis das ganze bild nur noch aus farbigen Quadraten besteht.

Ich hoffe man versteht was ich meine, wo könnte der fehler liegen?
Evtl gut zu erwähnen: je nach x265 einstellung, kommt es früher bzw später zu offensichtlichen macro blöcken

Ich benutzte die neuste Hybrid version mit vapoursynth und x265.

x256:
x265 --input - --output-depth 10 --y4m --me umh --subme 3 --merange 20 --limit-modes --rect --no-open-gop --bframes 12 --ref 6 --rc-lookahead 25 --qpmax 42 --crf 14.00 --rc-grain --cbqpoffs -2 --crqpoffs -2 --nr-intra 768 --nr-inter 768 --qpfile GENERATED_QP_FILE --psy-rd 2.50 --rdoq-level 2 --psy-rdoq 10.00 --aq-motion --aq-mode 3 --deblock=-1:-1 --limit-sao --range limited --colormatrix bt709 --output "E:\Videos\Scrubs\Staffel 5\13 - Mein Leidensgenosse_new.265"

nochmal x265 wo der negative effekt früher auftritt:
x265 --pmode --pme --input - --output-depth 10 --y4m --ctu 32 --limit-tu 3 --max-tu-size 8 --me umh --subme 3 --merange 16 --limit-modes --rect --no-rskip --no-temporal-mvp --bframes 12 --weightb --ref 6 --rc-lookahead 50 --qpstep 1 --qpmax 42 --crf 14.00 --rc-grain --ipratio 1.1 --pbratio 1.0 --nr-intra 864 --nr-inter 864 --rd 4 --limit-refs 1 --psy-rd 4.00 --rdoq-level 2 --psy-rdoq 10.00 --qcomp 0.5 --aq-motion --aq-mode 3 --aq-strength 1.11 --deblock=-2:-2 --no-sao --range limited --colormatrix bt709 --output "E:\Videos\Scrubs\Staffel 5\13 - Mein Leidensgenosse_new.265"

Vapousynth:
# Imports
import os
import sys
import ctypes
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/vsfilters/Support/libfftw3f-3.dll")
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/vsfilters/Support/OpenCL.dll")
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/DegrainFilter/DeGrainMedian/libdegrainmedian.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/DenoiseFilter/FFT3DFilter/vsfft3dfilter.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/DenoiseFilter/KNLMeansCL/KNLMeansCL.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/ResizeFilter/NNEDI3/libnnedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/temporalsoften.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/fmtconv.dll")
core.avs.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/SourceFilter/DGDecNV/DGDecodeNV.dll")
# Import scripts
import mvsfunc as mvsfunc
import finesharp as finesharp
import havsfunc as havsfunc
# Loading E:\Videos\Scrubs\Staffel 5\13 - Mein Leidensgenosse.mkv using DGSource
clip = core.avs.DGSource("E:/Videos/Scrubs/Staffel 5/mkv_985060540cbaf4229a791766056164b7_14604.dgi",fieldop=2)
# making sure input color matrix is set as 709
clip = core.resize.Point(clip, matrix_in_s="709")
# Making sure input color range is set to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# with preset 'Very Slow' and 'Placebo' QTGMC is limited to 8bit YUV/GRAY only due to FF3dFilter
# setting field order to what QTGMC should assume
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Very Slow", TFF=False, InputType=0, TR2=1, Sharpness=0.2, SourceMatch=3, Lossless=2)
clip = clip[::2]
# adjusting color matrix from 470bg to 709
clip = core.resize.Bicubic(clip=clip, matrix_in_s="470bg", matrix_s="709", range_in=0, range=0)
# Color Adjustment
clip = core.std.Levels(clip=clip, min_out=0, max_out=255, gamma=1.01)
# cropping the video to 692x568
clip = core.std.CropRel(clip=clip, left=14, right=14, top=4, bottom=4)
# rainbow removal using LUTDeRainbow
clip = havsfunc.LUTDeRainbow(input=clip)
clip = core.dgm.DegrainMedian(clip=clip, interlaced=False, norow=False, opt=True)
# denoising using DFTTest
clip = core.dfttest.DFTTest(clip=clip, sigma=2.00, sigma2=2.00, swin=11, twin=5)
# sharpening using FineSharp
clip = finesharp.sharpen(clip=clip, sstr=1.20, xstr=0.17, lstr=0.49)
# resizing to 720x540
clip = core.fmtc.resample(clip=clip, kernel="blackmanminlobe", w=720, h=540, interlaced=False, interlacedd=False)
# Anti Aliasing using DAA
clip = havsfunc.daa(clip)
# adjusting output color from: YUV420P16 to YUV444P10
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P10)
# Output
clip.set_output()

PS:
Kann man eigentlich Bicubic ändern?:
# adjusting output color from: YUV420P16 to YUV444P10
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P10)
Reply


Messages In This Thread
Video Qualität wird schlechter über zeit - by Amigo - 30.10.2017, 04:58
RE: Video Qualität wird schlechter über zeit - by Amigo - 30.10.2017, 06:24
RE: Video Qualität wird schlechter über zeit - by Amigo - 31.10.2017, 17:33

Forum Jump:


Users browsing this thread: 1 Guest(s)