Read the statement by Michael Teeuw here.
[MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras
-
Hello
it is a,DAHUA mini-dome Kamera hd-cvi 2 megapixels für indoor/outdoor g ip7. 30 m nightview fixe objektiv 2,8 mm. - AC/DC-Adapter : AC/DC-Adapter 12V 600mA (port 80)
also i have a Luna Hd
L-KA-2601 1 160,00 160,00
IR Bullet-Kamera (HD-CVI), Full HD,if i open
http://XXX.xxx,x.xxx:8080/MMM-RTSPStream/config.html
I am denied access -
@Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
I am denied access
probably have to use the url syntax for userid and password
http://admin:roland!?1971@example.com
that is going to the magic mirror port
so, in the config.js do you have
address: “0.0.0.0”,
and
ipWHiltelist:[], -
@Number_5
Try with port 554, see previous post.And see
https://github.com/shbatm/MMM-RTSPStream
“Using the module” on the config.html part I was referring to.
The IP there, is the MM IP, or localhost, not your cam IP. -
-
Hello
I’m just overwhelmed with the syntax.
http://admin:roland!?1971@example.com
and
http://XXX.xxx,x.xxx:8080/MMM-RTSPStream/config.htmI’ll try tomorrow and give feedback, thanks for your support
-
thats the result with the port 554
pi@raspberrypi:~/MagicMirror/config $ omxplayer --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://admin:roland!?1971@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0' have a nice day ;) pi@raspberrypi:~/MagicMirror/config $ head -30 omxplayer.log 21:33:25 T:18446744071806154291 DEBUG: DllBcm: Using omx system library 21:33:25 T:18446744071806155602 DEBUG: DllOMX: Using omx system library 21:33:25 T:18446744071806156277 DEBUG: DllAvFormat: Using libavformat system library 21:33:25 T:18446744071806157458 WARNING: Failed to acquire D-Bus name 'org.mpris.MediaPlayer2.omxplayer' 21:33:25 T:18446744071806157567 WARNING: DBus connection failed, trying alternate 21:33:25 T:18446744071806158687 DEBUG: DBus connection succeeded 21:33:25 T:18446744071806159455 DEBUG: Keyboard: DBus connection succeeded 21:33:25 T:18446744071806159602 DEBUG: OMXThread::Create - Thread with id -1387290944 started 21:33:25 T:18446744071806159705 DEBUG: DllAvUtilBase: Using libavutil system library 21:33:25 T:18446744071806159738 DEBUG: DllAvCodec: Using libavcodec system library 21:33:25 T:18446744071806159756 DEBUG: DllAvFormat: Using libavformat system library 21:33:25 T:18446744071806160118 DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://admin:roland!?1971@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0 21:33:25 T:18446744071806160518 ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://admin:roland!?1971@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0 21:33:25 T:18446744071806179771 DEBUG: OMXThread::Run - Exited thread with id -1387290944 21:33:25 T:18446744071806180025 DEBUG: OMXThread::StopThread - Thread stopped pi@raspberrypi:~/MagicMirror/config $
-
Hello Sam,
with 0.0.0.0.8080/MMM-rtspStream I was able to open the module configurator.evroom said:
And see
https://github.com/shbatm/MMM-RTSPStream
“Using the module” on the config.html part I was referring to.
The IP there, is the MM IP, or localhost, not your cam IP.It means the mirror id is not the raspberry pi?
where can I find the mm id? -
When you run MM locally on your Pi, then your MM IP is your Pi IP.
IP being the IP address, not an id.When you are able to open the RTSPStream configurator using 0.0.0.0.8080/MMM-rtspStream, then that’s fine.
Continue with step 2 from this post:
https://forum.magicmirror.builders/topic/2743/mmm-rtspstream-video-streaming-from-live-feeds-security-cameras/379 -
@Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:
It means the mirror id is not the raspberry pi?
I don’t see that (mirror id) in the doc for this module
i do see this for testing the camera connection
Testing a camera feed
To test to make sure you have a working url for a camera feed: create a text file with the URL as the first and only line in the file. Save the file as .strm and open the file with a video player like VLC.unfortuantely I can’t use this module on my dev system as there is no omxplayer…
-
One more thing to try. Just leave out the port altogether.
I use it without specifying the port.omxplayer --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://admin:roland!?1971@192.168.2.108/cam/realmonitor?channel=2&subtype=0'