


$convert2 = "ffmpeg -i $path_tmp2 -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra ".$path."output2.ts" $convert_logo = "ffmpeg -i $path_tmp -i ".$main_path."/data/logo.png -filter_complex 'overlay=4:4' -codec:a copy $path_tmp2" $convert1 = "ffmpeg -i $film_aval_dest -map 0 -flags:v +global_header -c:v libx264 -bsf:v dump_extra ".$path."output1.ts" $source_decoder = "ffmpeg -i $film_aval_source -i ".$path."/Data.jpg -filter_complex 'overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2:enable=between(t\,5\,10)' -codec:a copy $film_aval_dest" I use this commands when my script anycodings_gpu run: $source_decoder = "ffmpeg -i $film_aval_source -vf drawtext=\"text_shaping=1:fontfile=$font_source:

What i must anycodings_gpu install and what command i must use for this anycodings_gpu work? I have a mac os with AMD Radeon R9 anycodings_gpu M370X 2048 MB Graphic card. If you want full gpu cuda decode and scale and encod :įfmpeg -y -hwaccel cuda -hwaccel_output_format cuda -hwaccel_device cuda -i input.mkv -filter_complex scale_cuda=1280:-2,hwdownload,format=p010le,format=nv12,hwupload -sn -c:a copy -c:v h264_nvenc -preset p7 -tune 1 -multipass fullres -rc-lookahead 32 -rc vbr -cq 30 -zerolatency 1 output.mkvįfmpeg -y -hwaccel cuda -hwaccel_output_format cuda -hwaccel_device cuda -i input.mkv -filter_complex “scale_cuda=1280:-2,hwdownload,format=nv12” -sn -c:a copy -c:v h264_nvenc -preset p7 -tune 1 -multipass fullres -rc-lookahead 32 -rc vbr -cq 30 -zerolatency 1 output.When i exec ffmpeg command, it use my cpu to anycodings_gpu render videos, it take long time to do this anycodings_gpu job, how i can force ffmpeg use my gpu to anycodings_gpu render? You can do cpu & gpu, decode and scale and encod without -vf, like this :įfmpeg -i input.mkv -s 444x250 -c:a copy -c:v h264_nvenc -pix_fmt yuv420p -preset p7 -tune ull -multipass fullres -rc_lookahead 32 -rc vbr -cq 29 -zerolatency 1 -gpu 0 output.mkvįfmpeg -i input.mkv -s 444x250 -c:a copy -c:v h264_nvenc -preset p7 -tune ull -multipass fullres -rc_lookahead 32 -rc vbr -cq 29 -zerolatency 1 -gpu 0 output.mkv
