libavPlayer framework supports NSView and CALayer subclass.