jemyzhang Posted July 28, 2017 Share #1 Posted July 28, 2017 After transferred from DS3617 to DS916+, I'm not able to play video if the video transcoding is enabled. And even there's no ffmpeg process while I trying to play video. Previously there's no problem with DS3617 installed. Is that related to the hardware transcoding issue? And how can I debug into this issue? I tried with the following command without problem, except that the cpu loading is still high(4 cores with 99%). /var/packages/VideoStation/target/bin/ffmpeg-vaapi -hwaccel nvenc -i /volume2/video/test.mov -c:v h264 -preset:v faster /tmp/out.qsv.mp4 Quote Link to comment Share on other sites More sharing options...
IG-88 Posted July 28, 2017 Share #2 Posted July 28, 2017 did you read this? might give you a hint why QSV support with ffmpeg does not work (and the normal cpu cores and instructions are used) Quote Link to comment Share on other sites More sharing options...
jemyzhang Posted July 29, 2017 Author Share #3 Posted July 29, 2017 qsv means use CPU encoder instead of gpu? so I should build ffmpeg qsv to replace the builtin ffmpeg?I will try that. thanks!通过我的 ONEPLUS A3000 上的 Tapatalk发言 Quote Link to comment Share on other sites More sharing options...
IG-88 Posted July 29, 2017 Share #4 Posted July 29, 2017 (edited) 36 minutes ago, jemyzhang said: qsv means use CPU encoder instead of gpu? so I should build ffmpeg qsv to replace the builtin ffmpeg? I will try that. thanks! 通过我的 ONEPLUS A3000 上的 Tapatalk发言 no thats not what it was about, its about that qsv (as ffmpeg using it) does need kernel support and this has to be patched in with a lot of effort (if even possible for the "old" 3.10.102 kernel synology uses) and then rhe whole kernel has to be recompiled (including the things jun deos for using it on non synology hardware) so a different ffmpeg will not do (at least thats what i found out) synology does use a different aprouch in the 916+ image (not ffmepg) " The DS216play with STiH412 Monaco SoC uses a specialised build of Gstreamer for the Synology transcoding solution, so its hardware features cannot be used by FFmpeg. It seems likely that Synology is also using Gstreamer for the Intel Braswell or newer generation CPUs with QuikSync, since DSM ships with an older FFmpeg (2.7.1) than the version which introduced QuikSync support (2.8.0). To implement FFmpeg QuikSync hardware transcoding support requires Linux kernel patches for libmfx support which is not currently included in DSM 6.x, so Serviio support for Intel QuikSync on Synology is unlikely unless Synology in future switches to using FFmpeg for its own hardware transcoding solution. " "i had a look into the MediaServerStudioEssentials2017R2.tar.gz there are 147 patches in that directory and you only have kernel 3.10.102 with dsm 6.1 and not 4.4" imho atm the only way is to use a compatible cpu and use the transcoding as synology intends it to be used not shure if anyone was able to at least do this with the 916+ image on a qsv capable hardware, imho first step use it the synology way after that thinking about how to put that to use, everything else looks like pointless dreaming (?) Edited July 29, 2017 by IG-88 Quote Link to comment Share on other sites More sharing options...
jemyzhang Posted July 29, 2017 Author Share #5 Posted July 29, 2017 I read the post, means there's currently no way to enable hardware transcoding on non-synology-hardware? Quote Link to comment Share on other sites More sharing options...
IG-88 Posted July 29, 2017 Share #6 Posted July 29, 2017 9 hours ago, jemyzhang said: I read the post, means there's currently no way to enable hardware transcoding on non-synology-hardware? i'm not that certain, if using a hardware matching to those of a 916+ and using the jun 1.02b and 916+ image it could work, at least in the fashin a normal (original) 916+ synology system is doing it, have to read about it that someone realy tryed that, everyone just writes about ffmpeg and plex Quote Link to comment Share on other sites More sharing options...
jemyzhang Posted July 30, 2017 Author Share #7 Posted July 30, 2017 15 hours ago, IG-88 said: i'm not that certain, if using a hardware matching to those of a 916+ and using the jun 1.02b and 916+ image it could work, at least in the fashin a normal (original) 916+ synology system is doing it, have to read about it that someone realy tryed that, everyone just writes about ffmpeg and plex Problem solved, it is about the SN, I set the SN to the real-DS916+, and the hardware transcoding worked perfectly. Please refer to the following post. cat /usr/syno/etc/codec/activation.conf {"success":true,"activated_codec":["h264_dec","h264_enc"],"token"xxxxx"} 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.