Go to file
j 4f9c3da160 collect scripts in oxtools 2009-01-18 19:39:14 +11:00
bin collect scripts in oxtools 2009-01-18 19:39:14 +11:00
oxgst collect scripts in oxtools 2009-01-18 19:39:14 +11:00
oxposter collect scripts in oxtools 2009-01-18 19:39:14 +11:00
.bzrignore collect scripts in oxtools 2009-01-18 19:39:14 +11:00
README collect scripts in oxtools 2009-01-18 19:39:14 +11:00
setup.py collect scripts in oxtools 2009-01-18 19:39:14 +11:00

README

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