Jump to content

Directplay over local network, how?


Recommended Posts

Posted

Hi all, sorry to ask but I'm stuck again.

 

I'm a noob so apologies in advance for lack know how.

 

I have emby server running on my pc. I have disabled remote access as I only want family to access when on local network wi-fi/lan.

 

The issue I am having is. I have setup the libraries with content. However 1080p content transcoded and hammers my CPU. I have tried to setup sharing so emby on mobile device can access the media content and play directly through local network. Would this stop transcoding ?

 

Seeing how I only want family to access through local network would it be a smart move sharing media over network and adding the share path to library location?

 

Thanks in advance

Rob

FrostByte
Posted

Most of the time things transcode because the client doesn't support the video, audio, subtitle, etc formats of the file being played so Emby has to convert it to a format the client can read.  Could also be speed of network, etc.  If you are having transcoding problems, best to post server and ffmpeg logs so others can see

Posted

Hi, yes can we look at an example?

 

Out of the box emby will already direct play whenever possible.

Posted

Thanks for the kind replies initially emby wanted to transcode everything I tried to run. Having played around. The machine emby server is running on may not be powerful enough with a 2.4ghz processor 6gb ram and a geforce 8300gs 128mb graphics card. Could also be local network speed is too slow as nerd stats show a 1080p movie such as pirates of the Carribbean the bitrate is too high and falls back to transcoding to 720p. Having converted the file in handbrake it plays fine with no issues and direct plays. As it is at the moment I'm just getting used to how things work and really liking emby (Plex I find really hard to navigate and the stupid metadata setup! Emby I find a lot easier!

At the moment I'm just converting 1080p stuff to 720 in handbrake I'm happy with that. Quality is more than fine. I'll possibly come back to this 1080p issue when I have a better machine perhaps.

 

One question I do have as my wife pointed out is we have family videos etc on emby media server library. Having a wpa wpa2/psk router password. Having setup homegroup and have dlna enabled in emby server with remote access disabled. Who can connect to our media and videos etc? Just those connected to local network either via WiFi devices or Lan?

Thanks

Rob

Posted

Aside from dlna devices on your network the only people who can connect are those you have granted access to with a username and password.

Posted

Thanks Luke. Do you refer to usernames and password I have created n emby for other users?

 

Thanks again

Rob

Posted

Yes exactly.

rbjtech
Posted (edited)

Thanks for the kind replies initially emby wanted to transcode everything I tried to run. Having played around. The machine emby server is running on may not be powerful enough with a 2.4ghz processor 6gb ram and a geforce 8300gs 128mb graphics card. Could also be local network speed is too slow as nerd stats show a 1080p movie such as pirates of the Carribbean the bitrate is too high and falls back to transcoding to 720p. Having converted the file in handbrake it plays fine with no issues and direct plays. As it is at the moment I'm just getting used to how things work and really liking emby (Plex I find really hard to navigate and the stupid metadata setup! Emby I find a lot easier!

At the moment I'm just converting 1080p stuff to 720 in handbrake I'm happy with that. Quality is more than fine. I'll possibly come back to this 1080p issue when I have a better machine perhaps.

 

One question I do have as my wife pointed out is we have family videos etc on emby media server library. Having a wpa wpa2/psk router password. Having setup homegroup and have dlna enabled in emby server with remote access disabled. Who can connect to our media and videos etc? Just those connected to local network either via WiFi devices or Lan?

Thanks

Rob

 

There should be no need to downsize the videos at all - unless you have very poor wifi - local networking speeds (even the old wired 100Mbit or 54Mbit Wifi) should be enough for local playing, unless you have some full bitrate 1080p files (with 30-40 Mbit bitrate / 30-50 Gb files per movie).

 

Your machine is plenty powerful enough to direct stream/play content - it is probably the client (the end device, FireTv stick or whatever) and/or the network connecting them to your emby server that is likely causing the issues here.

Edited by rbjtech
FrostByte
Posted

Logs would help

Posted

Here's the video file, anything that is 1080p transcoded so it isn't just this file but as an example.

 

General

Unique ID : 312488101056264981609272692420352119864 (0xEB1704E45215AE8F48F2FB4B180B9438)

Complete name : D:\movies\Pirates.of.the.Caribbean.Dead.Men.Tell.No.Tales.2017.1080p\Pirates.of.the.Caribbean.Dead.Men.Tell.No.Tales.2017.1080p.mkv

Format : Matroska

Format version : Version 4

File size : 3.98 GiB

Duration : 2 h 9 min

Overall bit rate : 4 414 kb/s

Encoded date : UTC 2019-07-30 09:47:05

Writing application : mkvmerge v35.0.0 (‘All The Love In The World’) 64-bit

Writing library : libebml v1.3.9 + libmatroska v1.5.2

 

Video

ID : 1

Format : HEVC

Format/Info : High Efficiency Video Coding

Format profile : Main 10@L4@Main

HDR format : SMPTE ST 2086, HDR10 compatible

Codec ID : V_MPEGH/ISO/HEVC

Duration : 2 h 9 min

Bit rate : 3 745 kb/s

Width : 1 920 pixels

Height : 800 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.102

Stream size : 3.38 GiB (85%)

Writing library : x265 3.1+5-9c5c9cef2a86:[Windows][GCC 9.1.0][64 bit] 10bit

Encoding settings : cpuid=1111039 / frame-threads=4 / numa-pools=16 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x800 / interlace=0 / total-frames=185724 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=4 / no-allow-non-conformance / repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=25 / lookahead-slices=4 / scenecut=40 / radl=0 / no-splice / no-intra-refresh / ctu=64 / min-cu-size=8 / rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=3 / limit-refs=3 / limit-modes / me=3 / subme=3 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=4 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / no-cu-lossless / no-b-intra / no-splitrd-skip / rdpenalty=0 / psy-rd=2.00 / psy-rdoq=1.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=20.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / no-const-vbv / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,50)cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / no-limit-sao / ctu-info=0 / no-lowpass-dct / refine-analysis-type=0 / copy-pic=1 / max-ausize-factor=1.0 / no-dynamic-refine / no-single-sei / no-hevc-aq / no-svt / no-field / qp-adaptation-range=1.00

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.0050 cd/m2, max: 1000 cd/m2

 

Audio

ID : 2

Format : AC-3

Format/Info : Audio Coding 3

Commercial name : Dolby Digital

Codec ID : A_AC3

Duration : 2 h 9 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)

Compression mode : Lossy

Stream size : 591 MiB (15%)

Language : English

Service kind : Complete Main

Default : No

 

It could well be our local network isn't fast enough as we have a sky sr102 router which doesn't have gigabit Ethernet ports and the devices we use like phones, firestick, tablets are all 1080p capable. Using a cat5e Lan capable, other devices like phones etc use the wifi

rbjtech
Posted

.. so 4.4 Mbit is very low and your 100Mbit wired Ethernet is more than capable of playing that without issue.  Not even that sky routers wireless throughput can be THAT bad  :P  - so I think the issue is simply your devices are not compatible with hevc/h.265 and/or profile and/or bit depth.

 

When you are converting them - are you converting to h264 (avc) or h265 (hevc) ?

 

To note - I still use h264 for everything 1080p and below for this very reason, only my 4K media is hevc - imho (many would disagree), the codec is just not mature and widespread enough to consider it a 'standard' and this is the result. 

 

Logs would confirm exactly why it needed to transcode..  ;)

Posted

okay, had another rethink and checked the network share paths and found the path wasn't their for the library. having gone through each network path and added these to the libraryies, I have now found I can play "almost any 1080p" title without issue and direct plays as shown in stats for nerds :) happy days, however the pirates of the caribean goes back to transcoding and states the reason as : video profile not supported - so yes, the devices we intend to play this title on, may not support the depth etc. thanks for your helps guys! this is much appreciated :)

 

i arent sure what the difference is between one 1080 title and another but ill look into it and if it just means more reason titles may need converting to something else i aren't sure but i need to do my homework on this. 

 

thanks again

rob

rbjtech
Posted

 

i arent sure what the difference is between one 1080 title and another but ill look into it and if it just means more reason titles may need converting to something else i aren't sure but i need to do my homework on this. 

 

 

..welcome to the world of digital media ! 

 

The '1080' bit is just one aspect (the vertical height of the Full HD resolution) but there are literally thousands of different ways a '1080' title can be created - which is why Emby does such a brilliant job of trying to match the source media file with the player, transcoding really is the last resort.

Posted

Did you explore the stats feature in the video player to learn why it was transcoding?

Posted

I'll upload log as soon as I get chance, it's the different h.. codec stuff I need to get my head around.

I've used nerd stats and it will play direct for most 1080p stuff now thankfully. Pirates of the Carribbean for example that is 1080p I posted the media info stats earlier in this thread. That transcoded and doesn't direct play nerd stats show transcode reason : video profile not supported. I get this on all devices including firestick but the same devices will play other 1080p stuff directly without transcoding so may just be certain codecs aren't supported on our devices.

rbjtech
Posted

I'll upload log as soon as I get chance, it's the different h.. codec stuff I need to get my head around.

I've used nerd stats and it will play direct for most 1080p stuff now thankfully. Pirates of the Carribbean for example that is 1080p I posted the media info stats earlier in this thread. That transcoded and doesn't direct play nerd stats show transcode reason : video profile not supported. I get this on all devices including firestick but the same devices will play other 1080p stuff directly without transcoding so may just be certain codecs aren't supported on our devices.

 

If 4K firesticks, then they should play HEVC Main 10, if the 2nd Gen firesticks, then they only play 8-bit HEVC (Main) so that is why it is transcoding. (and probably looks awful with no colour, but that's another discussion entirely ..!)

Posted

That transcoded and doesn't direct play nerd stats show transcode reason : video profile not supported

 

Does this answer your question about why it is transcoding? A couple options would be:

  • Try the Emby convert media feature to convert the media to a compatible format prior to playback
  • Play on another device that supports the media without transcoding

Does this help?

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