FAQ  •  Register  •  Login

Enable Hardware acceleration Intel QSV (Quick Sync Video) on

<<

attonyzhou

Serviio newbie

Posts: 9

Joined: Thu May 19, 2016 6:36 am

Post Tue Nov 08, 2016 10:12 pm

Enable Hardware acceleration Intel QSV (Quick Sync Video) on

Try to enable Intel QSV (Quick Sync Video) with Serviio 1.7 on Mac

CPU: Intel "Core i5" processor
OS: macOS Sierra


1. Install Serviio v1.7 (it's upgrade from Serviio 1.6)

2. Update ffmpeg, downloaded Mac version(static FFmpeg binaries for Mac OS X Intel 64bit) from here and replace same file in Serviio installation folder:
http://evermeet.cx/ffmpeg/

From FFMPEG website, The following library versions are included:

libavutil 55. 35.100 / 55. 35.100
libavcodec 57. 66.100 / 57. 66.100
libavformat 57. 57.100 / 57. 57.100
libavdevice 57. 2.100 / 57. 2.100
libavfilter 6. 66.100 / 6. 66.100
libswscale 4. 3.100 / 4. 3.100
libswresample 2. 4.100 / 2. 4.100
libpostproc 54. 2.100 / 54. 2.100


Question here, this ffmpeg build seemingly is NOT with QSV included (--enable-libmfx)??!!

3. The transcoding profile is like this(transcoding 4K H264 to 1080 H264 file), profile works fine.

  Code:
                        <!-- transcode 4K video to 1080*1920 H264 -->
                        <!-- transcode with H264 video -->
                        <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="ac3" maxHeight="1080" maxVBitrate="20000">
                                <Matches container="mp4" vCodec="h264" profile="high" levelGreaterThan="4.2" />
                        </Video>

When I watch video on TV I noticed that CPU consumption is around 96%, video is smooth.

4. Add option "-Dserviio.useQSVAcceleration" into file " /Library/Application Support/Serviio/bin/serviio.sh" (at the end of last line).

5. Reboot

6. Watch video on TV and found CPU consumption is still around 96%, video is good though. Looks QSV didn't work.

What could be the cause? Wrong FFMPEG build? Where can I find a right version ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16252

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Nov 10, 2016 8:57 am

Re: Enable Hardware acceleration Intel QSV (Quick Sync Video

Yes, FMpeg needs to be built with that option. I'm not sure if there are builds available on the web or if you need to build one yourself. I think you also need to install Intel's QSV sdk so that FFmpeg can hook into the drivers.

Some info is here: http://www.intel.co.uk/content/www/uk/e ... valid.html

Return to Transcoding

Who is online

Users browsing this forum: Google [Bot] and 6 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.