On Thu, 17 Oct 2019 at 02:09, Michele Salerno <mikysa...@gmail.com> wrote:
> Il giorno mar 15 ott 2019 alle ore 23:33 Dennis Mungai > <dmng...@gmail.com> ha scritto: > > > For usage, see: > > > > ffmpeg -h filter=scale_cuda > > > > On my build, I see: > > > > Filter scale_cuda > > GPU accelerated video resizer > > Inputs: > > #0: default (video) > > Outputs: > > #0: default (video) > > cudascale AVOptions: > > w <string> ..FV...... Output video width (default > "iw") > > h <string> ..FV...... Output video height (default > "ih") > > > it's ok, i have reinstall OS and compile Driver and Cuda from bin > (NVIDIA-Linux-x86_64-430.50.run and cuda_10.1.243_418.87.00_linux.run) > Compile ffmpeg with > ./configure --enable-nonfree --enable-nvenc --enable-libx264 > --enable-gpl --enable-cuda --enable-cuvid --enable-cuda-nvcc > > > > So with your command, substitute scale_npp with scale_cuda as shown: > > > > #!/bin/bash > > for i in *.mp4; do > > ffmpeg -threads 8 -hwaccel nvdec -i "$i" -vf scale_cuda=720:-1 > > -c:v h264_nvenc -preset slow "convert/$i"; > > done > > First, run the command by hand before writing scripts. If that works, then > proceed to adjust your script as needed. _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".