timeline overview with 16 and 64 pixels height
This commit is contained in:
parent
73f897aa58
commit
ab07ccc8ba
2 changed files with 4 additions and 3 deletions
|
@ -33,6 +33,7 @@ if __name__ == '__main__':
|
||||||
timeline.extract(opts.prefix, opts.width, opts.height)
|
timeline.extract(opts.prefix, opts.width, opts.height)
|
||||||
oxgst.timeline.createTimelineMultiline(opts.prefix)
|
oxgst.timeline.createTimelineMultiline(opts.prefix)
|
||||||
oxgst.timeline.makeTiles(opts.prefix, 16, 3600)
|
oxgst.timeline.makeTiles(opts.prefix, 16, 3600)
|
||||||
oxgst.timeline.makeTimelineOverview(opts.prefix, 1920)
|
oxgst.timeline.makeTimelineOverview(opts.prefix, 1920, height=16)
|
||||||
|
oxgst.timeline.makeTimelineOverview(opts.prefix, 1920, height=64)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -176,9 +176,9 @@ def makeTimelineByFramesPerPixel(timeline_prefix, frames_per_pixel, inpoint=0, o
|
||||||
def makeTimelineOverview(timeline_prefix, width, inpoint=0, outpoint=0, duration=-1, height=16):
|
def makeTimelineOverview(timeline_prefix, width, inpoint=0, outpoint=0, duration=-1, height=16):
|
||||||
input_scale = 25
|
input_scale = 25
|
||||||
|
|
||||||
timeline_file = '%s.overview.%s.png' % (timeline_prefix, width)
|
timeline_file = '%s.%s.png' % (timeline_prefix, height)
|
||||||
if outpoint > 0:
|
if outpoint > 0:
|
||||||
timeline_file = '%s.overview.%s.%d-%d.png' % (timeline_prefix, width, inpoint, outpoint)
|
timeline_file = '%s.overview.%s.%d-%d.png' % (timeline_prefix, height, inpoint, outpoint)
|
||||||
|
|
||||||
timeline = loadTimeline(timeline_prefix)
|
timeline = loadTimeline(timeline_prefix)
|
||||||
duration = timeline.size[0]
|
duration = timeline.size[0]
|
||||||
|
|
Loading…
Reference in a new issue