محفوظات 2008

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


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



الأرشيف الشهري