Surround sound output over HDMI

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Goosfand
New Cone
New Cone
Posts: 3
Joined: 22 Jan 2014 09:06

Surround sound output over HDMI

Postby Goosfand » 22 Jan 2014 09:35

Hi everybody,

I can't get VLC 2.1.2 to output 5.1 surround sound when I'm playing a file with a52 audio encoding. The file I'm playing can be downloaded here: http://dl.demo-world.eu/download_hd.php ... ator_2.rar

I've connected my laptop's display port to my receiver's HDMI input, and the receiver's HDMI output to my TV. When I play the demo file I seem to be getting a stereo sound. This is the debug log of VLC on a fresh installation:

Code: Select all

main debug: processing request item: hd_thx_terminator_2.m2ts, node: Playlist, skip: 0 main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: starting playback of the new playlist item main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: creating new input thread main debug: Creating an input for 'hd_thx_terminator_2.m2ts' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Goosfand\AppData\Local\Temp' main debug: `file:///C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' gives access `file' demux `' path `/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts', path='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "record": 6 candidates main debug: using stream_filter module "record" main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=m2ts) ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage qt4 debug: IM: Setting an input ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts debug: pid[256] unknown ts debug: pid[31] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=0 pid=31 ts debug: * number=1 pid=256 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=4097 ts debug: * descriptor : unknown (0x88) ts debug: * descriptor : registration HDMV ts debug: * es pid=4113 type=27 dr->i_tag=0x28 ts debug: * es pid=4113 type=27 fcc=h264 main debug: selecting program id=1 ts debug: * es pid=4352 type=129 dr->i_tag=0x5 ts debug: * es pid=4352 type=129 fcc=a52 filesystem warning: unimplemented query 4097 in control main debug: using demux module "ts" main debug: looking for a subtitle file in C:\Users\Goosfand\Downloads\Dolby\ main debug: looking for decoder module matching "any": 39 candidates avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 4 threads main debug: using decoder module "avcodec" main debug: looking for packetizer module matching "any": 21 candidates main debug: using packetizer module "packetizer_h264" main debug: looking for decoder module matching "any": 39 candidates main debug: using decoder module "a52" ts debug: DEMUX_SET_GROUP 0 0000000000000000 main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Goosfand\AppData\Roaming\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 main debug: no meta reader modules matched main debug: `file:///C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' successfully opened ts debug: pid[4097] unknown main debug: Buffering 0% ts warning: first packet for pid=4113 cc=0x1 packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) ts warning: first packet for pid=4352 cc=0x1 a52 debug: A/52 channels:6 samplerate:48000 bitrate:640000 main debug: reusing audio output directsound debug: Opening DirectSound Audio Output main debug: Buffering 32% main 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 fontsize: 2 main debug: using text renderer module "freetype" main debug: looking for video filter2 module matching "any": 55 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: looking for video filter2 module matching "any": 55 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: Buffering 64% main debug: Opening vout display wrapper main debug: looking for vout display module matching "any": 10 candidates main debug: Buffering 96% main debug: Stream buffering done (385 ms in 7 ms) direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module matching "qt4,any": 3 candidates qt4 debug: requesting video window... directsound debug: Windows speaker config: Stereo and stream has 6 channels, using 2 channels main debug: output 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/2560 bytes main 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 main debug: using audio filter module "scaletempo" main debug: conversion: 'a52 '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: looking for audio converter module matching "any": 12 candidates main debug: no audio converter modules matched main debug: looking for audio converter module matching "any": 12 candidates main debug: using audio converter module "a52tofloat32" main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->Stereo main debug: looking for audio converter module matching "any": 12 candidates main debug: using audio converter module "simple_channel_mixer" main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll qt4 debug: Video was requested 0, 0 main debug: using vout window hwnd module "qt4" direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA NVS 3100M 4318 2668 162 main debug: VoutDisplayEvent 'resize' 1936x1118 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: looking for text renderer module matching "any": 2 candidates main debug: VoutDisplayEvent 'resize' 1920x923 window freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" avcodec debug: using direct rendering main debug: End of video preroll main debug: Received first picture direct3d debug: Created 779x70 texture for OSD main debug: Decoder buffering done in 284 ms main debug: inserting 24336 zeroes main debug: picture might be displayed late (missing 0 ms) main debug: auto hiding mouse cursor main debug: incoming request - stopping current input main debug: control: stopping input main debug: incoming request - stopping current input main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "packetizer_h264" main debug: removing module "a52" main debug: killing decoder fourcc `a52 ', 0 PES in FIFO main debug: removing module "samplerate" main debug: removing module "a52tofloat32" main debug: removing module "scaletempo" main debug: removing module "simple_channel_mixer" directsound debug: closing audio device main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "ts" ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[31] seen ts debug: - pid[256] seen ts debug: - pid[4097] seen ts debug: - pid[4113] seen main debug: Program doesn't contain anymore ES ts debug: - pid[4352] seen ts debug: - pid[8191] seen main debug: removing module "record" main debug: removing module "filesystem" main debug: incoming request - stopping current input main debug: dead input main debug: destroying useless vout main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully qt4 debug: IM: Deleting the input direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"
Note that when I play this file using Windows Media Player it sounds fine. I noticed "directsound debug: Windows speaker config: Stereo and stream has 6 channels, using 2 channels" in the logs, so I went to preferences, set output to DirectX, and set speaker configuration to 5.1. Now I get this debug log:

