Posts: 10.928
Threads: 56
Joined: May 2017
Send you a link to a new dev version via PM which hopefully fixes the problem.
Cu Selur
Posts: 53
Threads: 6
Joined: Dec 2019
Yes I recreate a new Job and the audio encoding works, but after every step in the job it pop up an error, but it was starting the following step after pushing ok, only when it have to start the 2nd pass Hybrid suddenly exit and the job was deleted. However the 2nd pass was started and is possible to find the file in the Temp directory.
When it finish encoding the video I'll try your new version
Even if it crashed and it was not possible to see in Task Manager, Hybrid did the job. And a pop up inform me that the video was created the only problem is that when I play the video there is no audio and demuxing the audio truck produce a 0 Kbyte file.
The audio created in the Temp directory works fine.
Which level of Debug output do you need?
Posts: 10.928
Threads: 56
Joined: May 2017
Quote: the job it pop up an error
Then how about telling me what the error message says exactly?
Quote:but it was starting the following step after pushing ok, only when it have to start the 2nd pass Hybrid suddenly exit and the job was deleted.
not surprised there,...
Quote: However the 2nd pass was started and is possible to find the file in the Temp directory.
don't care,..
Quote:Which level of Debug output do you need?
DebugOutputLevel 9 please.
Will look at it tomorrow after work.
Cu Selur
Posts: 53
Threads: 6
Joined: Dec 2019
Quote:Then how about telling me what the error message says exactly?
here:
Quote:Something went wrong while looking for inputs of name in:
"C:\Users\*****\AppData\Local\Temp\video.stats" -force-aviaspect 1.84536 -of avi -o "C:\Users\*****\AppData\Local\Temp\20_59_21_5810_06.avi"
found:
C:\Users\****|AppData\Local\Temp\video.stats" -force-avi-aspect 1.84536 -of avi -o "C:\Users\*****\AppData\Local\Temp\20_59_21_5810_06.avi"
With the new Version the error doesn't pop up anymore and mencoder show a progression Bar.
It looks like mencoder is also faster.
I'll post the Debugoutput tomorrow
Posts: 10.928
Threads: 56
Joined: May 2017
damn thought I fixed that in the dev version.
Will look at it after work.
Cu Selur
Posts: 53
Threads: 6
Joined: Dec 2019
With the Dev version that you send me the error doesn't pop up anymore
Posts: 10.928
Threads: 56
Joined: May 2017
So, with the dev version all problems are fixed, right? Or is there still a problem?
Cu Selur
Posts: 53
Threads: 6
Joined: Dec 2019
There is still a problem the avi created has no sound and if you make a demux the Ac3 created has 0 kbye, but the intermediate audio file works without any problem.
Posts: 10.928
Threads: 56
Joined: May 2017
Okay, will look at it over the weekend.
Posts: 10.928
Threads: 56
Joined: May 2017
Okay, strange thing is muxing ac3 works fine here. :/
According to the log:
- audio is extracted using: (20_59_21_5810_01_audio)
"C:\Audio-video App\Hybrid\64bit\mkvextract.exe" tracks "D:\Temp\Remux\video\video.mkv" 1:"C:\Users\*****\AppData\Local\Temp\iId_1_aid_0_lang_en_20_59_21_5810_01.dts"
- which created:
C:\Users\*****\AppData\Local\Temp\iId_1_aid_0_lang_en_20_59_21_5810_01.dts (6912.2 MB)
- audio is reencoded to ac3 using: (20_59_21_5810_02_audio)
"C:\Audio-video App\Hybrid\64bit\ffmpeg.exe" -y -threads 8 -loglevel fatal -nostdin -i "C:\Users\*****\AppData\Local\Temp\iId_1_aid_0_lang_en_20_59_21_5810_01.dts" -ac 8 -ar 48000 -sample_fmt s32 -f sox - | "C:\Audio-video App\Hybrid\64bit\sox.exe" --multi-threaded --temp "C:\Users\*****\AppData\Local\Temp\20_59_21_581001" --buffer 524288 -S -t sox - -b 32 -t sox - remix -m 1v0.243804,7v0.062798,3v0.172392,6v0.044404,8v0.044404,5v0.432198 2v0.243804,7v0.062798,3v0.172392,5v0.044404,8v0.044404,6v0.432198 | "C:\Audio-video App\Hybrid\64bit\ffmpeg.exe" -y -threads 8 -f sox -i - -b:a 224k -ar 48000 -channel_layout stereo "C:\Users\*****\AppData\Local\Temp\iId_1_aid_0_lang_en_20_59_21_5810_02.ac3"
- which created:
C:\Users\ctapp\AppData\Local\Temp\iId_1_aid_0_lang_en_20_55_31_5810_02.ac3 (236.711 MB)
- the extracted audio file (C:\Users\ctapp\AppData\Local\Temp\iId_1_aid_0_lang_en_20_55_31_5810_01.dts) is deleted (20_55_31_5810_03)
- the Vapoursynth script (C:\Users\ctapp\AppData\Local\Temp\encodingTempSynthSkript_20_55_31_5810.vpy) is created (20_55_31_5810_04_create)
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = 'C:/Audio-video App/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Audio-video App/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Audio-video App/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import tmap
# input color space: YUV420P10, bit depth: 10
# Loading D:\Temp\Remux\video\video.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="D:/Temp/Remux/video/video.mkv", format="YUV420P10", cache=0, fpsnum=24000, fpsden=1001, prefer_hw=0)
# making sure input color matrix is set as 2020ncl
clip = core.resize.Point(clip, matrix_in_s="2020ncl",range_s="limited")
# making sure frame rate is set to 23.976
clip = core.std.AssumeFPS(clip, fpsnum=24000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# Color Adjustment
clip = tmap.hablehdr10tosdr(clip=clip, source_peak=1000, desat=50, tFormat=vs.YUV420P8, tMatrix="709", tRange="limited", color_loc="center", lin="True", show_satmask="False", show_clipped="False")
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=716, h=388, interlaced=False, interlacedd=False)
# adjusting output color from: YUV420P16 to YUV420P8 for xvidModel (i420)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# Output
clip.set_output()
- 2pass 1st pass is processed using: (20_55_31_5810_05_video)
"C:\Audio-video App\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\ctapp\AppData\Local\Temp\encodingTempSynthSkript_20_55_31_5810.vpy" - --y4m | "C:\Audio-video App\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -f yuv4mpegpipe -i - -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo - | "C:\Audio-video App\Hybrid\64bit\mencoder.exe" -demuxer rawvideo -rawvideo w=716:h=388:fps=24.0 - -noskip -vf scale,format=i420 -forcedsubsonly -nosound -lavdopts threads=8 -mc 0 -fps 24000/1001 -ovc xvid -xvidencopts pass=1:turbo:bitrate=1500:me_quality=6:quant_type=h263:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_key_interval=250:keyframe_boost=10:kfthreshold=1:kfreduction=20:quant_type=h263:max_bframes=2:bquant_ratio=150:bquant_offset=100:bf_threshold=0:vhq=2:bvhq=1:curve_compression_high=0:curve_compression_low=0:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10:trellis:noqpel:nogmc:nocartoon:chroma_opt:chroma_me:nointerlacing:par=ext:par_width=1:par_height=1:closed_gop:nopacked:threads=8 -passlogfile "C:\Users\ctapp\AppData\Local\Temp\video.stats" -o NUL
- 2pass 2nd pass is processed using: (20_55_31_5810_06_video)
"C:\Audio-video App\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\ctapp\AppData\Local\Temp\encodingTempSynthSkript_20_55_31_5810.vpy" - --y4m | "C:\Audio-video App\Hybrid\64bit\ffmpeg.exe" -y -loglevel fatal -noautorotate -nostdin -threads 8 -f yuv4mpegpipe -i - -an -sn -vf zscale=rangein=tv:range=tv -pix_fmt yuv420p -vsync 0 -f rawvideo - | "C:\Audio-video App\Hybrid\64bit\mencoder.exe" -demuxer rawvideo -rawvideo w=716:h=388:fps=24.0 - -noskip -vf scale,format=i420 -forcedsubsonly -nosound -lavdopts threads=8 -mc 0 -fps 24000/1001 -ovc xvid -xvidencopts pass=2:bitrate=1500:me_quality=6:quant_type=h263:min_iquant=1:max_iquant=31:min_pquant=1:max_pquant=31:min_bquant=1:max_bquant=31:max_key_interval=250:keyframe_boost=10:kfthreshold=1:kfreduction=20:quant_type=h263:max_bframes=2:bquant_ratio=150:bquant_offset=100:bf_threshold=0:vhq=2:bvhq=1:curve_compression_high=0:curve_compression_low=0:overflow_control_strength=10:max_overflow_improvement=10:max_overflow_degradation=10:trellis:noqpel:nogmc:nocartoon:chroma_opt:chroma_me:nointerlacing:par=ext:par_width=1:par_height=1:closed_gop:nopacked:threads=8 -passlogfile "C:\Users\ctapp\AppData\Local\Temp\video.stats" -force-avi-aspect 1.84536 -of avi -o "C:\Users\ctapp\AppData\Local\Temp\20_55_31_5810_06.avi"
- stats file ("C:\Users\ctapp\AppData\Local\Temp\video.stats) is deleted (20_55_31_5810_07_cleanUp)
- Vapoursynth script ("C:\Users\ctapp\AppData\Local\Temp\encodingTempSynthSkript_20_55_31_5810.vpy") is deleted (20_55_31_5810_08_cleanUp)
- avi is muxed using:
"C:\Audio-video App\Hybrid\64bit\mencoder.exe" -ovc copy "C:\Users\ctapp\AppData\Local\Temp\20_55_31_5810_06.avi" -ffourcc XVID -force-avi-aspect 1.84536 -mc 0 -oac copy -audiofile "C:\Users\ctapp\AppData\Local\Temp\iId_1_aid_0_lang_en_20_55_31_5810_02.ac3" -ofps 24000/1001 -of avi -o "D:\Temp\Remux\The.Blues.Brothers.1980.EXTENDED.2160p.UHD.BluRay.x265-AViATOR\video.avi"
- Mencoder output:
MEncoder SVN-r38184-9.3.0 (C) 2000-2020 MPlayer Team
success: format: 0 data: 0x0 - 0x631a7d1a
libavformat version 58.42.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
ODML: Building ODML index (1 superindexchunks).
VIDEO: [XVID] 716x388 12bpp 23.976 fps 1495.2 kbps (182.5 kbyte/s)
libavformat file format detected.
[lavf] stream 0: audio (ac3), -aid 0
[V] filefmt:65536 fourcc:0x44495658 size:716x388 fps:23.976 ftime:=0.0417
[ac3 @ 000000000295cfe0]Estimating duration from bitrate, this may be inaccurate
framecopy (716x388 12bpp fourcc=44495658)
Forcing output FourCC to 44495658 [XVID].
audiocodec: framecopy (format=2000 chans=2 rate=48000 bits=0 B/s=28000 sample-0)
Writing header...
ODML: vprp aspect is 16384:8878.
Writing header...
ODML: vprp aspect is 16384:8878.
...
Writing index...
Writing header...
ODML: vprp aspect is 16384:8878.
Video stream: 1495.199 kbit/s (186899 B/s) size: 1656793326 bytes 8864.605 secs 212538 frames
Audio stream: 200704.000 kbit/s (25088000 B/s) size: 248209024 bytes 9.894 secs
- created:
D:\Temp\Remux\The.Blues.Brothers.1980.EXTENDED.2160p.UHD.BluRay.x265-AViATOR\video.avi (1828.16 MB)
According to the debug output and the file has ac3 audio and when I try to reproduce the issue here all my encodings also have ac3 audio output?
Cu Selur
|