[FFmpeg-user] resululotion probem

frhun frobihun at gmail.com
Sat Dec 2 13:54:55 EET 2023


I've posted a couple of times before, where it's for this reason or that 
reason, now my problem is that since q-scale was set to -g 2 the 
resolution has dropped drastically on the output.
the interesting thing is that the speed out is the same as 720p, however 
on youtube it is good at a quarter of the resolution shown..
what should i adjust to make it good?
I have set the -g switch in vain, but it hasn't changed.
only the -presets switch made a difference.
But it's interesting that when youtube complained about the bad starting 
frame, the picture was perfect, now it doesn't complain and the picture 
is terrible

I am looking forward to your ideas, thanks in advance!


this is the ffmpeg structure

ffmpeg -rtsp_transport tcp -i 
rtsp://xxx:xxxxx@ -c:v libx264 -b:v 2M 
-c:a aac -vf "[in]drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
textfile='c\:\\kolibry2\\verseny\\T_D\\Piros.txt': x=115: y=20: 
reload=1: fontcolor=black: fontsize=30: box=1: boxborderw=5: 
boxcolor=red at 0.8 , drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
textfile='c\:\\kolibry2\\verseny\\T_D\\Feher.txt': x=115: y=55: 
reload=1: fontcolor=black: fontsize=30: box=1: boxborderw=5: 
boxcolor=white at 0.8 , drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf': 
textfile='c\:\\kolibry2\\verseny\\T_D\\Ora.txt': x=20: y=20: reload=1: 
fontcolor=black: fontsize=35: box=1: boxborderw=5: boxcolor=aqua at 0.8 , 
textfile='c\:\\kolibry2\\verseny\\T_D\\Merkozes.txt': x=20: y=53: 
reload=1: fontcolor=black: fontsize=28: box=1: boxborderw=5: 
boxcolor=yellow at 0.8[out]" -preset medium -qscale 0 -g 2 -f flv 

More information about the ffmpeg-user mailing list