collect scripts in oxtools

This commit is contained in:
j 2009-01-18 19:39:14 +11:00
commit 4f9c3da160
22 changed files with 1297 additions and 0 deletions

27
README Normal file
View file

@ -0,0 +1,27 @@
oxgt-tools
Tools
oxframe
get frame from movie, image can be resized by adding --width or --height
oxtimeline
create timeline from video
oxinfo
output information about video, output can in xml, json or cfg format
oxposter
render 0xdb poster
oxicon
extract icon from frame
Python API
import oxgst
video = oxgst.Video(videoFile)
video.frame(pos_in_nanoseconds)
>>> <PIL Image>
timeline = oxgst.Timeline(videoFile)
timeline.extract(timeline_prefix, width, height)
info = oxgst.Info(videoFile)
info.metadata
{videoCodec:..}