[MPlayer-users] current position

Vinay Reddy vinayvinay at gmail.com
Fri Aug 12 08:56:55 CEST 2005


> 
> I do use -quiet because parsing the output without it is a real PITA
> given the performance of python and buffering.

I tried without the -quiet option. After Jason's suggestion, I looked
around a bit and used non-blocking I/O.
fcntl.fcntl(self.mplayerOut, fcntl.F_SETFL, os.O_NONBLOCK) in python.

But it takes about 10 seconds just to read the inital dump of mplayer
(during which mplayer stops playing).

Any suggestions?

Regards,
Vinay




More information about the MPlayer-users mailing list