Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 Encoder GUIs

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th April 2020, 19:23   #1  |  Link
Devilman1
Registered User
 
Join Date: Feb 2003
Posts: 103
MEGUI audio cut crashing

I want to recode a TV show after cutting the advertisement and so I use AVS cutter and reate a cut list for the audio, but when I try to recode the audio the job stops with an error.

I used it before without any problem.

The only difference is that I updated all the packages of MEGUI.

Quote:
[Error] Log
-[Information] Versions
--[Information] MeGUI: 2913 x64
--[Information] MeGUI Debug Data: available
--[Information] Update Check: development update server
--[Information] System Information
---[Information] Operating System: Windows 10 Pro 1909 x64 (10.0.18363.778)
---[Information] .NET Framework: 4.0 (4.0.0.0)
---[Information] .NET Framework: 4.8 (4.8.03752)
---[Information] Redistributables
----[Information] Microsoft Visual C++ 2010 x64: 10.0.30319
----[Information] Microsoft Visual C++ 2010 x86: 10.0.40219
----[Information] Microsoft Visual C++ 2012 x64: 11.0.61030
----[Information] Microsoft Visual C++ 2012 x86: 11.0.61030
----[Information] Microsoft Visual C++ 2013 x86: 12.0.30501
----[Information] Microsoft Visual C++ 2015-2019 x64: 14.25.28508
----[Information] Microsoft Visual C++ 2015-2019 x86: 14.24.28127
---[Information] DPI: 150% (144/144)
---[Information] Monitor 1
----[Information] Resolution: 3840x2160
----[Information] Primary Screen: True
---[Information] Monitor 2
----[Information] Resolution: 2880x1620
----[Information] Primary Screen: False
--[Information] Component Information
---[Information] Haali Media Splitter: not installed
---[Information] Haali DSS2: not installed
---[Information] ICSharpCode.SharpZipLib: 0.85.5.452 (07-08-2008)
---[Information] MediaInfo: 18.05.0.0 (08-05-2018)
---[Information] SevenZipSharp: 0.64.3890.29348 (02-01-2011)
---[Information] 7z: 9.20 (18-11-2010)
--[Information] AviSynth Information
---[Information] AviSynth Wrapper
----[Information] Version: 1.0.2847.0
----[Information] Date: 06-05-2018
----[Information] Interface: 3
---[Information] AviSynth
----[Information] AviSynth Status: ignored as portable build is forced
---[Information] AviSynth portable
----[Information] File Version: 3.5
----[Information] File Date: 02-03-2020
----[Information] File Name: AviSynth+ 3.5 (r3043, master, x86_64)
----[Information] File Path: c:\audio-video app\megui-x64\avisynth.dll
----[Information] AviSynth Version: AviSynth+ 3.5 (r3043, master, x86_64)
----[Information] AviSynth+: true
----[Information] AviSynth MT: true
----[Information] AviSynth Status: active
-[Information] Update detection
--[Information] [25/04/2020 20:15:10] Connected to server: http://megui.org/auto/
--[Information] [25/04/2020 20:15:10] No package requires an update
-[Error] Log for job2 (audio, 201912281323410 PID 045 DELAY -34ms.aac -> 201912281323410 PID 045 DELAY 0ms.m4a)
--[Information] [25/04/2020 20:15:47] Started handling job
--[Information] [25/04/2020 20:15:47] Preprocessing
--[Information] [25/04/2020 20:15:47] MediaInfo
---[Information] File: G:\Video reencoding\TV series\Ep1\201912281323410 PID 045 DELAY -34ms.aac
---[Information] General
----[Information] Format: ADTS
----[Information] FileSize: 113302809
---[Information] Audio
----[Information] Format: AAC
----[Information] FormatVersion: Version 2
----[Information] FormatInfo: Advanced Audio Codec
----[Information] FormatProfile: LC
----[Information] SamplingRate: 48000
----[Information] SamplingRateString: 48.0 kHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2: 2/0/0
----[Information] BitRateMode: VBR
----[Information] [25/04/2020 20:15:48] The language information is not available for this track. The default MeGUI language has been selected.
--[Information] [25/04/2020 20:15:49] Trying to open the file with LWLibavAudioSource()
--[Information] [25/04/2020 20:15:52] Successfully opened the file with LWLibavAudioSource()
--[Information] [25/04/2020 20:15:54] AviSynth script
---[NoImage] ClearAutoloadDirs()
---[NoImage] AddAutoloadDir("C:\Audio-video App\MeGUI-x64\tools\avs\plugins")
---[NoImage] LoadPlugin("C:\Audio-video App\MeGUI-x64\tools\lsmash\LSMASHSource.dll")
---[NoImage] LWLibavAudioSource("G:\Video reencoding\TV series\Ep1\201912281323410 PID 045 DELAY -34ms.aac")
---[NoImage] DelayAudio(-34.0/1000.0)
---[NoImage] __film = last
---[NoImage] __just_audio = __film
---[NoImage] __blank = BlankClip(length=86265, fps=25)
---[NoImage] __film = AudioDub(__blank, __film)
---[NoImage] __t0 = __film.trim(7500, 33163)
---[NoImage] __t1 = __film.trim(38539, 69063)
---[NoImage] __t2 = __film.trim(76439, 86264)
---[NoImage] __t0 ++ __t1 ++ __t2
---[NoImage] AudioDubEx(__just_audio, last)
---[NoImage] # detected channels: 2
---[NoImage] # detected channel positions: 2/0/0
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] [25/04/2020 20:15:54] Command line used: -i - -y -codec:a aac -q:a 1,6 -profile:a aac_low "{0}"
--[Information] [25/04/2020 20:15:54] AviSynth script environment opened
--[Information] [25/04/2020 20:15:56] Script loaded
--[Information] [25/04/2020 20:15:56] Output Decoder
---[Information] [25/04/2020 20:15:56] Channels: 2
---[Information] [25/04/2020 20:15:56] Bits per sample: 16
---[Information] [25/04/2020 20:15:56] Sample rate: 48000
--[Information] [25/04/2020 20:15:56] Job command line: C:\Audio-video App\MeGUI-x64\tools\ffmpeg\ffmpeg.exe -i - -y -codec:a aac -q:a 1,6 -profile:a aac_low "G:\Video reencoding\TV series\Ep1\201912281323410 PID 045 DELAY 0ms.m4a"
--[Information] [25/04/2020 20:15:56] Process started
--[Information] [25/04/2020 20:15:56] Standard output stream
--[Information] [25/04/2020 20:15:56] Standard error stream
---[Information] [25/04/2020 20:15:56] ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
---[Information] [25/04/2020 20:15:56] built with gcc 9.2.1 (GCC) 20200122
---[Information] [25/04/2020 20:15:56] configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
---[Information] [25/04/2020 20:15:56] libavutil 56. 31.100 / 56. 31.100
---[Information] [25/04/2020 20:15:56] libavcodec 58. 54.100 / 58. 54.100
---[Information] [25/04/2020 20:15:56] libavformat 58. 29.100 / 58. 29.100
---[Information] [25/04/2020 20:15:56] libavdevice 58. 8.100 / 58. 8.100
---[Information] [25/04/2020 20:15:56] libavfilter 7. 57.100 / 7. 57.100
---[Information] [25/04/2020 20:15:56] libswscale 5. 5.100 / 5. 5.100
---[Information] [25/04/2020 20:15:56] libswresample 3. 5.100 / 3. 5.100
---[Information] [25/04/2020 20:15:56] libpostproc 55. 5.100 / 55. 5.100
---[Information] [25/04/2020 20:15:56] Guessed Channel Layout for Input Stream #0.0 : stereo
---[Information] [25/04/2020 20:15:56] Input #0, wav, from 'pipe:':
---[Information] [25/04/2020 20:15:56] Duration: N/A, bitrate: 1536 kb/s
---[Information] [25/04/2020 20:15:56] Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
---[Information] [25/04/2020 20:15:56] Expected number for q:a but found: 1,6
--[Error] [25/04/2020 20:15:56] An error occurred
---[Error] [25/04/2020 20:15:56] Exception message: Pipe terminata.
---[Error] [25/04/2020 20:15:56] Stacktrace
----[NoImage] in System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] in System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] in MeGUI.AviSynthAudioEncoder.encode() in D:\MeGUI\_MeGUI_clean\packages\audio\AudioEncoderInterface.cs:riga 461
---[Error] [25/04/2020 20:15:56] Inner exception: null
--[Information] [25/04/2020 20:15:56] Job completed
reading the log I think that the error is in the option -q:a 1,6 in ffmpeg.

Thanks

Last edited by tebasuna51; 26th April 2020 at 11:13. Reason: code > quote
Devilman1 is offline   Reply With Quote
Old 26th April 2020, 11:39   #2  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,881
You are right, I can reproduce the problem, the fmpeg aac encoder accept:

Quote:
Effective range for -q:a is around 0.1-2
with a point instead a comma.

The Configuration Dialog show numbers between 1 to 100 (percentaje), seems you select 80% to obtain 1,6, instead 1.6, when is converted to the -q:a range.
Only work with a 50% than obtain a exact -q:a 1

Is a MeGUI bug.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote
Old 26th April 2020, 11:50   #3  |  Link
Devilman1
Registered User
 
Join Date: Feb 2003
Posts: 103
I was writing the same conclusion while you are writing, I delete my post.

I write it in the MeGUI bug post.
Devilman1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:07.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.