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 with VLC issues

    Scheduled Pinned Locked Moved General Discussion
    2 Posts 2 Posters 1.7k Views 2 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.
    • G Offline
      ge
      last edited by

      I had run my MM for a long time with no issues on a old Pi3b. Upgraded everything to a new Pi 4current, and have issues with showing video from the security camera outside. Found OMX player is no longer supported and switched to VLC. Video shows up, plays, all is good. However, it will only display on the top left side of the screen, and I want it back at top_center. No matter what I try to do, it always comes up top left. I can modify all the module and stream height/width settings but they have no effect. I’m guessing I am missing something here in the config, or there is an error that I just don’t see. Any thoughts/suggestions on what is wrong here:

      {
      module: “MMM-RTSPStream”,
      disabled: false,
      position: “top_center”,
      config: {
      debug: false,
      autoStart: true,
      rotateStreams: ‘false’,
      rotateStreamTimeout: 10,
      moduleWidth: 100,
      moduleHeight: 100,
      localPlayer: ‘vlc’,
      remotePlayer: ‘none’,
      showSnapWhenPaused: false,
      remoteSnaps: false,
      shutdownDelay: 1,
      stream1: {
      name: ‘Driveway’,
      url: ‘rtsp://mmm:password@172.16.0.37:554/cam/realmonitor?channel=1&subtype=0’,
      frameRate: ‘20’,
      protocol: ‘tcp’,
      width: 100,
      height: 100,
      ffmpegPort: 9999,
      },
      },
      },

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tonyarogers @ge
        last edited by

        Hello, I think you can use the useVLC in embedded mode

        In recent forks of MMM-RTSPStream, VLC can be embedded into the browser view with an iframe or HTML5 video tag, which respects DOM positioning. Check the fork you’re using. If it’s still spawning standalone VLC, look for configuration like:
        localPlayer: ‘ffmpeg’ // instead of ‘vlc’

        Some forks added ffmpeg or jsmpeg options to push the stream into a element.

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • 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