Disturbd1 2 Posted February 22, 2019 Posted February 22, 2019 As I foray into 4k, I've noticed that my designated media server can't seem to play back this content, locally. I have not even bothered to try streaming to other devices yet. Specs for the server I use are as follows: •AMD A10 7870K 3.9GHz •Intel SSD (I believe 530 series) •Multiple WD Black or Red series HDDs •16gb RAM •Windows 10 x64 I assumed this was adequate for 4k playback locally, and even for streaming it locally. What I'm finding is that I get anywhere from 10-30 seconds worth of playback before it has to buffer/catch up. This occurs in either Emby Theatre or in Kodi. The TV I tested on is not 4k, it is 1080p. Is that the reason why? Is Emby not able to do whatever transcoding or resizing is needed to play these files back, downsized to 1080 in resolution? It just doesn't seem likely that my hardware couldn't handle it, but that is why I'm here in hopes of suggestion. Sent from my SM-N960U using Tapatalk
Guest asrequested Posted February 22, 2019 Posted February 22, 2019 Assuming it's not transcoding or remuxing, the player would have to downscale to 1080. Is it HDR, SDR, 10bit, 8bit....??? What version of Theater are you using?
Disturbd1 2 Posted March 1, 2019 Author Posted March 1, 2019 Assuming it's not transcoding or remuxing, the player would have to downscale to 1080. Is it HDR, SDR, 10bit, 8bit....??? What version of Theater are you using?I don't know whether it's transcoding or remuxing, but I've tried in both Kodi and Emby Theater. These are the file details, I'm not sure what I'm looking at or where to locate the info you're referring to, please forgive my ignorance in that regard: General Format : Matroska Format version : Version 4 / Version 2 File size : 30.1 GiB Duration : 1 h 49 min Overall bit rate mode : Variable Overall bit rate : 39.3 Mb/s Movie name : Encoded date : UTC 2019-02-12 05:53:13 Writing application : mkvmerge v30.1.0 ('Forever And More') 64-bit Writing library : libebml v1.3.6 + libmatroska v1.4.9 Cover : Yes Attachments : small_cover.jpg / small_cover_land.jpg / cover.jpg / cover_land.jpg Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High Codec ID : V_MPEGH/ISO/HEVC Duration : 1 h 49 min Bit rate : 29.7 Mb/s Width : 3 840 pixels Height : 1 600 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 (Type 2) Bit depth : 10 bits Bits/(Pixel*Frame) : 0.202 Stream size : 22.8 GiB (76%) Title : Writing library : x265 3.0_RC+13-ae085e5cd8a2:[Windows][GCC 8.2.1][64 bit] 10bit Encoding settings : cpuid=1111039 / frame-threads=16 / numa-pools=24,24,24,24 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=3840x1600 / interlace=0 / total-frames=0 / level-idc=51 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / repeat-headers / annexb / aud / hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=1 / keyint=24 / 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 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / no-limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / no-sao / no-sao-non-deblock / rd=3 / 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=0.00 / no-rd-refine / no-lossless / cbqpoffs=0 / crqpoffs=0 / rc=crf / crf=16.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=1 / 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=1 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=1 / chromaloc-top=2 / chromaloc-bottom=2 / display-window=0 / master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,01) / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / no-aq-motion / hdr / 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 / qp-adaptation-range=1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : SMPTE ST 2084 Matrix coefficients : BT.2020 non-constant Mastering display color primar : R: x=0.680000 y=0.320000, G: x=0.265000 y=0.690000, B: x=0.150000 y=0.060000, White point: x=0.312700 y=0.329000 Mastering display luminance : min: 0.0001 cd/m2, max: 1000.0000 cd/m2 Audio #1 ID : 2 Format : TrueHD Format profile : TrueHD+Atmos / TrueHD Codec ID : A_TRUEHD Duration : 1 h 49 min Bit rate mode : Variable Bit rate : 4 723 kb/s Maximum bit rate : 8 355 kb/s Channel(s) : Object Based / 8 channels Channel positions : Object Based / Front: L C R, Side: L R, Back: L R, LFE Sampling rate : / 48.0 kHz Frame rate : 1 200.000 FPS (40 SPF) Compression mode : Lossless Delay relative to video : 33 ms Stream size : 3.62 GiB (12%) Title : Language : English Default : Yes Forced : No Sent from my SM-N960U using Tapatalk
Luke 42077 Posted March 1, 2019 Posted March 1, 2019 Please attach the emby server log from the playback attempt. thanks !
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Please attach the emby server log from the playback attempt. thanks ! OK, finally got around to A) Locating the log files (it's been a long time since I needed to grab them) and Initiated a fresh playback of a 4k file from my media server PC. Bear in mind that this PC is connected to a 1080p TV, and uses onboard HD video. Playback is primarily through Emby Theater, though I have also tried via Kodi. Additionally, when streaming from the same server to, say, my Chromecast HD in another room (in 4k) it works flawlessly. So I do suspect something about transcoding, I'm simply not savvy enough with the "ideal" Emby setup to know where I'm going wrong. Much obliged if you can point me in the right direction here. embyserver.txt
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 If your Chromecast is playing ok, then the server is fine. I have a feeling you're using the store app. Try the desktop app. https://emby.media/emby-theater.html
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 (edited) Actually, it appears you are using the desktop app. So lets look at that. Play one of these movies and take a screenshot of the stats. You can pull them up by either pressing ctrl+j or use the gear icon in the overlay. Edited May 12, 2019 by Doofus
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 And there's our answer. No hardware acceleration. What are your video settings? And what GPU do you have?
speechles 2055 Posted May 12, 2019 Posted May 12, 2019 Hardware Acceleration requires premiere. Not just a supported card. Lets not forget that part. ^_~
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Hardware Acceleration requires premiere. Not just a supported card. Lets not forget that part. ^_~ He wouldn't be able to use Theater desktop without premiere. Or are you thinking about the server when transcoding? That's not what's happening, here. He's direct playing, but mpv isn't enabling hwdec.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 And there's our answer. No hardware acceleration. What are your video settings? And what GPU do you have?Video is onboard video, which is part of an AMD A10 7870k Radeon R7. So, graphics are R7 series. Not sure what you mean regarding video settings. If you can tell me where to pull the info from I can do that.
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 (edited) Not sure what you mean regarding video settings. If you can tell me where to pull the info from I can do that. Top right corner, click on the user icon, then settings > video Edited May 12, 2019 by Doofus
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Top right corner, click on the user icon, then settings > video Here you go:
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Ok, first, do you have the latest driver? https://www.amd.com/en/support Second, try selecting D3D (Windows 8+)
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 And after a quick bit of research, you may need to use copyback. So try Auto (copyback) and/or D3D (copyback)
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Latest driver installed as of this morning. Tried all 3 suggestions for hardware acceleration mode, none worked to improve. Of the 3, D3D copy back seemed the best, but the framerate is still awful. [emoji17]
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 I'm reading that there are issues with Radeon. So I want to run some tests with you. You have time?
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 I'm reading that there are issues with Radeon. So I want to run some tests with you. You have time?Absolutely. I appreciate your help! If it's easier, you can PM me.
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 I'm attaching a preconfigured build of mpv. Unzip the folder, anywhere. In the folder you'll see mpv.exe, double click on it, then drag 'n' drop your movie on it. It will play, automatically. To pull up the stats, press shift+i. If you can screenshot that, I'd be grateful. Also, a log file will be created in the movie folder.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 I'm attaching a preconfigured build of mpv. Unzip the folder, anywhere. In the folder you'll see mpv.exe, double click on it, then drag 'n' drop your movie on it. It will play, automatically. To pull up the stats, press shift+i. If you can screenshot that, I'd be grateful. Also, a log file will be created in the movie folder. Definitely an improvement:
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Definitely an improvement: But no hwdec. In that folder, you'll see another folder called 'portable_config'. In there you'll a text file call mpv.conf. Open that, and change the line 'gpu-api=opengl' to 'gpu-api=auto' , and try again.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 But no hwdec. In that folder, you'll see another folder called 'portable_config'. In there you'll a text file call mpv.conf. Open that, and change the line 'gpu-api=opengl' to 'gpu-api=auto' , and try again. That appears to have degraded the framerate again, playback is about as "choppy" now as when played via Emby Theater client:
Guest asrequested Posted May 12, 2019 Posted May 12, 2019 Can you attach the log? It's called mpv log.txt, and it should be in the movie folder.
Disturbd1 2 Posted May 12, 2019 Author Posted May 12, 2019 Can you attach the log? It's called mpv log.txt, and it should be in the movie folder. Attached mpv log.txt
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