Thanks for the info René. I've done some testing and I've been able to play a movie via a pipe to ffmpeg. So it looks like that will work :-)

On 19/12/2014 9:46 p.m., René Dudfield wrote:
Hi,

The movie module might be dropped this release if no one can pick up maintenance.

Checkout https://github.com/Zulko/moviepy

This shows it might not be too hard to make a backend which pipes from ffmpeg.
https://zulko.github.io/blog/2013/09/27/read-and-write-video-frames-in-python-using-ffmpeg/

There is a VLC pygame.movie backend as well, but not sure how well it's working currently.

Maybe some more collaboration with moviepy people could be a good idea.

best,


On Wed, Dec 17, 2014 at 4:52 AM, Ted Hunt <ted.h...@clear.net.nz <mailto:ted.h...@clear.net.nz>> wrote:

    Thanks Michael for your comments.

    Does anyone know what the future is for the movie module ? Will be
    eventually be included in all builds ? It would be great if it
    also supported a more modern video format (mpeg1 is not great for
    HD movies).

    Or should I be looking for an alternative ? I did see a post
    somewhere about piping data to/from ffmpeg ?

    Cheers,

    Ted.


    On 16/12/2014 12:46 a.m., Michael Lutynski wrote:

        Hello Ted,

        That’s quite the effort, and I’d love to give it a go on my
        Kubunutu Linux setup, but the pygame movie module isn’t
        implemented here, so my pygame cannot play the .mpg videos :(

            python TimeTrek.py

        TimeTrek.py:2948: RuntimeWarning: use movie: No module named movie
        (ImportError: No module named movie)
           movie = pygame.movie.Movie("movies/PreIntro.mpg")
        Traceback (most recent call last):
           File "TimeTrek.py", line 2969, in <module>
             main()
           File "TimeTrek.py", line 87, in main
             preintro()
           File "TimeTrek.py", line 2948, in preintro
             movie = pygame.movie.Movie("movies/PreIntro.mpg")
           File "/usr/lib/python2.7/dist-packages/pygame/__init__.py",
        line 102, in __getattr__
             raise NotImplementedError(MissingPygameModule)
        NotImplementedError: movie module not available
        (ImportError: No module named movie)

        It would be great if you could get an account on pygame.org
        <http://pygame.org> so you could post your game there for
        discovery and feedback.

        Can anyone here help Ted showcase his game on pygame.org
        <http://pygame.org>?

        Michael

        On Mon : Dec 15, 2014 4:12:10 PM you wrote:

            Hi guys,

            I've been unsuccessful at getting registered on pygame.org
            <http://pygame.org>, so I thought
            I'd post a link to my game here. Sorry if that's the wrong
            thing to do.

            My game (Time Trek) is based on a game I played on the
            TRS-80 (micro
            computer from the late 70s). I've updated... everything a
            bit :-)

            Here's a link to download it :-

            
https://mega.co.nz/#!QZMTgR6S!4DJQ8KvQ5VdXwnCKIR63ouU2ng0z7Q93c4kzE3A1foo
            
<https://mega.co.nz/#%21QZMTgR6S%214DJQ8KvQ5VdXwnCKIR63ouU2ng0z7Q93c4kzE3A1foo>

            It requires python 2.7 and a pygame 1.9.2 that contains
            the movie module
            (http://pygame.org/ftp/pygame-1.9.2a0.win32-py2.7.msi).
            Also at least a core 2 duo or better processor.

            I hope you enjoy it and any feedback is welcome.

            Cheers,

            Ted.

            ---
            This email is free from viruses and malware because avast!
            Antivirus protection is active.
            http://www.avast.com



    ---
    This email is free from viruses and malware because avast!
    Antivirus protection is active.
    http://www.avast.com




---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com

Reply via email to