[v2,0/6] *** Add Intel QuickSync support to ffmpeg ***
mbox series

Message ID 20190131121526.11816-1-lpdev@cordier.org
Headers show
Series
  • *** Add Intel QuickSync support to ffmpeg ***
Related show

Message

Louis-Paul Cordier Jan. 31, 2019, 12:15 p.m. UTC
In addition of the existing VAAPI for hardware encoding, Intel provides
the libmfx API embeded in its Intel MediaSDK. Intel MediaSDK improves
encoding quality, is faster, and makes use of all encoding capabilities
on Intel platforms.

MFX test procedure (h264):

1. Retrieve sample data (https://github.com/Intel-Media-SDK/samples)
2. Run ./sample_multi_transcode -i::h264 test_stream.264 -o::h264 out.264.
3. Test should pass.

FFMpeg QuickSync test procedure (h264):

1. Download test video: https://peach.blender.org/trailer-page/
2. Run ffmpeg -y -hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v 
h264_qsv -i /trailer_1080p.mov -c:v h264_qsv -framerate 60 -acodec 
copy out.mp4

Louis-Paul Cordier (6):
  intel-gmmlib: new package.
  intel-mediadriver: new package.
  intel-mediasdk: new package.
  ffmpeg: bump to version 4.1. ffserver is not supported anymore.
  ffmpeg: enable Intel QuickSync support.
  Update DEVELOPERS.

 DEVELOPERS                                    |  5 +++
 package/Config.in                             |  3 ++
 package/ffmpeg/0001-ffmpeg-pthreads.patch     | 34 -------------------
 package/ffmpeg/Config.in                      |  6 ----
 package/ffmpeg/ffmpeg.hash                    |  2 +-
 package/ffmpeg/ffmpeg.mk                      | 15 ++++----
 package/intel-gmmlib/Config.in                |  8 +++++
 package/intel-gmmlib/intel-gmmlib.hash        |  2 ++
 package/intel-gmmlib/intel-gmmlib.mk          | 17 ++++++++++
 package/intel-mediadriver/Config.in           | 17 ++++++++++
 .../intel-mediadriver/intel-mediadriver.hash  |  2 ++
 .../intel-mediadriver/intel-mediadriver.mk    | 29 ++++++++++++++++
 package/intel-mediasdk/Config.in              | 13 +++++++
 package/intel-mediasdk/intel-mediasdk.hash    |  2 ++
 package/intel-mediasdk/intel-mediasdk.mk      | 17 ++++++++++
 15 files changed, 124 insertions(+), 48 deletions(-)
 delete mode 100644 package/ffmpeg/0001-ffmpeg-pthreads.patch
 create mode 100644 package/intel-gmmlib/Config.in
 create mode 100644 package/intel-gmmlib/intel-gmmlib.hash
 create mode 100644 package/intel-gmmlib/intel-gmmlib.mk
 create mode 100644 package/intel-mediadriver/Config.in
 create mode 100644 package/intel-mediadriver/intel-mediadriver.hash
 create mode 100644 package/intel-mediadriver/intel-mediadriver.mk
 create mode 100644 package/intel-mediasdk/Config.in
 create mode 100644 package/intel-mediasdk/intel-mediasdk.hash
 create mode 100644 package/intel-mediasdk/intel-mediasdk.mk