shawnf 8 Posted July 28, 2021 Share Posted July 28, 2021 Hi I am trying to get my LG C1 to play video's via DLNA from my Emby server while we wait for the app to be approved. I think I have managed to work out that Emby is telling the TV that the file is not compatible with it. The file will play fine when I put it into a video library and I use the TV to go to there to play it. I have tried to modify the DLNA profile for LG Smart TV to add h265 to the video codec and removed dts from the audio codec. I am not sure if Emby is using that profile or how to make it use it. I could really find an identifier in the profile to point to the TV. I looked in the support sections under DLNA but there is nothing on the 2 pages that were there. 2021-07-28 18:26:37.035 Error Server: Access token is invalid or expired. 2021-07-28 18:26:37.035 Info Server: http/1.1 Response 401 to 192.168.1.36. Time: 1ms. http://192.168.1.139:8096/videos/144198/stream.ts?DeviceProfileId=3f85ca6ef8dae95d1f9b23e31f2f1fd4&DeviceId=abbb9f85e541c0777b538538570ab777&MediaSourceId=e838d431838c7c5c6fe008fe8d6bf851&PlaySessionId=bb07772cd9fefe3d78442a632e43964a&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=139616000&AudioBitrate=384000&MaxWidth=1920&MaxHeight=1080&AudioStreamIndex=1&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&TranscodeReasons=VideoCodecNotSupported Thanks embyserver.txt Link to comment Share on other sites More sharing options...
Luke 37063 Posted July 28, 2021 Share Posted July 28, 2021 Hi, try adding hevc. Link to comment Share on other sites More sharing options...
shawnf 8 Posted July 28, 2021 Author Share Posted July 28, 2021 Hi Luke, That didn't help.embyserver.txt Why I was asking that I didn't think emby was using the LG DLNA profile is because I now have the 3 codec's listed, h264, h265, hevc in the profile What was in the logs only mentioned h264, so to me it looks like it is looking at a different profile to verify against, as I thought I would see the 3 codec's above in the log file for the device? Info Server: http/1.1 Response 401 to 192.168.1.36. Time: 1ms. http://192.168.1.139:8096/videos/213483/stream.ts?DeviceProfileId=3f85ca6ef8dae95d1f9b23e31f2f1fd4&DeviceId=abbb9f85e541c0777b538538570ab777&MediaSourceId=5b3fd163ebaf84292a8e3e60b7d22640&PlaySessionId=3bedcf9ac14ad16ff51a1ea414745e0f&VideoCodec=h264&AudioCodec=ac3,aac,mp3&VideoBitrate=139616000&AudioBitrate=384000&MaxWidth=1920&MaxHeight=1080&AudioStreamIndex=1&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&TranscodeReasons=VideoCodecNotSupported,AudioCodecNotSupported Link to comment Share on other sites More sharing options...
Luke 37063 Posted July 28, 2021 Share Posted July 28, 2021 That's just the transcoding codec being used if direct play is not supported. Link to comment Share on other sites More sharing options...
Luke 37063 Posted July 28, 2021 Share Posted July 28, 2021 Does your network have multiple subnets? If you look at the server log you'll see numerous 401 response errors. You're running into the same problem as this user here: It is actually a defect in the server, but only happens in rare situations. The server is erroneously rejecting the stream based on network conditions. If you don't use mulitple subnets, you might be having the same problem but for a different reason. Your network settings in Emby Server might be configured in such a way that the ip address of your LG appears to be outside of your local network. Link to comment Share on other sites More sharing options...
shawnf 8 Posted July 28, 2021 Author Share Posted July 28, 2021 I am not aware of using multiple subnets. I did read that one and looked in the log at the IP address, to make sure they were all 192.168.x Those multiple 401 responses are for the same IP address of the TV, and they are just me trying different files. What I know I can do is view pictures from the LG TV which is from Emby DLNA. I might try and re-install the server, as network configuration isn't something I am very familiar with. Port forwarding and opening ports is about my limit Emby network settings are attached. I just tried a whole lot of other file types, avi a h.264 MKV, a mpeg and they all failed so it must be something with the network Link to comment Share on other sites More sharing options...
Solution Luke 37063 Posted July 29, 2021 Solution Share Posted July 29, 2021 Your lan networks setting is what's causing this. Did you read the help text underneath that? The way you configured it means any ip address other than that will be considered outside your local network. These are advanced options that are best left at defaults unless you have a specific reason to change them. Link to comment Share on other sites More sharing options...
shawnf 8 Posted July 29, 2021 Author Share Posted July 29, 2021 Thanks Luke. I have just got it working, as it was that field I had the IP address of the server in it, when it should be blank. You bet me to it with your reply. Link to comment Share on other sites More sharing options...
Luke 37063 Posted July 29, 2021 Share Posted July 29, 2021 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now