README
This commit is contained in:
parent
06134ed0f1
commit
6429b5a003
@ -31,13 +31,13 @@ Use `ffmpeg` with `docker` and `nvidia` powers to transcode in Debian 11 Bullsey
|
||||
cuda
|
||||
vaapi
|
||||
|
||||
## Sample decode using CUDA:
|
||||
## Sample using CUDA for encoding:
|
||||
|
||||
$ docker-compose run --rm --entrypoint /ffmpeg nvidia-ffmpeg -hwaccel cuda -i /folder/input /folder/output
|
||||
$ docker-compose run --rm --entrypoint /ffmpeg nvidia-ffmpeg -vsync 0 -i /folder/input -c:a copy -c:v h264_nvenc /folder/output
|
||||
|
||||
## Full hardware transcode with NVDEC and NVENC:
|
||||
|
||||
$ docker-compose run --rm --entrypoint /ffmpeg nvidia-ffmpeg -hwaccel cuda -hwaccel_output_format nvdec -i /folder/input -c:v h264_nvenc /folder/output
|
||||
$ docker-compose run --rm --entrypoint /ffmpeg nvidia-ffmpeg -vsync 0 -hwaccel nvdec -hwaccel_output_format cuda -extra_hw_frames 10 -i /folder/input -c:a copy -c:v h264_nvenc /folder/output
|
||||
|
||||
## Shutdown
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user