1. 10 Jun, 2019 1 commit
    • Zhong Li's avatar
      lavf/qsvvpp: add extra_hw_frames support · ef56c28b
      Zhong Li authored
      extra_hw_frames is needed for some cases.
      (eg: qsv decoding + qsv vpp + qsv look_ahead encoding, transcoding
       failed if no extra_hw_frames supported:
       ffmpeg -hwaccel qsv -c:v h264_qsv -i bbb_sunflower_1080p_30fps_normal_2000frames.mp4 \
      -vf vpp_qsv=w=1280:h=720:extra_hw_frames=100 -v verbose  -c:v h264_qsv \
      -look_ahead 1 -look_ahead_depth 100 out1.mp4
      )
      Signed-off-by: 's avatarZhong Li <zhong.li@intel.com>
      ef56c28b
  2. 09 Jun, 2019 2 commits
  3. 07 Jun, 2019 8 commits
  4. 06 Jun, 2019 2 commits
  5. 05 Jun, 2019 4 commits
  6. 04 Jun, 2019 9 commits
  7. 03 Jun, 2019 7 commits
  8. 02 Jun, 2019 1 commit
  9. 03 Jun, 2019 3 commits
  10. 02 Jun, 2019 3 commits
    • Mark Thompson's avatar
      hwcontext_qsv: Try to select a matching VAAPI device by default · 468f0038
      Mark Thompson authored
      Tries to find a device backed by the i915 kernel driver and loads the iHD
      VAAPI driver to use with it.  This reduces confusion on machines with
      multiple DRM devices and removes the surprising requirement to set the
      LIBVA_DRIVER_NAME environment variable to use libmfx at all.
      468f0038
    • Mark Thompson's avatar
      hwcontext_vaapi: Try to create devices via DRM before X11 · 0b4696fb
      Mark Thompson authored
      Opening the device via X11 (DRI2/DRI3) rather than opening a DRM render
      node directly is only useful if you intend to use the legacy X11 interop
      functions.  That's never true for the ffmpeg utility, and a library user
      who does want this will likely provide their own display instance rather
      than making a new one here.
      0b4696fb
    • Mark Thompson's avatar
      hwcontext_vaapi: Add option to set driver name · 7f3f5a24
      Mark Thompson authored
      For example: -init_hw_device vaapi:/dev/dri/renderD128,driver=foo
      
      This may be more convenient that using the environment variable, and allows
      loading different drivers for different devices in the same process.
      7f3f5a24