oggvideopreview 1.0

Get preview images from Theora videos in Ogg files
oggvideopreview is a simple Python module to get preview images from Theora videos in Ogg files. It uses libogg and libtheora.

It's designed to be simple. If you have additional requirements, please modify the C source code.

Installation:

python-oggvideopreview uses distutils.
python-oggvideopreview requires the libraries libogg and libtheora. http://xiph.org/downloads/
To build: ./setup.py build To build and install: ./setup.py install

Example:

import oggvideopreview
import Image
import sys

# May raise IOError
def get_video_image(path):
 size_x, size_y, aspect_numerator, aspect_denominator, image_data
 = oggvideopreview.make_preview(path)
 return Image.fromstring("RGB", (size_x, size_y), image_data)

last updated on:
November 5th, 2009, 9:31 GMT
price:
FREE!
developed by:
Fredrik Portstrom
homepage:
fredrik.jemla.eu
license type:
Public Domain 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT