10.12.2022, 09:55
Okay, looking at the debug output.
[/list]
None of these steps shows an error or warning that something might have gone amiss.
Then I do the same you did, my output has audio&video.
-> No clue why your output does not, according to the logs it should have.
Did you check the right file? What player are you using?
Cu Selur
- 2022-12-10@11_40_31_1910_01_audio, extract the audio using:
Which finished after 00:00:59.98 and created "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_01.wav" (10.9864 MB)."C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -threads 4 -i "C:\Users\kiaara\Downloads\Video Processing\002 Test.avi" -map 0:1 -vn -sn -ac 2 -ar 48000 -acodec pcm_s16le -f wav -map_metadata -1 -metadata encoding_tool="Hybrid 2022.12.09.1" "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_01.wav"
- 2022-12-10@11_40_31_1910_02_audio, reencodes the audio using:
Which finished after 00:00:59.98 and created "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_02.aac" (0.94227 MB)"C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -threads 4 -i "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_01.wav" -strict -2 -ab 128000 -channel_layout stereo -ar 48000 "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_02.aac"
- 2022-12-10@11_40_31_1910_03_cleanUp, deletes "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_01.wav"
- 2022-12-10@11_40_31_1910_04_create, creates the Vapoursynth script "C:\Users\kiaara\AppData\Local\Temp\encodingTempSynthSkript_2022-12-10@11_40_31_1910.vpy"
# 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/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/NEO_FFT3DFilter/neo-fft3d.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/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/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/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeinterlaceFilter/Bwdif/Bwdif.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'C:\Users\kiaara\Downloads\Video Processing\002 Test.avi'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading C:\Users\kiaara\Downloads\Video Processing\002 Test.avi using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/kiaara/Downloads/Video Processing/002 Test.avi", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0)
# Setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=5)
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# setting field order to what QTGMC should assume (bottom field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=False) # new fps: 25
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# set output frame rate to 25fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output() - 2022-12-10@11_40_31_1910_05_video, encodes the video using:
It finished after 00:00:50.812 and created "C:\Users\kiaara\AppData\Local\Temp\2022-12-10@11_40_31_1910_05.264" (30.1443 MB)."C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\kiaara\AppData\Local\Temp\encodingTempSynthSkript_2022-12-10@11_40_31_1910.vpy" - -c y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset veryfast --crf 17.00 --profile high --level 4.1 --ref 3 --direct auto --b-adapt 0 --sync-lookahead 6 --qcomp 0.50 --rc-lookahead 40 --qpmax 51 --partitions i4x4,p8x8,b8x8 --no-fast-pskip --subme 5 --aq-mode 0 --vbv-maxrate 62500 --vbv-bufsize 78125 --sar 64:45 --non-deterministic --range tv --colormatrix bt470bg --demuxer y4m --input-range tv --fps 25/1 --output-depth 8 --output "C:\Users\kiaara\AppData\Local\Temp\2022-12-10@11_40_31_1910_05.264" -
- 2022-12-10@11_40_31_1910_06_cleanUp, deletes "C:\Users\kiaara\AppData\Local\Temp\encodingTempSynthSkript_2022-12-10@11_40_31_1910.vpy"
- 2022-12-10@11_40_31_1910_07_rename, renames "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_DELAY_-43ms_2022-12-10@11_40_31_1910_02.aac" to "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_ms_2022-12-10@11_40_31_1910_02.aac"
- 2022-12-10@11_40_31_1910_08_muxing, muxes audio&video using:
It finished after 00:00:00.613 and created "C:\Users\kiaara\Downloads\Video Processing\2022-12-10@11_40_31_1910__08.mp4" (31.0985 MB)."C:\Program Files\Hybrid\64bit\MP4Box.exe" -add "C:\Users\kiaara\AppData\Local\Temp\2022-12-10@11_40_31_1910_05.264"#video:fps=25:delay=43:name="":lang="" -brand avc1 -add "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_ms_2022-12-10@11_40_31_1910_02.aac"#audio:name="":lang="" -mpeg4 -itags tool="Hybrid 2022.12.09.1" -tmp "C:\Users\kiaara\AppData\Local\Temp" -new "C:\Users\kiaara\Downloads\Video Processing\2022-12-10@11_40_31_1910__08.mp4"
- 2022-12-10@11_40_31_1910_09_cleanUp, deletes "C:\Users\kiaara\AppData\Local\Temp\2022-12-10@11_40_31_1910_05.264"
- 2022-12-10@11_40_31_1910_10_cleanUp, deletes "C:\Users\kiaara\AppData\Local\Temp\iId_1_aid_1_ms_2022-12-10@11_40_31_1910_02.aac"
[/list]
None of these steps shows an error or warning that something might have gone amiss.
Then I do the same you did, my output has audio&video.
-> No clue why your output does not, according to the logs it should have.
Did you check the right file? What player are you using?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.