Video Encoding and DRM integration