Архивы Май 2008 г.

27 Май

Want to know how many nanoseconds, seconds, or minutes are in your audio or video file? Want to know your current time position while listening to your audio or video file? There are two super useful methods provided in the Gstreamer framework to answer these two questions (examples are using the Python language):

position, format ...


27 Май

The Gstreamer framework is multi-threaded, which means it runs in a different thread (or many threads)... and thus you can not directly communicate with it via Python. Requests have to be sent to the pipeline, and they are completed as soon as possible. However, it goes both ways. When Gstreamer wants to communicate with your ...


20 Май

Here is my first mockup of a timeline for my open-source, Linux-based, non-linear video editor... which still remains unnamed. I imagine I will make countless changes to this mockup, but I just wanted to share the first of many. Click on the image for a larger version.


20 Май

While trying to complete my video / media inspector demo program (in Python of course), I got sidetracked playing with Gnonlin. Gnonlin is a plug-in for Gstreamer which helps layout and prioritize video and audio clips on a timeline. It was designed to help people like me make non-linear video / audio editors. So, I figured I ...


16 Май

I have decided to create a simple, mini-project, (depending on your definition of simple) video inspector (& player). There will be a gnome / GTK graphical interface, a simple file chooser dialog, a small box on the screen for the video, and a table of labels to display important clip information. This will test my knowledge ...



15 Май

As great as Cairo seems, I just recently learned about a widget in the gnome / GTK+ library that can also be used for drawing: Gnome Canvas. While Cairo seems to be more for drawing static, non-interactive pictures, the Gnome Canvas is more for layering shapes, bitmaps, etc... onto a "canvas", and it keeps track of ...


15 Май

Glade 3.0 is a great GUI designer. I can't imagine creating a GUI using code when this option is available. It takes no more than a few minutes to setup a screen, name your signals, and set the default properties. It's also super easy to hook up the handler methods.

Check out ...


14 Май

Now that I have completed many tutorials and logged many hours coding, I feel good about my Python skills. I can easily create classes, use inheritance, call methods, and my favorite, list comprehensions. Now what? I need to learn GTK+, and how to use it with Python. I found a great tutorial for PyGTK (which ...


14 Май

On my quest to adapt my programming skills to the Python language, I ran across a great ebook / tutorial, Dive Into Python. Although it has some pretty complicated examples, where I would have preferred simple examples, it's still a great resource. It is written for experienced programmers in mind, so it's not supposed ...


Ежедневные архивы