Open Source Media Framework - Linux* FFmpeg-VAAPI and FFmpeg-QSV Getting Started

ID 727048
Updated 3/9/2022
Version Latest
Public

  1. FFmpeg* VAAPI/QSV Installation Environment
  2. FFmpeg-VAAPI/QSV Examples Command Lines
     
FFmpeg-VAAPI reference command lines: https://trac.ffmpeg.org/wiki/Hardware/VAAPI#FullExamples FFmpeg-QSV reference command lines: https://trac.ffmpeg.org/wiki/Hardware/QuickSync#FullExamples

 

  1. FFmpeg-VAAPI/QSV sample source codes link
    *FFmpeg-VAAPI: Decode: https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/hw_decode.c (to find the line of "type = av_hwdevice_find_type_by_name(argv[1])", and to use "vaapi" as the input param for "argv[1]") Encode: https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/vaapi_encode.c Transcode: https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/vaapi_transcode.c *FFmpeg-QSV: Decode: https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/qsvdec.c

     

  2. FFmpeg-VAAPI/QSV reference link

    *FFmpeg official website: http://ffmpeg.org/ *FFmpeg Issue Tracking FFmpeg issue are tracking here The FFmpeg-vaapi and FFmpeg-qsv relative issues are monitored and listed here *FFmpeg official document: http://ffmpeg.org/documentation.html FFmpeg-vaapi wiki: http://trac.ffmpeg.org/wiki/Hardware/VAAPI FFmpeg-QSV wiki: http://trac.ffmpeg.org/wiki/Hardware/QuickSync *FFmpeg official mail list: http://lists.ffmpeg.org/mailman/listinfo/ffmpeg-devel

     

Linux Gstreamer-VAAPI and Gstreamer-MSDK Getting Started

  1. Gstreamer VAAPI/MSDK Installation Environment

  2. GStreamer-VAAPI/MSDK Command Line Examples

  3. Gstreamer-VAAPI/MSDK reference link

*Gstreamer official website: https://gitlab.freedesktop.org/gstreamer *GStreamer Issue Tracking GStreamer-VAAPI issue are tracking here GStreamer-MSDK relative Issues are monitored and listed here *GStreamer official document: https://gitlab.freedesktop.org/gstreamer/gst-docs/ GStreamer-VAAPI wiki: https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi GStreamer-MSDK wiki: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/

 

Comments

About decode latency, there are three parts which legally introduce latency in MediaSDK decoder (To see detail from the Link). The gstreamer-msdk and ffmpeg-qsv will call MediaSDK to do video acceleration, so there are same impact to gstreamer-msdk and ffmpeg-qsv.

Project: Open Source Media Framework