Fairly new user here trying to stream an IP camera from a Rasberry Pi3 (Debian) to Youtube for live view.
This works but crashes as the audio and video bitrate do not change and are too high. Here's my command line: ffmpeg -f lavfi -i anullsrc -rtsp_transport tcp -thread_queue_size 512 -i rtsp://admin:passw...@xx.xx.xx.xxx/544/h264/ch1/main/av_stream -tune zerolatency -vcodec libx264 -preset slower -x264opts bitrate=2500:vbv-maxrate=2500:vbv-bufsize=166 -g 120 -pix_fmt yuv420p+ -c:v copy -c:a aac -strict experimental -b:a 128k -f flv rtmp://a.rtmp.youtube.com/live2/my_youtube_key Once launched terminal shows stream as Frame= 69 fps= 68 q=-1.0 size= 1043kb time=00:00:02.09 bitrate=4086.9kbits/ Youtube reports: The audio stream's current bitrate (2.00 Kbps) is lower than the recommended bitrate. We recommend that you use an audio stream bitrate of 128 Kbps. The stream's current bitrate (4001.00 Kbps) is higher than the recommended bitrate. We recommend that you use a stream bitrate of 2500 Kbps. Mike Murphy - Supervisor uOttawa Science Electronics Shop 009-140 Louis Pasteur Priv Ottawa, ON K1N 6N5 (613)562-5800 ext.6745 mmur...@uottawa.ca<mailto:mmur...@uottawa.ca> [uOttawa]
_______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".