Just FYI, I have ffmpeg working with 2 Wyze v3 RTSP cams:
-
M1 Mac Mini (12.1) pulling RTSP and pushing it to YouTube
-
M1 Mac Mini grabbing RTSP frames on the hour for a time lapse.
Later I can try moving the YouTube service to my RPi, since it’s not doing any transcoding, and the Pi is perfectly capable of forwarding packets. like I’m doing with my Reolink BeeCam.
My current command on the Mini:
./ffmpeg -thread_queue_size 2048 -i 'rtsp://anonymous:password@192.168.1.49/live' -vcodec copy -acodec copy -t 2:00:00 -f flv "rtmp://a.rtmp.youtube.com/live2/my-youtube-streaming-key"
and my current command on the Pi:
./ffmpeg -re -thread_queue_size 512 -rtsp_transport tcp -i "rtsp://anonymous:password@192.168.1.11:554" -f concat -safe 0 -i playlist.txt -vcodec copy -acodec copy -t 01:47:02 -f flv "rtmp://a.rtmp.youtube.com/live2/my-other-youtube-key"
The playlist is for the music track, since my Reolink PTZ cam doesn’t have a mic, and YT requires a soundtrack.