8 ffmpeg libavformat based producer for video and audio.
12 'file' - producer a/v from file
14 Initialisation Properties
16 int video_index - index of video stream to use (-1 is off)
17 int audio_index - index of audio stream to use (-1 is off)
23 double fps - this is fixed at 25 for PAL currently
24 double aspect_ratio - this is determined on the first frame read
28 ffmpeg must be configured as --enable-shared and installed prior
29 to compilation of mlt.
33 Audio sync discrepancy with some content.
34 Not all libavformat supported formats are seekable.
35 ogg is currently broken.
36 mpeg seeking is inaccurate - doesn't seek to i-frames so you may
37 get junk for a few frames.
43 A friendly giant that likes to rhyme and throw rocks
47 'file' - produce a/v from file
49 Initialisation Properties
53 + all producer initialising properties
57 string resource - file location
58 + all producer read only properties
62 This producer is has two roles:
64 1. it handles the mappings of all file names to the other
66 2. it attaches normalising filters (rescale, resize and resample)
67 to the producers (when necessary).
69 This producer simplifies many aspects of use. Essentially, it
70 ensures that a consumer will receive images and audio precisely as
85 Test case pipe based producer for video and audio.
89 'file' - produce a/v from file
90 v4l - produce a/v from video4linux and dsp device
92 Initialisation Properties
94 string video_type - "file" or "v4l"
95 string video_file - file or v4l device
96 string video_size - WxH of video to produce (default: "")
97 int video_loop - loop video until audio exhausted (default: 0)
98 string audio_type - "file" or "dsp"
99 string audio_file - file or dsp device
100 int audio_rate - audio frequency (default: 48000)
101 int audio_channels - audio channels (default: 2)
102 int audio_track - audio track to use (default: 0)
103 int audio_loop - loop audio until video exhausted (default: 0)
106 double fps - output frames per second (default: 25)
107 double aspect_ratio - aspect ratio of video
111 string resource - file or "v4l"
112 int end_of_clip - holds 1 when input is exhausted
120 in point setting is broken.
122 Implementation does not allow fast random access.
128 libdv based decoder for video and audio.
132 'file' - produce a/v from file
134 Initialisation Properties
141 string resource - file location
142 double fps - output frames per second
143 double aspect_ratio - aspect ratio of video]
144 int length - duration of resource (in frames)
158 Mainconcept based dv decoder for video and audio.
162 'file' - produce a/v from file
164 Initialisation Properties
171 string resource - file location
172 double fps - output frames per second
173 double aspect_ratio - aspect ratio of video
174 int length - duration of resource (in frames)
178 mainconcept dv sdk and libdv.
179 "dv_sdk" installed parallel to mlt.
183 Can be problematic with some NTSC DV files?
189 Mainconcept based mpeg decoder for video and audio.
193 'file' - produce a/v from file
195 Initialisation Properties
202 string resource - file location
203 double fps - output frames per second
204 double aspect_ratio - aspect ratio of video
208 mainconcept mpeg sdk.
209 "mpeg_sdk_demo" installed parallel to mlt.
219 A title generator that uses the Pango international text layout
220 and Freetype2 font renderer.
224 string file - a text file containing Pango markup, see:
225 http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html
226 - requires xml-like encoding special chars: <, >, & to <, >, &
228 Initialisation Properties
235 int video_standard - enum mlt_video_standard from mlt_frame.h
237 this determines proper pixel aspect ratio
239 string markup - a string containing Pango markup see:
240 http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html
241 - requires xml-like encoding special chars: <, >, & to <, >, &
243 string fgcolour - an rgba colour specification of the text (i.e. 0xrrggbbaa)
244 string bgcolour - an rgba colour of the background rectangle
245 int align - paragraph alignment: 0 = left, 1 = center, 2 = right
246 int pad - the number of pixels to pad the background rectangle beyond edges of text
248 string markup - see constructor argument
249 string text - non-markup text (can contain markup chars un-encoded)
250 string font - the default typeface to use when not using markup
255 string resource - the text/markup file or "pango" if no file
259 libpango-1.0, libpangoft2-1.0, libfreetype, libgdk_pixbuf-2.0, libglib-2.0,
260 libgobject-2.0, libgmodule-2.0, libfontconfig
264 no frame-alignment functionality
270 A graphics overlay generator using gdk-pixbuf
274 'file' - The name of a graphics file loadable by
275 a gdk-pixbuf loader. see /usr/lib/gdk-pixbuf/loaders
276 definitely png, jpeg, tiff, pnm, and xpm
277 - If "%" in filename, the filename is used with sprintf
278 generate a filename from a counter for multi-file/flipbook animation.
279 The file sequence ends when numeric discontinuity >100.
280 - If filename contains "/.all.", suffix with an extension to load
281 all pictures with matching extension from a directory
283 Initialisation Properties
290 int video_standard - enum mlt_video_standard from mlt_frame.h
292 this determines proper pixel aspect ratio
293 double ttl - how long (seconds) to repeat each picture in file sequences
297 string resource - file location
301 libgdk_pixbuf-2.0, libglib-2.0, libgobject-2.0, libgmodule-2.0
305 in/out settings are incorrectly handled.
311 Reads a stream of contiguous PPM images.
315 command - a shell command to run something that produces ppm
318 Initialisation Properties
324 string resource - the command
332 Since it uses pipes, it is not compatible with bluefish.
338 Construct a service network from an XML description.
342 file - an XML text file containing westley XML (schema pending)
346 string resource - file location
354 Non-referenced producers and playlists are not destroyed.
355 A referenced producer or playlist must appear before the reference.
361 OGG Vorbis file reader.
365 'file' - file to use (only .ogg supported at the moment)
367 Initialisation Properties
374 double fps - this is fixed at 25 for PAL currently
382 Fixed frame size (PAL audio chunks).
383 Doesn't cover ogg files with multiple, differing sections.
392 Deinterlace a frame consisting of two fields by linearly blending.
398 Initialisation Properties
413 Not a bug, but it only provides fair quality at a fair performance;
414 i.e., it excels at neither.
420 Use ffmpeg executable to substitute audio stream.
424 file - filename of a WAV, Ogg Vorbis (--enable-vorbis),
425 MP3 (--enable-mp3lame), or AC-3 (--enable-a52) audio file.
427 Initialisation Properties
434 string resource - file
438 ffmpeg plus for ffmpeg:
439 libogg and libvorbis for Ogg Vorbis, libmp3lame for MP3, liba52 for AC-3.
443 Uses pipes and is therefore not compatible with bluefish.
449 Adjust image luma using a non-linear power-law curve
453 gamma - a floating point value
455 Initialisation Properties
462 double gamma - the exponential factor of the power-law curve
476 Convert colour image to greyscale
482 Initialisation Properties
509 Initialisation Properties
511 string start - in the format X,Y:WxH[:PWxPY]
512 string end - in the format X,Y:WxH[:PWxPY]
532 Image scaling and padding
536 scale - "affine" to use affine transform scaling, otherwise
539 Initialisation Properties
560 Adjust an audio stream's sampling rate
564 frequency - a numeric value for the new sample rate
566 Initialisation Properties
573 int frequency - the target sample rate
587 Scale the producer video frame size to match the consumer.
591 interpolation - the rescaling method, one of:
592 nearest (lowest quality, fastest),
594 bilinear (good quality, moderate speed),
595 hyper (best quality, slowest)
597 Initialisation Properties
604 string interpolation - see constructor argument above
606 If a property "consumer_aspect_ratio" exists on the frame, then
607 rescaler normalises the producer's aspect ratio and maximises the
608 size of the frame, but may not produce the consumer's requested
609 dimension. Therefore, this option works best in conjunction with the
610 resize filter. This behavior can be disabled by another service by
611 either removing the property, setting it to zero, or setting
612 frame property "distort" to 1.
616 libgdk_pixbuf-2.0, libglib-2.0, libgobject-2.0, libgmodule-2.0
626 Adjust an audio stream's volume level
630 gain - a string containing one of:
631 - a floating point value of the gain adjustment
632 - a numeric value with the suffix "dB" to adjust in terms of decibels
633 - "normalise" to normalise the volume to the target amplitude -12dBFS
635 Initialisation Properties
639 int window - the number of video frames over which to smooth normalisation.
644 string gain - same as constructor argument above
646 string normalise - normalise the volume to the amplitude:
647 - a numeric value with the suffix "dB" to set amplitude in decibels
648 - a floating point value of the relative volume
649 - an unspecified value uses the default -12dBFS
651 string limiter - limit all samples above:
652 - a numeric value with the suffix "dB"
653 - a floating point value ( dB = 20 * log10(x) )
654 - an unspecified value uses the default -6dBFS
656 double max_gain - a floating point or decibel value of the maximum gain that
657 can be applied during normalisation.
658 - an unspecified value uses the default 20dB
660 string end - a gain value just like the gain property above.
661 This causes the gain to be interpolated from 'gain' to 'end'
664 int window - the size of the normalising smoothing buffer in video frame units.
665 - the smoothing buffer prevents erratic gain changes.
666 - the default value is 75 video frames.
668 gain can be applied as a factor to the normalise amplitude!
682 Add a watermark to the frames.
686 resource - the producer to use (ie: a .png)
688 Initialisation Properties
690 string resource - the producer to use
691 string factory - producer required for the resource ('fezzik')
692 string geometry - composite geometry
693 string distort - control scaling
703 mlt core modules and optionally, fezzik
716 An alpha-channel based compositor for two frames.
720 string start - X,Y:WxH[:mix]
722 Initialisation Properties
724 string end - X,Y:WxH[:mix]
738 Need to add field-based rendering.
744 A generic dissolve and wipe transition processor. It gets its name
745 from how it uses a grayscale "map" file. As the luma value varies
746 over time, a threshold filter is applied to the map to determine
747 what parts of frame A vs. frame B to show. It only reads PGM
748 files, but it does handle 16 bit PGM. This performs field-based
753 string resource - the luma map file name. If not supplied, a dissolve.
755 Initialisation Properties
762 string resource - same as above
763 double softness - only when using a luma map, how soft to make the
764 edges between A and B. 0.0 = no softness. 1.0 =
777 The luma map must be the same size as the B frame.
778 The PGM parser does not handle comments.
784 An two stream audio mixer.
790 Initalisation Properties
797 double start - the mix level to apply to the second frame.
798 - any negative value causes an automatic crossfade from 0 to 1.
799 double end - the ending value of the mix level. mix level will be interpolated
800 from start to end over the in-out range.
801 int reverse - set to 1 to reverse the direction of the mix.
813 Samples from the longer of the two frames are discarded.
822 BlueFish444 audio and video output module.
826 string video_standard - "PAL" (default) or "NTSC"
828 Initialisation Properties
830 int video_standard - 0 = PAL, 1 = NTSC
838 BlueVelvet SDK installed parallel to mlt in "bluefish."
842 Does not work with any service that uses pipes!
844 If mlt crashes, you must reload the BlueDriver kernel module
845 due to unreleased DMA buffers.
847 Needs an argument or property for multi-card address.
853 Initialisation Properties
866 string video_standard - "PAL" (default) or "NTSC"
868 Initialisation Properties
877 Simple DirectMedia Layer audio and video output module.
881 string video_standard - "PAL" (default), "NTSC", or "WxH"
885 double volume - audio level factor
886 int video_off - if 1, disable video output
887 int audio_off - if 1, disable audio output
888 int scale_overlay - if 1, resample video from source pixel aspect
889 ratio to square pixels.
897 libSDL-1.2, libasound, libaudio, libXt, libX11, libXext, libSM, libICE
901 NTSC handling needs tightening up - sdl:NTSC is the only valid
902 constructor for NTSC playback at the moment.
908 Serialise the service network to XML.
912 resource - the name of a file in which to store the XML.
913 stdout is used if not supplied.
915 Initialisation Properties
917 string resource - same as above.
925 Untested arbitrary nesting of multitracks and playlists.
926 Property "id" is generated as service type followed by number if
927 no property named "id" exists, but it fails to guarantee uniqueness.