Hello,
after more and more research on the web I found a way to get some things work .
1 install ubuntu server 17.10
2 download and install nvidia driver for installed card ( gtx 1050 ti in my case )
3 download and install cuda tools kit that is needed for many things like the ffmpeg building step
4 compile and install tvh
5 compile and install FFmpeg with nvidia support
6 start with tvh configuration and with the channel scan
7 create stream profile with respawn option and add a link to ffmpeg custom script .
Now I can reduce the bit rate of my streams via the external GPU, but I need an help to fix my ffmpeg script that I thing is not the best :
#!/bin/bash
/home/hts/ffmpeg -fflags +genpts -nostats -nostdin -hide_banner -loglevel quiet -hwaccel_device 0 -hwaccel cuvid -c:v h264_cuvid -deint 2 -drop_second_field 1 -surfaces 10 -resize 1280x720 -i -map 0:v -c:v h264_nvenc -preset fast -profile:v high -rc vbr -cq 1 -bf 2 -b:v 2200k -minrate 2200k -maxrate 2200k -bufsize 3002k -map 0:a -c:a libfdk_aac -ac 2 -b:a 128k -strict experimental -f mpegts
Can some one help me to find the best script to have a good result ?
Actually result is good but screen sometimes becomes black or images are interrupted by freeze .
Best regards
sirk98