#!/mod/bin/jimsh package require sqlite3 package require cgi source /mod/var/mongoose/lib/setup require ts.class system.class puts "Content-Type: text/html\r\n\r\n" cgi_input #cgi_dump set rfile [cgi_get file] set ts [ts fetch $rfile] set dir [file dirname $rfile] set len [$ts duration 1] header puts "
Extract to MPG
File:$rfile
Length:[clock format $len -format "%T"]
"