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-MPlayer

    Scheduled Pinned Locked Moved Utilities
    44 Posts 10 Posters 14.7k Views 10 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 @myfingersarecold
      last edited by

      @myfingersarecold said in MMM-MPlayer:

      regarding #2 on my pi i didnt have to rotate the mplayer orientation, but i adjusted the output of my pi to portrait and everything behaved but ymmv depending on how it’s setup.

      Could you please tell me how you do the general rotation to portrait ?

      I use the custom.css to get it rotated clockwise.
      As MPlayer is an overlay, like OMXPlayer, it is not affected by this.

      body {
      :
      :
        transform: rotate(-90deg);
        transform-origin: top left;
        width: 100vh;
        height: 100vw;
      :
      :
       }
      

      But of course there are more, potential better, ways of getting it rotated.

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

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

      M 1 Reply Last reply Reply Quote 0
      • M Offline
        myfingersarecold @evroom
        last edited by

        @evroom

        i didnt use this guide to do it, but this is how i rotated my screen.

        https://www.makeuseof.com/how-to-rotate-your-raspberry-pi-screen-without-moving-the-display/

        I am running the latest version of raspbian on my pi3

        this results in my magicmirror instance loading in portrait mode, and my 16x9 streams loading properly where i want them without having to do any CSS rotation.

        1 Reply Last reply Reply Quote 0
        • M Offline
          myfingersarecold @Cr4z33
          last edited by

          @Cr4z33 no idea but couldn’t get RTSP streams to work.

          1 Reply Last reply Reply Quote 0
          • G Offline
            Guku
            last edited by

            HI, im running my MM on on Proxmox VM and pointing my display to IP on VM, when i try to run Mplayer it just displays black box but no feed, i doo see the feed on the server VM. any ideas how to get this playing on my remote display?

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Guku
              last edited by

              @Guku did you expose that port on the vm to another connecting host?
              maybe a firewall filter?

              I don’t use proxmox, but I see this on windows VM’s all the time

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                Guku @sdetweil
                last edited by

                @sdetweil

                thanks for checking in with me, i gave up on the player since even when i ran it localy on my VM the camera feed was delayed by about 5sec which defeted the pourpose. thanks anyways!

                1 Reply Last reply Reply Quote 0
                • C Offline
                  clakkentt
                  last edited by

                  Just a comment

                  I am using MagicMirror on a pi using bullseye 32bit.

                  When using a rpi4 everything works fine. When I transfer the sd card to a rpi3 every time the MPlayer shows a live feed the desktop taskbar shows up, when MPlayer is switching between feeds the taskbar is not visible.

                  This is probably due to my specific choice of settings but just thought it might help someone.

                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @clakkentt
                    last edited by

                    @clakkentt if you use my backup/restore to capture your MM config
                    and build a new card ON the pi3, and install MM and restore the config
                    do you see the same problem?

                    backup/restore here https://github.com/sdetweil/MagicMirror-backup-restore

                    install/upgrade here https://github.com/sdetweil/MagicMirror_scripts

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      clakkentt @sdetweil
                      last edited by

                      @sdetweil
                      Yes the problem is the same. I initially had MM running on a rpi3, when I installed MMM-MPlayer, I noticed the taskbar showing every time there was a feed showing.
                      I started from scratch on an rpi4 and saw no problem but when I transferred the card to the rpi3 the issue came up again.

                      Since I wanted to keep using the rpi3 for the MagicMirror I solved the problem by making the taskbar 0 pixels in height.

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @clakkentt
                        last edited by

                        @clakkentt what do you mean by taskbar?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        C 1 Reply Last reply Reply Quote 0
                        • C Offline
                          clakkentt @sdetweil
                          last edited by

                          @sdetweil

                          The desktop taskbar. On the raspberry the bar at the top of the screen.

                          S H 2 Replies Last reply Reply Quote 0
                          • S Offline
                            sdetweil @clakkentt
                            last edited by

                            @clakkentt it pops up over MagicMirror screen?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            C 2 Replies Last reply Reply Quote 0
                            • C Offline
                              clakkentt @sdetweil
                              last edited by

                              @sdetweil

                              Yes, when the MPlayer RTSP stream is running

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                clakkentt @sdetweil
                                last edited by

                                @sdetweil

                                I don’t know if this is the cause but I am using vcgencmd to turn the display off and on and to do that I had to disable vc4-kms-v3d

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @clakkentt
                                  last edited by

                                  @clakkentt crazy. i don’t know either

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  plainbrokeP 1 Reply Last reply Reply Quote 0
                                  • plainbrokeP Offline
                                    plainbroke @sdetweil
                                    last edited by plainbroke

                                    @sdetweil
                                    Wonder what he is using for his x and y start position in MMM-MPlayer.

                                    windowPosition: { x: 5, y: 5 },
                                    
                                    

                                    If I remember correctly.

                                    Slow learner. But trying anyways.
                                    MM is on Raspberry Pi 4B w/8gb ram loaded on a 128gb nvme drive.
                                    Running Trixie and the latest MM version.

                                    C 1 Reply Last reply Reply Quote 0
                                    • R rkorell referenced this topic on
                                    • C Offline
                                      clakkentt @plainbroke
                                      last edited by

                                      @plainbroke

                                      No, I have the window in the middle of the screen, something like x: 450, y: 100

                                      1 Reply Last reply Reply Quote 0
                                      • H Offline
                                        hrmax23 @clakkentt
                                        last edited by

                                        @clakkentt I’m having the same issues on my rpi4. How did you hide the taskbar?

                                        R C 2 Replies Last reply Reply Quote 0
                                        • H Offline
                                          hrmax23
                                          last edited by

                                          Also, I have 2 windows, one RTSP stream from Frigate in each, but there is a lot of extra space between them and above the first window. Would also like to get rid of the MPLAYER header if possible.

                                          C 1 Reply Last reply Reply Quote 0
                                          • R Offline
                                            rkorell Module Developer @hrmax23
                                            last edited by rkorell

                                            @hrmax23 said

                                            @clakkentt How did you hide the taskbar?

                                            Good morning,

                                            I did have this taskbar issue suddenly appearing as I upgraded to a larger monitor. Caused by this I increased the screen resolution.
                                            After this I had the annoying taskbar appearing more or less randomly.
                                            Played a lot with colors/height/position of the taskbar …
                                            And while playing around I found an option in screen-config tool.
                                            For some (really strange) reasons it seems that this setting is dependent on screen resolution !?
                                            So it’s may worth a trial to stop your MagicMirror so that you can see the native Pi-OS screen and find the screen config tool - there you should be able to hide the taskbar as well …

                                            Good luck!
                                            Regards,

                                            Ralf

                                            H 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
                                            • 3
                                            • 2 / 3
                                            • 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