Code: Select all

main debug: processing request item: hd_thx_terminator_2.m2ts, node: Playlist, skip: 0 main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: starting playback of the new playlist item main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: creating new input thread main debug: Creating an input for 'hd_thx_terminator_2.m2ts' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Goosfand\AppData\Local\Temp' main debug: `file:///C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' gives access `file' demux `' path `/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts', path='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "record": 6 candidates main debug: using stream_filter module "record" main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Downloads\Dolby\hd_thx_terminator_2.m2ts' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=m2ts) ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage qt4 debug: IM: Setting an input ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts debug: pid[256] unknown ts debug: pid[31] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=0 pid=31 ts debug: * number=1 pid=256 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=4097 ts debug: * descriptor : unknown (0x88) ts debug: * descriptor : registration HDMV ts debug: * es pid=4113 type=27 dr->i_tag=0x28 ts debug: * es pid=4113 type=27 fcc=h264 main debug: selecting program id=1 ts debug: * es pid=4352 type=129 dr->i_tag=0x5 ts debug: * es pid=4352 type=129 fcc=a52 filesystem warning: unimplemented query 4097 in control main debug: using demux module "ts" main debug: looking for a subtitle file in C:\Users\Goosfand\Downloads\Dolby\ main debug: looking for decoder module matching "any": 39 candidates avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 4 threads main debug: using decoder module "avcodec" main debug: looking for packetizer module matching "any": 21 candidates main debug: using packetizer module "packetizer_h264" main debug: looking for decoder module matching "any": 39 candidates main debug: using decoder module "a52" ts debug: DEMUX_SET_GROUP 0 0000000000000000 main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Goosfand\AppData\Roaming\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 main debug: no meta reader modules matched main debug: `file:///C:/Users/Goosfand/Downloads/Dolby/hd_thx_terminator_2.m2ts' successfully opened ts debug: pid[4097] unknown main debug: Buffering 0% ts warning: first packet for pid=4113 cc=0x1 ts warning: first packet for pid=4352 cc=0x1 a52 debug: A/52 channels:6 samplerate:48000 bitrate:640000 main debug: reusing audio output directsound debug: Opening DirectSound Audio Output main debug: Buffering 32% main debug: Buffering 64% main debug: Buffering 96% main debug: Stream buffering done (385 ms in 5 ms) packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main 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 fontsize: 2 main debug: using text renderer module "freetype" main debug: looking for video filter2 module matching "any": 55 candidates swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: looking for video filter2 module matching "any": 55 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: Opening vout display wrapper main debug: looking for vout display module matching "any": 10 candidates direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module matching "qt4,any": 3 candidates qt4 debug: requesting video window... directsound debug: VLC speaker config: 5.1 directsound debug: couldn't use hardware sound buffer directsound debug: channel reordering needed main debug: output 'f32l' 48000 Hz 3F2R/LFE frame=1 samples/24 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/2560 bytes main 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 main debug: using audio filter module "scaletempo" main debug: conversion: 'a52 '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: looking for audio converter module matching "any": 12 candidates main debug: no audio converter modules matched main debug: looking for audio converter module matching "any": 12 candidates main debug: using audio converter module "a52tofloat32" main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll qt4 debug: Video was requested 0, 0 main debug: using vout window hwnd module "qt4" direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA NVS 3100M 4318 2668 162 main debug: VoutDisplayEvent 'resize' 1936x1118 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main 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 fontsize: 2 main debug: using text renderer module "freetype" avcodec debug: using direct rendering main debug: VoutDisplayEvent 'resize' 1920x923 window main debug: End of video preroll main debug: Received first picture direct3d debug: Created 779x70 texture for OSD main debug: Decoder buffering done in 263 ms main debug: inserting 23952 zeroes main debug: picture might be displayed late (missing 1 ms) main debug: auto hiding mouse cursor main debug: incoming request - stopping current input main debug: control: stopping input main debug: incoming request - stopping current input main debug: finished input main debug: removing module "avcodec" avcodec debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped main debug: killing decoder fourcc `h264', 0 PES in FIFO main debug: saving a free vout main debug: reusing provided vout main debug: removing module "packetizer_h264" main debug: removing module "a52" main debug: killing decoder fourcc `a52 ', 0 PES in FIFO main debug: removing module "samplerate" main debug: removing module "a52tofloat32" main debug: removing module "scaletempo" directsound debug: closing audio device main debug: removing module "float_mixer" main debug: keeping audio output main debug: removing module "ts" ts debug: pid list: ts debug: - pid[0] seen ts debug: - pid[31] seen ts debug: - pid[256] seen ts debug: - pid[4097] seen ts debug: - pid[4113] seen main debug: Program doesn't contain anymore ES ts debug: - pid[4352] seen ts debug: - pid[8191] seen main debug: removing module "record" main debug: removing module "filesystem" main debug: incoming request - stopping current input main debug: dead input main debug: destroying useless vout main debug: removing module "direct3d" direct3d debug: Direct3D scene released successfully qt4 debug: IM: Deleting the input direct3d debug: DirectXEventThread terminating direct3d debug: DirectXCloseWindow direct3d debug: WinProc WM_DESTROY qt4 debug: releasing video... qt4 debug: Video is not needed anymore main debug: removing module "freetype" main debug: removing module "yuvp" main debug: removing module "swscale"
This time it doesn't seem to do any conversion to 2 channels, but what I hear from my speakers still sounds like a stereo output. I play the same file on my desktop PC that has 5.1 analog output directly connected to speakers and it outputs surround sound with this VLC debug log:

Code: Select all

main debug: processing request item: hd_thx_terminator_2.m2ts, node: Playlist, skip: 0 main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: starting playback of the new playlist item main debug: resyncing on hd_thx_terminator_2.m2ts main debug: hd_thx_terminator_2.m2ts is at 0 main debug: creating new input thread main debug: Creating an input for 'hd_thx_terminator_2.m2ts' main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\Goosfand\AppData\Local\Temp' main debug: `file:///C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts' gives access `file' demux `' path `/C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts' main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Documents\Visual Studio 2010\Projects\hd_thx_terminator_2.m2ts' main debug: looking for access_demux module matching "file": 12 candidates main debug: no access_demux modules matched main debug: creating access 'file' location='/C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts', path='C:\Users\Goosfand\Documents\Visual Studio 2010\Projects\hd_thx_terminator_2.m2ts' main debug: looking for access module matching "file": 20 candidates filesystem debug: opening file `C:\Users\Goosfand\Documents\Visual Studio 2010\Projects\hd_thx_terminator_2.m2ts' main debug: using access module "filesystem" main debug: Using stream method for AStream* main debug: starting pre-buffering main debug: received first data after 0 ms main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s main debug: looking for stream_filter module matching "any": 6 candidates main debug: no stream_filter modules matched main debug: looking for stream_filter module matching "stream_filter_record": 6 candidates main debug: no stream_filter modules matched main debug: creating demux: access='file' demux='' location='/C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts' file='C:\Users\Goosfand\Documents\Visual Studio 2010\Projects\hd_thx_terminator_2.m2ts' main debug: looking for demux module matching "any": 63 candidates mod debug: MOD validation failed (ext=m2ts) ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts warning: lost synchro ts debug: skipping 4 bytes of garbage qt4 debug: IM: Setting an input ts warning: lost synchro ts debug: skipping 4 bytes of garbage ts debug: pid[256] unknown ts debug: pid[31] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=0 current_next=1 ts debug: * number=0 pid=31 ts debug: * number=1 pid=256 ts debug: PMTCallBack called ts debug: new PMT program number=1 version=0 pid_pcr=4097 ts debug: * descriptor : unknown (0x88) ts debug: * descriptor : registration HDMV ts debug: * es pid=4113 type=27 dr->i_tag=0x28 ts debug: * es pid=4113 type=27 fcc=h264 main debug: selecting program id=1 ts debug: * es pid=4352 type=129 dr->i_tag=0x5 ts debug: * es pid=4352 type=129 fcc=a52 filesystem warning: unimplemented query 4097 in control main debug: using demux module "ts" main debug: looking for a subtitle file in C:\Users\Goosfand\Documents\Visual Studio 2010\Projects\ main debug: looking for decoder module matching "any": 39 candidates avcodec debug: trying to use direct rendering avcodec debug: allowing 4 thread(s) for decoding avcodec debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started avcodec debug: using frame thread mode with 4 threads main debug: using decoder module "avcodec" main debug: looking for packetizer module matching "any": 21 candidates main debug: using packetizer module "packetizer_h264" main debug: looking for decoder module matching "any": 39 candidates main debug: using decoder module "a52" ts debug: DEMUX_SET_GROUP 0 0000000000000000 main debug: looking for meta reader module matching "any": 2 candidates lua debug: Trying Lua scripts in C:\Users\Goosfand\AppData\Roaming\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 main debug: no meta reader modules matched main debug: `file:///C:/Users/Goosfand/Documents/Visual%20Studio%202010/Projects/hd_thx_terminator_2.m2ts' successfully opened ts debug: pid[4097] unknown main debug: Buffering 0% ts warning: first packet for pid=4113 cc=0x1 packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) ts warning: first packet for pid=4352 cc=0x1 a52 debug: A/52 channels:6 samplerate:48000 bitrate:640000 main debug: reusing audio output directsound debug: Opening DirectSound Audio Output main debug: Buffering 32% main debug: looking for text renderer module matching "any": 2 candidates freetype debug: Using Arial as font from file C:\Windows\Fonts\ariali.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" main debug: looking for video filter2 module matching "any": 55 candidates main debug: Buffering 64% swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) main debug: using video filter2 module "swscale" main debug: looking for video filter2 module matching "any": 55 candidates yuvp debug: YUVP to YUVA converter main debug: using video filter2 module "yuvp" main debug: Buffering 96% main debug: Deinterlacing available main debug: deinterlace 0, mode blend, is_needed 0 main debug: Stream buffering done (385 ms in 2 ms) main debug: Opening vout display wrapper main debug: looking for vout display module matching "any": 10 candidates directsound debug: Windows speaker config: 5.1 and stream has 6 channels, using 6 channels direct3d debug: creating Vout EventThread direct3d debug: DirectXCreateWindow main debug: looking for vout window hwnd module matching "qt4,any": 3 candidates qt4 debug: requesting video window... directsound debug: couldn't use hardware sound buffer directsound debug: channel reordering needed main debug: output 'f32l' 48000 Hz 3F2R/LFE frame=1 samples/24 bytes main debug: looking for audio volume module matching "any": 2 candidates main debug: using audio volume module "float_mixer" main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/2560 bytes main 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 main debug: using audio filter module "scaletempo" main debug: conversion: 'a52 '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: looking for audio converter module matching "any": 12 candidates main debug: no audio converter modules matched main debug: looking for audio converter module matching "any": 12 candidates main debug: using audio converter module "a52tofloat32" main debug: conversion pipeline complete main debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->3F2R/LFE main debug: conversion pipeline complete main debug: looking for audio resampler module matching "any": 3 candidates main debug: using audio resampler module "samplerate" main debug: End of audio preroll qt4 debug: Video was requested 0, 0 main debug: using vout window hwnd module "qt4" direct3d debug: created video sub-window direct3d debug: Vout EventThread running direct3d debug: disabling screen saver direct3d debug: Direct3d Device: NVIDIA GeForce GTX 650 Ti 4318 4550 161 main debug: VoutDisplayEvent 'resize' 1936x1119 window direct3d warning: trying surface pixel format: YV12 direct3d debug: selected surface pixel format is YV12 direct3d debug: Using D3DTEXF_LINEAR for minification direct3d debug: Using D3DTEXF_LINEAR for magnification direct3d debug: Direct3D scene created successfully direct3d debug: Direct3D device adapter successfully initialized main debug: using vout display module "direct3d" main debug: original format sz 1920x1080, of (0,0), vsz 1920x1080, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 main debug: removing module "freetype" main debug: looking for text renderer module matching "any": 2 candidates main debug: VoutDisplayEvent 'resize' 1920x922 window freetype debug: Using Arial as font from file C:\Windows\Fonts\ariali.ttf freetype debug: using fontsize: 2 main debug: using text renderer module "freetype" avcodec debug: using direct rendering main debug: End of video preroll main debug: Received first picture direct3d debug: Created 783x71 texture for OSD main debug: Decoder buffering done in 127 ms main debug: inserting 24384 zeroes main debug: picture might be displayed late (missing 1 ms) main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: VoutDisplayEvent 'mouse button' 2 t=8 main debug: VoutDisplayEvent 'mouse button' 2 t=9 main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor direct3d debug: Created 406x60 texture for OSD main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor main debug: auto hiding mouse cursor
I switched to version 2.0.8. In this version there was an option to send the audio output to SPDIF, when I choose this option I get surround sound. However, I can't keep using this version because it cannot playback some of my video files.

Summary:
Laptop HDMI output, VLC Version 2.1.2, fresh installation: Doesn't output surround sound, logs say VLC detects a stereo speaker configuration
Laptop HDMI output, VLC Version 2.1.2, DirectX output, forced 5.1 configuration: Doesn't output surround sound, logs don't mention anything
Laptop HDMI output, Windows Media Player: I get surround sound
Laptop HDMI output, VLC Version 2.0.8, output set to SPDIF: I get surround sound
Laptop HDMI output, VLC Version 2.0.8, output set to 5.1: I don't get surround sound

PC analog output, VLC Version 2.1.2, fresh installation: I get surround sound

I also tried a nightly, but I still have the same problem.

Any ideas on what's causing this problem?

Goosfand
New Cone
New Cone
Posts: 3
Joined: 22 Jan 2014 09:06

Re: Surround sound output over HDMI

Postby Goosfand » 22 Jan 2014 19:33

I actually figured out what was wrong. Although I was telling VLC to use a 5.1 channel configuration Windows was still set to use a stereo configuration. To fix this, I went to Control Panel->Sound, selected my HDMI output, then pressed the Configure button, and set up that output as a 5.1 speakers. Then when I tried VLC I got surround sound.

I'm not sure how Windows Media Player works without this setup.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Surround sound output over HDMI

Postby Jean-Baptiste Kempf » 22 Jan 2014 22:26

Or you can force SPDIF in VLC preferences.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Goosfand
New Cone
New Cone
Posts: 3
Joined: 22 Jan 2014 09:06

Re: Surround sound output over HDMI

Postby Goosfand » 24 Jan 2014 05:10

Or you can force SPDIF in VLC preferences.
How can I do this? I don't see an option to force SPDIF anywhere. I tried selecting DirectX as output device as somebody suggested elsewhere, but I still can't see anything about SPDIF.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Surround sound output over HDMI

Postby Jean-Baptiste Kempf » 11 Feb 2014 22:40

It's under it, on 2.1.3
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 84 guests