Jump to content

Direct play on Shield not working always transcoding


Recommended Posts

Posted

Hello,

 

I'm using Linux server and Nvidia shield with A/V receiver able to play DTS.

 

The problem is the system always transcode movies and seems it's related to soundtrack.

 

I sent a report by android TV app around 23:15 (GMT+2)

user was Alex and just playing a movie.

Log was empty before test so only related stuff on it.

 

@@ebr or @@Luke any idea?

 

 

Any help will be welcome.

Thanks.

Posted

I send it just now (11:00 am GMT+2) through "Send Log" from my nvidia shield.

Debian 9.

Emby 3.5.3.0

user Alex

playing "/home/alex/Q/HD/Movies/OTAGES A ENTEBBE (2018).mkv" from begining.

playback is ok but is transcoded instead of direct play seems related to sound track.

 

Thanks.

Posted

Hi.  The issue is network related.  Something appears to be garbling the data which causes an error in the player so we fall back to transcoding.  Are you using some sort of reverse-proxy or other advanced network routing?

10-19 11:00:02.680  6898  6975 E ExoPlayerImplInternal: Caused by: java.net.ProtocolException: Unexpected status line: ��S�kS���%J�M��S��C�pS��S�O����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
10-19 11:00:02.680  6898  6975 E ExoPlayerImplInternal: ��������������������������������������������������������������������������������������������������������������I�f@�*ױ�B@M��libebml v1.3.5 + libmatroska v1.4.8WA�mkvmerge v21.0.0 ('Tardigrades Will Inherit The Earth') 64-bitD��J���Da� řR�=2�s����S1��
�x�!�Ͼ�T�kBj��×sÅ�������V_MPEG4/ISO/AVCc��d�)���gd�)��P���f�  (������xL��h�8|�,#ツ{�jְ� ���8T���� �T����8��×sň�}�o

Posted

@@ebr Absolutely not, Shield is directly connected to my ISP box with wire cable.

Can I do something on my side? Maybe a test?

Posted

Perhaps it is related to language setting in the server OS...

  • Like 1
Posted

server is in english

LANG=en_US.UTF-8
 

Posted

Do you have any anti-malware or security software running anywhere - including on the router?

 

Something is garbling the data (as you can see above).

Posted

Nope.

no security software on shield or on my Debian server.

Router is from ISP but I don't think so it's very minimalistic.

 

I was trying to use VPN on my shield to open a tunnel from shield to my debian server, same issue.

Posted

Some new tests, maybe this will help, sent new log from my shield. 17:20 (GMT+2)
I have tried following movies:
 
"/home/alex/Q/HD/Movies/FIRST KILL (2017).mkv"
"/home/alex/Q/HD/Movies/American Gangster.mkv"
"/home/alex/Q/HD/Movies/Babel (2006).mkv"
"/home/alex/Q/HD/Movies/OTAGES A ENTEBBE (2018).mkv"
 
 
Both in red are transcoding and both in green are direct play, so it's not a network issue.
 
you can find enclosed mediainfo of each movie.

Otages.txt

firstkill.txt

babel.txt

AG.txt

Posted

It is possible it is related to the particular encodings of those files. Perhaps they contain something unexpected or something not quite to spec.

 

I'm not sure but the error produced is due to some very unexpected data in the HTTP response trying to retrieve the file.

Posted

Are the items not playing back at all?

 

The system is doing what it is designed to do and ensuring playback will work.  If the items are playing then I suggest sitting back and enjoying them :).

 

As for figuring out what is the cause of the network issue, I really don't know but it almost has to be related to either the files themselves or the local network configuration.

 

If you can get me a sample of one of these videos that exhibits the problem, I can see if I can reproduce it (which would indicate it is the file itself).

Posted

Yes they are playing but when fast forward movie hang with blue circle, if I use the option to fix video/audio issue it works but video is not smooth or I have audio sync issue.

When just playing without fast forward is working well.

 

I can provide part of each movies, if I give you first 30sec of each it will be ok

Posted

Hi, yes that sample will be fine, please just make sure the problem also occurs with the sample file. thanks !

Posted

Ok.

I'm currently in travel I'll do that next week and let you know.

 

Thanks for help.

Posted

After few test I can confirm this is not related to files themselves.

I have recreated a local server, same OS, Same emby version and same configuration (copy/paste of all files DB and configuration).

On the local server I have no issue at all, no remux, no transcoding.

Posted

Okay, then that means our original suspicion is probably correct and it is related to the network configuration on the other server.

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