shura_k 0 Posted September 5, 2018 Share Posted September 5, 2018 (edited) in the attachment of server logs, transcoding log and a screenshot of the transcoding settings. hardware transcoding does not work ffmpeg runs without the command -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device / dev / dri / renderD128 without -vcodec h264_vaapi the number of threads I have specified is 2, and it starts with a value of 0 there are permissions to access / dev / dri / renderD128 Help me please. emby_Server.txt transcode.txt Edited September 5, 2018 by shura_k Link to comment Share on other sites More sharing options...
Luke 37054 Posted September 5, 2018 Share Posted September 5, 2018 Hi, vaapi doesn't support mpeg4 xvid. Try an h264 video. Link to comment Share on other sites More sharing options...
shura_k 0 Posted September 5, 2018 Author Share Posted September 5, 2018 (edited) I specified in the device profile on the tab transcoding h264_vaapi and all immediately turned on!! Example from log: /usr/local/AppCentral/emby-server/bin/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/share/Video/!Films/Bunkaru_SATRip_[rutracker.org]_by_Scarabey.avi" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -force_key_frames "expr:gte(t,n_forced*5)" -vf "format=nv12|vaapi,hwupload" -b:v 3854515 -maxrate 3854515 -bufsize 7709030 -profile:v 578 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 2 -ab 192000 -y "/tmp/transcoding-temp/28120f940c5004827a891033fcacdbcc.ts" the load on the cpu decreased. Edited September 5, 2018 by shura_k Link to comment Share on other sites More sharing options...
Luke 37054 Posted September 5, 2018 Share Posted September 5, 2018 Thanks for the feedback. Link to comment Share on other sites More sharing options...
doffactory 3 Posted September 8, 2018 Share Posted September 8, 2018 I specified in the device profile on the tab transcoding h264_vaapi and all immediately turned on!! Example from log: /usr/local/AppCentral/emby-server/bin/ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri/renderD128 -i file:"/share/Video/!Films/Bunkaru_SATRip_[rutracker.org]_by_Scarabey.avi" -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_vaapi -force_key_frames "expr:gte(t,n_forced*5)" -vf "format=nv12|vaapi,hwupload" -b:v 3854515 -maxrate 3854515 -bufsize 7709030 -profile:v 578 -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -ac 2 -ab 192000 -y "/tmp/transcoding-temp/28120f940c5004827a891033fcacdbcc.ts" the load on the cpu decreased. Hi, where did you exactly specify this? I do not see any device profile where I would be able to add the 'h264_vaapi' ... Link to comment Share on other sites More sharing options...
shura_k 0 Posted September 8, 2018 Author Share Posted September 8, 2018 Settings- DLNA-on top of the page Profiles-choose your device-profile-transcoding- Video - Video codec Link to comment Share on other sites More sharing options...
doffactory 3 Posted September 8, 2018 Share Posted September 8, 2018 Settings- DLNA-on top of the page Profiles-choose your device-profile-transcoding- Video - Video codec OK, but then this works only for DLNA and not generic transcoding f.e. through emby HTML5 web frontend, no? Link to comment Share on other sites More sharing options...
Luke 37054 Posted September 8, 2018 Share Posted September 8, 2018 No, do not do that. Use the server transcoding settings section if you want hardware transcoding. Thanks. Link to comment Share on other sites More sharing options...
levan 0 Posted February 19, 2019 Share Posted February 19, 2019 Settings- DLNA-on top of the page Profiles-choose your device-profile-transcoding- Video - Video codec Hi, vaapi doesn't support mpeg4 xvid. Try an h264 video. 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