X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fomf%2Fnitos_omf6_vlc.py;fp=examples%2Fomf%2Fnitos_omf6_vlc.py;h=4e4a1dd3ea013c2ea990646915f9bb187cd15a9c;hb=bb6985326609602a117e65822ada42f2685c1a36;hp=be9361670e685996074439cdbcc22f4e621286d8;hpb=b4af9a40867beff8660612fe20d3838cb375f159;p=nepi.git diff --git a/examples/omf/nitos_omf6_vlc.py b/examples/omf/nitos_omf6_vlc.py index be936167..4e4a1dd3 100644 --- a/examples/omf/nitos_omf6_vlc.py +++ b/examples/omf/nitos_omf6_vlc.py @@ -163,9 +163,8 @@ print("BYTES transmitted", byte_count) ## 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()