echoghost 0 Posted October 10, 2019 Posted October 10, 2019 (edited) as title, hardware acceleration works fine with plex on the same machine. paid up premium member, HW Acceleration all turned on in the options for reference the DS918+ has an Apollolake Intel Celeron J3455 which is supposed to be supported log attached, seems like this is the obviously relevant part /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -f matroska -i file:"/volume1/storage/video/extra-video/audiovideotest/jellyfish-20-mbps-hd-hevc.mkv" -threads 0 -map 0:0 -an -sn -c:v:0 h264_vaapi -b:v:0 39760906 -maxrate 39760906 -bufsize 79521812 -profile:v:0 high -level:v:0 4.1 -g:v:0 90 -keyint_min:v:0 90 -sc_threshold:v:0 0 -copyts -vsync -1 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/packages/EmbyServer/target/var/transcoding-temp/8c30a644e29c8fb4faa7c402aa27ebb2.m3u8" -y "/var/packages/EmbyServer/target/var/transcoding-temp/8c30a644e29c8fb4faa7c402aa27ebb2%d.ts" ffmpeg version 4.0.3-emby_2019_04_09-20190419T215104UTC Copyright (c) 2000-2018 the FFmpeg developers and softworkz for Emby LLC built with gcc 7.3.0 (GCC) Local Time: 17:13:45 T=0.001s T=0.011s Input #0, matroska,webm, from 'file:/volume1/storage/video/extra-video/audiovideotest/jellyfish-20-mbps-hd-hevc.mkv': Metadata: COMPATIBLE_BRANDS: iso4hvc1iso6 MAJOR_BRAND : iso4 MINOR_VERSION : 1 ENCODER : Lavf56.3.100 Duration: 00:00:30.10, start: 0.067000, bitrate: 19880 kb/s Stream #0:0(und): Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], Level 120, 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc, Start-Time 0.067s (default) Metadata: CREATION_TIME : 2016-02-05 01:39:02 LANGUAGE : und HANDLER_NAME : hevc@GPAC0.5.2-DEV-rev565-g71748d7-ab-suite T=0.012s Last message repeated 2 times [AVHWDeviceContext @ 0x2274300] No VA display found for device: /dev/dri/renderD128. Device creation failed: -22. [hevc @ 0x226e700] No device available for decoder: device type vaapi needed for codec hevc. Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_vaapi)) Device setup failed for decoder on input stream #0:0 : Invalid argument T=0.012s Local Time: 17:13:45 test file can be found here: http://jell.yfish.us/ ffmpeg-transcode-f602cebb-3b32-4b61-9835-9382df6b2bfe_1.txt Edited October 10, 2019 by echoghost
Luke 40063 Posted October 10, 2019 Posted October 10, 2019 Hi there, did you follow our hardware acceleration setup guide? https://github.com/MediaBrowser/Wiki/wiki/Hardware-Acceleration-Overview
echoghost 0 Posted October 10, 2019 Author Posted October 10, 2019 hi, i'm not quite sure how to respond, that's not a guide, it's an overview without action items to complete, therefore no setup did you look at the logs and the quoted output? again plex hardware transcodes just fine
Luke 40063 Posted October 11, 2019 Posted October 11, 2019 @@echoghost Can you attach the hardware detection log as well? Thanks.
echoghost 0 Posted October 12, 2019 Author Posted October 12, 2019 i sure can hardware_detection-63706219392.txt
softworkz 4566 Posted October 16, 2019 Posted October 16, 2019 @echoghost Does hw acceleration fail with all files or just with some? How about an h264 source video? You say that it works with Plex - could you post a Plex transcoder log with hw acceleration?
echoghost 0 Posted October 16, 2019 Author Posted October 16, 2019 HW acceleration fails with all files, I haven't found a file it works with plex logs attached of playing the same file I noted in my first post, as well as a screenshot showing the transcoding in plex plex.log
softworkz 4566 Posted November 3, 2019 Posted November 3, 2019 @@echoghost - Sorry for replying late and thanks for providing the Plex log. Could you please try to set 'HW Acceleration' to 'Advanced' and then disable the HEVC decoder (leaving the H264 encoder enabled) and see what happens? Thanks
echoghost 0 Posted November 4, 2019 Author Posted November 4, 2019 Apparently, No i can't, I don't have any options to do that, see attached image. the forum wouldn't let me actually just paste the image in so I had to attach it..
Luke 40063 Posted November 4, 2019 Posted November 4, 2019 Please attach the hardware detection log. Thanks.
echoghost 0 Posted November 6, 2019 Author Posted November 6, 2019 i will if this attach button ever works hardware_detection-63708635010.txt
softworkz 4566 Posted November 6, 2019 Posted November 6, 2019 @@echoghost - There are no hw acceleration devices available. That's different from the hw detection log you posted earlier (16 Oct). Did you make any change to your system?
echoghost 0 Posted November 6, 2019 Author Posted November 6, 2019 I haven't made any changes. Plex is also still hardware transcoding just fine on the same NAS. it's only emby that has these problems
Luke 40063 Posted November 6, 2019 Posted November 6, 2019 Can you try rebooting the NAS and then try what softworkz asked? Thanks.
chacawaca 109 Posted November 7, 2019 Posted November 7, 2019 For information 4.3.0.19 with DS918+, i dont have problem with HW. 1
echoghost 0 Posted November 8, 2019 Author Posted November 8, 2019 Restarted emby not the entire system (not possible for now). That made emby realise there were codecs available, HWAcceleration now seems to work with HVEC decoding enabled or disabled. I've not rebooted the system or updated anything at any point so I imagine there is still a bug, I just can't trigger it anymore New logs attached ffmpeg-transcode-95d70555-9ab0-4b34-8842-47615080a5c4_1.txt
frotzamuta 0 Posted November 30, 2019 Posted November 30, 2019 Hi all, I just updated to premier to have HW aacceleration on my DS918+. But I also have problems. The framerate is below 20 for transcoded videos. Any suggestions?
Luke 40063 Posted November 30, 2019 Posted November 30, 2019 Hi all, I just updated to premier to have HW aacceleration on my DS918+. But I also have problems. The framerate is below 20 for transcoded videos. Any suggestions? Hi there, can we please look at an example? Please attach the information requested in how to report a problem. thanks !
frotzamuta 0 Posted November 30, 2019 Posted November 30, 2019 I figured out that it is not for all filesI will attach a hardware detection file and three ffmpg transcode files: 2 where playback is fine and one where it is not ok. hardware_detection.txt ffmpg_transcode SLOW.txt ffmpg_transcode OK.txt ffmpg_transcode OK 2.txt
Luke 40063 Posted November 30, 2019 Posted November 30, 2019 I figured out that it is not for all files I will attach a hardware detection file and three ffmpg transcode files: 2 where playback is fine and one where it is not ok. @@frotzamuta, have you read the troubleshooting section of our hardware acceleration wiki?
frotzamuta 0 Posted November 30, 2019 Posted November 30, 2019 ok, got it. Switching of the forced subs of the video helped. Thank you!
processcreative 0 Posted December 3, 2019 Posted December 3, 2019 Hi guys, having the same issue with my DS718+, its HW acceleration is broken, so it attempts a SW transcode thus using 99% processor power on a single 720p transcode. Tried the suggestions about switching off the DEcoding setting and it's still the same. Please fix!!
Luke 40063 Posted December 3, 2019 Posted December 3, 2019 Hi guys, having the same issue with my DS718+, its HW acceleration is broken, so it attempts a SW transcode thus using 99% processor power on a single 720p transcode. Tried the suggestions about switching off the DEcoding setting and it's still the same. Please fix!! @@processcreative, please see how to report a problem. 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