Re: [pygame] pystreamer in pygame? NEW USER: CORRECTION GSTREAMER
Ian Mallett wrote: This may be helpful: http://www.gamedev.net/community/forums/topic.asp?topic_id=470238 Cool! Thanks for those links Ian! Dare
Re: [pygame] pystreamer in pygame? NEW USER: CORRECTION GSTREAMER
Ian Mallett wrote: On 3/7/08, Darren Enns <[EMAIL PROTECTED]> wrote: My hope/assumption is that some of you in the PyGame community would have used 'gstreamer' in your apps, to display videos/movie clips, etc. Not I, but perhaps someone else... What sort of movies? You mention doing this in 10 lines of code not with PyGame. Here is a very small example that (I think) is running 'gstreamer' in Python to easily play a video: import pygst pygst.require('0.10') import gst import gobject, sys def play_uri(uri): player = gst.element_factory_make("playbin", "player") print 'Playing:', uri player.set_property('uri', uri) player.set_state(gst.STATE_PLAYING) play_uri("file:mnt/sda3/dl/python/dare/test.mpg") import gtk; gtk.main() In this case, the 'movie' is a simple 'mpeg' file. Thanks Dare
Re: [pygame] pystreamer in pygame? NEW USER: CORRECTION GSTREAMER
Ian Mallett wrote: Oh. HAHAHAHA. It's a small world. Why didn't that work? Well, in the example that was referenced, plain old Python code was used as an example for calling 'gstreamer'. I have a much easier example than that, but the real issue is calling gstreamer from PyGame -- which I have not yet been able to see an example of. My hope/assumption is that some of you in the PyGame community would have used 'gstreamer' in your apps, to display videos/movie clips, etc. Dare
Re: [pygame] pystreamer in pygame? NEW USER: CORRECTION GSTREAMER
Ian Mallett wrote: http://www.gossamer-threads.com/lists/maemo/developers/34734 Yes, thanks, that was my posting of the same question on the Maemo developers group. Now I am asking you folks in this group :) Dare
Re: [pygame] pystreamer in pygame? NEW USER: CORRECTION GSTREAMER
Ian Mallett wrote: The only thing I could find on pystreamer were bugs--where do you download it? What is it? My apologies -- what I meant to say was 'gstreamer'. It is part of the 'PyMaemo' package that is installed with Maemo OS2008, which also includes PyGame. I have no problem running Python code to call 'gstreamer', but I do not know how to integrate this into a PyGame application. Thanks Dare
[pygame] pystreamer in pygame? NEW USER
Hello folks -- newbie here. Just joined the list. :) I wrote my first 'PyGame' application and released it a few days ago (mostly of interest just to the Nokia internet tablet community, due to the 'side-ways' orientation of the display): http://www.internettablettalk.com/forums/showthread.php?t=17569 I *wanted* to be able to use 'pystreamer' to play back 'video' in my pygame application, but I could find no hints/tips on Google on how to do so. I am sure that it is possible, since someone on an IRC channel mentioned that he had succeeded in doing so. I am hoping that now that I have joined this list, that one of you might point me in the right direction. It is unfortunate that I have not been able to find any 'recent' archives of this mailing list to use as a resource. Dare