Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
ffmpeg: Switch cuvid to generic hwaccel
With generic hwaccel, it is additionally necessary to specify the
output format. If this is not done, we'll end up downloading the
frames back and then re-uploading them.
For example:
ffmpeg -y -hwaccel cuvid -hwaccel_output_format cuda \
-c:v h264_cuvid -i sample.mp4 \
-c:v h264_nvenc -f rawvideo /dev/null- Loading branch information
Showing
with
2 additions
and 77 deletions.
- +0 −1 Makefile
- +0 −1 ffmpeg.h
- +0 −73 ffmpeg_cuvid.c
- +2 −2 ffmpeg_opt.c