[FFmpeg-user] resululotion probem

frhun frobihun at gmail.com
Sun Dec 3 14:34:49 EET 2023


now that you mention it, that might be the problem... i will try this
thanks!

2023. 12. 02. 14:15 keltezéssel, Andrew Randrianasulu írta:
> сб, 2 дек. 2023 г., 14:55 frhun <frobihun at gmail.com>:
> 
>>
>> Hello
>>
>>
>> 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
> 
> 
> 
> well, every second frame is keyframe is kinda drastic on encoder! Try 15 or
> 25 .....
> 
> 
> 
> 
> 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!
>>
>> Robert
>>
>> this is the ffmpeg structure
>>
>>
>> ffmpeg -rtsp_transport tcp -i
>> rtsp://xxx:xxxxx@192.168.0.24/Streaming/Channels/1 -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 ,
>> drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
>> 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
>> rtmp://a.rtmp.youtube.com/live2/xxxxxx
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
>>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list