MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras

    Scheduled Pinned Locked Moved Utilities
    602 Posts 67 Posters 2.1m Views 68 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • evroomE Offline
      evroom @Number_5
      last edited by

      @Number_5

      Copy/paste error on my side

      omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0'
      

      Hope this works better.

      MagicMirror version: 2.33.0
      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      Test environment:
      MagicMirror version: v2.33.0
      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
      Raspbian GNU/Linux 12 (bookworm)

      1 Reply Last reply Reply Quote 0
      • N Offline
        Number_5
        last edited by

        Hello evroom,
        thats the result.

        pi@raspberrypi:~/MagicMirror $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0'
        
        [rtsp @ 0x1e70770] method OPTIONS failed: 401 Unauthorized
        have a nice day ;)
        
        pi@raspberrypi:~/MagicMirror $ more omxplayer.log
        20:59:38 T:1866439265   DEBUG: DllBcm: Using omx system library
        20:59:38 T:1866440312   DEBUG: DllOMX: Using omx system library
        20:59:38 T:1866440900   DEBUG: DllAvFormat: Using libavformat system library
        20:59:38 T:1866442436   DEBUG: DBus connection succeeded
        20:59:38 T:1866443340   DEBUG: Keyboard: DBus connection succeeded
        20:59:38 T:1866443488   DEBUG: OMXThread::Create - Thread with id -1387290944 started
        20:59:38 T:1866443585   DEBUG: DllAvUtilBase: Using libavutil system library
        20:59:38 T:1866443604   DEBUG: DllAvCodec: Using libavcodec system library
        20:59:38 T:1866443620   DEBUG: DllAvFormat: Using libavformat system library
        20:59:38 T:1866443952   DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/re
        almonitor?channel=2&subtype=0
        20:59:38 T:1866474815   ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/re
        almonitor?channel=2&subtype=0
        20:59:38 T:1866484802   DEBUG: OMXThread::Run - Exited thread with  id -1387290944
        20:59:38 T:1866485061   DEBUG: OMXThread::StopThread - Thread stopped
        pi@raspberrypi:~/MagicMirror $
        
        evroomE 2 Replies Last reply Reply Quote 0
        • evroomE Offline
          evroom @Number_5
          last edited by

          @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

          401 Unauthorized

          Did you supply your user and password iso xxx.xxx ?

          MagicMirror version: 2.33.0
          Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          Test environment:
          MagicMirror version: v2.33.0
          Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
          Raspbian GNU/Linux 12 (bookworm)

          1 Reply Last reply Reply Quote 0
          • N Offline
            Number_5
            last edited by

            Yes, I changed it in xxx.xxx when I send the log to the the fourm

            1 Reply Last reply Reply Quote 0
            • evroomE Offline
              evroom @Number_5
              last edited by evroom

              @Number_5

              One more thing.
              Can you also try with subtype=1 and subtype=2 ?

              Looks to be a decoding issue and subtype=0 might be too new for omxplayer.
              Someone claims this is working:

              channel=1&subtype=2
              

              MagicMirror version: 2.33.0
              Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              Test environment:
              MagicMirror version: v2.33.0
              Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
              Raspbian GNU/Linux 12 (bookworm)

              1 Reply Last reply Reply Quote 0
              • N Offline
                Number_5
                last edited by

                here the result

                p```
                i@raspberrypi:~/MagicMirror $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=1'
                
                [rtsp @ 0xaf9770] method OPTIONS failed: 401 Unauthorized
                have a nice day ;)
                pi@raspberrypi:~/MagicMirror $ more omxplayer.log
                21:22:31 T:18446744072654331549   DEBUG: DllBcm: Using omx system library
                21:22:31 T:18446744072654332606   DEBUG: DllOMX: Using omx system library
                21:22:31 T:18446744072654333203   DEBUG: DllAvFormat: Using libavformat system library
                21:22:31 T:18446744072654334714   DEBUG: DBus connection succeeded
                21:22:31 T:18446744072654335626   DEBUG: Keyboard: DBus connection succeeded
                21:22:31 T:18446744072654335771   DEBUG: OMXThread::Create - Thread with id -1387290944 started
                21:22:31 T:18446744072654335867   DEBUG: DllAvUtilBase: Using libavutil system library
                21:22:31 T:18446744072654335887   DEBUG: DllAvCodec: Using libavcodec system library
                21:22:31 T:18446744072654335903   DEBUG: DllAvFormat: Using libavformat system library
                21:22:31 T:18446744072654336238   DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=1
                21:22:31 T:18446744072654372616   ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=1
                21:22:31 T:18446744072654377098   DEBUG: OMXThread::Run - Exited thread with  id -1387290944
                21:22:31 T:18446744072654377333   DEBUG: OMXThread::StopThread - Thread stopped
                
                pi@raspberrypi:~/MagicMirror $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=2'
                
                [rtsp @ 0xd1d770] method OPTIONS failed: 401 Unauthorized
                have a nice day ;)
                pi@raspberrypi:~/MagicMirror $ more omxplayer.log
                21:23:48 T:18446744072731535779   DEBUG: DllBcm: Using omx system library
                21:23:48 T:18446744072731536888   DEBUG: DllOMX: Using omx system library
                21:23:48 T:18446744072731537505   DEBUG: DllAvFormat: Using libavformat system library
                21:23:48 T:18446744072731538801   DEBUG: DBus connection succeeded
                21:23:48 T:18446744072731539526   DEBUG: Keyboard: DBus connection succeeded
                21:23:48 T:18446744072731539667   DEBUG: OMXThread::Create - Thread with id -1387290944 started
                21:23:48 T:18446744072731539768   DEBUG: DllAvUtilBase: Using libavutil system library
                21:23:48 T:18446744072731539790   DEBUG: DllAvCodec: Using libavcodec system library
                21:23:48 T:18446744072731539805   DEBUG: DllAvFormat: Using libavformat system library
                21:23:48 T:18446744072731540190   DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=2
                21:23:48 T:18446744072731573465   ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=2
                21:23:48 T:18446744072731579918   DEBUG: OMXThread::Run - Exited thread with  id -1387290944
                21:23:48 T:18446744072731580203   DEBUG: OMXThread::StopThread - Thread stopped
                pi@raspberrypi:~/MagicMirror $
                
                evroomE 1 Reply Last reply Reply Quote 0
                • evroomE Offline
                  evroom @Number_5
                  last edited by

                  @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                  401 Unauthorized

                  401 Unauthorized
                  means user password combination is not correct.

                  admin:roland

                  Note the : and of course your correct password.

                  MagicMirror version: 2.33.0
                  Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  Test environment:
                  MagicMirror version: v2.33.0
                  Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                  Raspbian GNU/Linux 12 (bookworm)

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    Number_5
                    last edited by

                    sorry,
                    with subtype=0 the second attempt

                    pi@raspberrypi:~/MagicMirror $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0'
                    Input #0, rtsp, from 'rtsp://admin:RoKu1234@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0':
                    
                    Metadata:
                      title           : Media Server
                    Duration: N/A, start: 0.080000, bitrate: N/A
                      Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 25 fps, 25 tbr, 90k tbn, 90k tbc
                    have a nice day ;)
                    pi@raspberrypi:~/MagicMirror $ more omxplayer.log
                    21:49:12 T:545640871   DEBUG: DllBcm: Using omx system library
                    21:49:12 T:545641966   DEBUG: DllOMX: Using omx system library
                    21:49:12 T:545642575   DEBUG: DllAvFormat: Using libavformat system library
                    21:49:12 T:545643867   DEBUG: DBus connection succeeded
                    21:49:12 T:545644603   DEBUG: Keyboard: DBus connection succeeded
                    21:49:12 T:545644749   DEBUG: OMXThread::Create - Thread with id -1387290944 started
                    21:49:12 T:545644849   DEBUG: DllAvUtilBase: Using libavutil system library
                    21:49:12 T:545644870   DEBUG: DllAvCodec: Using libavcodec system library
                    21:49:12 T:545644885   DEBUG: DllAvFormat: Using libavformat system library
                    21:49:12 T:545645216   DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0
                    21:49:12 T:545805065   DEBUG: COMXPlayer::OpenFile - avformat_open_input enabled SEEKING
                    21:49:13 T:546749810   DEBUG: OMXThread::Run - Exited thread with  id -1387290944
                    21:49:13 T:546750434   DEBUG: OMXThread::StopThread - Thread stopped
                    
                    evroomE 1 Reply Last reply Reply Quote 0
                    • evroomE Offline
                      evroom @Number_5
                      last edited by

                      @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                      with subtype=0 the second attempt

                      And with subtype=1 and subtype=2 ?
                      And with channel=1&subtype=1 ?

                      You can leave out the omxplayer.log for the moment.

                      MagicMirror version: 2.33.0
                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      Test environment:
                      MagicMirror version: v2.33.0
                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                      Raspbian GNU/Linux 12 (bookworm)

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        Number_5
                        last edited by

                        subtyp 0

                        pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0'
                        Input #0, rtsp, from 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0':
                          Metadata:
                            title           : Media Server
                          Duration: N/A, start: 0.040000, bitrate: N/A
                            Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 1920x1080, 100 tbr, 90k tbn, 90k tbc
                        have a nice day ;)
                        

                        subtyp 1

                        pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=1'
                        Input #0, rtsp, from 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=1':
                          Metadata:
                            title           : Media Server
                          Duration: N/A, start: 0.080000, bitrate: N/A
                            Stream #0:0: Video: hevc (Main), yuvj420p(pc, bt709), 352x288, 100 tbr, 90k tbn, 90k tbc
                        have a nice day ;)
                        

                        subtype 2

                        pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=2'
                        have a nice day ;)
                        pi@raspberrypi:~ $
                        
                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          Number_5
                          last edited by

                          subtype 2 , with error in the log.

                          pi@raspberrypi:~ $ more omxplayer.log

                          22:23:44 T:18446744072031941972   DEBUG: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=2
                          22:24:14 T:18446744072062033195   ERROR: COMXPlayer::interrupt_cb - Timed out
                          22:24:14 T:18446744072062033629   ERROR: COMXPlayer::OpenFile - avformat_open_input rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=2
                          22:24:14 T:18446744072062034345   DEBUG: OMXThread::Run - Exited thread with  id -1387290944
                          22:24:14 T:18446744072062034889   DEBUG: OMXThread::StopThread - Thread stopped
                          
                          evroomE 1 Reply Last reply Reply Quote 0
                          • evroomE Offline
                            evroom @Number_5
                            last edited by evroom

                            @Number_5

                            @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                            Video: hevc

                            It looks like this is the problem.
                            The omxplayer cannot handle this, as it seems.

                            Do you have access to this Dahua Config Tool GUI stuff:
                            (I hope the picture shows)

                            Cannot upload a picture to the forum :disappointed_face: :face_with_steam_from_nose:

                            http://www.dh-vision.com/index.php/dahuaencoding

                            How many Channels do you have ?
                            Is there a channel with Compression H.264 (something not H.265) ?
                            Is there a Sub Stream that is enabled with Compression H.264 (something not H.265) ?
                            What Compresion options are there ?

                            We are looking for a "channel=X&subtype=Y"combination that might work.

                            MagicMirror version: 2.33.0
                            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            Test environment:
                            MagicMirror version: v2.33.0
                            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                            Raspbian GNU/Linux 12 (bookworm)

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              Number_5
                              last edited by

                              Hello evroom,
                              here the results


                              How many Channels do you have ? 4 (LUNA DVR Player)
                              channel 1 luna camera is connected and with channel 2 there is the dahua camera , channel 3 and 4 are free,

                              Is there a channel with Compression H.264 (something not H.265) ? yes, i have changed it now from H265 to H264
                              Is there a Sub Stream that is enabled with Compression H.264 (something not H.265) ?there is a extrastream i have set it from h265 to h264
                              also there was a Zero-Channel at the option “display” disabled , i have it enabled now with h264

                              What Compresion options are there ? h264, h264b , h264 , h264h , h265

                              subtype=0 with h264

                              pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0'
                              Input #0, rtsp, from 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0':
                                Metadata:
                                  title           : Media Server
                                Duration: N/A, start: 0.270000, bitrate: N/A
                                  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 1920x1080, 100 tbr, 90k tbn, 180k tbc
                              have a nice day ;)
                              

                              subtype=1 with h264

                              pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=1'
                              Input #0, rtsp, from 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=1':
                                Metadata:
                                  title           : Media Server
                                Duration: N/A, start: 0.480000, bitrate: N/A
                                  Stream #0:0: Video: h264 (Main), yuvj420p(pc, bt709, progressive), 352x288, 100 tbr, 90k tbn, 180k tbc
                              have a nice day ;)
                              

                              subtype=2 with h264, its not working log with error

                              pi@raspberrypi:~ $ omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd 'rtsp://xxx:xxx@192.168.2.108:554/cam/realmonitor?channel=1&subtype=2'
                              have a nice day ;)
                              pi@raspberrypi:~ $su
                              
                              evroomE 1 Reply Last reply Reply Quote 0
                              • evroomE Offline
                                evroom @Number_5
                                last edited by evroom

                                @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                                subtype=1 with h264

                                Can you try the subtype=1 option and remove the --info part from the command?

                                MagicMirror version: 2.33.0
                                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                Raspbian GNU/Linux 12 (bookworm)

                                Test environment:
                                MagicMirror version: v2.33.0
                                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                Raspbian GNU/Linux 12 (bookworm)

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  Number_5
                                  last edited by

                                  @evroom said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                                  omxplayer --info --genlog --avdict rtsp_transport:tcp --win 786,424,1138,666 --live --video_queue 4 --fps 30 --no-osd ‘rtsp://xxx.xxx@192.168.2.108:554/cam/realmonitor?channel=2&subtype=0’

                                  Hello evroom,

                                  you are the best. now its working!

                                  thanks all for your support. and thanks all for your patience in the past nights.

                                  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:RoKu1234@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0'
                                  Video codec omx-h264 width 1920 height 1080 profile 77 fps 30.000000
                                  Subtitle count: 0, state: off, index: 1, delay: 0
                                  V:PortSettingsChanged: 1920x1080@30.00 interlace:0 deinterlace:0 anaglyph:0 par:1.00 display:0 layer:0 alpha:255 aspectMode:0
                                  

                                  I have put tbe url in the config.js

                                  {
                                    module: "MMM-RTSPStream",
                                     position: "middle_center",
                                     header: "Test Kamera",
                                         config: {
                                         autoStart: true,
                                         rotateStreams: true,
                                         rotateStreamTimeout: 10,
                                         moduleWidth: 354,
                                         moduleHeight: 240,
                                         localPlayer: 'omxplayer',
                                         remotePlayer: 'none',
                                         showSnapWhenPaused: true,
                                         remoteSnaps: true,
                                         stream1: {
                                             name: 'door',
                                             url: 'rtsp://XXX:XXX@192.168.2.108:554/cam/realmonitor?channel=1&subtype=0',
                                             frameRate: 'undefined',
                                             snapshotType: 'url',
                                             snapshotRefresh: 10,
                                            width: undefined,
                                             height: undefined,
                                             },
                                         }
                                    },
                                  

                                  with

                                  pm2 stop MagicMirror
                                  

                                  the mirror stops, but not the stream from the camerea.
                                  Only with the command

                                  pm2 stop 1
                                  

                                  the stream stops.

                                  S evroomE 2 Replies Last reply Reply Quote 0
                                  • S Do not disturb
                                    sdetweil @Number_5
                                    last edited by

                                    @Number_5 you need to write a little script to do pm2 stop 1, then pm2 stop 0

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    N 1 Reply Last reply Reply Quote 0
                                    • evroomE Offline
                                      evroom @Number_5
                                      last edited by evroom

                                      @Number_5 said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                                      now its working!

                                      Great to hear!

                                      When you add

                                      omxRestart: 1,
                                      

                                      in the

                                      config: {
                                      

                                      part, then when restarting MagicMirror, the omx_stream1 will be stopped and restarted too.
                                      If you really want to stop MagicMirror and omx_stream1, then you will need to stop both:

                                      pm2 stop MagicMirror
                                      pm2 stop omx_stream1
                                      

                                      Provided that you named you stream1 stream1.

                                      MagicMirror version: 2.33.0
                                      Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      Test environment:
                                      MagicMirror version: v2.33.0
                                      Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                      Raspbian GNU/Linux 12 (bookworm)

                                      1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        Number_5 @sdetweil
                                        last edited by

                                        @sdetweil

                                        hello sam,
                                        Thank you. You opened the door for me a few days ago. writing small and large scripts will be my next challenge :-). for the first one ,i took up the suggestion from evroom. I hope you will help me with the next projects, :-)

                                        1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          Egnos
                                          last edited by

                                          Hello to all,
                                          I congratulate the developer of this module which, if I manage to make it work, will be very useful to me! :smiling_face_with_open_mouth_smiling_eyes:

                                          I describe my environment:
                                          I’m testing the various modules on a virtual machine (Virtual Box) that runs on a Windows 10 PC.
                                          For now all modules work perfectly except MMM-RTSPStream.

                                          Description of the problem:
                                          I followed the installation guide at this link.

                                          When dependencies are installed the installation fails

                                          Cloning the repository on master branch...
                                          
                                          Cloning into 'MMM-RTSPStream'...
                                          remote: Enumerating objects: 16, done.
                                          remote: Counting objects: 100% (16/16), done.
                                          remote: Compressing objects: 100% (14/14), done.
                                          remote: Total 315 (delta 5), reused 6 (delta 2), pack-reused 299
                                          Ricezione degli oggetti: 100% (315/315), 1.13 MiB | 876.00 KiB/s, done.
                                          Risoluzione dei delta: 100% (192/192), done.
                                          
                                          Installing dependencies...
                                          
                                          
                                          > MMM-RTSPStream@2.0.2-dev preinstall /home/pi/MagicMirror/modules/MMM-RTSPStream
                                          > ./scripts/preinstall.sh
                                          
                                          Updating packages ...
                                          Trovato:1 http://security.debian.org stretch/updates InRelease
                                          Trovato:2 http://archive.raspberrypi.org/debian stretch InRelease              
                                          Ign:3 http://ftp.debian.org/debian stretch InRelease                           
                                          Trovato:4 http://ftp.debian.org/debian stretch-updates InRelease
                                          Trovato:5 https://deb.nodesource.com/node_10.x stretch InRelease
                                          Trovato:6 http://ftp.debian.org/debian stretch Release
                                          Lettura elenco dei pacchetti... Fatto                 
                                          Generazione albero delle dipendenze       
                                          Lettura informazioni sullo stato... Fatto
                                          152 pacchetti possono essere aggiornati: eseguire "apt list --upgradable" per vederli.
                                          
                                          Installing helper tools: devilspie2 and wmctrl...
                                          Lettura elenco dei pacchetti... Fatto
                                          Generazione albero delle dipendenze       
                                          Lettura informazioni sullo stato... Fatto
                                          E: Impossibile trovare il pacchetto omxplayer
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 100
                                          npm ERR! MMM-RTSPStream@2.0.2-dev preinstall: `./scripts/preinstall.sh`
                                          npm ERR! Exit status 100
                                          npm ERR! 
                                          npm ERR! Failed at the MMM-RTSPStream@2.0.2-dev preinstall script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          npm WARN Local package.json exists, but node_modules missing, did you mean to install?
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /home/pi/.npm/_logs/2020-02-20T11_38_51_172Z-debug.log
                                          Failed to install dependencies.
                                          

                                          Can you help me?

                                          Thank you all

                                          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

                                          evroomE BKeyportB 2 Replies Last reply Reply Quote 0
                                          • evroomE Offline
                                            evroom @Egnos
                                            last edited by

                                            @Egnos said in [MMM-RTSPStream] - Video Streaming from Live Feeds & Security Cameras:

                                            E: Impossibile trovare il pacchetto omxplayer

                                            To me it looks like it cannot install omxplayer.
                                            You can try to install it manually.
                                            The script does it using this command:

                                            sudo apt install -y omxplayer
                                            

                                            Perhaps another command is needed, or indeed the package to install omxplayer does not exist for your platform.

                                            MagicMirror version: 2.33.0
                                            Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                                            Raspbian GNU/Linux 12 (bookworm)

                                            Test environment:
                                            MagicMirror version: v2.33.0
                                            Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                                            Raspbian GNU/Linux 12 (bookworm)

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 21
                                            • 22
                                            • 23
                                            • 24
                                            • 25
                                            • 30
                                            • 31
                                            • 23 / 31
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy