Page 1 of 1

Missing AC3 Channels

Posted: 29 Mar 2015 04:49
by mockingbird
OS: Windows XP x64 SP2
VLC: 2.2.0 x64 "Weatherwax"
Symptom:
When playing back a file with AC3 audio, I only hear partial sound. So I can hear some background music for example, but no dialog. If I open this file in MPlayerHQ, the AC3Filter plugin is initialized and displays in the taskbar, and the sound comes out perfectly.

Log:

Code: Select all

core debug: adding item `Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' ( file:///C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv ) core debug: processing request item: Star.Trek.TOS.1x14.BDRip.900p.x264.mkv, node: null, skip: 0 core debug: rebuilding array of current - root Playlist core debug: rebuild done - 1 items, index 0 core debug: Creating an input for 'Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: starting playback of the new playlist item core debug: resyncing on Star.Trek.TOS.1x14.BDRip.900p.x264.mkv core debug: Star.Trek.TOS.1x14.BDRip.900p.x264.mkv is at 0 core debug: creating new input thread core debug: Creating an input for 'Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: requesting art for Star.Trek.TOS.1x14.BDRip.900p.x264.mkv core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Documents and Settings\user\Application Data\vlc\lua\meta\fetcher core debug: using timeshift granularity of 50 MiB, in path 'C:\DOCUME~1\user\LOCALS~1\Temp' lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher core debug: `file:///C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' gives access `file' demux `' path `/C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: specified demux `any' core debug: creating demux: access='file' demux='any' location='/C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' file='C:\Documents and Settings\user\My Documents\Downloads\Star trek TOS S01 BD-Rip\Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: looking for access_demux module matching "file": 12 candidates lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no access_demux modules matched core debug: creating access 'file' location='/C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv', path='C:\Documents and Settings\user\My Documents\Downloads\Star trek TOS S01 BD-Rip\Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: looking for access module matching "file": 21 candidates filesystem debug: opening file `C:\Documents and Settings\user\My Documents\Downloads\Star trek TOS S01 BD-Rip\Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: using access module "filesystem" core debug: Using stream method for AStream* core debug: starting pre-buffering lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: received first data after 0 ms core debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s core debug: looking for stream_filter module matching "any": 6 candidates core debug: no stream_filter modules matched core debug: looking for stream_filter module matching "record": 6 candidates core debug: using stream_filter module "record" core debug: no meta fetcher modules matched core debug: searching art for Star.Trek.TOS.1x14.BDRip.900p.x264.mkv core debug: creating demux: access='file' demux='any' location='/C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' file='C:\Documents and Settings\user\My Documents\Downloads\Star trek TOS S01 BD-Rip\Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' core debug: looking for art finder module matching "any": 2 candidates core debug: looking for demux module matching "mkv": 65 candidates mkv debug: | + Seek head mkv debug: | | + Seek mkv debug: | - info at 4151 mkv debug: | + Information lua debug: Trying Lua scripts in C:\Documents and Settings\user\Application Data\vlc\lua\meta\art mkv debug: | | + TimecodeScale=1000000 mkv debug: | | + Muxing Application=libebml v1.0.0 + libmatroska v1.0.0 lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art mkv debug: | | + Writing Application=mkvmerge v4.0.0 ('The Stars were mine') сборка от Jun 6 2010 16:18:42 mkv debug: | | + Duration=3032619 mkv debug: | | + Date=Wed Jun 23 06:20:51 2010 mkv debug: | | + UID=-666437473 mkv debug: | | + Seek mkv debug: | - tracks at 4320 lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac mkv debug: | + Tracks mkv debug: | | + Track Entry mkv debug: | | | + Track Number=1 mkv debug: | | | + Track UID=1 mkv debug: | | | + Track Type=video mkv debug: | | | + Track Default=0 mkv debug: | | | + Track Lacing=0 mkv debug: | | | + Track MinCache=1 mkv debug: | | | + Track CodecId=V_MPEG4/ISO/AVC mkv debug: | | | + Track CodecPrivate size=42 mkv debug: | | | + Track Default Duration=41708299 mkv debug: | | | + Track Video mkv debug: | | | | + width=1200 mkv debug: | | | | + height=900 mkv debug: | | | | + display width=4 mkv debug: | | | | + display height=3 mkv debug: | | + Track Entry lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac mkv debug: | | | + Track Number=2 mkv debug: | | | + Track UID=3994123961 mkv debug: | | | + Track Type=audio mkv debug: | | | + Track CodecId=A_DTS mkv debug: | | | + Track Audio mkv debug: | | | | + afreq=48000 mkv debug: | | | | + achan=6 lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac mkv debug: | | + Seek mkv debug: | | + Unknown (N7libebml8EbmlVoidE) mkv debug: | - cues at 2110909532 mkv debug: | + Cues lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for Star.Trek.TOS.1x14.BDRip.900p.x264.mkv qt4 debug: IM: Setting an input mkv warning: MKV/Ebml Parser: m_el[mi_level] == NULL mkv warning: MKV/Ebml Parser: Up cannot escape itself mkv debug: | - loading cues done. mkv debug: | + Void mkv debug: | + Information mkv debug: | + Tracks mkv debug: | + Void mkv debug: | + Cluster mkv debug: found 2 es core debug: selecting program id=0 core debug: Buffering 0% mkv debug: Starting the UI Hook core debug: using demux module "mkv" core debug: looking for a subtitle file in C:\Documents and Settings\user\My Documents\Downloads\Star trek TOS S01 BD-Rip\ core debug: looking for decoder module matching "any": 43 candidates core debug: meta ok for (null), need to fetch art core debug: looking for meta fetcher module matching "any": 1 candidates lua debug: Trying Lua scripts in C:\Documents and Settings\user\Application Data\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\fetcher\tvrage.luac core debug: no meta fetcher modules matched core debug: searching art for Star.Trek.TOS.1x14.BDRip.900p.x264.mkv core debug: looking for art finder module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Documents and Settings\user\Application Data\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\00_musicbrainz.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\01_googleimage.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\02_frenchtv.luac lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac avcodec debug: CPU flags: 0x010011db lua debug: skipping script (unmatched scope) C:\Program Files\VideoLAN\VLC\lua\meta\art\03_lastfm.luac core debug: no art finder modules matched core debug: art not found for Star.Trek.TOS.1x14.BDRip.900p.x264.mkv avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec warning: threaded frame decoding is not compatible with DXVA2, disabled avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using slice thread mode with 4 threads core debug: using decoder module "avcodec" core debug: looking for decoder module matching "any": 43 candidates core debug: using decoder module "dts" core debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Documents and Settings\user\Application Data\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.luac core debug: no meta reader modules matched core debug: `file:///C:/Documents%20and%20Settings/user/My%20Documents/Downloads/Star%20trek%20TOS%20S01%20BD-Rip/Star.Trek.TOS.1x14.BDRip.900p.x264.mkv' successfully opened dts info: DTS channels:6 samplerate:48000 bitrate:768000 core debug: reusing audio output directsound debug: Opening DirectSound Audio Output avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "any": 1 candidates core debug: no hw decoder modules matched avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "any": 1 candidates core debug: no hw decoder modules matched core debug: Buffering 0% core debug: Stream buffering done (333 ms in 15 ms) core debug: looking for text renderer module matching "any": 2 candidates freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\ARIAL.TTF freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\COUR.TTF freetype debug: using fontsize: 2 core debug: using text renderer module "freetype" core debug: looking for video filter2 module matching "any": 58 candidates swscale debug: 32x32 (32x32) chroma: YUVA -> 16x16 (16x16) chroma: RGBA with scaling using Bicubic (good quality) core debug: using video filter2 module "swscale" core debug: looking for video filter2 module matching "any": 58 candidates yuvp debug: YUVP to YUVA converter core debug: using video filter2 module "yuvp" directsound debug: Windows speaker config: Quad and stream has 6 channels, using 4 channels core debug: Deinterlacing available core debug: deinterlace 0, mode yadif2x, is_needed 0 core debug: Opening vout display wrapper core debug: looking for vout display module matching "any": 11 candidates directdraw debug: creating Vout EventThread directdraw debug: Win32VoutCreateWindow core debug: looking for vout window hwnd module matching "qt4,any": 3 candidates qt4 debug: requesting video window... core debug: output 'f32l' 48000 Hz 2F2R frame=1 samples/16 bytes core debug: looking for audio volume module matching "any": 2 candidates core debug: using audio volume module "float_mixer" core debug: input 'dts ' 48000 Hz 3F2R/LFE frame=512 samples/2048 bytes core debug: looking for audio filter module matching "scaletempo": 14 candidates scaletempo debug: format: 48000 rate, 6 nch, 4 bps, fl32 scaletempo debug: params: 30 stride, 0.200 overlap, 14 search scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode core debug: using audio filter module "scaletempo" core debug: conversion: 'dts '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE core debug: looking for audio converter module matching "any": 12 candidates core debug: no audio converter modules matched core debug: looking for audio converter module matching "any": 12 candidates core debug: using audio converter module "dtstofloat32" core debug: conversion pipeline complete core debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->2F2R core debug: looking for audio converter module matching "any": 12 candidates core debug: using audio converter module "simple_channel_mixer" core debug: conversion pipeline complete core debug: looking for audio resampler module matching "any": 3 candidates core debug: using audio resampler module "samplerate" core debug: End of audio preroll qt4 debug: Video was requested 0, 0 core debug: using vout window hwnd module "qt4" directdraw debug: created video sub-window directdraw debug: Vout EventThread running directdraw debug: disabling screen saver directdraw debug: directx-device: directdraw debug: DirectXEnumCallback: ATI Radeon HD 3400 Series, \\.\DISPLAY1 directdraw debug: selecting ATI Radeon HD 3400 Series, \\.\DISPLAY1 directdraw debug: screen dimensions (0x0,1440x900) directdraw debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1 core debug: VoutDisplayEvent 'resize' 1208x934 window directdraw debug: YUV overlay surface created successfully core debug: using vout display module "directdraw" core debug: original format sz 1200x930, of (0,0), vsz 1200x900, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 core debug: removing module "freetype" core debug: VoutDisplayEvent 'resize' 1200x783 window core debug: looking for text renderer module matching "any": 2 candidates freetype debug: Using Arial as font from file C:\WINDOWS\Fonts\ARIAL.TTF freetype debug: Using Courier New as mono-font from file C:\WINDOWS\Fonts\COUR.TTF freetype debug: using fontsize: 2 core debug: using text renderer module "freetype" avcodec warning: plane 0 not aligned avcodec warning: disabling direct rendering core debug: End of video preroll core debug: Received first picture core debug: looking for video blending module matching "any": 1 candidates core debug: using video blending module "blend" core debug: Decoder wait done in 334 ms core debug: VoutDisplayEvent 'resize' 1440x749 window core debug: VoutDisplayEvent 'resize' 1440x772 window core warning: early picture skipped mkv debug: seek request to -1 (0.323000%) mkv debug: seek got 977476000 - 696538703 core debug: Buffering 0% avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "any": 1 candidates core debug: no hw decoder modules matched core debug: Buffering 0% core debug: Buffering 14% core debug: Buffering 28% core debug: Buffering 42% core debug: Buffering 56% core debug: Buffering 70% core debug: Buffering 84% core debug: Buffering 98% core debug: Stream buffering done (2641 ms in 24 ms) core debug: auto hiding mouse cursor core debug: End of video preroll core debug: Received first picture core debug: Decoder wait done in 847 ms core debug: End of audio preroll core warning: playback way too early (-828773): playing silence core debug: inserting 39781 zeroes core warning: early picture skipped mkv debug: seek request to -1 (0.509000%) mkv debug: seek got 1542707000 - 1086495483 core debug: Buffering 0% avcodec debug: available hardware decoder output format 61 (dxva2_vld) avcodec debug: available software decoder output format 0 (yuv420p) core debug: looking for hw decoder module matching "any": 1 candidates core debug: no hw decoder modules matched core debug: Buffering 0% core debug: Buffering 26% core debug: Buffering 52% core debug: Buffering 80% core debug: Stream buffering done (1292 ms in 282 ms) core debug: End of video preroll core debug: Received first picture core debug: Decoder wait done in 331 ms core debug: End of audio preroll core warning: playback way too early (-873670): playing silence core debug: inserting 41936 zeroes core debug: auto hiding mouse cursor core debug: incoming request - stopping current input core debug: control: stopping input core debug: incoming request - stopping current input core debug: finished input core debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped core debug: killing decoder fourcc `h264', 0 PES in FIFO core debug: saving a free vout core debug: reusing provided vout qt4 debug: Qt: Fullscreen state changed core debug: removing module "dts" core debug: killing decoder fourcc `dts ', 0 PES in FIFO core debug: removing module "samplerate" core debug: removing module "dtstofloat32" core debug: removing module "scaletempo" core debug: removing module "simple_channel_mixer" directsound debug: closing audio device core debug: removing module "float_mixer" core debug: keeping audio output core debug: removing module "mkv" core debug: Program doesn't contain anymore ES mkv debug: Stopping the UI Hook core debug: removing module "record" core debug: removing module "filesystem" core debug: incoming request - stopping current input core debug: dead input core debug: destroying useless vout core debug: removing module "blend" core debug: removing module "directdraw" qt4 debug: IM: Deleting the input directdraw debug: Win32 Vout EventThread terminating directdraw debug: Win32VoutCloseWindow directdraw debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: Video is not needed anymore core debug: removing module "freetype" core debug: removing module "yuvp" core debug: removing module "swscale"
Thanks.

Re: Missing AC3 Channels

Posted: 29 Mar 2015 09:23
by Rémi Denis-Courmont
Your system is configured for 4.0 even though only 2.0 works. Fix your speaker configuration.

Re: Missing AC3 Channels

Posted: 29 Mar 2015 21:58
by mockingbird
Doh!

You're right of course.

The way I have my sound set up is that my computer speakers are attached to the rear speaker output, and my television to the front speaker output. Usually, I am used to the sound just playing through the computer speakers, but in this case, where there was actual surround, and with my television off, I was missing it. Indeed, the dialog comes out great from my television speakers when it is on! lol

Clearly a case of PEBKAC

Thanks.

Re: Missing AC3 Channels

Posted: 30 Mar 2015 02:14
by mockingbird
Just one more question:

In the VLC Audio Settings, I turned "Force Detection Of Dolby Surround" to 'Off' and "Stereo Audio Output Mode" to 'Stereo'. This did not have the intended effect, which I thought would be a downmix to stereo:

Image

So my question is, is there a way to get VLC to downmix without having to touch my windows speaker settings?

Re: Missing AC3 Channels

Posted: 30 Mar 2015 14:35
by Jean-Baptiste Kempf
in audio/output/directsound