X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=examples%2Fccnx%2Fplanetlab_ccnx_multicast.py;h=cb8bf6beb5804e2fe5b91bcf7c9863715ddedfea;hb=6b9c1a5535cb074b7aae21246dd6492b3f5d5ff8;hp=4bc1868193b7c84b314e7720e3d7b3fd7f3beee4;hpb=1714e3e58c731288c6d79d701f43d6d91025c118;p=nepi.git diff --git a/examples/ccnx/planetlab_ccnx_multicast.py b/examples/ccnx/planetlab_ccnx_multicast.py index 4bc18681..cb8bf6be 100644 --- a/examples/ccnx/planetlab_ccnx_multicast.py +++ b/examples/ccnx/planetlab_ccnx_multicast.py @@ -116,7 +116,13 @@ def exec_ccncatchunks(slicename, hostname): login = "%s@%s" % (slicename, hostname) command = 'PATH=$PATH:$(ls | egrep nepi-ccnd- | head -1)/bin; ccncatchunks2 ccnx:/VIDEO' proc1 = subprocess.Popen(['ssh', login, command], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell = False) - proc2 = subprocess.Popen(['vlc', '-'], stdin=proc1.stdout, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc2 = subprocess.Popen(['vlc', + '--sub-filter', 'marq', + '--marq-marquee', + '(c) copyright 2008, Blender Foundation / www.bigbuckbunny.org', + '--marq-position=8', + '--no-video-title-show', '-'], + stdin=proc1.stdout, stdout=subprocess.PIPE, stderr=subprocess.PIPE) return proc2 def create_ed(hostnames, vsys_vnet, slicename, plc_host, pl_user, pl_pwd, pl_ssh_key,