bmoses 9 Posted August 30, 2017 Author Posted August 30, 2017 What version of Android are the Nexus players running? The Nexus players, they are wireless only, right? Are they 2.4Ghz only or 2.4/5Ghz? i'm on the beta, version 1.4.45g. yeah they are wireless but work on 5Ghz which they are connected too and are each only about 15-20 feet from the router. my other tests i ran to the other devices were over the same 5Ghz wireless router too.
bmoses 9 Posted August 31, 2017 Author Posted August 31, 2017 @@ebr i sent a couple of logs from the nexus player. The first one i was testing to send you logs and emby locked up and had to be force closed while playing guardians vol 2. the second set i let the same movie play for a few seconds after it started becoming choppy and then stopped playback and sent you the logs. hoping they give some insight as to why the nexus player isn't handling NVENC transcoding properly. If you need anything else from me let me know please.
Luke 42078 Posted August 31, 2017 Posted August 31, 2017 @@ebr i sent a couple of logs from the nexus player. The first one i was testing to send you logs and emby locked up and had to be force closed while playing guardians vol 2. the second set i let the same movie play for a few seconds after it started becoming choppy and then stopped playback and sent you the logs. hoping they give some insight as to why the nexus player isn't handling NVENC transcoding properly. If you need anything else from me let me know please. And this is all fine with nvenc off?
bmoses 9 Posted August 31, 2017 Author Posted August 31, 2017 And this is all fine with nvenc off? yes, everything plays perfectly when transcoding using the CPU instead of the GPU.
Waldonnis 148 Posted September 1, 2017 Posted September 1, 2017 I wonder if it's because h264_nvenc defaults to 1 reference frame and otherwise all P frames. I know some players have issues with 1 refframe, but don't remember if the NP was one of them. There are a few undocumented-outside-of-the-code options for h264_nvenc, including some to force a reference frame and B-frame counts (-refs and -bf respectively). I can offer up a modified command line to try out manually if you want to check to see if it would make a difference in playback. 1
Jennice 19 Posted September 1, 2017 Posted September 1, 2017 I, too, have issues (stutter, frame drops) using my GTX970 to transcode. When using SW transcode on i7-3770k, no stutter. When using nvidia, the stutter appears at fixed interval (where the CPU use rises at the same instant). I'm new to transcoding, so it's a plain Emby install and standard ffMpeg install (with emby). Nothing custom/modded. Jennice
ebr 16176 Posted September 1, 2017 Posted September 1, 2017 @@ebr i sent a couple of logs from the nexus player. The first one i was testing to send you logs and emby locked up and had to be force closed while playing guardians vol 2. the second set i let the same movie play for a few seconds after it started becoming choppy and then stopped playback and sent you the logs. hoping they give some insight as to why the nexus player isn't handling NVENC transcoding properly. If you need anything else from me let me know please. Reproduce your problem and then use this button to send the log. Then add the following information to your report in the forum: Exactly what you were doing and what happened. Include the name of whatever you played if it is a playback problem The time you sent the log The name of the Emby user on the local server that was logged in at the time If you can give me a little more info (especially time and user), I can find the log. Thanks.
bmoses 9 Posted September 1, 2017 Author Posted September 1, 2017 (edited) If you can give me a little more info (especially time and user), I can find the log. Thanks. username was "Moses" and the log was sent between 4:45 and 5pm CST yesterday. i turned on NVENC transcoding, started guardians vol 2, had choppy playback once it got to the "marvel" screen and then it locked up emby and i had to force close it. thats when i sent the first log. after i got back in emby i started guardians vol 2 again, choppy playback started right after the "marvel" screen, i let it play for a few more seconds and then stopped playback and sent a 2nd log. Edited September 1, 2017 by bmoses
bmoses 9 Posted September 1, 2017 Author Posted September 1, 2017 I wonder if it's because h264_nvenc defaults to 1 reference frame and otherwise all P frames. I know some players have issues with 1 refframe, but don't remember if the NP was one of them. There are a few undocumented-outside-of-the-code options for h264_nvenc, including some to force a reference frame and B-frame counts (-refs and -bf respectively). I can offer up a modified command line to try out manually if you want to check to see if it would make a difference in playback. i can test this out, let me know what i would need to do, thanks!
ebr 16176 Posted September 1, 2017 Posted September 1, 2017 Thanks for the info. Something about the stream is really throwing the player for a loop - causing an out of memory error: 08-31 16:56:19.655 2512 2597 E LoadTask: OutOfMemory error loading stream 08-31 16:56:19.655 2512 2597 E LoadTask: java.lang.OutOfMemoryError: Failed to allocate a 44 byte allocation with 3808 free bytes and 3KB until OOM 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.util.ParsableByteArray.<init>(ParsableByteArray.java:43) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.extractor.ts.SectionReader.<init>(SectionReader.java:44) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.extractor.ts.TsExtractor$PatReader.consume(TsExtractor.java:359) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.extractor.ts.SectionReader.consume(SectionReader.java:126) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.extractor.ts.TsExtractor.read(TsExtractor.java:297) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.source.hls.HlsMediaChunk.loadMedia(HlsMediaChunk.java:266) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.source.hls.HlsMediaChunk.load(HlsMediaChunk.java:202) 08-31 16:56:19.655 2512 2597 E LoadTask: at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:315)
Jennice 19 Posted September 5, 2017 Posted September 5, 2017 I am using the web player when I get the stutter / dropped frames using my nvidia to encode. I haven't tried using a mobile device. The web player (firefox) is on the same Win10 x64 pc as the server program. I will try to attach a log file when I have time to reproduce.
pir8radio 1312 Posted January 14, 2018 Posted January 14, 2018 can ffmpeg and/or emby utilize more than one nvidia GPU? For example, i wanted to rebuild my server using one of the asus bitcoin miner boards and load it up with GPU's. Then when my server isn't transcoding it could be mining ETH lol... http://www.techradar.com/news/best-mining-motherboards
Luke 42078 Posted February 26, 2018 Posted February 26, 2018 The beta server has some nice improvements for NVENC transcoding, for those interested: https://emby.media/community/index.php?/topic/56088-slow-hardware-decode-with-hevc-and-nvidia-p4000/?p=548844 Thanks.
RanmaCanada 495 Posted March 1, 2018 Posted March 1, 2018 can ffmpeg and/or emby utilize more than one nvidia GPU? For example, i wanted to rebuild my server using one of the asus bitcoin miner boards and load it up with GPU's. Then when my server isn't transcoding it could be mining ETH lol... http://www.techradar.com/news/best-mining-motherboards Consumer grade cards are limited to 2 streams per system no matter the number of cards. If you want to do more you need to purchase a special license from Nvidia, or upgrade to Quadros. $$$
Luke 42078 Posted March 30, 2018 Posted March 30, 2018 The next release of Emby Server for Linux x64 will include NVENC support out of the box so all you need to do is enable it. Nvidia Cuda and OpenCL drivers will need to be installed first. These cannot be freely distributed by us so you will need to refer to your respective distro to learn how to install them. Thanks !
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