[MPlayer-users] Mplayer breaks my bash script

Giacomo Comes comes at naic.edu
Fri Nov 2 15:35:06 CET 2007


On Fri, Nov 02, 2007 at 03:21:23PM +0100, kristjan wrote:
> Kevin, thanks for your reply.
> 
> I would like to manually make screenshots per movie and then create
> one single image, containing taken screenshots.
> I know how to do this, I already see the solution (I've been doing
> this manually till now - command by command), problem is when I insert
> mplayer line, it stops working.
> 
> This is my problem, with 21th line. As I said commentig it out, works.
> Really I don't understand why with mplayer breaks. I thought it could
> be the mplayer verbose output interfering, but using -really-quiet
> doesn't help at all.

mplayer is reading the standard imput so it reads totally the content
of seznamdatotek and when the new cicle starts there is nothing left 
to read.
Solution: mplayer -vf screenshot "$file" </dev/null

Giacomo



More information about the MPlayer-users mailing list