Jump to content

[BUG] Playback problem with dca


Recommended Posts

Posted (edited)

Ok first of all the important information:

 

TV Samsung: UE40F6500

TV Firmware: T-MST12DEUC-2126.0

Samsung Emby-Client version: 2.2.2

Emby Server: 3.2.17.0

ffmpeg Version: N-52954-g295de3e-static

 

 

I freshly installed the emby app on my samsung tv.

Without transcoding all movies will be played back normal.

But when i enable the badwith limit in app settings to a lower bitrate for example 3Mbps it starts to transcode the movie, wich is what i want.

With AC3 audio codec everything works fine. But any movie with DTS audio fails to play.

TV App Error is "Connection Error"

 

In the server log i can see that the transcoding fails.

 

Here the 2 Files

5941b77ea84a2_Info1.png

5941b78cec869_info2.png

 

Keep in mind that my default audio track is german.

 

Logs attached and on pastebin

https://pastebin.com/41hsR3tV.

 

Any idea?

logs.zip

Edited by Scrubsss
Posted

Hi, looks like a problem in the app. Just so you are aware, this is a community app built and maintained by community members. We are working very hard to make the official Emby Samsung app available for your older device:

 

https://emby.media/emby-for-samsung-smart-tv.html

 

Thanks !

Posted

Is the  community build still maintained, so someone can take a look at it?

I think the Offical app can take a while right?

Posted

Hopefully @@cmcg will see this and take a look. The official app works on the device so we are just trying to get it approved for release. thanks.

  • Like 2
Posted

Thanks for the help.

cmcg is inaktive since a month, so i think it will take a while.

Waiting for official app then, i will not ask for any eta on that because i know how annoying that is :P.

 

BTW: keep going strong great project thank you for that.

  • Like 1
  • 2 weeks later...
Posted

Hey @@Luke , check out the last line for the Pastebin link.

 

[dca @ 0x418bcc0] The encoder 'dca' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.

 

Is this a server config issue?

Posted

Hey @@Luke , check out the last line for the Pastebin link.

 

[dca @ 0x418bcc0] The encoder 'dca' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.

 

Is this a server config issue?

 

Notice on the query string you have 

AudioCodec=dca

You're trying to encode to dca which is not possible. Or maybe it is but we've never tried it. In any case, if you're converting the audio try something more typical like aac or mp3, etc.

  • Like 1
Posted

OK, I think It's something to do with having multiple audio tracks.

 

Line 66 is the the point at which we determine if we'll try to direct play. isVideo and isAudio refer to "is the video stream compatible for direct play on this TV model" and the same for audio (as determined by the tables in GuiPlayer_TranscodeParams.js) and convertAACtoDolby is a user preference which is generally false.

 

But it looks like the original dev has decided that this will not work if the audio stream is not index 0.

 

Is that so?

  • Like 1
Posted

I'm not familiar with that code, but lines 76 and 79 seem to be incorrectly assuming that the server can encode to the original audio codec. so that should be changed to something that is supported.

Posted

Fixed.

 

@@Scrubsss please install the beta version 2.2.3b from the IP address 82.27.106.58 and it should be fixed.

 

Let me know how you get on.

  • Like 4
Scrubsss
Posted

@@cmcg Thank you very much.

All seems to work perfectly.

I don't have much time to check a bunch of movies right now, but the ones i tested worked without problems.

 

 Big thanks to the Emby community. I am very happy right now.  :lol:

Posted

You are welcome.

 

I'm not doing many updates to this version now but when a nice clear report comes in about a bug that has a noticeable effect playback, I'm happy to help.

  • Like 2

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...