def main():

    try:
        logFileDir = sys.argv[1]
    except IndexError:
        print 'Usage: %s <log file directory>' % sys.argv[0]
        sys.exit(1)

    spy.findLCMModulesInSysPath()

    catalogThread = CatalogThread(logFileDir, 'DECKLINK_VIDEO_CAPTURE')
    catalogThread.start()


    serverThread = ServerThread(catalogThread.utimeMap)
    serverThread.start()

    try:
        while True:
            time.sleep(1)
    except __HOLE__:
        pass
dataset/ETHPy150Open RobotLocomotion/director/src/python/scripts/videoLogServer.py/main