VideoHelp Forum

+ Reply to Thread
Page 67 of 67
FirstFirst ... 17 57 65 66 67
Results 1,981 to 1,989 of 1989
Thread
  1. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Yeah, the audio was the problem. I demuxed the video, converted it with Hybrid and it went fine, 1700kbps. When I remuxed the converted video with the original audio it didn't fit.
    I'm guessing it's because of this:
    Analyzing video stream (0).
    => Detected stretch factor for track 0 is 4/5.
    Prefering container (23.976) over stream frame rate (29.970)
    Notice: Video stream raw and container lenght differ, other streched streams might exist.

    I've no idea what to do, force 29.970 fps when converting?
    Quote Quote  
  2. Tell Hybrid to prefer the stream instead of the container fps
    (Config->Internals->Prefer Original->Frame rate)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  3. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Thanks!
    Quote Quote  
  4. locotus
    Join Date
    May 2011
    Location
    Cypress, Tx.
    Search Comp PM
    Just installed last version, but had some problems, attached both Report and debug files.
    Seems to my scarce knowledge a kind of sintax problem ordering or finding vapoursynth scripts.

    Thankds.
    Image Attached Files
    Quote Quote  
  5. I don't really see the issue.
    Debug output seems fine up to the moment when the queue was stopped during audio encoding.
    Code:
    "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -threads 4 -loglevel fatal -nostdin -i "D:\AVStoDVD\iId_5_aid_0_lang_en_DELAY_-43ms_2023-03-17@14_38_25_9610_01.aac" -ac 2 -ar 48000 -f sox - | "C:\Program Files\Hybrid\64bit\sox.exe" --multi-threaded --temp "D:\AVStoDVD\2023-03-17@14_38_25_961001" --buffer 524288 -S -t sox - -b 32 -t sox - compand 0.1,0.3 -90,-90,-70,-64,-43,-37,-31,-31,-21,-21,0,-20 0 0 0.1 gain -n | "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -threads 4 -f sox -i - -c:a aac -strict -2 -b:a 96k -ar 48000 -channel_layout stereo "D:\AVStoDVD\iId_5_aid_0_lang_en_DELAY_-43ms_2023-03-17@14_38_25_9610_02.aac"
    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  6. locotus
    Join Date
    May 2011
    Location
    Cypress, Tx.
    Search Comp PM
    Still having problems with version 2023.03.17.1,
    running win10 updated and Nvidia driver 531.41, uodated last weed,

    Here the debug file:
    Image Attached Files
    Quote Quote  
  7. I don't see any direct issue with the Vapoursynth script that is used:
    Code:
    # Imports
    import vapoursynth as vs
    import os
    import ctypes
    # Loading Support Files
    Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
    import sys
    # getting Vapoursynth core
    core = vs.core
    # Import scripts folder
    scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
    sys.path.insert(0, os.path.abspath(scriptPath))
    # Loading Plugins
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/MSmooth/libmsmoosh.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3m.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/FFT3DFilter/fft3dfilter.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeinterlaceFilter/TIVTC/libtivtc.dll")
    core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/d2vSource/DGDecode.dll")
    # Import scripts
    import havsfunc
    # source: 'D:\Downloads\Working Files\Sporting Blood 1931\VIDEO_TS'
    # current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 709, yuv luminance scale: limited, scanorder: telecine (soft)
    # Loading D:\Downloads\Working Files\Sporting Blood 1931\VIDEO_TS\VTS_01_1.VOB using DGDecode
    clip = core.dgdecode.MPEG2Source("D:/AVStoDVD/2023-03-30@12_57_19_6410.d2v")# 29.97 fps, scanorder: telecine (soft)
    # Setting detected color matrix (709).
    clip = core.std.SetFrameProps(clip, _Matrix=1)
    # Setting color transfer info (709), when it is not set
    clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=1)
    # Setting color primaries info (bt709), when it is not set
    clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=1)
    # Setting color range to TV (limited) range.
    clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
    # making sure frame rate is set to 29.97
    clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
    clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
    # Deinterlacing using TIVTC
    clip = core.tivtc.TFM(clip=clip)
    clip = core.tivtc.TDecimate(clip=clip)# new fps: 23.976
    # Making sure content is preceived as frame based
    clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0) # progressive
    # cropping the video to 718x478
    clip = core.std.CropRel(clip=clip, left=0, right=2, top=2, bottom=0)
    clip = core.std.AddBorders(clip=clip, left=0, right=2, top=0, bottom=2) # add borders to archive mod 4 (vsQTGMCFilter) - 720x480
    # Denoising using QTGMC
    clip = havsfunc.QTGMC(Input=clip, Preset="Slow", InputType=1, TR2=1, SourceMatch=0, Lossless=0, EZDenoise=0.25, NoisePreset="Fast")
    clip = core.std.CropRel(clip=clip, left=0, right=2, top=0, bottom=2) # removing borders (vsQTGMCFilter) -  718x478
    # sharpening using MSharpen
    clip = core.msmoosh.MSharpen(clip=clip)
    # Resizing using 10 - bicubic spline
    clip = core.fmtc.resample(clip=clip, kernel="spline16", w=656, h=492, interlaced=False, interlacedd=False) # resolution 656x492# before YUV420P8 after YUV420P16
    # adjusting output color from: YUV420P16 to YUV420P8 for NVEncModel
    clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited", dither_type="error_diffusion")
    # set output frame rate to 23.976fps (progressive)
    clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
    # Output
    clip.set_output()
    But since NVEnc fails with "y4m: failed to parse y4m header." the issue is likely somehow with the Vapoursynth script or the used filters.
    My guess is that it's an issue with the fft3dfilter version that comes with Hybrid.
    Try whether the issue is fixed another denoise in QTGMC than fft3dfilter is used.
    If that helps replace the fft3dfilter.dll with the 'R2.AC3-AVX: AVX only R2.AC3 release' from https://github.com/AmusementClub/VapourSynth-FFT3DFilter/releases
    The currently included fft3dfilter version in Hybrid is the 'R2.AC3 Even faster....' version, which requires AVX2 (didn't know that at the time).
    => my guess is your cpu doesn't support AVX2 and in combination with that fft3dfilter version you run into issues.
    (in case your cpu does not support avx either, try https://github.com/myrsloik/VapourSynth-FFT3DFilter/releases/tag/R2)

    Cu Selur
    users currently on my ignore list: deadrats, Stears555
    Quote Quote  
  8. locotus
    Join Date
    May 2011
    Location
    Cypress, Tx.
    Search Comp PM
    Thanks, will try it later and let you know if works.
    Quote Quote  
  9. locotus
    Join Date
    May 2011
    Location
    Cypress, Tx.
    Search Comp PM
    Seems to be working fine up to know. Thanks again.
    Quote Quote  



Similar Threads