It is known that cpu decoding utilization is very high, because of the player problem, the source has subtitle selection.
Ffmpeg
Ffmpeg4.1 -re -i 1.ts -vcodec libx264 -filter_complex "[0:0][0:4]overlay" -preset fast -deinterlace -s 720x576 -b:v 4000k -r 25 -g 25 -x264opts " Cabac=1: ref=3:me=hex:subme=1" -map 0:a:0 -f mpegts 4.ts
Now I want to use gpu qsv encoding, how to convert the code?