Changes between Version 4 and Version 5 of Hardware/QuickSync


Ignore:
Timestamp:
Mar 19, 2019, 10:09:17 AM (6 months ago)
Author:
lizhong1008
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Hardware/QuickSync

    v4 v5  
    4343== Linux ==
    4444
     45You can download the installation binary Media Server Studio from [https://software.intel.com/en-us/intel-media-server-studio/].[[BR]]
     46However, only limited HW platforms and Linux distributions are supported by Media Server Studio. [[BR]]
     47A whole open source media stack is provided with much wider HW platforms and Linux distributions supported.
     48
     49=== Intel open source media stack ===
     50
     51||= Project Name =||= Supported Gen Graphics =||= Open Source Repo =||
     52||  MSDK          ||  gen9+                   || [https://github.com/Intel-Media-SDK/MediaSDK] ||
     53||  Libva         ||  gen5+                   || [https://github.com/intel/libva] ||
     54||  i965 driver   ||  gen5 ~ gen9.5           || [https://github.com/intel/intel-vaapi-driver] ||
     55||  iHD driver    ||  gen9+                   || [https://github.com/intel/media-driver] ||
     56
     57=== VAAPI VS libmfx ===
     58
    4559It is strongly recommended to use VAAPI with the i965 driver if possible.  Only use libmfx if your use-case specifically requires its particular feature set.
    4660
     
    5266* Interopable with standard APIs (EGL/OpenGL, OpenCL).
    5367
    54 libmfx
     68libmfx / iHD
    5569* May give better encode quality in some cases (?).
    5670* May give higher encode throughput in some cases (particularly on Iris graphics).
     
    6276
    6377(TODO)
     78
     79Windows version MSDK can be got from [https://software.intel.com/media-sdk]
    6480
    6581
     
    151167}}}
    152168
    153 Encode a 1080p p010le raw yuv input as HEVC main10 profile (supported since KabyLake platform)
     169Encode a 1080p p010le raw yuv input as HEVC main10 profile (supported since Kaby Lake platform)
    154170{{{
    155171ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -v verbose -f rawvideo -video_size 1920x1080 -pix_fmt p010le -i input.yuv -an \
     
    212228}}}
    213229
     230`-qsv_device` is an qsv customized option can be used to specify a hardware device and avoid the default device initialization failure when multiple devices usable (eg: an Intel integrated GPU and an AMD/Nvidia discrete graphics card).
     231One example on Linux (more details please see https://trac.ffmpeg.org/ticket/7649)
     232
     233{{{
     234fmpeg -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v h264_qsv -i input.mp4 -c:v h264_qsv output.mp4
     235}}}
    214236
    215237