Page 1 of 1
h264_nvenc encoding?
Posted: Mon Dec 16, 2024 8:10 am
by buddhabas
Hi!
how can I use this command on FFATrans?
ffmpeg -hide_banner -hwaccel cuda -hwaccel_output_format cuda -i "input.mkv" -map 0:0 -r 23.976 -c:v h264_nvenc -preset p1 -vf
scale_cuda=-2:256:format=yuv420p:interp_algo=bilinear,setpts=PTS-STARTPTS -f mp4 "output.mp4"
I don't see the
h264_nvenc btw encoder list.
Thanks
Re: h264_nvenc encoding?
Posted: Mon Dec 16, 2024 3:56 pm
by emcodem
buddhabas wrote: ↑Mon Dec 16, 2024 8:10 am
I don't see the
h264_nvenc btw encoder list.
Hehe thats no secret
it is because steinar only wants to introduce this along with proper resource control. As we dont yet have nvenc resource control, we dont have nvenc h264 processor.
Not sure what to interpret out of your question but straight forward answer is that you can use what you wrote in a commandline processor, e.g. like that.
ffmpeg -hide_banner -hwaccel cuda -hwaccel_output_format cuda -i "%s_source%" -map 0:0 -r 23.976 -c:v h264_nvenc -preset p1 -vf scale_cuda=-2:256:format=yuv420p:interp_algo=bilinear,setpts=PTS-STARTPTS -f mp4 -y "%s_source%_nvenc.mp4"
There is a number of other examples regarding nvenc on the forum, e.g. here
viewtopic.php?p=8856&hilit=nvenc#p8856
Was that what you wanted to know?
Re: h264_nvenc encoding?
Posted: Wed Dec 18, 2024 10:41 am
by buddhabas
emcodem wrote: ↑Mon Dec 16, 2024 3:56 pm
buddhabas wrote: ↑Mon Dec 16, 2024 8:10 am
I don't see the
h264_nvenc btw encoder list.
Hehe thats no secret
it is because steinar only wants to introduce this along with proper resource control. As we dont yet have nvenc resource control, we dont have nvenc h264 processor.
Not sure what to interpret out of your question but straight forward answer is that you can use what you wrote in a commandline processor, e.g. like that.
ffmpeg -hide_banner -hwaccel cuda -hwaccel_output_format cuda -i "%s_source%" -map 0:0 -r 23.976 -c:v h264_nvenc -preset p1 -vf scale_cuda=-2:256:format=yuv420p:interp_algo=bilinear,setpts=PTS-STARTPTS -f mp4 -y "%s_source%_nvenc.mp4"
There is a number of other examples regarding nvenc on the forum, e.g. here
viewtopic.php?p=8856&hilit=nvenc#p8856
Was that what you wanted to know?
Yes of course. Thanks so much my savior