The ffmpeg producer supports all files that the “ffmpeg” library (www.ffmpeg.org) can play.
The ffmpeg producer supports “libavfilter” filters through the “FILTER” parameter.
ffmpeg[filename | video-mode | file-frame-number / file-nb-frames]
Graph | Description | Scale |
---|---|---|
frame-time | Time spent decoding the current frame. | fps/2 |
buffer-count | Number of input packets buffered. | 100 |
buffer-size | Size of buffered input packets. | 64MB |
underflow | Frame was not ready in time and is skipped. | N/A |
seek | Input has seeked. | N/A |
Sets the start of the file. This point will be used while looping.
Syntax:
SEEK [frames:int]
Example:
<< PLAY 1-1 MOVIE SEEK 100 LOOP
Sets the start of the file. This point will be used while looping.
Syntax:
START [frames:int]
Example:
<< PLAY 1-1 MOVIE START 100 LOOP
Sets the end of the file.
Syntax:
LENGTH [frames:int]
Example:
<< PLAY 1-1 MOVIE LENGTH 100
Configures libavfilter which will be used.
Syntax:
FILTER [libavfilter-parameters:string]
Example:
<< PLAY 1-1 MOVIE FILTER hflip:yadif=0:0
Sets whether file will loop.
Syntax:
LOOP [loop:0|1]
Returns
The value of LOOP after the command have completed.
Example:
<< CALL 1-1 LOOP 1
<< CALL 1-1 LOOP // Queries without changing.
>> 1
Seeks in the file.
Syntax:
SEEK [frames:int]
Returns
Nothing.
Example:
<< CALL 1-1 SEEK 200
Sets the start of the file. This point will be used while looping.
Syntax:
START [frames:int]
Example:
<< CALL 1-1 START 100
Sets the end of the file.
Syntax:
LENGTH [frames:int]
Example:
<< CALL 1-1 LENGTH 100P
Extension | Description |
---|---|
.ft | Flash-template. |
.ct | Compressed-template. |
.swf | Flash file. |
flash[template-host | video-mode]
Graph | Description | Scale |
---|---|---|
frame-time | Time spent rendering the current frame. | fps/2 |
tick-time | Time between rendering two frames. | fps/2 |
param | Invoked flash command. | N/A |
late-frame | Frame was not ready in time and is skipped. | N/A |
sync | Synced time between rendering two frames. | fps/2 |
flash[model-name | device-index | video-mode]
Which BlackMagic device to attach.
Syntax:
[device:int]
Example:
<< PLAY 1-1 DECKLINK 1
Sets the end of the file.
Syntax:
LENGTH [frames:int]
Example:
<< PLAY 1-1 DECKLINK 1 LENGTH 100
Configures libavfilter which will be used.
Syntax:
FILTER [libavfilter-parameters:string]
Example:
<< PLAY 1-1 DECKLINK 1 FILTER hflip:yadif=0:0
Sets the video-mode. If no video-mode is provided then the parent channels video-mode will be used.
Syntax:
FORMAT [video-mode:string]
Example:
<< PLAY 1-1 DECKLINK 1 FORMAT PAL LENGTH 100
Extension | Description |
---|---|
.png | |
.tga | |
.bmp | |
.jpg, .jpeg, .j2k | |
.gif | |
.tif, tiff |