[FFmpeg-devel] [PATCH 0/2] RFC: Generic hwaccel for cuvid

Philip Langdale philipl at overt.org
Mon Jun 19 02:27:28 EEST 2017


Second go at this, with an attempt at making the new hwaccel work the same as
the old one. I think most people don't actually agree with what's implemented
here (allowing an hwaccel to indicate that the hardware format should be the
default), but I want to capture the discussion the mailing list, and hopefully
we can get a concensus decision.

I think the most credible alternative was to force users to specify an output
format, by failing if one is not specified. That at least makes old command
lines fail fast, rather than silently downloading/uploading frames.

Philip Langdale (2):
  ffmpeg: Switch cuvid to generic hwaccel
  ffmpeg: Set default output format for cuvid hwaccel

 Makefile       |  1 -
 ffmpeg.h       |  2 +-
 ffmpeg_cuvid.c | 73 ----------------------------------------------------------
 ffmpeg_opt.c   | 21 +++++++++--------
 4 files changed, 13 insertions(+), 84 deletions(-)
 delete mode 100644 ffmpeg_cuvid.c

-- 
2.11.0


More information about the ffmpeg-devel mailing list