diff -r 63d9475228ac -r f1411bd6f17e gmyth-stream/server/tests/client_ffmpeg.py --- a/gmyth-stream/server/tests/client_ffmpeg.py Wed Apr 04 00:10:15 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()