RobertDi 0 Posted June 20, 2020 Share Posted June 20, 2020 (edited) Hallo liebes Forum, Ich habe Emby-Server auf dem ASRock J4105-ITX laufen, nativ unter Debian Buster. (Integrated Intel® UHD Graphics 600) Umstieg von der Docker Variante um die GraKa das Transkoding durchführen zu lassen. Leider musste ich feststellen das mit aktivem Hardwaretranskoding nahezu kein Film mehr im Browser darstellbar ist. Alles viel zu langsam und nur Aussetzer. Folgende Ansätze brachten leider keinen Erfolg: #1 RAM der GraKa auf 512 MB hoch # 2 Intel non-free Treiber Hat jemand noch eine Idee oder ist die interne GraKa einfach zu schlecht? Mittels Software Transkoding funktioniert die Wiedergabe, allerdings mit entsprechender CPU Last. Spezifikationen Board: https://www.asrock.com/mb/Intel/J4105-ITX/#Specification Gruß Robert Edited June 20, 2020 by RobertDi Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 21, 2020 Share Posted June 21, 2020 Hi there, please attach the emby server and ffmpeg logs from an example. thanks ! Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 21, 2020 Author Share Posted June 21, 2020 (edited) I can see a lot of errors in ffmpeg files, but no idea how to fix this. Tried with two different files. Direct Stream in LAN without transcoding is working, so the files should be ok. embyserver.txt ffmpeg-transcode-aa4380f0-c2a1-4753-aaf6-e781a6f9dd0a_1.txt ffmpeg-transcode-b1765e09-ee06-4634-80df-f9efe5d42dd8_1.txt Edited June 21, 2020 by RobertDi Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 22, 2020 Share Posted June 22, 2020 Is this only happening with avi files? Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 23, 2020 Author Share Posted June 23, 2020 (edited) no tried with avi and multiple mkv - both file types are effected. not even 420kbps is working Edited June 23, 2020 by RobertDi Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 23, 2020 Author Share Posted June 23, 2020 (edited) is there any parameter to use my installed ffmpeg instead of packaged one or might it work if I replace file with symbolic link to my version? (ffmpeg version 4.1.4-1~deb10u1) [Edit] symbolic link is not working Edited June 23, 2020 by RobertDi Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 23, 2020 Share Posted June 23, 2020 Can you provide log files from an mkv example? Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 23, 2020 Author Share Posted June 23, 2020 mkv example embyserver.txt ffmpeg-transcode-e5bdbe19-73d9-4c23-9120-4d5acd66cb9d_1.txt Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 24, 2020 Share Posted June 24, 2020 Ok @softworkz will take a look at this. Thanks. Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 24, 2020 Author Share Posted June 24, 2020 Thanks Link to comment Share on other sites More sharing options...
softworkz 3340 Posted June 24, 2020 Share Posted June 24, 2020 @RobertDi - What's your CPU model? Could you please post the hw detection log? Could you please try the following two playback attempts using MKV file (playback from the start and without subtiltes) With the VAAPI HW Decoder disabled and the HW Encoder enabled The other way round (Decoder enabled, encoder disabed) Thanks Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 Hi, https://www.asrock.com/mb/Intel/J4105-ITX/ Where can I find the hw detection log? I will try the playbacks and give feedback here in a few minutes. Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 25, 2020 Share Posted June 25, 2020 1 minute ago, RobertDi said: Hi, https://www.asrock.com/mb/Intel/J4105-ITX/ Where can I find the hw detection log? I will try the playbacks and give feedback here in a few minutes. In the same folder as the main emby server log. Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 I have unchecked the box with subtitle extraction and hw for decoding only, playback is starting but it lacks every few seconds. CPU is fine, 1 core 100% and the other ones nearly 20%. much better than before ffmpeg-transcode-5ca20903-abb5-4a3c-8ed1-1e19a2c9249b_1.txt Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 now i have tried hw encoder only, same result - playback but it lacks every few sec, all 4 cores around 50% usage ffmpeg-transcode-f2659125-6ba4-43a8-9586-a3aadd6709d7_1.txt Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 (edited) is graphic card to bad? I have choosen this board because of hw encoding/decoding support and power consumption... btw I have tried with a different client (cable connected) with same result Edited June 25, 2020 by RobertDi Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 25, 2020 Share Posted June 25, 2020 29 minutes ago, RobertDi said: I have unchecked the box with subtitle extraction and hw for decoding only, playback is starting but it lacks every few seconds. CPU is fine, 1 core 100% and the other ones nearly 20%. much better than before ffmpeg-transcode-5ca20903-abb5-4a3c-8ed1-1e19a2c9249b_1.txt 72 kB · 0 downloads It's burning in subtitles due to you unchecking that box. Please see our notes about that in our hardware acceleration guide: https://support.emby.media/support/solutions/articles/44001160148-hardware-acceleration-overview It's at the bottom in the troubleshooting section. Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 (edited) checked or unchecked does not make a difference, playback lacks in both cases - I don't think that CPU is the problem... when using software transcoding everything works and all cores are at 100% - I have tried two streams in parallel and it worked. but with hw encoding or decoding the playback lacks... Edited June 25, 2020 by RobertDi Link to comment Share on other sites More sharing options...
Luke 37112 Posted June 25, 2020 Share Posted June 25, 2020 10 minutes ago, RobertDi said: checked or unchecked does not make a difference, playback lacks in both cases - I don't think that CPU is the problem... when using software transcoding everything works and all cores are at 100% - I have tried two streams in parallel and it worked. but with hw encoding or decoding the playback lacks... Did you see what I linked to above about subtitles? Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 (edited) yes, but I don't understand how this should help. Subtitle is showing off (started playback, set to off, stopped playback, switched to home and started playback now with off) but playback still lacks... I just want to use my graphics hardware as it should be able to transcode better than my CPU, in case CPU is required for whatever I'm fine with this. But actually no movie could be watched with hardware transcoding feature, it lacks every few sec. Edited June 25, 2020 by RobertDi Link to comment Share on other sites More sharing options...
softworkz 3340 Posted June 25, 2020 Share Posted June 25, 2020 Could you please post an ffmpeg log with subtitles off, hw decoder off and hw encoder on? Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 25, 2020 Author Share Posted June 25, 2020 (edited) here we go ffmpeg-transcode-399788a4-8a4b-4f97-a69a-74da5fe76b4a_1.txt Edited June 25, 2020 by RobertDi Link to comment Share on other sites More sharing options...
softworkz 3340 Posted June 25, 2020 Share Posted June 25, 2020 OK, thanks. It appears to be an issue with the installed graphics driver and what we are delivering. Could you please show the output of 'vainfo' and post the hardware detection log? Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 28, 2020 Author Share Posted June 28, 2020 (edited) Edited June 28, 2020 by RobertDi Link to comment Share on other sites More sharing options...
RobertDi 0 Posted June 28, 2020 Author Share Posted June 28, 2020 I have tried backports and newest kernel without success - will try with latest ubuntu server instead and let you know the reuslt Link to comment Share on other sites More sharing options...
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