The command is: ffmpeg -hwaccel_device 1 -hwaccel cuvid -c:v h264_cuvid -y -i a.mkv -b:v 768k -r 25 -acodec libfdk_acc -ac 2 -b:a 96k -ar 44100 -vf ‘scale_npp=854:480,hwdownload,format=nv12’ -c:v h264_nvenc b.mp4 The error is: Bit depth 10 is not supported. The video probe information: bits_per_raw_sample=10
> 在 2018年12月26日,00:36,Carl Zwanzig <[email protected]> 写道: > > Hello, > >> On 12/25/2018 8:09 AM, dd wrote: >> We replace cpu with gpu to ffmpeg recently, met a performance problem. >> As the following problem Code: >> ffmpeg -hwaccel_device 2 -hwaccel cuvid -i a.mp4 -vf >> “scale=1080:720,overlay=()” -gpu 2 -c:v h264_nvenc out.mp4 >> it use much more cpu resource, but a little gpu, it is not we want. see the >> attachment picture. > > You need to make sure you're using a current, or at least recent, version of > ffmpeg and also to post the entire command output from the command you use. > > Later, > > z! > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
