Jump to content

No DTS over SPDIF


colinmcg71
Go to solution Solved by colinmcg71,

Recommended Posts

colinmcg71

[sOLVED] Problem files muxed with outdated mkvmerge. Remux with latest v8.8.0, all play fine.

 

I have an old Technics AV receiver which only has optical digital Inputs.

 

HTPC with Windows 10 Pro.

 

Bitstreaming is set to SPDIF in Emby Theater.

 

MKVs with AC3 5.1 play just fine but MKVs with DTS audio play only in stereo.

 

Anyone else having problems with DTS over SPDIF?

 

Sent from my Nexus 6P using Tapatalk

Edited by colinmcg71
Link to comment
Share on other sites

Jdiesel

Have you run the windows configuration for audio playback device? What supported formats does it show? Try changing the default format to 24bit 48khZ.

  • Like 1
Link to comment
Share on other sites

colinmcg71

Is it all DTS streams? AC3 streams fine?

Yes, only DTS is affected, DD/AC3 plays fine.

 

Sent from my Nexus 6P using Tapatalk

Link to comment
Share on other sites

colinmcg71

Have you run the windows configuration for audio playback device? What supported formats does it show? Try changing the default format to 24bit 48khZ.

DTS & AC3 show as supported. Both used to bitstream over SPDIF before the big Emby Theater update.

 

Sent from my Nexus 6P using Tapatalk

Link to comment
Share on other sites

Jdiesel

Can you edit the system.xml in "C:\Users\*****\AppData\Roaming\Emby.Theater\config" and enable debug level logging

 

 

  <EnableDebugLevelLogging>true</EnableDebugLevelLogging>

 

 

Try playing a file with DTS and upload the logfile that is generated in "C:\Users\*****\AppData\Roaming\Emby.Theater\logs"

Link to comment
Share on other sites

colinmcg71

Can you edit the system.xml in "C:\Users\*****\AppData\Roaming\Emby.Theater\config" and enable debug level logging

 

 

  <EnableDebugLevelLogging>true</EnableDebugLevelLogging>

 

 

Try playing a file with DTS and upload the logfile that is generated in "C:\Users\*****\AppData\Roaming\Emby.Theater\logs"

 

Thank you for your help.

 

I don't have a config folder in any of the Emby Theater folders at that location. The only config folder with a system.xml file in it is in the Emby-Server folder.

 

Would that be the one to enable logging in?

Link to comment
Share on other sites

Thank you for your help.

 

I don't have a config folder in any of the Emby Theater folders at that location. The only config folder with a system.xml file in it is in the Emby-Server folder.

 

Would that be the one to enable logging in?

 

You don't need to do that. You can just post the log as-is. Thanks.

Link to comment
Share on other sites

colinmcg71

You don't need to do that. You can just post the log as-is. Thanks.

 

Hokey dokey, here is the log when a DTS source bitstreams as stereo:

 

 

2016-01-27 21:44:25.8687 Info App: OS Supports window transparency?: True

2016-01-27 21:44:26.0002 Info App: Application version: 1.0.35.0

2016-01-27 21:44:26.0536 Info App: Application configuration:

{"WindowState":"Maximized","WindowTop":139,"WindowLeft":240,"WindowWidth":1934,"WindowHeight":1094,"EnableDebugLevelLogging":true,"EnableAutoUpdate":true,"SystemUpdateLevel":"Beta","LogFileRetentionDays":3,"RunAtStartup":false,"IsStartupWizardCompleted":true,"EnableCustomPathSubFolders":false}

2016-01-27 21:44:26.0692 Info App: Loading MediaBrowser.Model, Version=3.0.5867.23148, Culture=neutral, PublicKeyToken=null

2016-01-27 21:44:26.0692 Info App: Loading MediaBrowser.Common, Version=3.0.5867.23147, Culture=neutral, PublicKeyToken=null

2016-01-27 21:44:26.0692 Info App: Loading MediaBrowser.Common.Implementations, Version=3.0.5867.23144, Culture=neutral, PublicKeyToken=null

2016-01-27 21:44:26.0692 Info App: Loading Emby.Theater, Version=1.0.35.0, Culture=neutral, PublicKeyToken=null

2016-01-27 21:44:26.2007 Info App: Core startup complete

