Cyber Akuma
17th July 2013, 03:28
So I recorded some sample video in Fraps.
Since this is just a single short clip I just wanted to show someone and didn't need any fancy effects or high quality, I just decided to use the one-click encoder.
However, it appears to error out when attempting to encode the audio in AC-3(kind of a stupid question, this is AAC and not ATRAC right?). I tried both the ffmpeg and Aften encoders, and all four choices of decoders, all of them error out with the exact same message:
[Error] [7/16/2013 9:17:25 PM] Stacktrace
-[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
-[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
-[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
-[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
I really don't want to have to setup an avisynth script for these times I just need to do a quick encode of a small file, anyone have any idea why it keeps failing for AC-3? It seems to work if I use LAME MP3 but I would prefer to use AC-3, is it something to do with the format FRAPS uses?
Kurtnoise
17th July 2013, 07:50
Post the entire log file...
Cyber Akuma
20th July 2013, 10:33
Sorry, I was worried it would be too big to post here and considered spam.
Here is the largest chunk of the log it allowed me to post, the error happens in job5:
-[Information] Log for job2 (ext, hl2 2013-07-17 03-28-24-56.mkv -> )
--[Information] [7/20/2013 4:23:42 AM] Started handling job
--[Information] [7/20/2013 4:23:42 AM] Preprocessing
--[Information] [7/20/2013 4:23:42 AM] MediaInfo
---[Information] File: D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv
---[Information] General
----[Information] Format: Matroska
----[Information] FormatString: Matroska
----[Information] FileSize: 964584781
----[Information] PlayTime: 00:00:24.100
---[Information] Video
----[Information] ID: 1
----[Information] StreamOrder: 0
----[Information] Width: 1920
----[Information] Height: 1080
----[Information] FrameCount: 723
----[Information] FrameRate: 30.000
----[Information] FrameRateOriginal:
----[Information] FrameRateMode: CFR
----[Information] ScanType:
----[Information] Codec: FPS1
----[Information] CodecString: FRAPS
----[Information] Format: Fraps
----[Information] AspectRatio: 1.778
----[Information] AspectRatioString: 16:9
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
---[Information] Audio
----[Information] ID: 2
----[Information] StreamOrder: 1
----[Information] Format: PCM
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 192000
----[Information] SamplingRateString: 192 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay: 0
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default: Yes
----[Information] DefaultString: Yes
----[Information] Forced: No
----[Information] ForcedString: No
--[Information] [7/20/2013 4:23:42 AM] Job commandline: "C:\Programs\MeGui\tools\mkvmerge\mkvextract.exe" tracks "D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv" --ui-language en 1:"D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0].wav"
--[Information] [7/20/2013 4:23:42 AM] Process started
--[Information] [7/20/2013 4:23:42 AM] Standard output stream
---[Information] [7/20/2013 4:23:42 AM] Extracting track 1 with the CodecID 'A_PCM/INT/LIT' to the file 'D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0].wav'. Container format: WAV
--[Information] [7/20/2013 4:23:42 AM] Standard error stream
--[Information] [7/20/2013 4:23:46 AM] Postprocessing
---[Information] [7/20/2013 4:23:46 AM] Deleting intermediate files
--[Information] [7/20/2013 4:23:46 AM] Job completed
-[Information] Log for job3 (idx, hl2 2013-07-17 03-28-24-56.mkv -> hl2 2013-07-17 03-28-24-56.mkv.ffindex)
--[Information] [7/20/2013 4:23:46 AM] Started handling job
--[Information] [7/20/2013 4:23:46 AM] Preprocessing
--[Information] [7/20/2013 4:23:46 AM] Job commandline: "C:\Programs\MeGui\tools\ffms\ffmsindex.exe" -f "D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv" "D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv.ffindex"
--[Information] [7/20/2013 4:23:46 AM] Process started
--[Information] [7/20/2013 4:23:46 AM] Standard output stream
---[Information] [7/20/2013 4:23:46 AM] Writing index... done.
--[Information] [7/20/2013 4:23:46 AM] Standard error stream
--[Information] [7/20/2013 4:23:46 AM] MediaInfo
---[Information] File: D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv.ffindex
---[Information] General
----[Information] Format:
----[Information] FormatString:
----[Information] FileSize: 5353
----[Information] PlayTime:
--[Information] [7/20/2013 4:23:46 AM] Postprocessing
---[Information] [7/20/2013 4:23:46 AM] Deleting intermediate files
--[Information] [7/20/2013 4:23:46 AM] Job completed
-[Information] Log for job4 (oneclick, hl2 2013-07-17 03-28-24-56.mkv -> )
--[Information] [7/20/2013 4:23:46 AM] Started handling job
--[Information] [7/20/2013 4:23:46 AM] Preprocessing
--[Information] [7/20/2013 4:23:46 AM] Processing thread started
--[Information] [7/20/2013 4:23:46 AM] Desired size:
--[Information] [7/20/2013 4:23:46 AM] Split size:
--[Information] [7/20/2013 4:23:46 AM] Aspect ratio: 16:9 (1.778)
--[Information] [7/20/2013 4:23:46 AM] Input resolution: 1920x1080
--[Information] [7/20/2013 4:23:46 AM] Output resolution: 1920x1080
--[Information] [7/20/2013 4:23:46 AM] Automatic deinterlacing: False
--[Information] [7/20/2013 4:23:46 AM] Generated Avisynth script
---[NoImage] global MeGUI_darx = 16
---[NoImage] global MeGUI_dary = 9
---[NoImage] LoadPlugin("C:\Programs\MeGui\tools\ffms\ffms2.dll")
---[NoImage] FFVideoSource("D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56.mkv", threads=1)
---[NoImage] #deinterlace
---[NoImage] #crop
---[NoImage] #resize
---[NoImage] #denoise
--[Information] Eliminating duplicate filenames
---[Information] [7/20/2013 4:23:47 AM] Video output file: D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56_Video.264
---[Information] [7/20/2013 4:23:47 AM] Muxed output file: D:\Fraps\Movies\hl2 2013-07-17 03-28-24-56.mp4
---[Information] [7/20/2013 4:23:47 AM] File already exists. New muxed output filename: D:\Fraps\Movies\hl2 2013-07-17 03-28-24-56_0.mp4
---[Information] [7/20/2013 4:23:47 AM] Encodable audio stream 0: D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0]_audio.ac3
--[Information] [7/20/2013 4:23:47 AM] Postprocessing
---[Information] [7/20/2013 4:23:47 AM] Deleting intermediate files
--[Information] [7/20/2013 4:23:47 AM] Job completed
-[Error] Log for job5 (audio, hl2 2013-07-17 03-28-24-56 - [0].wav -> hl2 2013-07-17 03-28-24-56 - [0]_audio.ac3)
--[Information] [7/20/2013 4:23:47 AM] Started handling job
--[Information] [7/20/2013 4:23:47 AM] Preprocessing
--[Information] [7/20/2013 4:23:47 AM] MediaInfo
---[Information] File: D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0].wav
---[Information] General
----[Information] Format: Wave
----[Information] FormatString: Wave
----[Information] FileSize: 18508844
----[Information] PlayTime: 00:00:24.100
---[Information] Audio
----[Information] ID:
----[Information] StreamOrder:
----[Information] Format: PCM
----[Information] FormatProfile:
----[Information] FormatSettingsSBR:
----[Information] FormatSettingsPS:
----[Information] SamplingRate: 192000
----[Information] SamplingRateString: 192 KHz
----[Information] Channels: 2
----[Information] ChannelsString: 2 channels
----[Information] ChannelPositionsString2:
----[Information] BitRateMode: CBR
----[Information] Delay:
----[Information] Title:
----[Information] Language:
----[Information] LanguageString:
----[Information] Default:
----[Information] DefaultString:
----[Information] Forced:
----[Information] ForcedString:
--[Information] [7/20/2013 4:23:47 AM] Trying to open the file with NicAudio
--[Information] [7/20/2013 4:23:47 AM] Successfully opened the file with NicAudio
--[Information] [7/20/2013 4:23:47 AM] Avisynth script
---[NoImage] LoadPlugin("C:\Programs\MeGui\tools\avisynth_plugin\NicAudio.dll")
---[NoImage] RaWavSource("D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0].wav")
---[NoImage] 6<=Audiochannels(last)?GetChannel(last,1,3,2,5,6,4):last
---[NoImage] 32==Audiobits(last)?ConvertAudioTo16bit(last):last
---[NoImage] return last
--[Information] [7/20/2013 4:23:47 AM] Commandline used: -i - -y -acodec ac3 -ab 384k "{0}"
--[Information] [7/20/2013 4:23:47 AM] Avisynth script environment opened
--[Information] [7/20/2013 4:23:47 AM] Script loaded
--[Information] [7/20/2013 4:23:47 AM] Output Decoder
---[Information] [7/20/2013 4:23:47 AM] Channels: 2
---[Information] [7/20/2013 4:23:47 AM] Bits per sample: 16
---[Information] [7/20/2013 4:23:47 AM] Sample rate: 192000
--[Information] [7/20/2013 4:23:47 AM] Job commandline: C:\Programs\MeGui\tools\ffmpeg\ffmpeg.exe -i - -y -acodec ac3 -ab 384k "D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0]_audio.ac3"
--[Information] [7/20/2013 4:23:47 AM] Process started
--[Information] [7/20/2013 4:23:47 AM] Standard output stream
--[Information] [7/20/2013 4:23:47 AM] Standard error stream
---[Information] [7/20/2013 4:23:47 AM] ffmpeg version 1.2 Copyright (c) 2000-2013 the FFmpeg developers
---[Information] [7/20/2013 4:23:47 AM] built on Mar 28 2013 00:28:48 with gcc 4.8.0 (GCC)
---[Information] [7/20/2013 4:23:47 AM] configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
---[Information] [7/20/2013 4:23:47 AM] libavutil 52. 18.100 / 52. 18.100
---[Information] [7/20/2013 4:23:47 AM] libavcodec 54. 92.100 / 54. 92.100
---[Information] [7/20/2013 4:23:47 AM] libavformat 54. 63.104 / 54. 63.104
---[Information] [7/20/2013 4:23:47 AM] libavdevice 54. 3.103 / 54. 3.103
---[Information] [7/20/2013 4:23:47 AM] libavfilter 3. 42.103 / 3. 42.103
---[Information] [7/20/2013 4:23:47 AM] libswscale 2. 2.100 / 2. 2.100
---[Information] [7/20/2013 4:23:47 AM] libswresample 0. 17.102 / 0. 17.102
---[Information] [7/20/2013 4:23:47 AM] libpostproc 52. 2.100 / 52. 2.100
---[Information] [7/20/2013 4:23:47 AM] [wav @ 02149800] max_analyze_duration 5000000 reached at 5002667 microseconds
---[Information] [7/20/2013 4:23:47 AM] [wav @ 02149800] Estimating duration from bitrate, this may be inaccurate
---[Information] [7/20/2013 4:23:47 AM] Guessed Channel Layout for Input Stream #0.0 : stereo
---[Information] [7/20/2013 4:23:47 AM] Input #0, wav, from 'pipe:':
---[Information] [7/20/2013 4:23:47 AM] Duration: N/A, bitrate: 6144 kb/s
---[Information] [7/20/2013 4:23:47 AM] Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 192000 Hz, stereo, s16, 6144 kb/s
---[Information] [7/20/2013 4:23:47 AM] [ac3 @ 041c42e0] invalid sample rate
---[Information] [7/20/2013 4:23:47 AM] Output #0, ac3, to 'D:\Fraps\Movies\3zolwcl0.i3l\hl2 2013-07-17 03-28-24-56 - [0]_audio.ac3':
---[Information] [7/20/2013 4:23:47 AM] Stream #0:0: Audio: ac3, 192000 Hz, stereo, fltp, 384 kb/s
---[Information] [7/20/2013 4:23:47 AM] Stream mapping:
---[Information] [7/20/2013 4:23:47 AM] Stream #0:0 -> #0:0 (pcm_s16le -> ac3)
---[Information] [7/20/2013 4:23:47 AM] Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
--[Error] [7/20/2013 4:23:47 AM] An error occurred
---[Error] [7/20/2013 4:23:47 AM] Exception message: The pipe has been ended.
---[Error] [7/20/2013 4:23:47 AM] Stacktrace
----[NoImage] at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
----[NoImage] at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
----[NoImage] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
----[NoImage] at MeGUI.AviSynthAudioEncoder.encode()
---[Error] [7/20/2013 4:23:47 AM] Inner exception: null
--[Information] [7/20/2013 4:23:47 AM] Job completed
detmek
20th July 2013, 11:20
It seams like audio samplerate problem. Your input file has 192kHz samplerate. Try to resample to 48kHz.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.