[pygame] NO MOVIE module in Pygame??

3,000 views
Skip to first unread message

DiliupG

unread,
Apr 6, 2017, 3:42:11 PM4/6/17
to pygame...@seul.org
Has the Movie module been removed from Pygame? I get this error.

NotImplementedError: movie module not available
(ImportError: No module named movie)

--
http://www.diliupg.com

**********************************************************************************************
This e-mail is confidential. It may also be legally privileged. If you are not the intended recipient or have received it in error, please delete it and all copies from your system and notify the sender immediately by return e-mail. Any unauthorized reading, reproducing, printing or further dissemination of this e-mail or its contents is strictly prohibited and may be unlawful. Internet communications cannot be guaranteed to be timely, secure, error or virus-free. The sender does not accept liability for any errors or omissions.
**********************************************************************************************

Jason Marshall

unread,
Apr 6, 2017, 6:15:41 PM4/6/17
to pygame...@seul.org
Diliup,

Yes, pygame.movie was removed because it caused more trouble than it's worth.

More info:
https://bitbucket.org/pygame/pygame/issues/238/no-module-named-pygamemovie

Jason

DiliupG

unread,
Apr 7, 2017, 1:36:28 PM4/7/17
to pygame...@seul.org
Hi Jason!
Good to hear from you!  :)
I realized that the module has been removed But hoped that some miracle ( by your guys) can bring it or similar back. What options available to use movies in Pygame?




Jason Marshall

unread,
Apr 7, 2017, 11:54:15 PM4/7/17
to pygame...@seul.org
Diliup,

Well, there's pygame 1.9.1.

Two years ago, I tried to play a video in pygame using a script called pygame-vlc.py, but I was not successful. (I guess that modern versions of VLC have a different interface from the one that pygame-vlc.py was designed to use. I don't really know though.)

Jason

DiliupG

unread,
Apr 8, 2017, 12:34:11 AM4/8/17
to pygame...@seul.org
what about using some other python library like pyglet only for this purpose?

Jason Marshall

unread,
Apr 8, 2017, 9:09:37 AM4/8/17
to pygame...@seul.org
I think that updating the python-VLC code is more likely to work with
pygame than using pyglet (AVbin).
http://stackoverflow.com/questions/19748648/attempting-to-embed-a-video-in-pygame-using-pyglet

claudio canepa

unread,
Apr 8, 2017, 9:33:10 AM4/8/17
to pygame...@seul.org
Daniel Gillet is writing a new, python only, direct binding to ffmpeg for pyglet [0].
From that thread, seems promising.

Don't know how hard would be to use with pygame. 


DiliupG

unread,
Apr 9, 2017, 1:00:49 AM4/9/17
to pygame...@seul.org
P R O M I S I N G !

Hip! Hip! Hurrah!

2017 is the year of Python/Pygame etc.!!!
Reply all
Reply to author
Forward
0 new messages