#!/mod/bin/jimsh

package require cgi
source /mod/webif/lib/setup

httpheader

if [file exists /mod/bin/ffmpeg] {
	set file [cgi_get file]
	puts [exec /mod/webif/lib/bin/ffmpeg -i $file]
} else {
	puts "Install ffmpeg package for more information..."
}

