Jump to content

[BUG] Playback problem with dca


Scrubsss

Recommended Posts

Scrubsss

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
Link to comment
Share on other sites

Scrubsss

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

I think the Offical app can take a while right?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Scrubsss

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
Link to comment
Share on other sites

  • 2 weeks later...
cmcg

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

cmcg

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

cmcg

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
Link to comment
Share on other sites

Scrubsss

@@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:

Link to comment
Share on other sites

cmcg

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