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.

Audio encoding crash
#11
Send you a link to a new dev version via PM which hopefully fixes the problem.

Cu Selur
Reply
#12
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?
Reply
#13
Quote: the job it pop up an error
Then how about telling me what the error message says exactly? Rolleyes

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,.. Smile

Quote:Which level of Debug output do you need?
DebugOutputLevel 9 please.
Will look at it tomorrow after work.

Cu Selur
Reply
#14
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
Reply
#15
damn thought I fixed that in the dev version.
Will look at it after work.

Cu Selur
Reply
#16
With the Dev version that you send me the error doesn't pop up anymore
Reply
#17
So, with the dev version all problems are fixed, right? Or is there still a problem?

Cu Selur
Reply
#18
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.
Reply
#19
Okay, will look at it over the weekend.
Reply
#20
Okay, strange thing is muxing ac3 works fine here. :/
According to the log:
  1. 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"
  2. which created:
    C:\Users\*****\AppData\Local\Temp\iId_1_aid_0_lang_en_20_59_21_5810_01.dts (6912.2 MB)
  3. 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"
  4. which created:
    C:\Users\ctapp\AppData\Local\Temp\iId_1_aid_0_lang_en_20_55_31_5810_02.ac3 (236.711 MB)
  5. 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)
  6. 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()
  7. 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
  8. 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"
  9. stats file ("C:\Users\ctapp\AppData\Local\Temp\video.stats) is deleted (20_55_31_5810_07_cleanUp)
  10. Vapoursynth script ("C:\Users\ctapp\AppData\Local\Temp\encodingTempSynthSkript_20_55_31_5810.vpy") is deleted (20_55_31_5810_08_cleanUp)
  11. 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"
  12. 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
  13. 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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)