Capabilities
| Video | Audio | RGB | YUV | YUV422 | multiple instances | processing type | frames needed |
| yes | no | yes | yes | no | no | POST | 1 |
Introduction
This filter allows you to put an image into the video.
Every image format ImageMagick can read is supported and
ImageMagick can read a lot of different formats.
So you need ImageMagick installed on your system and enabled
during compile time of transcode
The transparency information (if the image has one) is handled
correctly. This is very nice if you use PNG or GIF.
The position of the image can be specified using the posx resp.
posy parameters. There are 5 predefined positions for your
convenience which are "Top Left, Top Right, Bottom Left, Bottom
Right and Center" available through posdef. Origin of the image is
at the very top left.
Parameters
- help
- Display a short description of the filter and its arguments.
- file Image filename [logo.png]
- The image file you want to use.
- pos Position (0-width x 0-height) [0x0]
- Offset from the origin of the frame (in pixels)
- posdef Predefined position (0=None, 1=TopL, 2=TopR, 3=BotL, 4=BotR, 5=Center) [0]
- Predefined position
- 1=Top Left
- 2=Top Right
- 3=Bottom Left
- 4=Bottom Right
- 5=Center
- range Restrict rendering to framerange (0-oo) [0-end]
- Defines a frame range in which the image should appear in the video
- ignoredelay Ignore delay specified in animations
-
- rgbswap Swap colors
- Swap red/blue colors
- grayout Don't write Cb and Cr
- YUV only: don't write Cb and Cr, makes a nice effect
- flip Mirror image
-
Usage Examples
- Displays the image `mylogo.png' at the top left of the video
$ transcode ... -J logo=file=mylogo.png:posdef=2
- Displays the image `mylogo.png' for the first 4 seconds in the center of the screen.
$ transcode ... -J logo=file=mylogo.png:range=0-100:posdef=5
- Displays the image `mylogo.gif' at position 200x100 on the screen
$ transcode ... -J logo=file=mylogo.gif:pos=200x100
Author
Tilmann Bitterberg