source: trunk/examples/video/chooser/chooserinfodemo.tcl @ 2023

Last change on this file since 2023 was 2023, checked in by dkearney, 14 years ago

updates for video widgets
two new video dials
video chooser widget for selecting movies
video preview widget is a no frills movie player.
updated c code to more correctly report the last frame of the movie.
new video speed widget which allows for fractional values between 0x and 1.0x
updated piv/pve example application
fixed "release" function in tcl bindings for RpVideo?

  • Property svn:executable set to *
File size: 588 bytes
Line 
1#!/usr/bin/env sh
2#\
3exec wish "$0" $*
4
5package require RapptureGUI
6
7array set videoFiles [list \
8    1 "/home/derrick/projects/piv/video/TOPHAT_06-03-10_16-05-55.mp4" \
9    2 "/home/derrick/projects/piv/video/TOPHAT_06-03-10_16-09-56.mp4" \
10    3 "/home/derrick/projects/piv/video/TOPHAT_06-03-10_16-13-56.mp4" \
11    4 "/home/derrick/junk/coa360download56Kbps240x160.mpg" \
12]
13
14
15frame .f
16pack .f -expand yes -fill both
17
18foreach k [array names videoFiles] {
19    set ci [Rappture::VideoChooserInfo .f.ci$k]
20    $ci load $videoFiles($k) ""
21    pack $ci -expand yes -fill both -side right
22}
23
Note: See TracBrowser for help on using the repository browser.