Jump to content


Photo

no audio when playing dts-hd via emby theater


  • Please log in to reply
43 replies to this topic

#21 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 03:27 PM

Before playing the movie, have you tried selecting the alternate track?

 

5a24502146d57_Snapshot_334.jpg



#22 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 03:35 PM

both (dts and dtshd) were checked.

 

here is the log:

 

[   0.012][v][cplayer] mpv 0.27.0 © 2000-2017 mpv/MPlayer/mplayer2 projects
[   0.012][v][cplayer]  built on Wed Sep 13 04:18:08 CEST 2017
[   0.012][v][cplayer] ffmpeg library versions:
[   0.012][v][cplayer]    libavutil       55.74.100
[   0.012][v][cplayer]    libavcodec      57.105.100
[   0.012][v][cplayer]    libavformat     57.82.100
[   0.012][v][cplayer]    libswscale      4.7.103
[   0.012][v][cplayer]    libavfilter     6.105.100
[   0.012][v][cplayer]    libswresample   2.8.100
[   0.012][v][cplayer] ffmpeg version: N-87286-g6ce4a635ed
[   0.012][v][cplayer] 
[   0.012][v][cplayer] Configuration: /home/lachs0r/mingw-w64-cmake/buildroot/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-encoding --enable-egl-angle-lib --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --prefix=/home/lachs0r/mingw-w64-cmake/buildroot/build64/prefix/mingw
[   0.012][v][cplayer] List of enabled features: asm atomics avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical build-date cplayer cuda-hwaccel d3d-hwaccel d3d-hwaccel-new d3d9-hwaccel debug-build direct3d dos-paths dvdnav dvdread dvdread-common egl-angle egl-angle-lib egl-angle-win32 egl-helpers encoding gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc iconv is_ffmpeg javascript jpeg lcms2 libarchive libass libass-osd libav libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack optimize plain-gl posix-or-mingw rubberband static-build stdatomic uchardet wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
[   0.012][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.013][v][ytdl_hook] loading mp.defaults
[   0.014][v][ytdl_hook] loading @ytdl_hook.lua
[   0.015][v][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.015][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[   0.015][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[   0.015][v][cplayer] Done loading @ytdl_hook.lua.
[   0.015][v][ipc] Starting IPC master
[   0.016][v][refreshrate] Loading lua script C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua...
[   0.016][v][ipc] Listening to IPC pipe.
[   0.016][v][ipc_0] Client connected
[   0.016][v][refreshrate] loading mp.defaults
[   0.017][v][refreshrate] loading file C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua
[   0.017][v][cplayer] Set property: volume=100 -> 1
[   0.017][v][cplayer] Run command: loadfile, flags=0, args=[\\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv, replace, ]
[   0.018][v][cplayer] Done loading C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua.
[   0.018][i][cplayer] Playing: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.018][v][cplayer] Running hook: ytdl_hook/on_load
[   0.018][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[   0.019][v][ifo] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.019][v][ifo_dvdnav] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.020][v][bdmv/bluray] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.020][v][file] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.021][v][file] Stream opened successfully.
[   0.022][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[   0.022][v][demux] Trying demuxers for level=normal.
[   0.023][v][mkv] Found the head...
[   0.023][v][mkv] + a segment...
[   0.023][v][mkv] Parsing seek head...
[   0.023][v][mkv] |+ segment information...
[   0.023][v][mkv] | + muxing app: libmakemkv v1.10.2 (1.3.3/1.4.4) win(x64-release)
[   0.023][v][mkv] | + writing app: MakeMKV v1.10.2 win(x64-release)
[   0.023][v][mkv] | + timecode scale: 1000000
[   0.023][v][mkv] | + duration: 59.934s
[   0.023][v][mkv] | + segment uid e1 15 8f 28 39 c9 23 2a 7d 34 e2 c5 6c 65 f3 f1
[   0.023][v][mkv] |+ segment tracks...
[   0.023][v][mkv] | + a track...
[   0.023][v][mkv] |  + Track number: 1
[   0.023][v][mkv] |  + Track type: Video
[   0.023][v][mkv] |  + Video track
[   0.023][v][mkv] |   + Display width: 1920
[   0.023][v][mkv] |   + Display height: 1080
[   0.023][v][mkv] |   + Pixel width: 1920
[   0.023][v][mkv] |   + Pixel height: 1080
[   0.023][v][mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[   0.023][v][mkv] |  + CodecPrivate, length 73
[   0.023][v][mkv] |  + Default flag: 0
[   0.023][v][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.023][v][mkv] | + a track...
[   0.023][v][mkv] |  + Track number: 2
[   0.023][v][mkv] |  + Name: Surround 7.1
[   0.023][v][mkv] |  + Track type: Audio
[   0.023][v][mkv] |  + Audio track
[   0.023][v][mkv] |   + Sampling frequency: 48000.000000
[   0.023][v][mkv] |   + Bit depth: 24
[   0.023][v][mkv] |   + Channels: 8
[   0.023][v][mkv] |  + Codec ID: A_DTS
[   0.024][v][mkv] |  + Language: eng
[   0.024][v][mkv] |  + Default flag: 1
[   0.024][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.024][v][mkv] | + a track...
[   0.024][v][mkv] |  + Track number: 3
[   0.024][v][mkv] |  + Name: Surround 5.1
[   0.024][v][mkv] |  + Track type: Audio
[   0.024][v][mkv] |  + Audio track
[   0.024][v][mkv] |   + Sampling frequency: 48000.000000
[   0.024][v][mkv] |   + Channels: 6
[   0.024][v][mkv] |  + Codec ID: A_DTS
[   0.024][v][mkv] |  + Language: eng
[   0.024][v][mkv] |  + Default flag: 0
[   0.024][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.024][v][mkv] |+ found cluster
[   0.024][v][mkv] Seeking to 250029342 to read header element 0x1c53bb6b.
[   0.024][v][cache] Dropping cache at pos 250029342, cached range: 0-2162688.
[   0.024][v][cache] Seeking underlying stream: 2162688 -> 250029342
[   0.024][v][mkv] Parsing cues...
[   0.024][v][mkv] Seeking to 250030354 to read header element 0x1254c367.
[   0.024][v][cache] EOF reached.
[   0.024][v][cache] Dropping cache at pos 2741, cached range: 250029342-250031580.
[   0.024][v][cache] Seeking underlying stream: 250031580 -> 2741
[   0.024][v][mkv] All headers are parsed!
[   0.024][v][demux] Detected file format: Matroska
[   0.024][v][cache] blocking for STREAM_CTRL 6
[   0.024][v][cplayer] Opening done: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.030][v][find_files] Loading external files in \\heimserver\Filme\Videoclips\Dolby Digital Trailer\
[   0.036][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.036][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[   0.036][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.036][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.036][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.036][i][display-tags] File tags:
[   0.036][i][display-tags]  Title: DTS
[   0.038][v][vo/opengl] Initializing OpenGL backend 'angle'
[   0.050][v][vo/opengl] Using Direct3D 11 feature level 10_1
[   0.050][v][vo/opengl] Device: Intel® HD Graphics
[   0.050][v][vo/opengl] VendorId: 0x32902
[   0.050][v][vo/opengl] DeviceId: 0x0258
[   0.050][v][vo/opengl] LUID: 00000000000085c2
[   0.055][v][vo/opengl] EGL_VERSION=1.4 (ANGLE 2.1.0.)
[   0.055][v][vo/opengl] EGL_VENDOR=Google Inc. (adapter LUID: 00000000000085c2)
[   0.055][v][vo/opengl] EGL_CLIENT_APIS=OpenGL_ES
[   0.055][v][vo/opengl] Trying to create GLES 3.x context.
[   0.061][v][vo/opengl/win32] resize window: 1920:1080
[   0.061][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.061][v][vo/opengl/win32] display-fps: 24.000000
[   0.065][v][vo/opengl/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\sRGB Color Space Profile.icm
[   0.088][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.104][v][vo/opengl] Using DXGI 1.2+
[   0.104][v][vo/opengl] Using flip-model presentation
[   0.104][v][vo/opengl] GL_VERSION='OpenGL ES 3.0 (ANGLE 2.1.0.)'
[   0.104][v][vo/opengl] Detected GLES 3.0.
[   0.104][v][vo/opengl] GL_VENDOR='Google Inc.'
[   0.104][v][vo/opengl] GL_RENDERER='ANGLE (Intel® HD Graphics Direct3D11 vs_4_1 ps_4_1)'
[   0.104][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.)'
[   0.104][v][vo/opengl] Loaded extension GL_EXT_texture_norm16.
[   0.104][v][vo/opengl] Loaded extension GL_EXT_color_buffer_half_float.
[   0.104][v][vo/opengl] Loaded extension GL_EXT_disjoint_timer_query.
[   0.105][v][vo/opengl] Loaded extension GL_ANGLE_translated_shader_source.
[   0.105][v][vo/opengl] Testing FBO format rgba16
[   0.105][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.106][v][vo/opengl] Using FBO format rgba16.
[   0.106][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.106][v][vo/opengl] Reported display depth: 10
[   0.107][v][vo/opengl] Resize: 1920x1080
[   0.107][v][vo/opengl] Assuming 24.000000 FPS for display sync.
[   0.107][v][vd] Container reported FPS: 23.976025
[   0.108][v][vd] Codec list:
[   0.108][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.108][v][vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[   0.109][v][vd] Opening video decoder h264
[   0.109][v][vd] Using software decoding.
[   0.109][v][vd] Detected 4 logical cores.
[   0.109][v][vd] Requesting 5 threads for decoding.
[   0.111][v][vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.113][v][ad] Codec list:
[   0.113][v][ad]     spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder
[   0.113][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.113][v][ad] Opening audio decoder spdif_dts_hd
[   0.113][v][ad] Selected audio codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder)
[   0.113][v][cplayer] Starting playback...
[   0.114][v][ad] In: profile=60 samplerate=48000
[   0.115][v][af] Audio filter chain:
[   0.115][v][af]   [in] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][af]   [out] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][af]   [ao] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][ao] Trying audio driver 'wasapi'
[   0.115][v][ao/wasapi] requested format: 192000 Hz, 7.1 channels, spdif-dtshd
[   0.126][v][ao/wasapi] No device specified. Selecting default.
[   0.128][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.128][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.143][v][ao/wasapi] Trying 7.1 spdif-dtshd (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.143][v][ao/wasapi] Retrying as AC3.
[   0.143][v][ao/wasapi] Trying 7.1 spdif-ac3 (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.144][f][ao/wasapi] Received failure from audio thread
[   0.144][e][ao] Failed to initialize audio driver 'wasapi'
[   0.144][v][cplayer] Falling back to PCM output.
[   0.144][v][ad] Uninit audio decoder.
[   0.144][v][ad] Codec list:
[   0.144][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.144][v][ad] Opening audio decoder dca
[   0.144][v][ad] Requesting 1 threads for decoding.
[   0.145][v][ad] Selected audio codec: dca (DCA (DTS Coherent Acoustics))
[   0.145][v][ffmpeg/audio] dca: Forcing XLL recovery mode
[   0.145][v][af] Audio filter chain:
[   0.146][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.146][v][af]   [out] 48000Hz 7.1 8ch s32p
[   0.146][v][af]   [ao] 48000Hz 7.1 8ch s32p
[   0.146][v][ao] Trying audio driver 'wasapi'
[   0.146][v][ao/wasapi] requested format: 48000 Hz, 5.1 channels, s32p
[   0.146][v][ao/wasapi] No device specified. Selecting default.
[   0.147][v][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: yuv420p
[   0.147][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.147][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.157][v][ao/wasapi] Trying 5.1 s32 (32/32 bits) @ 48000hz (shared) -> ok
[   0.157][v][ao/wasapi] Closest match is stereo float (32/32 bits) @ 48000hz
[   0.157][v][ao/wasapi] Accepted as stereo float @ 48000hz -> stereo float (32/32 bits) @ 48000hz (shared)
[   0.157][v][ao/wasapi] Device period: 10 ms
[   0.162][v][ao/wasapi] Buffer frame count: 2400 (50 ms)
[   0.162][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 384000.
[   0.165][v][ao/wasapi] device buffer: 2400 samples.
[   0.165][v][ao/wasapi] using soft-buffer of 9600 samples.
[   0.165][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch float
[   0.165][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.165][v][af] Adding filter lavrresample 
[   0.166][v][lavrresample] Remix: 7.1 -> stereo
[   0.166][v][af] Audio filter chain:
[   0.166][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.166][v][af]   [lavrresample] 48000Hz stereo 2ch float [a]
[   0.166][v][af]   [out] 48000Hz stereo 2ch float
[   0.166][v][af]   [ao] 48000Hz stereo 2ch float
[   0.203][v][vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[   0.203][v][vd] Using container aspect ratio.
[   0.204][v][vf] Video filter chain:
[   0.204][v][vf]   [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.204][v][vf]   [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.204][i][cplayer] VO: [opengl] 1920x1080 yuv420p
[   0.204][v][cplayer] VO: Description: Extended OpenGL Renderer
[   0.204][v][vo/opengl] Resize: 1920x1080
[   0.204][v][vo/opengl] Window size: 1920x1080
[   0.204][v][vo/opengl] Video source: 1920x1080 (1:1)
[   0.204][v][vo/opengl] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[   0.204][v][vo/opengl] Video scale: 1.000000/1.000000
[   0.204][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
[   0.204][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
[   0.204][v][vo/opengl] Testing FBO format rgba16
[   0.204][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.206][v][vo/opengl] Using FBO format rgba16.
[   0.206][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.206][v][vo/opengl] Texture for plane 0: 1920x1080
[   0.206][v][vo/opengl] Texture for plane 1: 960x540
[   0.206][v][vo/opengl] Texture for plane 2: 960x540
[   0.215][v][vo/opengl] new shader program:
[   0.215][v][vo/opengl] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.215][v][vo/opengl] [  2] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[   0.215][v][vo/opengl] [  3] color.b = 1.000000 * vec4(texture(texture2, texcoord2)).r;
[   0.215][v][vo/opengl] [  4] color = color.rgbr;
[   0.215][v][vo/opengl] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.215][v][vo/opengl] [  6] color.a = 1.0;
[   0.215][v][vo/opengl] [  7] // color mapping
[   0.229][v][vo/opengl] shader link log (status=1): 
[   0.229][v][vo/opengl] 
[   0.229][v][vo/opengl] 
[   0.229][v][vo/opengl] 
[   0.233][v][cplayer] first video frame after restart shown
[   0.233][v][cplayer] starting audio playback
[   0.233][v][cplayer] playback restart complete
[   0.239][i][cplayer] Track switched:
[   0.239][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.239][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.239][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.239][v][cplayer] Set property: aid=1 -> 1
[   0.239][i][cplayer] Track switched:
[   0.239][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.239][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.239][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.240][v][cplayer] Set property: sid="no" -> 1
[  32.949][v][cache] EOF reached.
[  49.673][v][mkv] EOF reached.
[  59.933][v][cplayer] audio EOF reached
[  60.098][v][cplayer] video EOF reached
[  60.099][v][cplayer] EOF code: 1  
[  60.099][v][ad] Uninit audio decoder.
[  60.099][v][af] Removing filter lavrresample 
[  60.099][v][vd] Uninit video.
[  60.103][v][cache] Terminating cache...
[  60.103][v][cache] Cache exiting...
[  60.127][v][cplayer] finished playback, success (reason 0)
[  60.128][i][cplayer] 
[  60.145][v][vo/opengl] flushing shader cache
[  60.149][v][vo/opengl/win32] uninit
[  60.291][v][cplayer] Run command: stop, flags=0, args=[]
[  60.291][v][cplayer] Run command: quit, flags=0, args=[0]
[  60.291][i][cplayer] 
[  60.291][i][cplayer] Exiting... (Quit)
[  60.292][v][ipc_0] Exiting...
[  60.292][v][ytdl_hook] Exiting...
[  60.292][v][refreshrate] Exiting...


#23 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 03:36 PM

yes before playing I selected the 5.1 track as shown in your screenshot



#24 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 03:43 PM

yes before playing I selected the 5.1 track as shown in your screenshot

 

It isn't using the 5.1 track, and mpv is doing what I suspected. It's converting to PCM

[   0.143][v][ao/wasapi] Trying 7.1 spdif-dtshd (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.143][v][ao/wasapi] Retrying as AC3.
[   0.143][v][ao/wasapi] Trying 7.1 spdif-ac3 (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.144][f][ao/wasapi] Received failure from audio thread
[   0.144][e][ao] Failed to initialize audio driver 'wasapi'
[   0.144][v][cplayer] Falling back to PCM output.

Ok, another way you can try switching the audio is in the overlay. Try switching during playback

 

5a2453a9e758b_Snapshot_336.jpg


Edited by Doofus, 03 December 2017 - 03:43 PM.


#25 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 03:47 PM

@Luke, I just tested the audio selection before playback, it isn't working. You can only select audio using the overlay while playing.



#26 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 03:51 PM

okay following test:

- dts and dtshd checked

- I selected 5.1 track before starting the video

- when playing I switched from 7.1 track to the 5.1 track via overlay menu

- after switching via overlay --> no sound

 

(other test combinations will follow ...)

 

here is the log:

[   0.012][v][cplayer] mpv 0.27.0 © 2000-2017 mpv/MPlayer/mplayer2 projects
[   0.012][v][cplayer]  built on Wed Sep 13 04:18:08 CEST 2017
[   0.012][v][cplayer] ffmpeg library versions:
[   0.012][v][cplayer]    libavutil       55.74.100
[   0.012][v][cplayer]    libavcodec      57.105.100
[   0.012][v][cplayer]    libavformat     57.82.100
[   0.012][v][cplayer]    libswscale      4.7.103
[   0.012][v][cplayer]    libavfilter     6.105.100
[   0.012][v][cplayer]    libswresample   2.8.100
[   0.012][v][cplayer] ffmpeg version: N-87286-g6ce4a635ed
[   0.012][v][cplayer] 
[   0.012][v][cplayer] Configuration: /home/lachs0r/mingw-w64-cmake/buildroot/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-encoding --enable-egl-angle-lib --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --prefix=/home/lachs0r/mingw-w64-cmake/buildroot/build64/prefix/mingw
[   0.012][v][cplayer] List of enabled features: asm atomics avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical build-date cplayer cuda-hwaccel d3d-hwaccel d3d-hwaccel-new d3d9-hwaccel debug-build direct3d dos-paths dvdnav dvdread dvdread-common egl-angle egl-angle-lib egl-angle-win32 egl-helpers encoding gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc iconv is_ffmpeg javascript jpeg lcms2 libarchive libass libass-osd libav libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack optimize plain-gl posix-or-mingw rubberband static-build stdatomic uchardet wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
[   0.012][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.015][v][ytdl_hook] loading mp.defaults
[   0.016][v][ytdl_hook] loading @ytdl_hook.lua
[   0.017][v][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.017][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[   0.017][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[   0.017][v][cplayer] Done loading @ytdl_hook.lua.
[   0.017][v][ipc] Starting IPC master
[   0.018][v][refreshrate] Loading lua script C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua...
[   0.018][v][ipc] Listening to IPC pipe.
[   0.019][v][refreshrate] loading mp.defaults
[   0.019][v][ipc_0] Client connected
[   0.020][v][refreshrate] loading file C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua
[   0.020][v][cplayer] Done loading C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua.
[   0.021][v][cplayer] Set property: volume=100 -> 1
[   0.021][v][cplayer] Run command: loadfile, flags=0, args=[\\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv, replace, ]
[   0.022][i][cplayer] Playing: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.022][v][cplayer] Running hook: ytdl_hook/on_load
[   0.022][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[   0.022][v][ifo] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.022][v][ifo_dvdnav] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.023][v][bdmv/bluray] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.024][v][file] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.025][v][file] Stream opened successfully.
[   0.025][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[   0.025][v][demux] Trying demuxers for level=normal.
[   0.027][v][mkv] Found the head...
[   0.027][v][mkv] + a segment...
[   0.028][v][mkv] Parsing seek head...
[   0.028][v][mkv] |+ segment information...
[   0.028][v][mkv] | + muxing app: libmakemkv v1.10.2 (1.3.3/1.4.4) win(x64-release)
[   0.028][v][mkv] | + writing app: MakeMKV v1.10.2 win(x64-release)
[   0.028][v][mkv] | + timecode scale: 1000000
[   0.028][v][mkv] | + duration: 59.934s
[   0.028][v][mkv] | + segment uid e1 15 8f 28 39 c9 23 2a 7d 34 e2 c5 6c 65 f3 f1
[   0.028][v][mkv] |+ segment tracks...
[   0.029][v][mkv] | + a track...
[   0.029][v][mkv] |  + Track number: 1
[   0.029][v][mkv] |  + Track type: Video
[   0.029][v][mkv] |  + Video track
[   0.029][v][mkv] |   + Display width: 1920
[   0.029][v][mkv] |   + Display height: 1080
[   0.029][v][mkv] |   + Pixel width: 1920
[   0.029][v][mkv] |   + Pixel height: 1080
[   0.029][v][mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[   0.029][v][mkv] |  + CodecPrivate, length 73
[   0.029][v][mkv] |  + Default flag: 0
[   0.029][v][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.029][v][mkv] | + a track...
[   0.029][v][mkv] |  + Track number: 2
[   0.029][v][mkv] |  + Name: Surround 7.1
[   0.029][v][mkv] |  + Track type: Audio
[   0.029][v][mkv] |  + Audio track
[   0.029][v][mkv] |   + Sampling frequency: 48000.000000
[   0.029][v][mkv] |   + Bit depth: 24
[   0.029][v][mkv] |   + Channels: 8
[   0.029][v][mkv] |  + Codec ID: A_DTS
[   0.029][v][mkv] |  + Language: eng
[   0.029][v][mkv] |  + Default flag: 1
[   0.029][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.029][v][mkv] | + a track...
[   0.029][v][mkv] |  + Track number: 3
[   0.029][v][mkv] |  + Name: Surround 5.1
[   0.029][v][mkv] |  + Track type: Audio
[   0.029][v][mkv] |  + Audio track
[   0.029][v][mkv] |   + Sampling frequency: 48000.000000
[   0.029][v][mkv] |   + Channels: 6
[   0.029][v][mkv] |  + Codec ID: A_DTS
[   0.029][v][mkv] |  + Language: eng
[   0.029][v][mkv] |  + Default flag: 0
[   0.029][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.029][v][mkv] |+ found cluster
[   0.029][v][mkv] Seeking to 250029342 to read header element 0x1c53bb6b.
[   0.029][v][cache] Dropping cache at pos 250029342, cached range: 0-1769472.
[   0.029][v][cache] Seeking underlying stream: 1769472 -> 250029342
[   0.029][v][mkv] Parsing cues...
[   0.029][v][mkv] Seeking to 250030354 to read header element 0x1254c367.
[   0.030][v][cache] EOF reached.
[   0.030][v][cache] Dropping cache at pos 2741, cached range: 250029342-250031580.
[   0.030][v][cache] Seeking underlying stream: 250031580 -> 2741
[   0.030][v][mkv] All headers are parsed!
[   0.030][v][demux] Detected file format: Matroska
[   0.030][v][cache] blocking for STREAM_CTRL 6
[   0.031][v][cplayer] Opening done: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.035][v][find_files] Loading external files in \\heimserver\Filme\Videoclips\Dolby Digital Trailer\
[   0.039][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.039][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[   0.039][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.039][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.039][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.040][i][display-tags] File tags:
[   0.040][i][display-tags]  Title: DTS
[   0.041][v][vo/opengl] Initializing OpenGL backend 'angle'
[   0.053][v][vo/opengl] Using Direct3D 11 feature level 10_1
[   0.053][v][vo/opengl] Device: Intel® HD Graphics
[   0.053][v][vo/opengl] VendorId: 0x32902
[   0.053][v][vo/opengl] DeviceId: 0x0258
[   0.053][v][vo/opengl] LUID: 00000000000085c2
[   0.058][v][vo/opengl] EGL_VERSION=1.4 (ANGLE 2.1.0.)
[   0.059][v][vo/opengl] EGL_VENDOR=Google Inc. (adapter LUID: 00000000000085c2)
[   0.059][v][vo/opengl] EGL_CLIENT_APIS=OpenGL_ES
[   0.059][v][vo/opengl] Trying to create GLES 3.x context.
[   0.063][v][vo/opengl/win32] resize window: 1920:1080
[   0.063][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.063][v][vo/opengl/win32] display-fps: 24.000000
[   0.067][v][vo/opengl/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\sRGB Color Space Profile.icm
[   0.088][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.105][v][vo/opengl] Using DXGI 1.2+
[   0.105][v][vo/opengl] Using flip-model presentation
[   0.105][v][vo/opengl] GL_VERSION='OpenGL ES 3.0 (ANGLE 2.1.0.)'
[   0.105][v][vo/opengl] Detected GLES 3.0.
[   0.105][v][vo/opengl] GL_VENDOR='Google Inc.'
[   0.105][v][vo/opengl] GL_RENDERER='ANGLE (Intel® HD Graphics Direct3D11 vs_4_1 ps_4_1)'
[   0.105][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.)'
[   0.106][v][vo/opengl] Loaded extension GL_EXT_texture_norm16.
[   0.106][v][vo/opengl] Loaded extension GL_EXT_color_buffer_half_float.
[   0.106][v][vo/opengl] Loaded extension GL_EXT_disjoint_timer_query.
[   0.106][v][vo/opengl] Loaded extension GL_ANGLE_translated_shader_source.
[   0.107][v][vo/opengl] Testing FBO format rgba16
[   0.107][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.107][v][vo/opengl] Using FBO format rgba16.
[   0.107][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.107][v][vo/opengl] Reported display depth: 10
[   0.109][v][vo/opengl] Resize: 1920x1080
[   0.109][v][vo/opengl] Assuming 24.000000 FPS for display sync.
[   0.109][v][vd] Container reported FPS: 23.976025
[   0.109][v][vd] Codec list:
[   0.109][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.109][v][vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[   0.109][v][vd] Opening video decoder h264
[   0.110][v][vd] Using software decoding.
[   0.110][v][vd] Detected 4 logical cores.
[   0.110][v][vd] Requesting 5 threads for decoding.
[   0.112][v][vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.114][v][ad] Codec list:
[   0.114][v][ad]     spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder
[   0.114][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.114][v][ad] Opening audio decoder spdif_dts_hd
[   0.114][v][ad] Selected audio codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder)
[   0.114][v][cplayer] Starting playback...
[   0.115][v][ad] In: profile=60 samplerate=48000
[   0.116][v][af] Audio filter chain:
[   0.116][v][af]   [in] 192000Hz 7.1 8ch spdif-dtshd
[   0.116][v][af]   [out] 192000Hz 7.1 8ch spdif-dtshd
[   0.116][v][af]   [ao] 192000Hz 7.1 8ch spdif-dtshd
[   0.116][v][ao] Trying audio driver 'wasapi'
[   0.116][v][ao/wasapi] requested format: 192000 Hz, 7.1 channels, spdif-dtshd
[   0.123][v][ao/wasapi] No device specified. Selecting default.
[   0.124][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.124][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.141][v][ao/wasapi] Trying 7.1 spdif-dtshd (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.141][v][ao/wasapi] Retrying as AC3.
[   0.142][v][ao/wasapi] Trying 7.1 spdif-ac3 (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.142][f][ao/wasapi] Received failure from audio thread
[   0.143][e][ao] Failed to initialize audio driver 'wasapi'
[   0.143][v][cplayer] Falling back to PCM output.
[   0.143][v][ad] Uninit audio decoder.
[   0.143][v][ad] Codec list:
[   0.143][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.143][v][ad] Opening audio decoder dca
[   0.143][v][ad] Requesting 1 threads for decoding.
[   0.144][v][ad] Selected audio codec: dca (DCA (DTS Coherent Acoustics))
[   0.144][v][ffmpeg/audio] dca: Forcing XLL recovery mode
[   0.144][v][af] Audio filter chain:
[   0.144][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.144][v][af]   [out] 48000Hz 7.1 8ch s32p
[   0.144][v][af]   [ao] 48000Hz 7.1 8ch s32p
[   0.144][v][ao] Trying audio driver 'wasapi'
[   0.145][v][ao/wasapi] requested format: 48000 Hz, 5.1 channels, s32p
[   0.145][v][ao/wasapi] No device specified. Selecting default.
[   0.146][v][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: yuv420p
[   0.146][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.146][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.158][v][ao/wasapi] Trying 5.1 s32 (32/32 bits) @ 48000hz (shared) -> ok
[   0.158][v][ao/wasapi] Closest match is stereo float (32/32 bits) @ 48000hz
[   0.158][v][ao/wasapi] Accepted as stereo float @ 48000hz -> stereo float (32/32 bits) @ 48000hz (shared)
[   0.158][v][ao/wasapi] Device period: 10 ms
[   0.163][v][ao/wasapi] Buffer frame count: 2400 (50 ms)
[   0.163][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 384000.
[   0.166][v][ao/wasapi] device buffer: 2400 samples.
[   0.166][v][ao/wasapi] using soft-buffer of 9600 samples.
[   0.166][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch float
[   0.166][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.166][v][af] Adding filter lavrresample 
[   0.166][v][lavrresample] Remix: 7.1 -> stereo
[   0.166][v][af] Audio filter chain:
[   0.166][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.166][v][af]   [lavrresample] 48000Hz stereo 2ch float [a]
[   0.166][v][af]   [out] 48000Hz stereo 2ch float
[   0.166][v][af]   [ao] 48000Hz stereo 2ch float
[   0.202][v][vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[   0.202][v][vd] Using container aspect ratio.
[   0.206][v][vf] Video filter chain:
[   0.207][v][vf]   [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.207][v][vf]   [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.207][i][cplayer] VO: [opengl] 1920x1080 yuv420p
[   0.207][v][cplayer] VO: Description: Extended OpenGL Renderer
[   0.207][v][vo/opengl] Resize: 1920x1080
[   0.207][v][vo/opengl] Window size: 1920x1080
[   0.207][v][vo/opengl] Video source: 1920x1080 (1:1)
[   0.207][v][vo/opengl] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[   0.207][v][vo/opengl] Video scale: 1.000000/1.000000
[   0.207][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
[   0.207][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
[   0.207][v][vo/opengl] Testing FBO format rgba16
[   0.207][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.208][v][vo/opengl] Using FBO format rgba16.
[   0.209][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.209][v][vo/opengl] Texture for plane 0: 1920x1080
[   0.209][v][vo/opengl] Texture for plane 1: 960x540
[   0.209][v][vo/opengl] Texture for plane 2: 960x540
[   0.214][v][vo/opengl] new shader program:
[   0.214][v][vo/opengl] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.214][v][vo/opengl] [  2] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[   0.214][v][vo/opengl] [  3] color.b = 1.000000 * vec4(texture(texture2, texcoord2)).r;
[   0.214][v][vo/opengl] [  4] color = color.rgbr;
[   0.214][v][vo/opengl] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.214][v][vo/opengl] [  6] color.a = 1.0;
[   0.214][v][vo/opengl] [  7] // color mapping
[   0.227][v][vo/opengl] shader link log (status=1): 
[   0.227][v][vo/opengl] 
[   0.227][v][vo/opengl] 
[   0.227][v][vo/opengl] 
[   0.231][v][cplayer] first video frame after restart shown
[   0.231][v][cplayer] starting audio playback
[   0.231][v][cplayer] playback restart complete
[   0.242][i][cplayer] Track switched:
[   0.242][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.242][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.242][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.242][v][cplayer] Set property: aid=1 -> 1
[   0.243][i][cplayer] Track switched:
[   0.243][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.243][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.243][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.243][v][cplayer] Set property: sid="no" -> 1
[   6.295][v][ad] Uninit audio decoder.
[   6.295][v][af] Removing filter lavrresample 
[   6.302][v][mkv] refresh seek to 5.048000
[   6.302][v][ad] Codec list:
[   6.302][v][ad]     spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder
[   6.302][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   6.302][v][ad] Opening audio decoder spdif_dts_hd
[   6.302][v][ad] Selected audio codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder)
[   6.302][i][cplayer] Track switched:
[   6.302][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   6.302][i][cplayer]      Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   6.302][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   6.302][v][cplayer] Set property: aid=2 -> 1
[   6.303][v][ad] In: profile=20 samplerate=48000
[   6.303][v][af] Audio filter chain:
[   6.303][v][af]   [in] 48000Hz stereo 2ch spdif-dts
[   6.303][v][af]   [out] 48000Hz stereo 2ch spdif-dts
[   6.303][v][af]   [ao] 48000Hz stereo 2ch spdif-dts
[   6.303][v][ao] Trying audio driver 'wasapi'
[   6.303][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-dts
[   6.304][v][ao/wasapi] No device specified. Selecting default.
[   6.305][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   6.305][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   6.317][v][ao/wasapi] Trying stereo spdif-dts (16/16 bits) @ 48000hz (exclusive) -> unsupported
[   6.317][v][ao/wasapi] Retrying as AC3.
[   6.324][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok
[   6.324][v][ao/wasapi] Accepted as stereo spdif-dts @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive)
[   6.325][v][ao/wasapi] Device period: 10 ms
[   6.358][v][ao/wasapi] Buffer frame count: 480 (10 ms)
[   6.358][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000.
[   6.359][v][ao/wasapi] device buffer: 480 samples.
[   6.359][v][ao/wasapi] using soft-buffer of 9728 samples.
[   6.359][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-dts
[   6.359][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   6.364][v][cplayer] starting audio playback
[  32.949][v][cache] EOF reached.
[  49.669][v][mkv] EOF reached.
[  60.012][v][cplayer] audio EOF reached
[  60.096][v][cplayer] video EOF reached
[  60.096][v][cplayer] EOF code: 1  
[  60.096][v][ad] Uninit audio decoder.
[  60.096][v][vd] Uninit video.
[  60.100][v][cache] Terminating cache...
[  60.100][v][cache] Cache exiting...
[  60.122][v][cplayer] finished playback, success (reason 0)
[  60.122][i][cplayer] 
[  60.181][v][vo/opengl] flushing shader cache
[  60.184][v][vo/opengl/win32] uninit
[  60.286][v][cplayer] Run command: stop, flags=0, args=[]
[  60.287][v][cplayer] Run command: quit, flags=0, args=[0]
[  60.287][i][cplayer] 
[  60.287][i][cplayer] Exiting... (Quit)
[  60.287][v][ipc_0] Exiting...
[  60.287][v][ytdl_hook] Exiting...
[  60.288][v][refreshrate] Exiting...


#27 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 03:53 PM

test no 2:

- dts and dtshd both unchecked

- I selected 5.1 track before starting the video

- when playing switching from 7.1 track to the 5.1 track via overlay menu was not necessary, because 5.1 was selected

- before and after trying to switch via overlay --> no sound

 

here is the log:

 

[   0.012][v][cplayer] mpv 0.27.0 © 2000-2017 mpv/MPlayer/mplayer2 projects
[   0.013][v][cplayer]  built on Wed Sep 13 04:18:08 CEST 2017
[   0.013][v][cplayer] ffmpeg library versions:
[   0.013][v][cplayer]    libavutil       55.74.100
[   0.013][v][cplayer]    libavcodec      57.105.100
[   0.013][v][cplayer]    libavformat     57.82.100
[   0.013][v][cplayer]    libswscale      4.7.103
[   0.013][v][cplayer]    libavfilter     6.105.100
[   0.013][v][cplayer]    libswresample   2.8.100
[   0.013][v][cplayer] ffmpeg version: N-87286-g6ce4a635ed
[   0.013][v][cplayer] 
[   0.013][v][cplayer] Configuration: /home/lachs0r/mingw-w64-cmake/buildroot/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-encoding --enable-egl-angle-lib --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --prefix=/home/lachs0r/mingw-w64-cmake/buildroot/build64/prefix/mingw
[   0.013][v][cplayer] List of enabled features: asm atomics avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical build-date cplayer cuda-hwaccel d3d-hwaccel d3d-hwaccel-new d3d9-hwaccel debug-build direct3d dos-paths dvdnav dvdread dvdread-common egl-angle egl-angle-lib egl-angle-win32 egl-helpers encoding gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc iconv is_ffmpeg javascript jpeg lcms2 libarchive libass libass-osd libav libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack optimize plain-gl posix-or-mingw rubberband static-build stdatomic uchardet wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
[   0.013][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.014][v][ytdl_hook] loading mp.defaults
[   0.014][v][ytdl_hook] loading @ytdl_hook.lua
[   0.016][v][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.016][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[   0.016][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[   0.016][v][cplayer] Done loading @ytdl_hook.lua.
[   0.016][v][ipc] Starting IPC master
[   0.017][v][ipc] Listening to IPC pipe.
[   0.017][v][refreshrate] Loading lua script C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua...
[   0.017][v][refreshrate] loading mp.defaults
[   0.018][v][refreshrate] loading file C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua
[   0.018][v][ipc_0] Client connected
[   0.020][v][cplayer] Set property: volume=100 -> 1
[   0.020][v][cplayer] Run command: loadfile, flags=0, args=[\\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv, replace, ]
[   0.020][v][cplayer] Done loading C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua.
[   0.021][i][cplayer] Playing: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.021][v][cplayer] Running hook: ytdl_hook/on_load
[   0.021][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[   0.021][v][ifo] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.021][v][ifo_dvdnav] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.022][v][bdmv/bluray] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.023][v][file] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.024][v][file] Stream opened successfully.
[   0.024][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[   0.024][v][demux] Trying demuxers for level=normal.
[   0.026][v][mkv] Found the head...
[   0.026][v][mkv] + a segment...
[   0.027][v][mkv] Parsing seek head...
[   0.027][v][mkv] |+ segment information...
[   0.027][v][mkv] | + muxing app: libmakemkv v1.10.2 (1.3.3/1.4.4) win(x64-release)
[   0.027][v][mkv] | + writing app: MakeMKV v1.10.2 win(x64-release)
[   0.027][v][mkv] | + timecode scale: 1000000
[   0.027][v][mkv] | + duration: 59.934s
[   0.027][v][mkv] | + segment uid e1 15 8f 28 39 c9 23 2a 7d 34 e2 c5 6c 65 f3 f1
[   0.027][v][mkv] |+ segment tracks...
[   0.027][v][mkv] | + a track...
[   0.027][v][mkv] |  + Track number: 1
[   0.027][v][mkv] |  + Track type: Video
[   0.027][v][mkv] |  + Video track
[   0.027][v][mkv] |   + Display width: 1920
[   0.027][v][mkv] |   + Display height: 1080
[   0.027][v][mkv] |   + Pixel width: 1920
[   0.027][v][mkv] |   + Pixel height: 1080
[   0.027][v][mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[   0.027][v][mkv] |  + CodecPrivate, length 73
[   0.027][v][mkv] |  + Default flag: 0
[   0.027][v][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.027][v][mkv] | + a track...
[   0.027][v][mkv] |  + Track number: 2
[   0.027][v][mkv] |  + Name: Surround 7.1
[   0.027][v][mkv] |  + Track type: Audio
[   0.027][v][mkv] |  + Audio track
[   0.027][v][mkv] |   + Sampling frequency: 48000.000000
[   0.027][v][mkv] |   + Bit depth: 24
[   0.028][v][mkv] |   + Channels: 8
[   0.028][v][mkv] |  + Codec ID: A_DTS
[   0.028][v][mkv] |  + Language: eng
[   0.028][v][mkv] |  + Default flag: 1
[   0.028][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.028][v][mkv] | + a track...
[   0.028][v][mkv] |  + Track number: 3
[   0.028][v][mkv] |  + Name: Surround 5.1
[   0.028][v][mkv] |  + Track type: Audio
[   0.028][v][mkv] |  + Audio track
[   0.028][v][mkv] |   + Sampling frequency: 48000.000000
[   0.028][v][mkv] |   + Channels: 6
[   0.028][v][mkv] |  + Codec ID: A_DTS
[   0.028][v][mkv] |  + Language: eng
[   0.028][v][mkv] |  + Default flag: 0
[   0.028][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.028][v][mkv] |+ found cluster
[   0.028][v][mkv] Seeking to 250029342 to read header element 0x1c53bb6b.
[   0.028][v][cache] Dropping cache at pos 250029342, cached range: 0-2097152.
[   0.028][v][cache] Seeking underlying stream: 2097152 -> 250029342
[   0.028][v][mkv] Parsing cues...
[   0.028][v][mkv] Seeking to 250030354 to read header element 0x1254c367.
[   0.029][v][cache] EOF reached.
[   0.029][v][cache] Dropping cache at pos 2741, cached range: 250029342-250031580.
[   0.029][v][cache] Seeking underlying stream: 250031580 -> 2741
[   0.029][v][mkv] All headers are parsed!
[   0.029][v][demux] Detected file format: Matroska
[   0.029][v][cache] blocking for STREAM_CTRL 6
[   0.030][v][cplayer] Opening done: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.036][v][find_files] Loading external files in \\heimserver\Filme\Videoclips\Dolby Digital Trailer\
[   0.039][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.039][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[   0.039][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.039][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.040][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.040][i][display-tags] File tags:
[   0.040][i][display-tags]  Title: DTS
[   0.041][v][vo/opengl] Initializing OpenGL backend 'angle'
[   0.054][v][vo/opengl] Using Direct3D 11 feature level 10_1
[   0.054][v][vo/opengl] Device: Intel® HD Graphics
[   0.054][v][vo/opengl] VendorId: 0x32902
[   0.054][v][vo/opengl] DeviceId: 0x0258
[   0.054][v][vo/opengl] LUID: 00000000000085c2
[   0.058][v][vo/opengl] EGL_VERSION=1.4 (ANGLE 2.1.0.)
[   0.058][v][vo/opengl] EGL_VENDOR=Google Inc. (adapter LUID: 00000000000085c2)
[   0.058][v][vo/opengl] EGL_CLIENT_APIS=OpenGL_ES
[   0.058][v][vo/opengl] Trying to create GLES 3.x context.
[   0.062][v][vo/opengl/win32] resize window: 1920:1080
[   0.062][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.062][v][vo/opengl/win32] display-fps: 24.000000
[   0.066][v][vo/opengl/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\sRGB Color Space Profile.icm
[   0.089][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.105][v][vo/opengl] Using DXGI 1.2+
[   0.105][v][vo/opengl] Using flip-model presentation
[   0.105][v][vo/opengl] GL_VERSION='OpenGL ES 3.0 (ANGLE 2.1.0.)'
[   0.105][v][vo/opengl] Detected GLES 3.0.
[   0.105][v][vo/opengl] GL_VENDOR='Google Inc.'
[   0.105][v][vo/opengl] GL_RENDERER='ANGLE (Intel® HD Graphics Direct3D11 vs_4_1 ps_4_1)'
[   0.105][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.)'
[   0.105][v][vo/opengl] Loaded extension GL_EXT_texture_norm16.
[   0.105][v][vo/opengl] Loaded extension GL_EXT_color_buffer_half_float.
[   0.105][v][vo/opengl] Loaded extension GL_EXT_disjoint_timer_query.
[   0.106][v][vo/opengl] Loaded extension GL_ANGLE_translated_shader_source.
[   0.106][v][vo/opengl] Testing FBO format rgba16
[   0.106][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.107][v][vo/opengl] Using FBO format rgba16.
[   0.107][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.107][v][vo/opengl] Reported display depth: 10
[   0.108][v][vo/opengl] Resize: 1920x1080
[   0.108][v][vo/opengl] Assuming 24.000000 FPS for display sync.
[   0.108][v][vd] Container reported FPS: 23.976025
[   0.109][v][vd] Codec list:
[   0.109][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.109][v][vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[   0.109][v][vd] Opening video decoder h264
[   0.109][v][vd] Using software decoding.
[   0.109][v][vd] Detected 4 logical cores.
[   0.109][v][vd] Requesting 5 threads for decoding.
[   0.111][v][vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.113][v][ad] Codec list:
[   0.113][v][ad]     spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder
[   0.113][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.113][v][ad] Opening audio decoder spdif_dts_hd
[   0.113][v][ad] Selected audio codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder)
[   0.113][v][cplayer] Starting playback...
[   0.114][v][ad] In: profile=60 samplerate=48000
[   0.115][v][af] Audio filter chain:
[   0.115][v][af]   [in] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][af]   [out] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][af]   [ao] 192000Hz 7.1 8ch spdif-dtshd
[   0.115][v][ao] Trying audio driver 'wasapi'
[   0.115][v][ao/wasapi] requested format: 192000 Hz, 7.1 channels, spdif-dtshd
[   0.123][v][ao/wasapi] No device specified. Selecting default.
[   0.125][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.125][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.142][v][ao/wasapi] Trying 7.1 spdif-dtshd (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.142][v][ao/wasapi] Retrying as AC3.
[   0.143][v][ao/wasapi] Trying 7.1 spdif-ac3 (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.143][f][ao/wasapi] Received failure from audio thread
[   0.144][e][ao] Failed to initialize audio driver 'wasapi'
[   0.144][v][cplayer] Falling back to PCM output.
[   0.144][v][ad] Uninit audio decoder.
[   0.144][v][ad] Codec list:
[   0.144][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.144][v][ad] Opening audio decoder dca
[   0.144][v][ad] Requesting 1 threads for decoding.
[   0.145][v][ad] Selected audio codec: dca (DCA (DTS Coherent Acoustics))
[   0.145][v][ffmpeg/audio] dca: Forcing XLL recovery mode
[   0.145][v][af] Audio filter chain:
[   0.145][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.145][v][af]   [out] 48000Hz 7.1 8ch s32p
[   0.146][v][af]   [ao] 48000Hz 7.1 8ch s32p
[   0.146][v][ao] Trying audio driver 'wasapi'
[   0.146][v][ao/wasapi] requested format: 48000 Hz, 5.1 channels, s32p
[   0.146][v][ao/wasapi] No device specified. Selecting default.
[   0.146][v][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: yuv420p
[   0.147][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.147][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.158][v][ao/wasapi] Trying 5.1 s32 (32/32 bits) @ 48000hz (shared) -> ok
[   0.158][v][ao/wasapi] Closest match is stereo float (32/32 bits) @ 48000hz
[   0.158][v][ao/wasapi] Accepted as stereo float @ 48000hz -> stereo float (32/32 bits) @ 48000hz (shared)
[   0.159][v][ao/wasapi] Device period: 10 ms
[   0.164][v][ao/wasapi] Buffer frame count: 2400 (50 ms)
[   0.164][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 384000.
[   0.167][v][ao/wasapi] device buffer: 2400 samples.
[   0.167][v][ao/wasapi] using soft-buffer of 9600 samples.
[   0.167][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch float
[   0.167][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.167][v][af] Adding filter lavrresample 
[   0.167][v][lavrresample] Remix: 7.1 -> stereo
[   0.167][v][af] Audio filter chain:
[   0.167][v][af]   [in] 48000Hz 7.1 8ch s32p
[   0.167][v][af]   [lavrresample] 48000Hz stereo 2ch float [a]
[   0.167][v][af]   [out] 48000Hz stereo 2ch float
[   0.167][v][af]   [ao] 48000Hz stereo 2ch float
[   0.206][v][vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[   0.206][v][vd] Using container aspect ratio.
[   0.209][v][vf] Video filter chain:
[   0.209][v][vf]   [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.209][v][vf]   [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.210][i][cplayer] VO: [opengl] 1920x1080 yuv420p
[   0.210][v][cplayer] VO: Description: Extended OpenGL Renderer
[   0.210][v][vo/opengl] Resize: 1920x1080
[   0.210][v][vo/opengl] Window size: 1920x1080
[   0.210][v][vo/opengl] Video source: 1920x1080 (1:1)
[   0.210][v][vo/opengl] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[   0.210][v][vo/opengl] Video scale: 1.000000/1.000000
[   0.210][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
[   0.210][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
[   0.210][v][vo/opengl] Testing FBO format rgba16
[   0.210][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.211][v][vo/opengl] Using FBO format rgba16.
[   0.211][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.211][v][vo/opengl] Texture for plane 0: 1920x1080
[   0.211][v][vo/opengl] Texture for plane 1: 960x540
[   0.211][v][vo/opengl] Texture for plane 2: 960x540
[   0.215][v][vo/opengl] new shader program:
[   0.215][v][vo/opengl] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.215][v][vo/opengl] [  2] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[   0.215][v][vo/opengl] [  3] color.b = 1.000000 * vec4(texture(texture2, texcoord2)).r;
[   0.215][v][vo/opengl] [  4] color = color.rgbr;
[   0.215][v][vo/opengl] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.215][v][vo/opengl] [  6] color.a = 1.0;
[   0.215][v][vo/opengl] [  7] // color mapping
[   0.229][v][vo/opengl] shader link log (status=1): 
[   0.229][v][vo/opengl] 
[   0.229][v][vo/opengl] 
[   0.229][v][vo/opengl] 
[   0.233][v][cplayer] first video frame after restart shown
[   0.233][v][cplayer] starting audio playback
[   0.233][v][cplayer] playback restart complete
[   0.237][v][ad] Uninit audio decoder.
[   0.237][v][af] Removing filter lavrresample 
[   0.253][v][mkv] refresh seek to -0.958000
[   0.254][v][ad] Codec list:
[   0.254][v][ad]     spdif_dts_hd (dts) - libavformat/spdifenc audio pass-through decoder
[   0.254][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.254][v][ad] Opening audio decoder spdif_dts_hd
[   0.254][v][ad] Selected audio codec: spdif_dts_hd (libavformat/spdifenc audio pass-through decoder)
[   0.255][i][cplayer] Track switched:
[   0.255][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.255][i][cplayer]      Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.255][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.255][v][cplayer] Set property: aid=2 -> 1
[   0.260][i][cplayer] Track switched:
[   0.260][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.260][i][cplayer]      Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.260][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.260][v][cplayer] Set property: sid="no" -> 1
[   0.261][v][ad] In: profile=20 samplerate=48000
[   0.261][v][af] Audio filter chain:
[   0.261][v][af]   [in] 48000Hz stereo 2ch spdif-dts
[   0.261][v][af]   [out] 48000Hz stereo 2ch spdif-dts
[   0.261][v][af]   [ao] 48000Hz stereo 2ch spdif-dts
[   0.261][v][ao] Trying audio driver 'wasapi'
[   0.261][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-dts
[   0.265][v][ao/wasapi] No device specified. Selecting default.
[   0.271][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.271][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.281][v][ao/wasapi] Trying stereo spdif-dts (16/16 bits) @ 48000hz (exclusive) -> unsupported
[   0.281][v][ao/wasapi] Retrying as AC3.
[   0.282][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok
[   0.282][v][ao/wasapi] Accepted as stereo spdif-dts @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive)
[   0.282][v][ao/wasapi] Device period: 10 ms
[   0.311][v][ao/wasapi] Buffer frame count: 480 (10 ms)
[   0.311][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000.
[   0.312][v][ao/wasapi] device buffer: 480 samples.
[   0.312][v][ao/wasapi] using soft-buffer of 9728 samples.
[   0.312][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-dts
[   0.312][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.323][v][cplayer] starting audio playback
[  32.909][v][cache] EOF reached.
[  49.652][v][mkv] EOF reached.
[  59.942][v][cplayer] audio EOF reached
[  60.056][v][cplayer] video EOF reached
[  60.056][v][cplayer] EOF code: 1  
[  60.056][v][ad] Uninit audio decoder.
[  60.056][v][vd] Uninit video.
[  60.059][v][cache] Terminating cache...
[  60.059][v][cache] Cache exiting...
[  60.084][v][cplayer] finished playback, success (reason 0)
[  60.084][i][cplayer] 
[  60.145][v][vo/opengl] flushing shader cache
[  60.149][v][vo/opengl/win32] uninit
[  60.289][v][cplayer] Run command: stop, flags=0, args=[]
[  60.290][v][cplayer] Run command: quit, flags=0, args=[0]
[  60.290][i][cplayer] 
[  60.290][i][cplayer] Exiting... (Quit)
[  60.290][v][ipc_0] Exiting...
[  60.290][v][ytdl_hook] Exiting...
[  60.291][v][refreshrate] Exiting...


#28 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 03:57 PM

test no 3:

- dts chekced and dtshd unchecked

- I selected 5.1 track before starting the video

- when playing switching from 7.1 track to the 5.1 track via overlay menu was not necessary, because 5.1 was selected

- before and after trying to switch via overlay --> no sound

 

here is the log:

 


[   0.011][v][cplayer] mpv 0.27.0 © 2000-2017 mpv/MPlayer/mplayer2 projects
[   0.012][v][cplayer]  built on Wed Sep 13 04:18:08 CEST 2017
[   0.012][v][cplayer] ffmpeg library versions:
[   0.012][v][cplayer]    libavutil       55.74.100
[   0.012][v][cplayer]    libavcodec      57.105.100
[   0.012][v][cplayer]    libavformat     57.82.100
[   0.012][v][cplayer]    libswscale      4.7.103
[   0.012][v][cplayer]    libavfilter     6.105.100
[   0.012][v][cplayer]    libswresample   2.8.100
[   0.012][v][cplayer] ffmpeg version: N-87286-g6ce4a635ed
[   0.012][v][cplayer] 
[   0.012][v][cplayer] Configuration: /home/lachs0r/mingw-w64-cmake/buildroot/build64/packages/mpv-prefix/src/mpv/waf configure --enable-static-build --enable-pdf-build --disable-manpage-build --enable-libmpv-shared --enable-encoding --enable-egl-angle-lib --enable-lua --enable-javascript --enable-libarchive --enable-libass --enable-libbluray --enable-dvdread --enable-dvdnav --enable-uchardet --enable-rubberband --enable-lcms2 --prefix=/home/lachs0r/mingw-w64-cmake/buildroot/build64/prefix/mingw
[   0.012][v][cplayer] List of enabled features: asm atomics avutil-content-light-level avutil-icc-profile avutil-imgcpy-uc avutil-spherical build-date cplayer cuda-hwaccel d3d-hwaccel d3d-hwaccel-new d3d9-hwaccel debug-build direct3d dos-paths dvdnav dvdread dvdread-common egl-angle egl-angle-lib egl-angle-win32 egl-helpers encoding gl gl-dxinterop gl-dxinterop-d3d9 gl-win32 glob glob-win32 gnuc iconv is_ffmpeg javascript jpeg lcms2 libarchive libass libass-osd libav libavcodec libavdevice libbluray libm libmpv-shared lua luajit mingw noexecstack optimize plain-gl posix-or-mingw rubberband static-build stdatomic uchardet wasapi win32-desktop win32-internal-pthreads win32-pipes zlib
[   0.012][v][ytdl_hook] Loading lua script @ytdl_hook.lua...
[   0.013][v][ytdl_hook] loading mp.defaults
[   0.013][v][ytdl_hook] loading @ytdl_hook.lua
[   0.014][v][ytdl_hook] lua-settings/ytdl_hook.conf not found. 
[   0.014][v][cplayer] Run command: hook-add, flags=0, args=[on_load, 1, 10]
[   0.014][v][cplayer] Run command: hook-add, flags=0, args=[on_preloaded, 2, 10]
[   0.014][v][cplayer] Done loading @ytdl_hook.lua.
[   0.014][v][ipc] Starting IPC master
[   0.015][v][refreshrate] Loading lua script C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua...
[   0.015][v][ipc] Listening to IPC pipe.
[   0.015][v][ipc_0] Client connected
[   0.016][v][refreshrate] loading mp.defaults
[   0.016][v][refreshrate] loading file C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua
[   0.017][v][cplayer] Set property: volume=100 -> 1
[   0.017][v][cplayer] Run command: loadfile, flags=0, args=[\\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv, replace, ]
[   0.017][v][cplayer] Done loading C:/Users/htpch/AppData/Roaming/Emby-Theater/system/x64/mpv/scripts/refreshrate.lua.
[   0.018][i][cplayer] Playing: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.018][v][cplayer] Running hook: ytdl_hook/on_load
[   0.018][v][cplayer] Run command: hook-ack, flags=0, args=[on_load]
[   0.018][v][ifo] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.018][v][ifo_dvdnav] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.019][v][bdmv/bluray] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.020][v][file] Opening \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.021][v][file] Stream opened successfully.
[   0.021][v][cache] Cache size set to 150000 KiB (75000 KiB backbuffer)
[   0.022][v][demux] Trying demuxers for level=normal.
[   0.024][v][mkv] Found the head...
[   0.024][v][mkv] + a segment...
[   0.024][v][mkv] Parsing seek head...
[   0.024][v][mkv] |+ segment information...
[   0.024][v][mkv] | + muxing app: libmakemkv v1.10.2 (1.3.3/1.4.4) win(x64-release)
[   0.025][v][mkv] | + writing app: MakeMKV v1.10.2 win(x64-release)
[   0.025][v][mkv] | + timecode scale: 1000000
[   0.025][v][mkv] | + duration: 59.934s
[   0.025][v][mkv] | + segment uid e1 15 8f 28 39 c9 23 2a 7d 34 e2 c5 6c 65 f3 f1
[   0.025][v][mkv] |+ segment tracks...
[   0.025][v][mkv] | + a track...
[   0.025][v][mkv] |  + Track number: 1
[   0.025][v][mkv] |  + Track type: Video
[   0.025][v][mkv] |  + Video track
[   0.025][v][mkv] |   + Display width: 1920
[   0.025][v][mkv] |   + Display height: 1080
[   0.025][v][mkv] |   + Pixel width: 1920
[   0.025][v][mkv] |   + Pixel height: 1080
[   0.025][v][mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[   0.025][v][mkv] |  + CodecPrivate, length 73
[   0.025][v][mkv] |  + Default flag: 0
[   0.025][v][mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[   0.025][v][mkv] | + a track...
[   0.025][v][mkv] |  + Track number: 2
[   0.025][v][mkv] |  + Name: Surround 7.1
[   0.025][v][mkv] |  + Track type: Audio
[   0.025][v][mkv] |  + Audio track
[   0.025][v][mkv] |   + Sampling frequency: 48000.000000
[   0.025][v][mkv] |   + Bit depth: 24
[   0.025][v][mkv] |   + Channels: 8
[   0.025][v][mkv] |  + Codec ID: A_DTS
[   0.025][v][mkv] |  + Language: eng
[   0.025][v][mkv] |  + Default flag: 1
[   0.025][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.025][v][mkv] | + a track...
[   0.025][v][mkv] |  + Track number: 3
[   0.025][v][mkv] |  + Name: Surround 5.1
[   0.025][v][mkv] |  + Track type: Audio
[   0.025][v][mkv] |  + Audio track
[   0.025][v][mkv] |   + Sampling frequency: 48000.000000
[   0.025][v][mkv] |   + Channels: 6
[   0.025][v][mkv] |  + Codec ID: A_DTS
[   0.025][v][mkv] |  + Language: eng
[   0.025][v][mkv] |  + Default flag: 0
[   0.025][v][mkv] |  + Default duration: 10.667ms ( = 93.750 fps)
[   0.025][v][mkv] |+ found cluster
[   0.025][v][mkv] Seeking to 250029342 to read header element 0x1c53bb6b.
[   0.025][v][cache] Dropping cache at pos 250029342, cached range: 0-2097152.
[   0.025][v][cache] Seeking underlying stream: 2097152 -> 250029342
[   0.025][v][mkv] Parsing cues...
[   0.025][v][mkv] Seeking to 250030354 to read header element 0x1254c367.
[   0.026][v][cache] EOF reached.
[   0.026][v][cache] Dropping cache at pos 2741, cached range: 250029342-250031580.
[   0.026][v][cache] Seeking underlying stream: 250031580 -> 2741
[   0.026][v][mkv] All headers are parsed!
[   0.026][v][demux] Detected file format: Matroska
[   0.026][v][cache] blocking for STREAM_CTRL 6
[   0.027][v][cplayer] Opening done: \\heimserver\Filme\Videoclips\Dolby Digital Trailer\DTS_HD_OUT_OF_THE_BOX_60-thedigitaltheater.mkv
[   0.033][v][find_files] Loading external files in \\heimserver\Filme\Videoclips\Dolby Digital Trailer\
[   0.037][v][cplayer] Running hook: ytdl_hook/on_preloaded
[   0.037][v][cplayer] Run command: hook-ack, flags=0, args=[on_preloaded]
[   0.037][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.037][i][cplayer]  (+) Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.037][i][cplayer]      Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.037][i][display-tags] File tags:
[   0.037][i][display-tags]  Title: DTS
[   0.039][v][vo/opengl] Initializing OpenGL backend 'angle'
[   0.052][v][vo/opengl] Using Direct3D 11 feature level 10_1
[   0.052][v][vo/opengl] Device: Intel® HD Graphics
[   0.052][v][vo/opengl] VendorId: 0x32902
[   0.052][v][vo/opengl] DeviceId: 0x0258
[   0.052][v][vo/opengl] LUID: 00000000000085c2
[   0.056][v][vo/opengl] EGL_VERSION=1.4 (ANGLE 2.1.0.)
[   0.056][v][vo/opengl] EGL_VENDOR=Google Inc. (adapter LUID: 00000000000085c2)
[   0.056][v][vo/opengl] EGL_CLIENT_APIS=OpenGL_ES
[   0.056][v][vo/opengl] Trying to create GLES 3.x context.
[   0.060][v][vo/opengl/win32] resize window: 1920:1080
[   0.060][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.060][v][vo/opengl/win32] display-fps: 24.000000
[   0.064][v][vo/opengl/win32] color-profile: C:\WINDOWS\system32\spool\drivers\color\sRGB Color Space Profile.icm
[   0.086][v][vo/opengl/win32] DPI detected from the new API: 96
[   0.099][v][vo/opengl] Using DXGI 1.2+
[   0.099][v][vo/opengl] Using flip-model presentation
[   0.099][v][vo/opengl] GL_VERSION='OpenGL ES 3.0 (ANGLE 2.1.0.)'
[   0.099][v][vo/opengl] Detected GLES 3.0.
[   0.099][v][vo/opengl] GL_VENDOR='Google Inc.'
[   0.099][v][vo/opengl] GL_RENDERER='ANGLE (Intel® HD Graphics Direct3D11 vs_4_1 ps_4_1)'
[   0.099][v][vo/opengl] GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.00 (ANGLE 2.1.0.)'
[   0.099][v][vo/opengl] Loaded extension GL_EXT_texture_norm16.
[   0.099][v][vo/opengl] Loaded extension GL_EXT_color_buffer_half_float.
[   0.099][v][vo/opengl] Loaded extension GL_EXT_disjoint_timer_query.
[   0.100][v][vo/opengl] Loaded extension GL_ANGLE_translated_shader_source.
[   0.100][v][vo/opengl] Testing FBO format rgba16
[   0.100][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.101][v][vo/opengl] Using FBO format rgba16.
[   0.101][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.101][v][vo/opengl] Reported display depth: 10
[   0.102][v][vo/opengl] Resize: 1920x1080
[   0.102][v][vo/opengl] Assuming 24.000000 FPS for display sync.
[   0.103][v][vd] Container reported FPS: 23.976025
[   0.103][v][vd] Codec list:
[   0.103][v][vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[   0.103][v][vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[   0.103][v][vd] Opening video decoder h264
[   0.103][v][vd] Using software decoding.
[   0.103][v][vd] Detected 4 logical cores.
[   0.103][v][vd] Requesting 5 threads for decoding.
[   0.104][v][vd] Selected video codec: h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[   0.105][v][ad] Codec list:
[   0.105][v][ad]     spdif_dts (dts) - libavformat/spdifenc audio pass-through decoder
[   0.105][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.105][v][ad] Opening audio decoder spdif_dts
[   0.105][v][ad] Selected audio codec: spdif_dts (libavformat/spdifenc audio pass-through decoder)
[   0.105][v][cplayer] Starting playback...
[   0.106][v][ad] In: profile=60 samplerate=48000
[   0.106][v][af] Audio filter chain:
[   0.106][v][af]   [in] 48000Hz stereo 2ch spdif-dts
[   0.106][v][af]   [out] 48000Hz stereo 2ch spdif-dts
[   0.106][v][af]   [ao] 48000Hz stereo 2ch spdif-dts
[   0.106][v][ao] Trying audio driver 'wasapi'
[   0.106][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-dts
[   0.117][v][ao/wasapi] No device specified. Selecting default.
[   0.119][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.119][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.135][v][ao/wasapi] Trying stereo spdif-dts (16/16 bits) @ 48000hz (exclusive) -> unsupported
[   0.135][v][ao/wasapi] Retrying as AC3.
[   0.137][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok
[   0.137][v][ao/wasapi] Accepted as stereo spdif-dts @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive)
[   0.137][v][ao/wasapi] Device period: 10 ms
[   0.157][v][ao/wasapi] Buffer frame count: 480 (10 ms)
[   0.157][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000.
[   0.160][v][ao/wasapi] device buffer: 480 samples.
[   0.160][v][ao/wasapi] using soft-buffer of 9728 samples.
[   0.160][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-dts
[   0.160][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.162][v][ffmpeg/video] h264: Reinit context to 1920x1088, pix_fmt: yuv420p
[   0.205][v][vd] Decoder format: 1920x1080 yuv420p auto/auto/auto/auto CL=mpeg2/4/h264 (auto 0.000000/0.000000/0.000000)
[   0.205][v][vd] Using container aspect ratio.
[   0.206][v][vf] Video filter chain:
[   0.206][v][vf]   [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.206][v][vf]   [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited SP=1.000000 CL=mpeg2/4/h264
[   0.207][i][cplayer] VO: [opengl] 1920x1080 yuv420p
[   0.207][v][cplayer] VO: Description: Extended OpenGL Renderer
[   0.208][v][vo/opengl] Resize: 1920x1080
[   0.208][v][vo/opengl] Window size: 1920x1080
[   0.208][v][vo/opengl] Video source: 1920x1080 (1:1)
[   0.208][v][vo/opengl] Video display: (0, 0) 1920x1080 -> (0, 0) 1920x1080
[   0.208][v][vo/opengl] Video scale: 1.000000/1.000000
[   0.208][v][vo/opengl] OSD borders: l=0 t=0 r=0 b=0
[   0.208][v][vo/opengl] Video borders: l=0 t=0 r=0 b=0
[   0.208][v][vo/opengl] Testing FBO format rgba16
[   0.208][v][vo/opengl] Create FBO: 16x16 (16x16)
[   0.209][v][vo/opengl] Using FBO format rgba16.
[   0.209][v][vo/opengl] No advanced processing required. Enabling dumb mode.
[   0.209][v][vo/opengl] Texture for plane 0: 1920x1080
[   0.209][v][vo/opengl] Texture for plane 1: 960x540
[   0.209][v][vo/opengl] Texture for plane 2: 960x540
[   0.214][v][vo/opengl] new shader program:
[   0.215][v][vo/opengl] [  1] color.r = 1.000000 * vec4(texture(texture0, texcoord0)).r;
[   0.215][v][vo/opengl] [  2] color.g = 1.000000 * vec4(texture(texture1, texcoord1)).r;
[   0.215][v][vo/opengl] [  3] color.b = 1.000000 * vec4(texture(texture2, texcoord2)).r;
[   0.215][v][vo/opengl] [  4] color = color.rgbr;
[   0.215][v][vo/opengl] [  5] color.rgb = mat3(colormatrix) * color.rgb + colormatrix_c;
[   0.215][v][vo/opengl] [  6] color.a = 1.0;
[   0.215][v][vo/opengl] [  7] // color mapping
[   0.227][v][vo/opengl] shader link log (status=1): 
[   0.227][v][vo/opengl] 
[   0.227][v][vo/opengl] 
[   0.227][v][vo/opengl] 
[   0.231][v][cplayer] first video frame after restart shown
[   0.231][v][cplayer] starting audio playback
[   0.232][v][cplayer] playback restart complete
[   0.238][v][ad] Uninit audio decoder.
[   0.257][v][ad] Codec list:
[   0.257][v][ad]     spdif_dts (dts) - libavformat/spdifenc audio pass-through decoder
[   0.257][v][ad]     dca (dts) - DCA (DTS Coherent Acoustics)
[   0.257][v][ad] Opening audio decoder spdif_dts
[   0.257][v][ad] Selected audio codec: spdif_dts (libavformat/spdifenc audio pass-through decoder)
[   0.257][i][cplayer] Track switched:
[   0.257][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.257][i][cplayer]      Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.257][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.257][v][cplayer] Set property: aid=2 -> 1
[   0.257][i][cplayer] Track switched:
[   0.257][i][cplayer]  (+) Video --vid=1 (h264 1920x1080 23.976fps)
[   0.257][i][cplayer]      Audio --aid=1 --alang=eng (*) 'Surround 7.1' (dts 8ch 48000Hz)
[   0.257][i][cplayer]  (+) Audio --aid=2 --alang=eng 'Surround 5.1' (dts 6ch 48000Hz)
[   0.258][v][cplayer] Set property: sid="no" -> 1
[   0.258][v][mkv] refresh seek to -0.958000
[   0.259][v][ad] In: profile=20 samplerate=48000
[   0.259][v][af] Audio filter chain:
[   0.259][v][af]   [in] 48000Hz stereo 2ch spdif-dts
[   0.259][v][af]   [out] 48000Hz stereo 2ch spdif-dts
[   0.259][v][af]   [ao] 48000Hz stereo 2ch spdif-dts
[   0.259][v][ao] Trying audio driver 'wasapi'
[   0.259][v][ao/wasapi] requested format: 48000 Hz, stereo channels, spdif-dts
[   0.260][v][ao/wasapi] No device specified. Selecting default.
[   0.262][v][ao/wasapi] Selecting device '{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}' (SONY TV XV (Intel® Display-Audio))
[   0.262][v][ao/wasapi] Monitoring changes in device {0.0.0.00000000}.{1e8b4d3f-e46f-4e5c-9289-760a668bdfb9}
[   0.279][v][ao/wasapi] Trying stereo spdif-dts (16/16 bits) @ 48000hz (exclusive) -> unsupported
[   0.279][v][ao/wasapi] Retrying as AC3.
[   0.279][v][ao/wasapi] Trying stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive) -> ok
[   0.279][v][ao/wasapi] Accepted as stereo spdif-dts @ 48000hz -> stereo spdif-ac3 (16/16 bits) @ 48000hz (exclusive)
[   0.280][v][ao/wasapi] Device period: 10 ms
[   0.287][v][ao/wasapi] Buffer frame count: 480 (10 ms)
[   0.287][v][ao/wasapi] IAudioClock::GetFrequency gave a frequency of 48000.
[   0.287][v][ao/wasapi] device buffer: 480 samples.
[   0.287][v][ao/wasapi] using soft-buffer of 9728 samples.
[   0.287][i][cplayer] AO: [wasapi] 48000Hz stereo 2ch spdif-dts
[   0.287][v][cplayer] AO: Description: Windows WASAPI audio output (event mode)
[   0.318][v][cplayer] starting audio playback
[  32.905][v][cache] EOF reached.
[  49.648][v][mkv] EOF reached.
[  59.939][v][cplayer] audio EOF reached
[  60.050][v][cplayer] video EOF reached
[  60.050][v][cplayer] EOF code: 1  
[  60.050][v][ad] Uninit audio decoder.
[  60.051][v][vd] Uninit video.
[  60.054][v][cache] Terminating cache...
[  60.054][v][cache] Cache exiting...
[  60.073][v][cplayer] finished playback, success (reason 0)
[  60.073][i][cplayer] 
[  60.134][v][vo/opengl] flushing shader cache
[  60.138][v][vo/opengl/win32] uninit
[  60.280][v][cplayer] Run command: stop, flags=0, args=[]
[  60.280][v][cplayer] Run command: quit, flags=0, args=[0]
[  60.280][i][cplayer] 
[  60.280][i][cplayer] Exiting... (Quit)
[  60.280][v][ipc_0] Exiting...
[  60.280][v][ytdl_hook] Exiting...
[  60.281][v][refreshrate] Exiting...
 

Edited by ohhofer, 03 December 2017 - 03:58 PM.


#29 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 04:13 PM

Switching isn't working.

[   0.142][v][ao/wasapi] Trying 7.1 spdif-dtshd (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.142][v][ao/wasapi] Retrying as AC3.
[   0.143][v][ao/wasapi] Trying 7.1 spdif-ac3 (16/16 bits) @ 192000hz (exclusive) -> unsupported
[   0.143][f][ao/wasapi] Received failure from audio thread
[   0.144][e][ao] Failed to initialize audio driver 'wasapi'
[   0.144][v][cplayer] Falling back to PCM output.

Let's do some testing with the standalone. I'm attaching a zip file with mpv set up as a portable. Unzip it anywhere you want, double click mpv.exe and drag your movie onto it. During playback, at the bottom you can click to cycle through the audio tracks. The DTS-HD shouldn't play, but switching to the 5.1, it should play



#30 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 04:25 PM

standalone test:

 

7.1 track: sound (PCM)

switching to 5.1 track: no sound



#31 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 04:28 PM

Interesting! Can you tell me all the windows audio devices that are listed in your audio playback devices, perhaps a screenshot?



#32 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 04:45 PM

here are the windows audio devices:

 

5a24623fae3e0_wiedergabegeraete.png



#33 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 04:59 PM

Well, that looks fine. I was hoping it would list another device. Let's rule some things, out. Can you connect your optical directly from the computer to the AVR, and select that as the default player?



#34 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 03 December 2017 - 05:14 PM

I already tried this yesterday. But it did not make a difference. I can try it again tomorrow as I have to leave now.

#35 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 06:09 PM

I just realized that I didn't remove the dts-hd from the mpv.conf. When you try again, in the standalone directory, in the portable_config folder, open the mpv.conf and change the line to


Edited by Doofus, 03 December 2017 - 07:29 PM.


#36 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 03 December 2017 - 07:01 PM

I have a feeling that your TV just can't deal with DTS. With the fire stick, the server is probably transcoding the audio to AC3 (Dolby), and it plays.

 

I assumed it must be stereo, because...

 

... when playing via fire tv stick, the display of the receiver says "dolby digital" and the two rear speakers are approached seperately

 

... when playing via emby theater the display of the receiver says "dolby pro logic II" and the two rear speakers are not approached seperately.

 

Am I wrong?

 

MPV doesn't convert to AC3 (Dolby) automatically, but can be made to. I suspect that in your case, we may need to do that. Looking at your stats for nerds, the movie is direct playing. This means the server is not doing anything with the stream. As mpv can support everything, the server is not getting involved, not knowing that your AV equipment can't handle it. If I'm correct, replace everything in the mpv.conf (portable_config/mpv.conf) with this.

af=lavcac3enc=yes:384:3
audio-spdif=ac3

If that works, we can then apply it to Theater.

 

This will convert any audio with 5 channels or more, to AC3. Except what  is already AC3, and that will be bitstreamed without change.


Edited by Doofus, 29 November 2018 - 10:39 PM.

  • Abobader likes this

#37 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 04 December 2017 - 01:50 AM

Hi

I tried it as described above and it worked!!! :)

You found the real cause of the problem.
  • Doofus likes this

#38 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 10955 posts
  • Local time: 09:51 AM

Posted 04 December 2017 - 02:36 AM

Hi

I tried it as described above and it worked!!! :)

You found the real cause of the problem.

 

That's good to hear. Just remember that all DTS will now be Dolby, but I don't think you'll perceive a difference. So now you can copy that mpv.conf to here

 

C:\Users\YOU\AppData\Roaming\mpv

 

Remove the audio-spdif line, and select only AC3 in the Theater audio settings. And you should be good.



#39 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 04 December 2017 - 02:50 AM

Thank you. I'll try it in the evening when I am back from work.

#40 ohhofer OFFLINE  

ohhofer

    Member

  • Members
  • 20 posts
  • Local time: 05:51 PM

Posted 04 December 2017 - 12:28 PM

I copied the adapted mpv.conf file to the suggested folder and it works works very well! :)

 

@Doofus Thank you VERY MUCH for your help.


  • Doofus likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users