# Path: procgame/config.py
# def value_for_key_path(keypath, default=None):
# def load():


from dmd import *
from procgame import config
from random import randrange
    from movie import capPropId, getColorProp
    from movie import Movie
    from procgame.dmd import font, AnimFont, layers
import hdfont
import logging
    import cv2
    import cv2 as cv
    import time 
    import dmd
    import sdl2
    import procgame
try:
    OpenCV_avail = True
except ImportError:
    logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
    logging.error("OpenCV is not available on your system.  The MovieLayer (mp4) support is unavailable")
    OpenCV_avail = False
    

# Path: procgame/config.py
# def value_for_key_path(keypath, default=None):
# def load():


# Path: procgame/dmd/layers.py
from dmd import *
from procgame import config
from random import randrange
    from movie import capPropId, getColorProp
    from movie import Movie
    from procgame.dmd import font, AnimFont, layers
import hdfont
import logging
    import cv2
    import cv2 as cv
    import time 
    import dmd
    import sdl2
    import procgame

try:
    OpenCV_avail = True
except ImportError:
    logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s")
    logging.error("OpenCV is not available on your system.  The MovieLayer (mp4) support is unavailable")
    OpenCV_avail = False
    

class FrameLayer(Layer):