Instantiates ffmpeg_grabber device implemented by FfmpegGrabber. More...
Instantiates ffmpeg_grabber device implemented by FfmpegGrabber.
# read from an avi file device ffmpeg_grabber source my.avi
If this text is saved in a file called ffmpeg_grabber_basic.ini then the device can be created by doing:
yarpdev --file ffmpeg_grabber_basic.ini
Of course, the configuration could be passed just as command line options, or as a yarp::os::Property object in a program:
Here is a list of properties checked when starting up a device based on this configuration file. Note that which properties are checked can depend on whether other properties are present. In some cases properties can also vary between operating systems. So this is just an example
PROPERTY | DESCRIPTION | DEFAULT |
device | ||
source | media file to read from | default.avi |
loop | media should loop (default) | |
noloop | media should not loop | |
sync | sync on image or audio (if have to choose)? | image |
nodelay | media will play in simulated realtime unless this is present | |
pace | simulated realtime multiplier factor (must be <1 right now) | 1.0 |
v4l | if present, read from video4linux | |
v4l1 | if present, read from video4linux | |
v4l2 | if present, read from video4linux2 | |
ieee1394 | if present, read from firewire |