2016-01-27 21:44:26.2163 Info App: C:\Users\Colin\AppData\Roaming\Emby-Theater\system\x64\electron\electron.exe "C:\Users\Colin\AppData\Roaming\Emby-Theater\system\electronapp" true

2016-01-27 21:44:26.4686 Info App: attempting to load pfx: 

2016-01-27 21:44:26.4686 Error App: Secure requested, but no certificate found at: 

2016-01-27 21:44:26.5586 Debug URCOMLoader: URCOMLoader Initialized

2016-01-27 21:44:26.5586 Debug URCOMLoader: EnsureObjects: block: False redownload: False

2016-01-27 21:44:26.5586 Debug URCOMLoader: EnsureObjects needsCheck: False

2016-01-27 21:44:26.5586 Debug URCOMLoader: EnsureObjects needsRestart: False

2016-01-27 21:44:26.5586 Info App: Setting window state to Normal

2016-01-27 21:44:26.5586 Info App: SyncWindowSize Top=160 Left=320 Width=1280 Height=720

2016-01-27 21:44:29.2107 Info App: StartupTrigger fired for task: Check for application updates

2016-01-27 21:44:29.2107 Info App: Queueing task SystemUpdateTask

2016-01-27 21:44:29.2107 Info App: Executing Check for application updates

2016-01-27 21:44:29.2263 Info App: HttpClientManager GET: https://api.github.com/repos/MediaBrowser/Emby.Theater.Windows/releases

2016-01-27 21:44:30.2681 Info App: Http POST windowstate-Maximized

2016-01-27 21:44:30.2681 Info App: Setting window state to maximized

2016-01-27 21:44:30.2681 Info App: Http POST windowsize

2016-01-27 21:44:30.2900 Debug App: No application update available.

2016-01-27 21:44:30.2920 Info App: Check for application updates Completed after 0 minute(s) and 1 seconds

2016-01-27 21:44:30.2920 Info App: Http POST windowsize

2016-01-27 21:44:30.2920 Info App: Http POST windowsize

2016-01-27 21:44:30.2920 Info App: Http POST windowsize

2016-01-27 21:44:50.2885 Debug App: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: d7d3dc0f193945dea8561143916c2f83

2016-01-27 21:45:30.3609 Info App: Http POST directshowplayer/play

2016-01-27 21:45:30.5600 Info InternalDirectShowPlayer: Playing Oblivion. Audio Renderer: Default, Madvr: False, xySubFilter: True, ParentID: e905899580e3523c00d1a1d490fae637

2016-01-27 21:45:30.5600 Info InternalDirectShowPlayer: Playing Path http://192.168.1.2:8096/emby/videos/40ff27a415457be9e81ff51f88b71c0c/stream.mkv?DeviceId=Beanie&MediaSourceId=40ff27a415457be9e81ff51f88b71c0c&VideoCodec=h264&AudioCodec=aac&VideoBitrate=99872000&AudioBitrate=128000&PlaySessionId=c86139acf258465c86acc730e21df4e6&api_key=10766573f35d44d893a655d610d055e2

2016-01-27 21:45:30.5600 Debug InternalDirectShowPlayer: IsFullScreen: W: 1920 H: 1080 Top: 0 Bottom: 1080 Left: 0 Right: 1920

2016-01-27 21:45:30.5600 Debug URCOMLoader: URCOMLoader is not blocking

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: Configure LAV Splitter

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetSubtitleMode: 

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetPGSForcedStream: True

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetPGSOnlyForced: False

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetVC1TimestampMode: Auto

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetSubstreamsEnabled: True

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetStreamSwitchRemoveAudio: False

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetUseAudioForHearingVisuallyImpaired: False

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetMaxQueueMemSize: 256

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetTrayIcon: False

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetPreferHighQualityAudioStreams: True

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetLoadMatroskaExternalSegments: True

2016-01-27 21:45:30.5760 Debug InternalDirectShowPlayer: SetNetworkStreamAnalysisDuration: 1000

2016-01-27 21:45:33.3938 Debug InternalDirectShowPlayer: NumberOfStreams: 1

2016-01-27 21:45:33.3938 Debug URCOMLoader: URCOMLoader is not blocking

2016-01-27 21:45:33.4343 Debug InternalDirectShowPlayer: GPU Model: AMD Radeon HD 5450

2016-01-27 21:45:33.4343 Debug InternalDirectShowPlayer: Current HWA Mode: None Desired Mode: DXVA2CopyBack

2016-01-27 21:45:33.4343 Debug InternalDirectShowPlayer: Disable HWA support for: MPEG2DVD

2016-01-27 21:45:33.4623 Debug URCOMLoader: URCOMLoader is not blocking

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Added default audio renderer

2016-01-27 21:45:33.5173 Debug URCOMLoader: URCOMLoader is not blocking

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Add LAVAudio to the graph.

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Enable LAVAudio Runtime Config

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Enable LAVAudio S/PDIF bitstreaming

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio auto AV Sync: True

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio Expand61: False

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio ExpandMono: True

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio ConvertToStandardLayout: True

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio audio EnableDRC: False

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: Set LAVAudio audio ShowTrayIcon: False

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: AC3 bitstreaming: True

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: EAC3 bitstreaming: False

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: TRUEHD bitstreaming: False

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: DTS bitstreaming: True

2016-01-27 21:45:33.5173 Debug InternalDirectShowPlayer: DTSHD bitstreaming: False

2016-01-27 21:45:33.5383 Debug InternalDirectShowPlayer: Completed RenderStreams with 2 pins.

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: Scale: FROMINSIDE Video Width: 1920 Video Height: 808 X-AR: 240 Y-AR: 101

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: VideoMode Found: 5a54a0c9-c7ec-4bd9-8ede-f3c75dc4393b

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: Set ProcessorMode: 00000000-0000-0000-0000-000000000000 BestMode: 5a54a0c9-c7ec-4bd9-8ede-f3c75dc4393b

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: Current ProcessorMode: 5a54a0c9-c7ec-4bd9-8ede-f3c75dc4393b BestMode: 5a54a0c9-c7ec-4bd9-8ede-f3c75dc4393b

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: Retrieved seeking capabilities: CanSeekAbsolute, CanSeekForwards, CanSeekBackwards, CanGetStopPos, CanGetDuration

2016-01-27 21:45:33.5413 Debug InternalDirectShowPlayer: pre-roll the graph

2016-01-27 21:45:33.5808 Debug InternalDirectShowPlayer: run the graph

2016-01-27 21:45:33.5808 Debug InternalDirectShowPlayer: GetStreams()

2016-01-27 21:45:33.5808 Debug InternalDirectShowPlayer: GetInternalStreams

2016-01-27 21:45:33.5948 Debug InternalDirectShowPlayer: Return InternalStreamCount: 1

2016-01-27 21:45:33.5948 Debug InternalDirectShowPlayer: DSPlayer Done in play

2016-01-27 21:45:33.5948 Debug InternalDirectShowPlayer: Received media event code ClockChanged

2016-01-27 21:45:33.9094 Debug InternalDirectShowPlayer: Received media event code Paused

2016-01-27 21:45:34.2009 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:34.6300 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:35.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:35.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:36.1281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:36.6282 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:37.1283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:37.6288 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:38.1284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:38.6285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:39.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:39.6386 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:40.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:40.6281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:41.1281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:41.6287 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:42.1283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:42.6283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:43.1284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:43.6284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:44.1280 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:44.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:45.1286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:45.6282 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:46.1293 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:46.6283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:47.1289 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:47.6284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:48.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:48.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:49.1281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:49.6287 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:50.1283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:50.2903 Debug App: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 006a85ac99bb4b488c51c12bb056d9e9

2016-01-27 21:45:50.6288 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:51.1284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:51.6284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:52.1330 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:52.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:53.1286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:53.6282 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:54.1283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:54.6283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:55.1294 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:55.6284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:56.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:56.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:57.1281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:57.6287 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:58.1288 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:58.6283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:59.1284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:45:59.6289 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:00.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:00.6286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:01.1286 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:01.6282 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:02.1283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:02.6283 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:03.1364 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:03.6284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:04.1285 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:04.6281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:05.1281 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:05.6287 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:06.1313 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:06.6333 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:07.1284 Info App: Http POST directshowplayer/refresh

2016-01-27 21:46:07.5324 Info App: Http POST directshowplayer/stopfade

