allee123 0 Posted November 16, 2024 Posted November 16, 2024 Hi, I have hosted emby as docker on my unraid server for an extended period of time. Recently I have upgraded a nvidia RTX 4060 LP card for my server. I followed online instructions to install nvidia-driver, enable runtime parameter in docker, add NVIDIA_DEVICE and CAPABILITIES. Then I tried with handbrake docker to transcode H264 files to H265 with this GPU, and it worked just fine. So I think the path from physical GPU card to being utilized by docker is working. Then when I setup emby hw transcoding, there are a few issues that essentially preventing the full GPU power to be utilized. I enabled hw transcoding, stream a high quality film through local network using edge browser. At first the transcoding is doing fine, the server shows normal usage of decoder and encoder. But as I drag the bar to a later time, the playback pretty much stops. The decoder usage becomes 100% while encoder down to 0%. In the emby console page, the red playback progress bar becomes unsync with green transcode progress bar. If I jump to a later time but with a few play/pause click, there is a chance playback bar would sync with transcode bar, and the transcoded stream continues. However, the transcode may become very unstable. After I jump to different time point for serveral times, the transcode just stops, and stream just shows black display. I tried another *.wmv(VC1) file just to test if anything with the decoder/encoder compatibility issues. If I set transcode to be done by sw, it works fine. If I set transcode to be done by hw, the playback is similiar to the situation above but worse. I am not quite sure what kind of screenshots and logs that may help with the diagnostic. Just let me know and I will reply ASAP. Thanks in advance!
Luke 38811 Posted November 16, 2024 Posted November 16, 2024 @allee123 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks!
allee123 0 Posted November 16, 2024 Author Posted November 16, 2024 (edited) embyserver-11-16-1st.txt Aboveis the log I try to play the video with hw transcoding The behavior is that you can't skip to any time point you want. The transcoding seems to function but no good. Above is when the transcoding should work Above is transcode screen shot shown in the Dashboard Above is the docker build By the way, when I tested the H265 HW transcoding, it just works for some reason I don't know. Skipping is totally fine. So now I am suspecting is the VC1 coding the reason? Edited November 16, 2024 by allee123
allee123 0 Posted November 20, 2024 Author Posted November 20, 2024 On 11/16/2024 at 10:28 AM, Luke said: @allee123 Hi there, let's look at an example. Please attach the information requested in how to report a media playback issue. Thanks! On 11/16/2024 at 2:15 PM, allee123 said: embyserver-11-16-1st.txt 205.4 kB · 0 downloads Aboveis the log I try to play the video with hw transcoding The behavior is that you can't skip to any time point you want. The transcoding seems to function but no good. Above is when the transcoding should work Above is transcode screen shot shown in the Dashboard Above is the docker build By the way, when I tested the H265 HW transcoding, it just works for some reason I don't know. Skipping is totally fine. So now I am suspecting is the VC1 coding the reason? hello? Is there enough infomation to diagnose the problem?
Luke 38811 Posted November 21, 2024 Posted November 21, 2024 HI, please attach the ffmpeg log file as well. thanks.
allee123 0 Posted November 24, 2024 Author Posted November 24, 2024 On 11/21/2024 at 1:18 PM, Luke said: HI, please attach the ffmpeg log file as well. thanks. The ffmpeg log is attached.ffmpeg-transcode-d0dccaa4-759b-412c-b5e2-05f6391f7e54_1.txt When I tried to jump to a random time, the playback just stopped.
Luke 38811 Posted January 2 Posted January 2 On 11/23/2024 at 9:51 PM, allee123 said: The ffmpeg log is attached.ffmpeg-transcode-d0dccaa4-759b-412c-b5e2-05f6391f7e54_1.txt When I tried to jump to a random time, the playback just stopped. OK we are looking into this. Thanks.
guunter 37 Posted January 2 Posted January 2 (edited) On 11/15/2024 at 10:15 PM, allee123 said: embyserver-11-16-1st.txt 205.4 kB · 1 download Aboveis the log I try to play the video with hw transcoding The behavior is that you can't skip to any time point you want. The transcoding seems to function but no good. Above is when the transcoding should work Above is transcode screen shot shown in the Dashboard Above is the docker build By the way, when I tested the H265 HW transcoding, it just works for some reason I don't know. Skipping is totally fine. So now I am suspecting is the VC1 coding the reason? If your gpu is transcoding in Emby it should pop up on the unraid dashboard under Your Active Apps. Your screenshot doesn’t show that being the case. Edited January 2 by guunter
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