File Not Playable Error

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
jo15765
Posts: 6
Joined: Tue Apr 03, 2018 5:43 am

File Not Playable Error

Post by jo15765 »

I have one Roku TV up and running from my custom file I found in another thread, with this second Roku TV I have tried the default renderer, and the custom renderer that works for my other Roku TV, but I get the below error. What do I need to change so this TV is capable of streaming? (Also attached are the logs)
ums_dbg.zip
(76.59 KiB) Downloaded 592 times
UMS ERROR ->
File not playable
An unexpected problem (but not server timeout or HTTP error) has been detected)
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: File Not Playable Error

Post by valib »

From yor log I see that your Roku TV is not properly recognised. In your custom file you should change the "UserAgentSearch" to

Code: Select all

UserAgentSearch = Roku/6000X-7
jo15765
Posts: 6
Joined: Tue Apr 03, 2018 5:43 am

Re: File Not Playable Error

Post by jo15765 »

I should make the line read like so:

Code: Select all

UserAgentSearch = Roku/DVP-6.|Roku/DVP-7.|Roku/6000X-7
paulv
Posts: 6
Joined: Wed May 09, 2018 1:21 pm

Re: File Not Playable Error

Post by paulv »

I'm getting the same error. My device is sending

Code: Select all

User-Agent: Roku/DVP-8.2 (308.02E04133A)
and then

Code: Select all

user-agent: Roku/6000X-7
. I added both to renderers/Roku-8TV.conf, so it looks like

Code: Select all

UserAgentSearch = Roku/DVP-6.|Roku/DVP-7.|Roku/6000X-7|Roku/DVP-8.2
. It looks like it sends the DVP string when it requests the icon and 6000x-7 when it requests the video file.

Under system info for my TV it says

Code: Select all

Roku TV: 7120X
. It's a TCL 55R617 with the latest firmware.
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: File Not Playable Error

Post by valib »

Please send the log after you made the changes to the Roku.conf
paulv
Posts: 6
Joined: Wed May 09, 2018 1:21 pm

Re: File Not Playable Error

Post by paulv »

So this is odd. On a lark I tried running UMS inside a fresh docker container. The only packages installed were openjdk-8-jre and its dependencies, ie just enough to run UMS. I also copied the config file and a test video from my real UMS setup (as well as Roku-TV8.conf). When I ran the containerized instance of UMS...everything worked. I guess there is a library or something installed on my real setup that is causing the problems, but there's nothing obvious that I can find that would cause that.

I attached the two different debug logs as well as the config file on the off chance that there is some clue in them.
Attachments
UMS-debug.zip
(42.44 KiB) Downloaded 548 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: File Not Playable Error

Post by valib »

Please don't mix two different tests into one message. It is confusing. If you test UMS in different environments you should send two logs following the rules written in red above otherwise we are lost. We need to know if the renderer is recognized properly and what is its setting which is the basic point.
paulv
Posts: 6
Joined: Wed May 09, 2018 1:21 pm

Re: File Not Playable Error

Post by paulv »

:oops:
Attachments
UMS-debug-working.zip
(23.58 KiB) Downloaded 534 times
UMS-debug-broken.zip
(19.73 KiB) Downloaded 493 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: File Not Playable Error

Post by valib »

In the working debug.log I see

Code: Select all

WARN  2018-05-10 06:39:35.340 [main] Error loading libzen: Unable to load library 'zen': Native library (linux-x86-64/libzen.so) not found in resource path ([file:/home/paulv/ums-7.0.1/update.jar, file:/home/paulv/ums-7.0.1/ums.jar])
TRACE 2018-05-10 06:39:35.342 [main] 
java.lang.UnsatisfiedLinkError: Unable to load library 'zen': Native library (linux-x86-64/libzen.so) not found in resource path ([file:/home/paulv/ums-7.0.1/update.jar, file:/home/paulv/ums-7.0.1/ums.jar])
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:303)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:369)
	at net.pms.dlna.MediaInfo.<clinit>(MediaInfo.java:54)
	at net.pms.dlna.LibMediaInfoParser.<clinit>(LibMediaInfoParser.java:38)
	at net.pms.configuration.RendererConfiguration.isUseMediaInfo(RendererConfiguration.java:2121)
	at net.pms.configuration.RendererConfiguration.init(RendererConfiguration.java:1111)
	at net.pms.configuration.RendererConfiguration.<init>(RendererConfiguration.java:975)
	at net.pms.configuration.RendererConfiguration.<init>(RendererConfiguration.java:943)
	at net.pms.configuration.RendererConfiguration.loadRendererConfigurations(RendererConfiguration.java:254)
	at net.pms.PMS.init(PMS.java:568)
	at net.pms.PMS.createInstance(PMS.java:1058)
	at net.pms.PMS.main(PMS.java:1218)
INFO  2018-05-10 06:39:35.342 [main] Loading MediaInfo library
ERROR 2018-05-10 06:39:35.344 [main] Error loading MediaInfo library: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/home/paulv/ums-7.0.1/update.jar, file:/home/paulv/ums-7.0.1/ums.jar])
TRACE 2018-05-10 06:39:35.344 [main] 
java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': Native library (linux-x86-64/libmediainfo.so) not found in resource path ([file:/home/paulv/ums-7.0.1/update.jar, file:/home/paulv/ums-7.0.1/ums.jar])
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:303)
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:427)
	at com.sun.jna.Library$Handler.<init>(Library.java:179)
	at com.sun.jna.Native.loadLibrary(Native.java:569)
	at net.pms.dlna.MediaInfo$MediaInfoDLL_Internal.<clinit>(MediaInfo.java:87)
	at net.pms.dlna.MediaInfo.<init>(MediaInfo.java:219)
	at net.pms.dlna.LibMediaInfoParser.<clinit>(LibMediaInfoParser.java:38)
	at net.pms.configuration.RendererConfiguration.isUseMediaInfo(RendererConfiguration.java:2121)
	at net.pms.configuration.RendererConfiguration.init(RendererConfiguration.java:1111)
	at net.pms.configuration.RendererConfiguration.<init>(RendererConfiguration.java:975)
	at net.pms.configuration.RendererConfiguration.<init>(RendererConfiguration.java:943)
	at net.pms.configuration.RendererConfiguration.loadRendererConfigurations(RendererConfiguration.java:254)
	at net.pms.PMS.init(PMS.java:568)
	at net.pms.PMS.createInstance(PMS.java:1058)
	at net.pms.PMS.main(PMS.java:1218)
INFO  2018-05-10 06:39:35.344 [main] Make sure you have libmediainfo and libzen installed
which means that MediaInfo is not correctly installed so all video is going to be transcoded. That is why the video is working on the TV.

In your not working log I see that the video"Last.Week.Tonight.With.John.Oliver.S05E10.HDTV.x264-UAV.mkv" is correctly parsed as supported and streamed to the TV. If TV says that the video format is not playable than that there is something wrong in the line

Code: Select all

f:mkv       v:divx|h264|mjpeg|mp4|mpeg1|mpeg2|vp6|wmv   a:aac-lc|he-aac|ac3|eac3|lpcm|mp3|wma   m:video/x-matroska
which means that there is set a format either video or audio which is not supported by your TV for this particular video. It would be nice to see the MediaInfo output for this video.
paulv
Posts: 6
Joined: Wed May 09, 2018 1:21 pm

Re: File Not Playable Error

Post by paulv »

Here's the mediainfo output for that file.
Attachments
mediainfo.txt
(3.69 KiB) Downloaded 590 times
Post Reply