Jump to content

Emby transcodes with DLNA on my LG OLEDB7A but not with the Emby app?


Recommended Posts

Posted (edited)

Sometimes I prefer to use DLNA because my LG OLEDB7A shows my DLNA servers as inputs and it's fast and convenient to access and navigate through (the LG Emby app occasionally makes me go to a webpage and login with a pin). I have 2 servers, one using Plex and the other using Emby (and Plex for testing). The media file is a 4K x265 20gb file. I'm streaming locally through a WiFi network.


 


On the server that has both Emby and Plex (I only turn one on at a time), Plex looks very good when I use DLNA. My TV says the video's resolution is 4K. With Emby, the quality is worse and the TV says it's 1080p. This is with Hardware Acceleration at none. With Hardware Acceleration on (Nvidia), the video stutters badly.


 


With the official Emby app on my LG TV, the 4k plays almost as well as Plex over DLNA. Subtitles are off center, skipping through the video is slow but, if left alone, it plays at 4K resolution without hiccups. Why is that? How do I tweak Emby so it produces the same quality as Plex over DLNA?


 


Emby/Plex comp specs: i7 4790K, GTX 1060 3GB, 16GB Ram, SSD on which Plex/Emby are installed, WD Red on which the 4K video is on.


Pure Plex comp specs: i7 5820K, GTX 970 4GB, 16GB Ram, similar HDD setup. (this PC plays all 4K media over DLNA perfectly)


 


I appreciate the help! Also, will the Wiki be updated with more explanation on the hardware acceleration (each option and who it's for), decoding, and encoding? The prompt on the dashboard and wiki still mentions that we should choose Auto if we are unsure about hardware acceleration but Auto is not even an option. The default option is none.


 


Edit


Attached ffmpeg log



2018-12-05 11:46:36.259 Info HttpServer: HTTP GET http://192.168.1.243:8096/videos/c11c9055e3a4de9af493b0bc4c42fb12/stream.ts?DeviceProfileId=5b121523c1996625ea857eb6cb77a145&DeviceId=test&MediaSourceId=c11c9055e3a4de9af493b0bc4c42fb12&VideoCodec=h264&AudioCodec=ac3,aac,mp3&AudioStreamIndex=2&SubtitleStreamIndex=6&VideoBitrate=139360000&AudioBitrate=640000&MaxWidth=1920&MaxHeight=1080&SubtitleMethod=Encode&RequireAvc=false&Tag=b3b9569adf75560f1c81eda9dd804848&h264-level=41&ac3-audiochannels=6&aac-audiochannels=6&mp3-audiochannels=6&TranscodeReasons=SubtitleCodecNotSupported&dlnaheaders=true. Host=192.168.1.243:8096, Connection=close, icy-metadata=1, User-Agent=Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36 WebAppManager
2018-12-05 11:46:36.263 Info App: C:\Users\Samuel\AppData\Roaming\Emby-Server\system\ffmpeg.exe -c:v hevc_cuvid -resize 1920x804 -i file:"D:\StreamServer\Avengers.Infinity.War.2018.Blu-ray.2160p.x265.mkv" -map 0:0 -map 0:2 -codec:v:0 h264_nvenc -force_key_frames "expr:gte(t,n_forced*5)" -filter_complex "[0:6]scale=3840:1608:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay" -pix_fmt yuv420p -preset default -b:v 37757508 -maxrate 37757508 -bufsize 75515016 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -y "C:\Users\Samuel\AppData\Roaming\Emby-Server\programdata\transcoding-temp\31e09528365c94d37a591d8151c1eae1.ts"


ffmpeg log.txt

Edited by precocial
Posted

I posted my ffmpeg log and server log info.

If I am understanding it correctly, the reason Emby transcodes is because of the subtitles?

 

With DLNA on my LG, streaming from Plex or Emby, the streamed video does not have any available subtitles even though the video file itself has embedded subtitles. Although subtitles don't work, Plex doesn't need to transcode the video.

Posted

Hi, I would suggest re-evaluating this with the next release of the server. Thanks.

Posted

Will do.

 

Also, if you can take a look at the subtitle location in the LG Emby app (I provided a screenshot). Throughout the movie, the subtitles are on the left.

And the login requirement every time I start the LG Emby app. It doesn't save login information so every time I use the app, I have to enter the login/pin or server information.

 

Thanks! Keep up the great work!

 

5c082b03ba094_20181205_130232.png

Posted

The subtitles are resolved for the next release of the app. Thanks.

  • 2 weeks later...
Posted (edited)

Hey there,

 

I've been tweaking the DLNA profile for my LG OLED B8 for a while now and it direct plays anything I throw at it.

It's slightly newer than your TV so I can't guarantee you'll see the same results but worth a shot!

I've attached my tweaked profile. Download it to "%AppData%\Roaming\Emby-Server\programdata\config\dlna\user" and restart Emby.

 

All the best.

My LG Smart TV.xml

Edited by lol
  • Like 2
Posted

Hey there,

 

I've been tweaking the DLNA profile for my LG OLED B8 for a while now and it direct plays anything I throw at it.

It's slightly newer than your TV so I can't guarantee you'll see the same results but worth a shot!

I've attached my tweaked profile. Download it to "%AppData%\Roaming\Emby-Server\programdata\config\dlna\user" and restart Emby.

 

All the best.

 

Thanks for this  :) - Just used it for my new LG OLED 65 C8 and it works fantastic - 4K, HDR and subs appear to be work via Emby DLNA.

 

The native LG Emby App is a little too fragile/immature at the moment - so this is definitely a working alternative for those troublesome video files.

 

Regards.

  • 5 months later...
Posted

Hey there,

 

I've been tweaking the DLNA profile for my LG OLED B8 for a while now and it direct plays anything I throw at it.

It's slightly newer than your TV so I can't guarantee you'll see the same results but worth a shot!

I've attached my tweaked profile. Download it to "%AppData%\Roaming\Emby-Server\programdata\config\dlna\user" and restart Emby.

 

All the best.

 

Thank you very much !!!

 

I was looking for a solution since a year for all my 4k HDR MKV with subtitles that I wasn't able to play on Plex/Xplay/Emby native app on my OLED 65B6V and you litteraly saved me !!

 

Thank you very much again, works perfectly ! ;)

  • 2 years later...
Posted

Great !

I tryied plenty of things until I got to this tread (even 3 years later :-))

The right xml file IS the solution.

Not a question of subtitles but max resolution for some video formats.

Many thanks !

Posted
8 hours ago, DanyDado said:

Great !

I tryied plenty of things until I got to this tread (even 3 years later :-))

The right xml file IS the solution.

Not a question of subtitles but max resolution for some video formats.

Many thanks !

PS : since WebOS seems to not support anymore DTS, you won't get sound from your tv for those files.

You can just remove the "dts" from all the containers in the xml file, restart and you'll get audio transcoding to DD. It's not fast to start playing and the stream is not seakable (at least on my hardware) but it's far far better than nothing 🙂

Posted

You can also use our Emby app which will detect this automatically and not require messing with profiles.

Posted
7 hours ago, Luke said:

You can also use our Emby app which will detect this automatically and not require messing with profiles.

Thanks !

I think it's a very promising app. I was even close to buy the premier version.

Unfortunately both the LG and the android versions I tested have some playback bugs while now I can play flowless all the files thru dlna.

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