作者存檔:Jonathan

Jonathan 的 RSS 訂閱


12 六月

I have completed my first real Python program, which is a video / audio file inspector (and player). Simply download the source code, and run the "Inspector.py" script to start the program.

Click here to download the source code.

Here is a screen shot of my program:


This program has accomplished 2 important ...


1 六月

Ever wanted to export a frame of video to an image file (such as a PNG file)? Well, here's how to do it with gstreamer. These examples use the gstreamer command line syntax (gst-launch):

Export a DV file frame to a PNG file:
gst-launch filesrc location=/home/jonathan/capture003.dv ! dvdemux name=demux ! dvdec ! ...


1 六月

I've spent the past few weeks putting together a working Python example, which allows a user to select a media file (audio or video) and display all the various information I can find (such as height, width, duration, position, frames per second, codec, etc...). One of my blog readers informed me of a module ...


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 ...