2010-10-16 13:48:00 +00:00
|
|
|
oxtimeline - create timeline from video
|
2010-08-04 09:53:10 +00:00
|
|
|
|
2011-10-07 15:51:30 +00:00
|
|
|
depends on
|
|
|
|
gstreamer 0.10.30 or newer
|
2010-11-25 14:11:11 +00:00
|
|
|
python-imaging
|
|
|
|
gst-python
|
|
|
|
numpy
|
2011-01-14 17:29:06 +00:00
|
|
|
python-ox
|
2010-11-25 14:11:11 +00:00
|
|
|
|
2011-10-07 15:51:30 +00:00
|
|
|
on ubuntu 10.04 you need
|
2010-08-04 09:53:10 +00:00
|
|
|
sudo add-apt-repository ppa:gstreamer-developers/ppa
|
2009-01-18 08:39:14 +00:00
|
|
|
|
|
|
|
Python API
|
2010-10-16 13:48:00 +00:00
|
|
|
import oxtimeline
|
2009-01-18 08:39:14 +00:00
|
|
|
|
2010-10-16 13:48:00 +00:00
|
|
|
timeline = oxtimeline.Timeline(videoFile)
|
2009-01-18 08:39:14 +00:00
|
|
|
timeline.extract(timeline_prefix, width, height)
|
|
|
|
|