[PLUG] PyGl programming tutorial recommendations?

Richard C. Steffens rsteff at comcast.net
Mon Feb 18 19:46:34 UTC 2013


Well, after last week it looks like I'll be sticking with Ubuntu 10.04 
until I can figure out how to find/make a couple of tools to do what I 
need in 12.04. I have the source for  the programs that I use, 
Transcribe and footpedal. What I'd like to do is to merge them into one 
program that is supported by tools in 12.04. It looks like Transcribe 
was made to work in 12.04 last year, but there hasn't been any activity 
on its Launchpad site for some months. There hasn't been any activity on 
the footpedal site, either. Footpedal seems to load, but it depends on 
putting an icon in a panel in Gnome that doesn't seem to be there in 
Gnome Classic.

I've been playing around a bit with 12.04 using Unity and find that I 
can figure out how to do stuff that I normally do, so I figure I ought 
to try writing a program that can do what I need with Unity.

I think Transcribe makes use of gstreamer. And I suspect there are a 
bunch of things in addition to making noise come out of the speaker that 
are provided by gstreamer that Transcribe uses. The one example I can 
think of is opening recent files. If I happened to listen to something 
in Movie Player and then open Transcribe to play back an interview, I 
find the  music file in the list of recent files. The same thing happens 
if I open Movie Player and look at it's list of recent files -- I see 
interview files listed there.

All that to say that I think I need to understand how to write some 
Python code that uses gstreamer. I found the following to be interesting:

https://wiki.ubuntu.com/Novacut/GStreamer1.0

It tells me that, not only do I need to work with a different version of 
gstreamer, but that I also need to work with PyGl instead of PyGST, 
neither of which I was aware of before this morning.

So, what I'm trying to find, now, is an introduction to PyGl. At least I 
think that's where I need to start. My search foo is turning up a mix of 
stuff that is related to chemistry or games.

Can anyone recommend some reading for writing the Hello World equivalent 
in PyGl?

Thanks.

-- 
Regards,

Dick Steffens




More information about the PLUG mailing list