Dear all,
Default kaltura transcode use CPU (libx264), now I want transcode se GPU Nvidia with Cuda (h264_nvenc). I’ve compiled ffmpeg with h264_nvenc, so anyone know the option for use h264_nvenc?
This is the option when kaltura use libx264:
/opt/kaltura/bin/ffmpeg -i "/opt/input.mkv" -c:v libx264 -subq 7 -qcomp 0.6 -qmin 10 -qmax 50 -qdiff 4 -bf 16 -coder 1 -refs 6 -x264opts b-pyramid:weightb:mixed-refs:8x8dct:no-fast-pskip=0:stitchable -vprofile high -force_key_frames expr:'gte(t,n_forced*2)' -pix_fmt yuv420p -b:v 946k -s 1280x720 -r 23.976 -g 48 -aspect 1280:720 -c:a aac -filter_complex 'aresample=async=1:min_hard_comp=0.100000:first_pts=0' -strict -2 -b:a 128k -ar 44100 -ac 2 -map_chapters -1 -map_metadata -1 -f mp4 -flags +loop+mv4 -cmp 256 -partitions +parti4x4+partp8x8+partb8x8 -trellis 1 -refs 6 -me_range 16 -keyint_min 20 -sc_threshold 40 -i_qfactor 0.71 -bt 700k -maxrate 2500k -bufsize 5000k -rc_eq 'blurCplx^(1-qComp)' -vsync 1 -crf 23 -threads 4 -y /opt/kaltura/tmp/convert/output_cpu.mp4 >> "/opt/kaltura/tmp/convert/convert_mkv_to_720_mp4_cpu.log" 2>&1