| Stretching Video's with mciOctober 13 2002 at 3:56 PM No score for this post | Ducksual (no login) from IP address 212.19.68.42 | |
|
I've managed to get a video inside a @window but now i can't figure out how to stretch the video, i've looked through the commands on the msdn website but i cant seem to find what i'm looking for...
Here's the code i've used so far:
alias mpegplay {
if (!$window(@videodebug)) { window -e @videodebug }
var %_filename = $iif($1,$1,$$sfile(c:\ *mpg;*.mpeg;*.avi,"Find a mpeg file"))
echo @videodebug Mpeg Filename: %_filename
var %_check = $mcistring(open " $+ %_filename $+ " type MPEGVideo alias mircmpeg)
echo @videodebug Mpeg Open: %_check
if ( $gettok(%_check,1,32) != ok ) {
echo @videodebug Mpeg Close: $mcistring(close mircmpeg)
echo @videodebug Mpeg Retry: $mcistring(open " $+ %_filename $+ " type MPEGVideo alias mircmpeg)
}
if ($window(@video)) { window -c @video }
window -p @video
echo @videodebug Mpeg Window: $mcistring(window mircmpeg handle $window(@video).hwnd)
var %_place = $gettok($mcistring(status mircmpeg start position),2-,32)
echo @videodebug Mpeg Position: OK %_place
echo @videodebug Mpeg Play: $mcistring(play mircmpeg from %_place)
echo @videodebug Time Format Setting: $mcistring(set mircmpeg time format ms)
}
I just need to figure out how to stretch it and shrink it then i can begin work on making it into part of a script... | |
| | Responses |
|
|