Re: [FFmpeg-devel] [PATCH v2 2/2] ffmpeg: Add cuvid hwaccel support
2016-06-07 1:08 GMT+03:00 Timo Rothenpieler : > +ost->enc_ctx->hw_frames_ctx = av_buffer_ref(ctx->hw_frames_ctx); > +ost->enc_ctx->pix_fmt = AV_PIX_FMT_CUDA; > + > +if (!ist->hwaccel_ctx) { > +ist->hwaccel_ctx = ctx; > +ist->hw_frames_ctx = ctx->hw_frames_ctx; > +
[FFmpeg-devel] [PATCH v2 2/2] ffmpeg: Add cuvid hwaccel support
--- Makefile | 1 + ffmpeg.c | 5 ++ ffmpeg.h | 3 + ffmpeg_cuvid.c | 217 + ffmpeg_opt.c | 3 + 5 files changed, 229 insertions(+) create mode 100644 ffmpeg_cuvid.c diff --git a/Makefile b/Makefile index 0ff4a87