MC demo failing

122 views
Skip to first unread message

Mark Sunnucks (Snux)

unread,
Jan 10, 2022, 10:32:58 AM1/10/22
to MPF Users
So, I'm setting up MPF on a new Windows PC.  I've tried with both version 55 and also the latest dev and in both cases the mc_demo is failing on trying to load the second slide.  Complains about a bad transparency mask when trying to load a GIF file (I can view it fine from file explorer, so the file exists and is valid).  Any thoughts?
The demo man demo runs fine.  This likely isn't a showstopper as I'm going to be using segment displays, but curious why the error is coming up.
2022-01-10-15-26-11-mc-Home-PC.log

Matt Kemp

unread,
Feb 22, 2022, 10:48:53 PM2/22/22
to MPF Users
I was getting this too - the transparency error seems to be with /images/jackpot.gif. I opened it in Photoshop and re-saved it and the MC Demo works for me now (although I do still get a gstreamer error pop up first).
Note: you can't just rename the original jackpot.gif, the code still sees it and throws the error, you have to move it right out of the images folder.

```
The procedure entry point DH_get0_p could not be located in the dynamic link library c:\users\[username]\mpfenv\share\gstreamer\bin\librtmp-1.dll
```

I'll see if I can open a pull request to change that file.

Matt Kemp

unread,
Feb 23, 2022, 7:02:45 PM2/23/22
to MPF Users
I've submitted a pull request with a re-saved jackpot.gif that doesn't have transparency issue

On Tuesday, January 11, 2022 at 4:32:58 AM UTC+13 Mark Sunnucks (Snux) wrote:

grastle flowpat

unread,
Mar 12, 2023, 10:11:01 PM3/12/23
to MPF Users
Any idea how the error is generated? If I save an animated gif from Adobe's Premier Pro (PP), with no transparent areas, it generates (I believe) a valid GIF that MC throws a ValueError: bad transparency mask on. If I generate an empty mask in PP (generating a transparency), then no error is produced.  Does this mean that some part of MC requires animated GIFs to have a transparency, unlike say the video player?

Brian Madden

unread,
Mar 13, 2023, 12:37:54 AM3/13/23
to mpf-...@googlegroups.com
Personally I have no idea, but I would guess no one in this forum would. The MPF-MC uses Kivy as its interface for all multimedia things (which in turn uses SDL2, Gstreamer, etc.) So when I have issues about anything like this, I search the Kivy forums.

That said, I’ve also found that removing the Python package PIL can prevent crashes like this, I think? (Also I have no idea why.)

Brian

--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpf-users/9370eccc-9b2b-4da0-84c9-b67299837aadn%40googlegroups.com.
--
Brian Madden
Product Management / Tech Marketing
FAST Pinball | br...@fastpinball.com | 415.314.1193

grastle flowpat

unread,
Mar 13, 2023, 2:12:36 AM3/13/23
to MPF Users
Thank you Brian, I'll hunt around and update here if I find something concrete.
Reply all
Reply to author
Forward
0 new messages