Il giorno mar 15 ott 2019 alle ore 23:33 Dennis Mungai
<[email protected]> 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

No work, i have this error:
At least one output file must be specified
./1.sh: riga 4: -c:v: comando non trovato
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to