diff -r 27e83a8f68d7 -r 63d9475228ac gmyth-stream/server/tests/client_ffmpeg.py --- a/gmyth-stream/server/tests/client_ffmpeg.py Tue Apr 03 16:42:04 2007 +0100 +++ b/gmyth-stream/server/tests/client_ffmpeg.py Wed Apr 04 00:10:15 2007 +0100 @@ -24,21 +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") data = socket.recv(1024) i = 0 while (data != ""): - pin.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()