benacovi 1 Posted October 27, 2024 Posted October 27, 2024 Hi All, for the longest time I have been staying away from 4K content because I can't get it to play smoothly from my Unraid server. It will play for a few seconds, then stop, then start again. This happens through the Emby app on my Apple TV or through both Safari and Chrome. I have tested playing back the file directly from my laptop outside of Emby and through VLC on my Apply TV and playback is fine through both methods. I have attached the relevant logs in hopes that someone could help me solve the issue. Thank you! ffmpeg-transcode-f00e4f64-d63f-4289-af47-92f6d0e568bd_1.txt ffmpeg-transcode-1375c14f-94cc-4a38-8ec6-bb36f8388141_1.txt ffmpeg-transcode-17be00ef-6666-40b1-af1b-229c398f9be2_1.txt embyserver.txt
guunter 49 Posted October 27, 2024 Posted October 27, 2024 42 minutes ago, benacovi said: Hi All, for the longest time I have been staying away from 4K content because I can't get it to play smoothly from my Unraid server. It will play for a few seconds, then stop, then start again. This happens through the Emby app on my Apple TV or through both Safari and Chrome. I have tested playing back the file directly from my laptop outside of Emby and through VLC on my Apply TV and playback is fine through both methods. I have attached the relevant logs in hopes that someone could help me solve the issue. Thank you! ffmpeg-transcode-f00e4f64-d63f-4289-af47-92f6d0e568bd_1.txt 117.38 kB · 1 download ffmpeg-transcode-1375c14f-94cc-4a38-8ec6-bb36f8388141_1.txt 93.84 kB · 1 download ffmpeg-transcode-17be00ef-6666-40b1-af1b-229c398f9be2_1.txt 189.91 kB · 0 downloads embyserver.txt 98.52 kB · 2 downloads The APTV should be able to direct play most 4k videos, at least for me it does. Do you have HW transcoding or you doing it by cpu? I’m not experienced looking at logs but didn’t see if you had it or not
Happy2Play 9780 Posted October 27, 2024 Posted October 27, 2024 Pretty sure this will come back to client not server/linux issue. But yes the server can not process this transcode fast enough converting HEVC to H264 and burning in PSGsubs and converting audio all in Software. &TranscodeReasons=AudioCodecNotSupported 16:42:58.374 Stream mapping: 16:42:58.374 Stream #0:0 (hevc) -> scale:default (graph 0) 16:42:58.374 Stream #0:4 (pgssub) -> scale:default (graph 0) 16:42:58.374 overlay:default (graph 0) -> Stream #0:0 (libx264) 16:42:58.374 Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native)) But you will find a lot of issue with the AppleTV client per all the specific playback methods this client requires. As for Safari somewhat the same as it is a subtitle issue. &TranscodeReasons=SubtitleCodecNotSupported 17:18:21.220 Stream mapping: 17:18:21.220 Stream #0:0 (hevc) -> format:default (graph 0) 17:18:21.220 Stream #0:4 (pgssub) -> scale:default (graph 0) 17:18:21.220 overlay:default (graph 0) -> Stream #0:0 (libx264) 17:18:21.220 Stream #0:1 -> #0:1 (truehd (native) -> mp3 (libmp3lame)) Probably will but do you have the same issue without subtitles, especially pgssubs?
benacovi 1 Posted October 28, 2024 Author Posted October 28, 2024 2 hours ago, guunter said: The APTV should be able to direct play most 4k videos, at least for me it does. Do you have HW transcoding or you doing it by cpu? I’m not experienced looking at logs but didn’t see if you had it or not I'm not sure, where can I find this setting?
Luke 42077 Posted October 28, 2024 Posted October 28, 2024 Hi, are you able to update to Emby Server 4.8.10 and see if that helps?
benacovi 1 Posted October 28, 2024 Author Posted October 28, 2024 1 hour ago, Happy2Play said: Pretty sure this will come back to client not server/linux issue. But yes the server can not process this transcode fast enough converting HEVC to H264 and burning in PSGsubs and converting audio all in Software. &TranscodeReasons=AudioCodecNotSupported 16:42:58.374 Stream mapping: 16:42:58.374 Stream #0:0 (hevc) -> scale:default (graph 0) 16:42:58.374 Stream #0:4 (pgssub) -> scale:default (graph 0) 16:42:58.374 overlay:default (graph 0) -> Stream #0:0 (libx264) 16:42:58.374 Stream #0:1 -> #0:1 (truehd (native) -> ac3 (native)) But you will find a lot of issue with the AppleTV client per all the specific playback methods this client requires. As for Safari somewhat the same as it is a subtitle issue. &TranscodeReasons=SubtitleCodecNotSupported 17:18:21.220 Stream mapping: 17:18:21.220 Stream #0:0 (hevc) -> format:default (graph 0) 17:18:21.220 Stream #0:4 (pgssub) -> scale:default (graph 0) 17:18:21.220 overlay:default (graph 0) -> Stream #0:0 (libx264) 17:18:21.220 Stream #0:1 -> #0:1 (truehd (native) -> mp3 (libmp3lame)) Probably will but do you have the same issue without subtitles, especially pgssubs? Turning off the subs worked! Is there are workaround for having subs?
benacovi 1 Posted October 28, 2024 Author Posted October 28, 2024 16 minutes ago, Luke said: Hi, are you able to update to Emby Server 4.8.10 and see if that helps? Just updated but still have the problem. Turning off the subs as suggested by Happy2Play fixed the playback issue. For this particular file I am testing with, using TrueHD 7.1 with subs causes stuttering, turning off the subs plays fine. I can switch the sound from TrueHD 7.1 to AC3 5.1 and leave the subs and it also plays fine.
guunter 49 Posted October 28, 2024 Posted October 28, 2024 1 hour ago, benacovi said: I'm not sure, where can I find this setting? In the Emby server settings where it says transcoding. You click advanced and you should see some options for codecs. Do you even have a gpu installed or what cpu are you using?
benacovi 1 Posted October 28, 2024 Author Posted October 28, 2024 2 hours ago, guunter said: In the Emby server settings where it says transcoding. You click advanced and you should see some options for codecs. Do you even have a gpu installed or what cpu are you using? I found the setting, here's a pic. I don't have Emby Premiere though. I'm running a Supermicro X10SL7-F with an i3-4170 and no GPU. I am more than willing to upgrade the CPU and/or install a GPU if you think that will help.
guunter 49 Posted October 28, 2024 Posted October 28, 2024 A gpu will 100% help with transcoding 4k with subtitles. The video will be transcoded by the gpu and subtitles by the CPU. You’ll need premiere though to take advantage
benacovi 1 Posted October 28, 2024 Author Posted October 28, 2024 18 hours ago, guunter said: A gpu will 100% help with transcoding 4k with subtitles. The video will be transcoded by the gpu and subtitles by the CPU. You’ll need premiere though to take advantage I added an RTX 3050 and purchased Emby Premiere but no dice. I was watching my CPU stats when I started playback and the load went up to 100% with TruHD 7.1 and subs enabled. I then turned off subs but left audio at 7.1 and again, that plays fine and CPU load is normal. Finally, I dropped audio down to AC3 5.1 with subs enabled and that also played fine. Basically same results as before adding the GPU. Logs attached for anyone interested. embyserver.txt ffmpeg-remux-dca175ec-ad6f-4c20-99ed-3f0e2c09934e_1.txt ffmpeg-transcode-38967afa-4eda-4f44-bec4-dddd2d44286c_1.txt hardware_detection-63865735168.txt
yocker 1247 Posted October 29, 2024 Posted October 29, 2024 (edited) 1 hour ago, benacovi said: I added an RTX 3050 and purchased Emby Premiere but no dice. I was watching my CPU stats when I started playback and the load went up to 100% with TruHD 7.1 and subs enabled. I then turned off subs but left audio at 7.1 and again, that plays fine and CPU load is normal. Finally, I dropped audio down to AC3 5.1 with subs enabled and that also played fine. Basically same results as before adding the GPU. Logs attached for anyone interested. embyserver.txt 207.66 kB · 0 downloads ffmpeg-remux-dca175ec-ad6f-4c20-99ed-3f0e2c09934e_1.txt 123.59 kB · 1 download ffmpeg-transcode-38967afa-4eda-4f44-bec4-dddd2d44286c_1.txt 210.19 kB · 2 downloads hardware_detection-63865735168.txt 139.5 kB · 1 download You need to tell the Emby Server to use the card. https://emby.media/support/articles/Transcoding.html Edited October 29, 2024 by yocker
benacovi 1 Posted October 29, 2024 Author Posted October 29, 2024 2 hours ago, yocker said: You need to tell the Emby Server to use the card. https://emby.media/support/articles/Transcoding.html I do have it enabled, see attached pic.
guunter 49 Posted October 29, 2024 Posted October 29, 2024 1 hour ago, benacovi said: I do have it enabled, see attached pic. Did you add the nvidia variables to the docker config settings? If you click on that yes and do advanced it’ll show you more options if it sees the gpu
benacovi 1 Posted October 29, 2024 Author Posted October 29, 2024 38 minutes ago, guunter said: Did you add the nvidia variables to the docker config settings? If you click on that yes and do advanced it’ll show you more options if it sees the gpu I'm afraid I did not do that. I looked at the docker settings just now and I don't see many options in there.
guunter 49 Posted October 29, 2024 Posted October 29, 2024 There are a number of things you need to do in unraid to get the gpu working. It is not plug and play. This video should still be relevant. If you get stuck just let us know
benacovi 1 Posted October 29, 2024 Author Posted October 29, 2024 4 minutes ago, guunter said: There are a number of things you need to do in unraid to get the gpu working. It is not plug and play. This video should still be relevant. If you get stuck just let us know I got it working! I started watching that video but I had already installed the Nvidia driver and GPU Statistics plugin prior. I forgot that I could click on "advanced view" when looking at docker settings, I then found another thread where adding --runtime=nvidia was mentioned so I went ahead and added that and like you said, several options appeared under advanced. I just tested playing back the same files I've been using to test and it is working with TrueHD 7.1 and PGSsubs enabled! I can see the load on the GPU in my dashboard through the GPU Statistics plugin. I'm going to finish watching the video either way, but it is definitely working and all I did is 1. installed the Nvidia drivers, 2. install GPU Statistics, 3. enable hardware acceleration in Emby settings (although I think this was on by default), 4. add --runtime=nvidia to the extra parameters field of the docker settings (after enabling advanced view). 1
yocker 1247 Posted October 29, 2024 Posted October 29, 2024 1 hour ago, benacovi said: I got it working! I started watching that video but I had already installed the Nvidia driver and GPU Statistics plugin prior. I forgot that I could click on "advanced view" when looking at docker settings, I then found another thread where adding --runtime=nvidia was mentioned so I went ahead and added that and like you said, several options appeared under advanced. I just tested playing back the same files I've been using to test and it is working with TrueHD 7.1 and PGSsubs enabled! I can see the load on the GPU in my dashboard through the GPU Statistics plugin. I'm going to finish watching the video either way, but it is definitely working and all I did is 1. installed the Nvidia drivers, 2. install GPU Statistics, 3. enable hardware acceleration in Emby settings (although I think this was on by default), 4. add --runtime=nvidia to the extra parameters field of the docker settings (after enabling advanced view). First time getting it working is always the hardest when not used to working with these things. Glad it working for you now!
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