# HG changeset patch # User morphbr # Date 1175700789 -3600 # Node ID f1411bd6f17e60c71cd5f618d72df8ba6cffcb54 # Parent 32148e79242d3c45c4ec8115f04de6e73f9442ca [svn r499] updated client diff -r 32148e79242d -r f1411bd6f17e gmyth-stream/server/tests/client_ffmpeg.py --- a/gmyth-stream/server/tests/client_ffmpeg.py Wed Apr 04 16:12:16 2007 +0100 +++ b/gmyth-stream/server/tests/client_ffmpeg.py Wed Apr 04 16:33:09 2007 +0100 @@ -24,24 +24,24 @@ sys.exit(-1) -#mplayer = os.popen("which mplayer").read().strip() -#mplayer += " - 1> /dev/null" -#pin, pout = os.popen2(mplayer) +mplayer = os.popen("which mplayer").read().strip() +mplayer += " - 1> /dev/null" +pin, pout = os.popen2(mplayer) -teste = open("/tmp/teste2", "w") +#teste = open("/tmp/teste2", "w") data = socket.recv(1024) i = 0 while (data != ""): - #pin.write(data) - teste.write(data) + pin.write(data) + #teste.write(data) data = socket.recv(1024) if (i == 500): socket.send("OK") i += 1 -#pin.close() +pin.close() socket.close()