You can add a static image overlay for all the video encoders in mediaEngine. You can set this in the general video encoding parameters in your transcoding preset -- the [VideoEncoderSettings] part. This is where you can set video resolution, frame rate, and interlacing type.
Here is an example of this part:
# ----------------------------------------------------------------------------------------------
# Basic Video Encoder Settings
# ----------------------------------------------------------------------------------------------
[VideoEncoderSettings]
SourceID=0
Codec=AVC
Width=720
Height=576
Crop=0,0,720,576
DisplayAspect=16:9
Framerate=25:1
Interlaced=1
ImageOverlayDisplayWidth=120
ImageOverlayDisplayHeight=120
ImageOverlayPixelAspect=1:1
ImageOverlayArea=540,51,120,120
ImageOverlayPath=logo.png
VideoGrabberSamplerate=500
The settings are the following:
- ImageOverlayDisplayWidth - image overlay display width. If not set, the output video size is used.
- ImageOverlayDisplayHeight - image overlay display height. If not set, the output video size is used.
- ImageOverlayPixelAspect - the overlay image display area's pixel aspect. If not set, a 1:1 ratio is used.
- ImageOverlayArea - image overlay area within the display area. The calculation is the following:
(x,y,[img-width|0],[img-height|0]) => (0,0,display-width,display-height)
- ImageOverlayPath - a path to the overlay image
- VideoGrabberSamplerate - a time interval for a grabber to update the overlay image. If the overlay image is updated periodically, with this setting you can simulate a dynamically updated overlay.