[MPlayer-users] time limited dump

Hugo González Monteverde hugonz-lists at h-lab.net
Sat Feb 19 02:33:56 CET 2005


Could do mplayer -slave and then send a "quit" command....

In python:

import os

filep = os.popen("mplayer -slave -dumptrace xxx://domain.name/blabla")
sleep(15*60) #15 minutes
filep.write("quit\n")

Hugo

Pierpaolo Bergamo wrote:
> Hi guys
> let's say I want to dump a continuos stream
> mplayer -dumptrace xxx://domain.name/blabla
> 
> can I stop to dump after X minutes?
> I didn't really find the parameter for that ...
> 
> thanks
> Paolo
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
> 




More information about the MPlayer-users mailing list