Hello
I have a hikvision DS-2CD2442FWD-IW camera.
I would like to stream the image of this camera to youtube. I will
transcode it and add text fields.
This is a sporting event with results and names of the competitors.
Youtube always complains that the bit rate is not high enough and that
the main image frame is dropped....
1024x720 is the resolution I'm using, frame 25, codec H.264, with 8 bit
sound coming from the camera.
I use the command line text below.
ffmpeg -r 25 -rtsp_transport tcp -i
rtsp://admin:Valami01@192.168.2.25/Streaming/Channels/1 -c:v libx264
-b:v 2M -c: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-xxxxxx
what do you get wrong?
Thanks in advance for your help!
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".