@BKeyport Yes, making good progress thanks to those of you who’ve helped. I’m having a difficult time with placing the window. I can get it in the upper-left of the screen using --win “0 0 600 300”, but I can’t seem to manipulate those coordinates to get the window to the lower-right. Can you point me to information that will help me understand this?
Read the statement by Michael Teeuw here.
Posts made by dwburger
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
OK…I’ve got it displaying my Wyze rtsp live stream on the screen while MM2 is running. The live stream seems to start and stop so I’ll work on that. Also, I need to position it in the correct place (lower-right corner).
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@dwburger It took several seconds, but entering the correct rtsp URL got my camera’s video stream onto the RPi4 screen (full-screen). I’ll follow it a while to see how stable it is.
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@dwburger said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
rtsp://admin:admin@192.168.1.20/live
I see I made an error with the rtsp URL. Here’s the correct one for my Wyze cam masking the username and password:
rtsp://d____:b____@192.168.1.117/live
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@evroom I ran the following command via SSH to a headless RPi 4. I stopped MM2 via PM2 so the RPi4 GUI desktop is all I see.
omxplayer -g rtsp://admin:admin@192.168.1.20/live
The omxplayer.log file looks like this:
23:13:40 T:18446744072105597939 DEBUG: DllBcm: Using omx system library
23:13:40 T:18446744072105599016 DEBUG: DllOMX: Using omx system library
23:13:40 T:18446744072105599609 DEBUG: DllAvFormat: Using libavformat system library
23:13:40 T:18446744072105600891 DEBUG: DBus connection succeeded
23:13:40 T:18446744072105601616 DEBUG: Keyboard: DBus connection succeeded
23:13:40 T:18446744072105601755 DEBUG: OMXThread::Create - Thread with id -1387290944 started
23:13:40 T:18446744072105601853 DEBUG: DllAvUtilBase: Using libavutil system library
23:13:40 T:18446744072105601872 DEBUG: DllAvCodec: Using libavcodec system library
23:13:40 T:18446744072105601888 DEBUG: DllAvFormat: Using libavformat system library
23:13:40 T:18446744072105602188 DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://admin:admin@192.168.1.20/live
23:13:43 T:18446744072108706892 DEBUG: COMXPlayer::OpenFile - avformat_open_input enabled SEEKING
23:13:43 T:18446744072108707062 ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://admin:admin@192.168.1.20/live
23:13:43 T:18446744072108717572 DEBUG: OMXThread::Run - Exited thread with id -1387290944
23:13:43 T:18446744072108718100 DEBUG: OMXThread::StopThread - Thread stopped -
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
omxplayer --genlog --avdict rtsp_transport:tcp --live --video_queue 4 --fps 30 --win “0 0 640 360” rtsp://user:password@192.168.178.56/axis-media/media.amp?resolution=640x360
I’m just getting the “have a nice day” error. What would the most basic omxplayer command be? I just want to see the Wyze rtsp stream anywhere on the RPi 4 screen. I’ve tried: omxplayer rtsp://:@IP address and I get the “have a nice day” error.
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
Updating didn’t solve the problem. Just wondering…I’ve seen recent references to using OMXplayer independent of MM2. Does this mean that the OMXplayer window is on top of the MM2 screen or somehow incorporated into it. Could someone give me a little push into understanding this?
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@BKeyport Yes, I’m using an RPi4. Thanks for the link for updating!
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
@evroom Thanks! I haven’t been able to get OMXplayer to work, only VLC. However, if I can’t get the auto-restart to work with VLC, I’ll see if I can’t get OMXplayer to work.
-
RE: [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
I’ve got this module working with my Wyze camera, but the connection drops and the image freezes after a few minutes. Is there a way to automatically reconnect to the camera from within the module? I can do it by stopping and starting MM2 using PM2, but I’d rather not have to do that every few minutes. Thanks for any help or guidance!