1.1 --- a/gmyth-stream/server/tests/client_ffmpeg.py Tue Apr 03 16:42:04 2007 +0100
1.2 +++ b/gmyth-stream/server/tests/client_ffmpeg.py Wed Apr 04 16:12:16 2007 +0100
1.3 @@ -24,21 +24,24 @@
1.4 sys.exit(-1)
1.5
1.6
1.7 -mplayer = os.popen("which mplayer").read().strip()
1.8 -mplayer += " - 1> /dev/null"
1.9 -pin, pout = os.popen2(mplayer)
1.10 +#mplayer = os.popen("which mplayer").read().strip()
1.11 +#mplayer += " - 1> /dev/null"
1.12 +#pin, pout = os.popen2(mplayer)
1.13 +
1.14 +teste = open("/tmp/teste2", "w")
1.15
1.16 data = socket.recv(1024)
1.17 i = 0
1.18
1.19 while (data != ""):
1.20 - pin.write(data)
1.21 + #pin.write(data)
1.22 + teste.write(data)
1.23 data = socket.recv(1024)
1.24 if (i == 500):
1.25 socket.send("OK")
1.26 i += 1
1.27
1.28 -pin.close()
1.29 +#pin.close()
1.30 socket.close()
1.31
1.32