[FFmpeg-user] ffmpeg low bitrate with with qulaity

Matthew Reus matthew.reus01 at gmail.com
Wed Apr 8 05:34:59 EEST 2020


Hello i m using ubuntu 18.04 server with f
*fmpeg version N-94396-g47b6ca0 Copyright (c) 2000-2019 *
My question is how can we compress the stream using H264 with high quality
with lower bit rate , till now i m defining FTA hd channel upto 5 MBps but
i want it decrease to 2 Mbps without quality loss , Is that possible?


*/root/bin/ffmpeg -fflags +genpts -hwaccel_device 0 -hwaccel cuvid -c:v
h264_cuvid -i
'udp://@172.16.20.27:4601?overrun_nonfatal=1&fifo_size=50000000&timeout=2000000000
<http://172.16.20.27:4601?overrun_nonfatal=1&fifo_size=50000000&timeout=2000000000>'
-aspect 16:9 -profile:v main -preset medium -c:v h264_nvenc -gpu 0 -vf
yadif_cuda=mode=0:-1:0,scale_npp=1920:1080 -r 25 -b:v 6M -bf 2 -g 150 -c:a
aac -b:a 128k -ar 48000 -strict -2 -f flv
'rtmp://admin:admin@172.16.16.206/livetv/viaKantipur.stream
<http://admin:admin@172.16.16.206/livetv/viaKantipur.stream>' *


More information about the ffmpeg-user mailing list