Re: RTFM didn't work (about getting movies to play then wait for input)
Thanks for the shell scripts, they work great and with a bit of editing, work with xine too. I still have the problem that 1)The bloke wants the last frame to freeze- I don't think this is possible unless you capture the last frame and tell the script to show the appropriate last frame i.e. clip11 slows lastframe11 is this possible? Is there any way of getting it to display the last frame as a sep command i.e. show clip11 show last frame of clip 11 wait for input show clip 12 show last frame of clip12 it's also essential that you don't see the desktop, although I could rig this to just be blank. 2)I can't find a blank avi I am using powerpoint at the moment :@ which is so damn slow on processing the avi files. it sucks BIG TIME. It basically makes the video unusable, as it plays slower than it should, about 30% of the frames are dropped and it just looks awful. The way powepoint works, it takes 3-4 seconds for the next clip to load, missing the cue and making the video look unprofessional. Any advice other than banging my head against a brick wall (or rather windows). Haha no pun intended...
On Thu, 13 Mar 2003 00:46:31 +0000 George Reynolds <george@dodgybloke.co.uk> wrote:
1)The bloke wants the last frame to freeze- I don't think this is possible unless you capture the last frame and tell the script to show the appropriate last frame i.e. clip11 slows lastframe11 is this possible?
Kind of. Output the last frame as a .png, make 10 or so copies and turn them into a short AVI. Then loop that instead of the blank AVI. You can do this with mplayer/mencoder but the exact recipe will have to wait til I get up this afternoon. Martin
On Thu, 13 Mar 2003 03:03:26 +0000 Martin Collins <martin@mkcollins.org> wrote:
Kind of. Output the last frame as a .png, make 10 or so copies and turn them into a short AVI. Then loop that instead of the blank AVI. You can do this with mplayer/mencoder but the exact recipe will have to wait til I get up this afternoon.
Play your clip with mplayer -ss XX clip1.avi varying XX until it just plays the last half second or so of the clip. Then output that last bit to .png: mplayer -vo png -ss XX clip.avi You will have a number of .png files, pick the one you want using gqview or a web browser or something. Rename it frame0.png Make some copies: for i in 1 2 3 4 5 6 7 8 9 do cp frame0.png frame$i.png done Then make an AVI out of them: mencoder frame\*.png -mf on:fps=25 -o clip1-loop.avi -ovc lavc -lavcopts vcodec=mpeg4 Repeat for all your clips. Then (assuming you have < 10 clips) you can play them with for i in `ls clip?.avi` do mplayer -fs $i `basename $i .avi`-loop.avi -loop 0 done Martin
participants (2)
-
George Reynolds -
Martin Collins