9 context = zmq.Context()
11 self.requester.connect(bind_address)
12 cmd.Cmd.__init__(self)
17 print 'Sending command:[%s]' % cmd
18 self.requester.send(cmd)
19 message = self.requester.recv()
20 print 'Received reply:[%s]' % message
23 bind_address = sys.argv[1]
if len(sys.argv) > 1
else "tcp://localhost:5555"
24 LavfiCmd(bind_address).cmdloop(
'FFmpeg libavfilter interactive shell')
25 except KeyboardInterrupt: