On Thu, Oct 17, 2019 at 01:08:37 +0200, Michele Salerno wrote:
> > #!/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

This looks like you need to remove the newline between these lines:
    ffmpeg -threads 8 -hwaccel nvdec -i "$i" -vf scale_cuda=720:-1
-c:v h264_nvenc -preset slow "convert/$i";

They are one command and need to be on one line.

Moritz
_______________________________________________
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