[MPlayer-users] current position

Vinay Reddy vinayvinay at gmail.com
Fri Aug 12 13:16:29 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).

Sorry, it was my mistake. I don't know the error, but once I cleaned
up my code, it started working fine.

Regards,
Vinay




More information about the MPlayer-users mailing list