Jump to content

Android Apps will not play anything that needs transcoded Audio


heath600

Recommended Posts

heath600

I have a strange issue and m not sure if its client side with the Android App or the QNAP NAS Emby Software

 

I have started to move my emby server to my qnap nas that already contains all the media.  Everything seemed to work ok until I attempted to play a movie on my nexus player.  I have discovered any file that needs the audio transcoded will just keep trying to stream and after 4 attempts there is a popup that says "Too Many Errors Giving Up"  If the audio is already stereo it works fine.

 

Looking at the ffmpeg logs the qnap appears to be keeping up with the transcoding with no issue

 

{noformat}

Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (truehd (native) -> mp3 (libmp3lame))
Press [q] to stop, [?] for help
frame= 63 fps=0.0 q=-1.0 size= 3931kB time=00:00:02.56 bitrate=12535.0kbits/s speed=5.14x
frame= 118 fps=118 q=-1.0 size= 8677kB time=00:00:04.84 bitrate=14659.2kbits/s speed=4.85x
frame= 146 fps= 42 q=-1.0 size= 15185kB time=00:00:06.00 bitrate=20729.7kbits/s speed=1.71x
frame= 197 fps= 49 q=-1.0 size= 21533kB time=00:00:08.20 bitrate=21488.4kbits/s speed=2.05x
frame= 251 fps= 56 q=-1.0 size= 28527kB time=00:00:10.34 bitrate=22590.3kbits/s speed= 2.3x
frame= 295 fps= 59 q=-1.0 size= 35140kB time=00:00:12.24 bitrate=23516.9kbits/s speed=2.45x
frame= 347 fps= 63 q=-1.0 size= 41592kB time=00:00:14.40 bitrate=23659.4kbits/s speed=2.62x
frame= 400 fps= 67 q=-1.0 size= 48416kB time=00:00:16.53 bitrate=23983.9kbits/s speed=2.75x
frame= 450 fps= 69 q=-1.0 size= 55223kB time=00:00:18.67 bitrate=24226.9kbits/s speed=2.87x
frame= 506 fps= 72 q=-1.0 size= 64577kB time=00:00:20.97 bitrate=25218.7kbits/s speed=2.99x
frame= 559 fps= 74 q=-1.0 size= 70982kB time=00:00:23.25 bitrate=25002.5kbits/s speed=3.09x
frame= 612 fps= 76 q=-1.0 size= 77461kB time=00:00:25.51 bitrate=24872.1kbits/s speed=3.18x
frame= 666 fps= 78 q=-1.0 size= 85917kB time=00:00:27.72 bitrate=25389.8kbits/s speed=3.25x
frame= 719 fps= 80 q=-1.0 size= 91583kB time=00:00:29.88 bitrate=25107.7kbits/s speed=3.31x
frame= 767 fps= 81 q=-1.0 size= 98242kB time=00:00:31.92 bitrate=25212.2kbits/s speed=3.35x
frame= 809 fps= 66 q=-1.0 size= 105293kB time=00:00:33.64 bitrate=25634.1kbits/s speed=2.76x
frame= 857 fps= 67 q=-1.0 size= 111467kB time=00:00:35.61 bitrate=25637.7kbits/s speed= 2.8x
frame= 905 fps= 68 q=-1.0 size= 115451kB time=00:00:37.68 bitrate=25099.5kbits/s speed=2.85x
frame= 955 fps= 70 q=-1.0 size= 121516kB time=00:00:39.76 bitrate=25030.9kbits/s speed= 2.9x
frame= 1008 fps= 71 q=-1.0 size= 128186kB time=00:00:41.97 bitrate=25016.0kbits/s speed=2.95x 

{noformat}

 

The server logs show the device is getting several 404 and a lot of spots where it says the client is slow and with a time of 20-30 second.

 

The server works in the following scenarios

1.  Shield TV (Always reports Direct Streaming)

2.  Main PC (Via Chrome and Emby Theater)

3.  Nexus 6p via Chrome (Audio Transcoded to MP3.  Video is not changed)

4.  Nexus Player with VLC as external player (Plays but vlc can handle the audio / Reported Direct Play)

 

The following does not work

1.  Nexus Player on any video that has anything other then stereo by default

2.  Nexus 6p using the emby app.   Logo just spins in middle but ffmpeg log on server looks fine.

 

If I attempt to stream from my old windows server using the same versions the Nexus Player plays fine without any problem.

 

Any ideas?

 

Emby Server is version 3.1.1.0

Android Client is 1.3.12g (Latest Beta)

 

Server Log.txt

Link to comment
Share on other sites

There is a regression in ffmpeg 3.2 that is causing our mkv transcoding to fail. We have identified the issue and notified ffmpeg. For an immediate resolution, you should download an older edition and configure it in the Emby Server dashboard under the Transcoding menu.

 

We have 2.8 here in case you need it:

 

https://github.com/MediaBrowser/Emby.Resources/tree/master/ffmpeg/linux

 

Remember to mark the ffmpeg and ffprobe files as executable so that Emby Server will have permission to execute them. Let us know if this helps. thanks !

Link to comment
Share on other sites

heath600

I tried the above and had some good and bad results.  Seems any version of ffmpeg other then the 3.2.2 I have installed had major performance issues and could not keep up with trans coding audio.  I was about to look for a way to compile an old version on my QNAP but then the new beta version seemed to have fixed the issue but introduced a new bug.  

 

It appears in the new beta most of my hvec files do not play now.  When I click the play button nothing happens at all.  I will do more testing and start a new thread if I still have issues but I wanted to let you know the other issue seems to be corrected now.

 

Thanks for the help.

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