
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. The first generation of NVENC, which is shared by all Kepler -based GPUs, supports H.264 high-profile (YUV420, I/P/B frames, CAVLC/CABAC), H. 2021 Encoder h264nvenc NVIDIA NVENC H.264 encoder: General capabilities: delay hardware.

This is the option when kaltura use libx264: Rate Control Options dyslexia homeschool curriculum. NVidia's documentation states a peak encoder throughput of 8× realtime at a resolution of 1920×1080 (where the baseline '1×' equals 30 Hz).

I’ve compiled ffmpeg with h264_nvenc, so anyone know the option for use h264_nvenc? The first generation of NVENC, which is shared by all Kepler -based GPUs, supports H.264 high-profile (YUV420, I/P/B frames, CAVLC/CABAC), H.264 SVC Temporal Encode VCE, and Display Encode Mode (DEM).

Default kaltura transcode use CPU (libx264), now I want transcode se GPU Nvidia with Cuda (h264_nvenc).