2016-01-27 21:46:07.5514 Debug InternalDirectShowPlayer: Disposing player

2016-01-27 21:46:17.4360 Debug App: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 61648fbb0dca4cbb8c028df7e4f5a141

2016-01-27 21:46:17.4360 Debug App: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 3b4c2b2f64af45438785341513b54c36

2016-01-27 21:46:17.4360 Debug App: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 996044e34c7541e8bd9abeffd46d032e

 

Edited by Happy2Play
Link to comment
Share on other sites

colinmcg71

can you provide the media info from the web client? thanks.

This is strange. I've found a few mkvs with dts that do stream correctly and lots that don't.

 

Here's the media info from oblivion

08102f38eef1e8602cc71be4f6cfa641.jpg

 

And here's spider-man

145dd47912cbc97924ae7b264fc49a76.jpg

 

This is the same info that appears when browsing the movies on chrome.

 

Sent from my Nexus 6P using Tapatalk

Edited by colinmcg71
Link to comment
Share on other sites

colinmcg71

can you provide the media info from the web client? thanks.

I downloaded the old version of mbt to see if that made any difference. It still streams as stereo.

Here's the audio info while playing:

b1f19b4beb6675a10519ba6be209665a.jpg

 

And here's the mediainfo screenshot:

7a9e9030767835b88a19d19b52e5cb3b.jpg

 

If I play the files in MPC-HC DTS is bitstreamed correctly.

 

Sent from my Nexus 6P using Tapatalk

Edited by colinmcg71
Link to comment
Share on other sites

colinmcg71

maybe it can't bitstream over http. check out our wiki on library setup and ensure that the app can access the files directly:

 

https://github.com/MediaBrowser/Wiki/wiki/Library%20Setup

Thanks for your help Luke. The movie files are on the same pc as the server and used to play fine. Wonder if it's anything to do with Windows 10.

 

Sent from my Nexus 6P using Tapatalk

  • Like 1
Link to comment
Share on other sites

Guest asrequested

This is strange. I've found a few mkvs with dts that do stream correctly and lots that don't.

 

 

Find a file that will play, and post the Mediainfo for it and also for one that does play. There maybe differences between them. I've had issues similar to this, and running them through MKVtoolnix resolved them.

  • Like 1
Link to comment
Share on other sites

mjktg99

Thanks for your help Luke. The movie files are on the same pc as the server and used to play fine. Wonder if it's anything to do with Windows 10.

 

Sent from my Nexus 6P using Tapatalk

I think that Windows 10 does not support dts. When I upgraded to 10 I lost dts in Windows. I don't use eht. But I think it's a Windows problem.
  • Like 1
Link to comment
Share on other sites

Guest asrequested

I think that Windows 10 does not support dts. When I upgraded to 10 I lost dts in Windows. I don't use eht. But I think it's a Windows problem.

 

I have windows 10 and I can play everything, but dts, DD and AC3 aren't natively supported by windows, you need a decoder. The decoder is present in Theater. I think what may be happening here, is the splitter is having trouble with the MKV container. I've had that issue, and MKVtooolnix rectifies it. Also, if some of those files are dts-HD, Optical SPDIF won't support it. He may have had it being processed before, but the new ET doesn't allow that.

Edited by Doofus
  • Like 1
Link to comment
Share on other sites

Have you tried refreshing Oblivion?

 

From your screenshot it looks like we have no media info on it and, thus, are transcoding.

Link to comment
Share on other sites

colinmcg71

Find a file that will play, and post the Mediainfo for it and also for one that does play. There maybe differences between them. I've had issues similar to this, and running them through MKVtoolnix resolved them.

@ebr You could well be on to something. I'm currently running Oblivion through mkvmerge 8.8.0. It was originally muxed with v4.1.1. I'll see if that makes a difference. Thanks for your help :)

 

Sent from my Nexus 6P using Tapatalk

Edited by colinmcg71
Link to comment
Share on other sites

  • Solution
colinmcg71

Remuxing via mkvmerge 8.8.0 has sorted it. Full media info and dts streaming. Looks like the ancient mkvmerge from 2010 was the problem. Thanks everyone for helping :)

 

Sent from my Nexus 6P using Tapatalk

Edited by colinmcg71
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...