## If you redirected the video to standard output, you can try to
## retrieve the stdout of the VLC client
## video = ec.trace(app2, "stdout")
-#f = open("video.ts", "w")
-#f.write(video)
-#f.close()
+#with open("video.ts", "w") as f:
+# f.write(video)
# Stop Experiment
ec.shutdown()