Hello everyone
I have a problem
youtube say this:
"
ffmpeg For the keyframe frequency, set a maximum of four seconds.
Currently sending frames is not frequent enough, which causes buffering.
The current key frame rate is 9.0 seconds. Processing errors may cause
incorrect GOP (group of pictures) size.
"
my ffmpeg command is :
ffmpeg -r 25 -rtsp_transport tcp -i
rtsp://admin:admin@192.168.2.21/Streaming/Channels/1 -c:v libx264 -b:v
2M -c:a aac -vf "[in]drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\kolibry2\\verseny\\T_A\\Piros.txt': x=115: y=20:
reload=1: fontcolor=black: fontsize=30: box=1: boxborderw=5:
boxcolor=red@0.8 , drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\kolibry2\\verseny\\T_A\\Feher.txt': x=115: y=55:
reload=1: fontcolor=black: fontsize=30: box=1: boxborderw=5:
boxcolor=white@0.8 , drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\kolibry2\\verseny\\T_A\\Ora.txt': x=20: y=20: reload=1:
fontcolor=black: fontsize=35: box=1: boxborderw=5: boxcolor=aqua@0.8 ,
drawtext=fontfile='C\:\\Windows\\Fonts\\cour.ttf':
textfile='Z\:\\kolibry2\\verseny\\T_A\\Merkozes.txt': x=20: y=53:
reload=1: fontcolor=black: fontsize=28: box=1: boxborderw=5:
boxcolor=yellow@0.8[out]" -preset ultrafast -f flv
rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx
I found many variations, none of them worked, youtube always complains
about wrong settings.
The point is to get the picture from the ethernet camera, add some text
and send it to youtube
If it is not transcoded this way, then direct copy will get youtube
without errors.
thanks in advance
Robert
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".