macv 2 Posted April 6, 2019 Share Posted April 6, 2019 (edited) Emby server on Win10 -> Roku TV 2018 (4K HDR) Wondering why the playback needed to be transcoded? My aging PC can't keep up Emby has been able to send similar sized 4K files without transcoding. Format : Matroska Format version : Version 4 File size : 16.5 GiB Duration : 1 h 56 min Overall bit rate mode : Variable Overall bit rate : 20.2 Mb/s Encoded date : UTC 2019-03-21 22:42:56 Writing application : mkvmerge v32.0.0 ('Astral Progressions') 64-bit Writing library : libebml v1.3.7 + libmatroska v1.5.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Commercial name : HDR10 Format profile : Main 10@L5.1@High Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 56 min Bit rate : 15.5 Mb/s Width : 3 840 pixels Height : 1 608 pixels Display aspect ratio : 2.40:1 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.105 Stream size : 12.6 GiB (77%) Language : English Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : Display P3 Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2 Maximum Content Light Level : 2111 cd/m2 Maximum Frame-Average Light Level : 161 cd/m2 Audio #1 ID : 2 Format : DTS XLL Format/Info : Digital Theater Systems Commercial name : DTS-HD Master Audio Codec ID : A_DTS Duration : 1 h 56 min Bit rate mode : Variable Bit rate : 3 356 kb/s Channel(s) : 6 channels Channel layout : C L R Ls Rs LFE Sampling rate : 48.0 kHz Frame rate : 93.750 FPS (512 SPF) Bit depth : 24 bits Compression mode : Lossless Stream size : 2.73 GiB (17%) Language : English Default : Yes Forced : No Audio #2 ID : 3 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 1 h 56 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 533 MiB (3%) Language : French Service kind : Complete Main Default : No Forced : No Audio #3 ID : 4 Format : AC-3 Format/Info : Audio Coding 3 Commercial name : Dolby Digital Codec ID : A_AC3 Duration : 1 h 56 min Bit rate mode : Constant Bit rate : 640 kb/s Channel(s) : 6 channels Channel layout : L R C LFE Ls Rs Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 SPF) Bit depth : 16 bits Compression mode : Lossy Stream size : 533 MiB (3%) Language : Spanish Service kind : Complete Main Default : No Forced : No Text #1 ID : 5 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 47 min Bit rate : 38.6 kb/s Count of elements : 3402 Stream size : 29.6 MiB (0%) Language : English Default : Yes Forced : No Text #2 ID : 6 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 24.2 kb/s Count of elements : 2818 Stream size : 20.0 MiB (0%) Language : French Default : No Forced : No Text #3 ID : 7 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 27.7 kb/s Count of elements : 3034 Stream size : 22.9 MiB (0%) Language : Chinese Default : No Forced : No Text #4 ID : 8 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 22.2 kb/s Count of elements : 3112 Stream size : 18.3 MiB (0%) Language : Korean Default : No Forced : No Text #5 ID : 9 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 28.2 kb/s Count of elements : 2924 Stream size : 23.3 MiB (0%) Language : Spanish Default : No Forced : No Text #6 ID : 10 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 17.7 kb/s Count of elements : 3116 Stream size : 14.6 MiB (0%) Language : Arabic Default : No Forced : No Text #7 ID : 11 Format : PGS Muxing mode : zlib Codec ID : S_HDMV/PGS Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs Duration : 1 h 55 min Bit rate : 1 384 b/s Count of elements : 142 Stream size : 1.14 MiB (0%) Language : French Default : No Forced : No Edited April 6, 2019 by macv Link to comment Share on other sites More sharing options...
speechles 1917 Posted April 6, 2019 Share Posted April 6, 2019 (edited) You can use the stats for nerds of the Roku app to see why it is transcoding. Have you tried to enable the stats for nerds? Did you know these existed on the Roku app? We need to let users know they can do this and explain how which is why I used the pictures above to illustrate. The icon below on the OSD now looks like a cog/gear. It no longer looks like the 3-sliders in my image above. Those are older screen shots. It probably is because your Roku TV does not support DTS audio. The DTS stream is marked as default. This likely is why. It could also be the PGS subtitles are being burned in as defaul too. The stats for nerds transcoding reason will tell you why. Choose the change audio button on the OSD it looks like a speaker with sound waves coming out. Click that and change to one of the Dolby/AC3 audio streams with the selector. You can change the same with subtitles with its button(looks like a box with a little triangle on one corner) and change the selector to Off (None) for no subtitles. This should/may stop the transcoding entirely. Edited April 6, 2019 by speechles Link to comment Share on other sites More sharing options...
macv 2 Posted April 6, 2019 Author Share Posted April 6, 2019 Did not know about nerd stats. I tried it with subs on and off. Link to comment Share on other sites More sharing options...
macv 2 Posted April 6, 2019 Author Share Posted April 6, 2019 No idea how subtitles work; is it dependent on Roku to support subtitles? Such a shame if it's transcoding all because of some text. Link to comment Share on other sites More sharing options...
Luke 37009 Posted April 6, 2019 Share Posted April 6, 2019 PGS subtitles are actually not text. They are image-based subtitles which Roku does not support. So as long as the subtitles are enabled, they'll need to be burned in with transcoding. Please note, both the server dashboard and the stats feature in the Roku video player can tell you why video is transcoding, if that is occurring. Please let us know if this helps. Thanks. Link to comment Share on other sites More sharing options...
speechles 1917 Posted April 6, 2019 Share Posted April 6, 2019 (edited) No idea how subtitles work; is it dependent on Roku to support subtitles? Such a shame if it's transcoding all because of some text. You can turn the subtitles off before playback with the subtitle selector on the detail screen.. or.. do it within the Video Player OSD. Your media, your way. Pick whichever way you want. The Roku as Luke mentioned cannot support Presentation Graphic Stream subtitles. These want to intermix with the video stream as they are rendered. The Roku does not allow developers access to the Video Player at this low of a level. We cannot "inject" these into the video stream. To do this the server must transcode the video to present them to the Roku with these PGS subtitles already "burned" into the video. This is different than players than can inject/overlay these into/onto the Video stream/layer. The Roku is not one of these players. Roku DVP is not capable of rendering PGS subtitles. You can have Emby server download SRT style subtitles for your media. These will be external files that go with your media. The Roku can play these back without transcoding. These can be embedded by the server and sent with the original video file as they are streamed. This does not incur a transcoding penalty and is fast to start playing not much pre-buffering required. A full transcode "burn in" of subtitles suffers a substantial initial wait as the pre-buffering is greater as encoding PGS subtitles comes with a high cost cpu %-wise and comes with a low FPS. It's best to always avoid these unless it is not possible. For anime burning subtitles lets you see these as the subbing group intended and the only way to view these on Roku is to burn them in. You can view them as pure text but that ruins the effect the subbing group intended by packaging their release. You basically strip that subbing groups identity without PGS/SSA/ASS subtitles used and burning them in on Roku. Edited April 6, 2019 by speechles Link to comment Share on other sites More sharing options...
macv 2 Posted April 6, 2019 Author Share Posted April 6, 2019 Thanks folks, very helpful. I didn't know about the sub download feature so I was using a phone app to play subtitles on my phone. I tried searching for some subs on a couple of popular movies from the Emby media browser but they all say no results found. I tried renaming the file to remove non-movie name descriptions in the file like "2018.UHD.Bluray.2160p...." but it still couldn't find subtitles. Any tips to get that working? Thanks. Link to comment Share on other sites More sharing options...
Luke 37009 Posted April 6, 2019 Share Posted April 6, 2019 Did you configure open subtitles? Link to comment Share on other sites More sharing options...
macv 2 Posted April 7, 2019 Author Share Posted April 7, 2019 Nope, works now after signing up for an account, thanks. Did not know that opensubtitles would want an account just to search lol. Link to comment Share on other sites More sharing options...
macv 2 Posted April 7, 2019 Author Share Posted April 7, 2019 (edited) BTW I see this dropdown menu: Are there plans to add an option to have it avoid/disable PGS (or anything else that would force transcoding)? Edited April 7, 2019 by macv Link to comment Share on other sites More sharing options...
Luke 37009 Posted April 7, 2019 Share Posted April 7, 2019 No because that's not the purpose of that drop down. We can render ASS/SSA directly in the browser without transcoding, but this rendering is not always perfect. The reason why that dropdown exists to allow you to force transcoding if you're willing to accept that in exchange for the better subtitle rendering. 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