MLT 7.24.0
mlt_playlist.h
Go to the documentation of this file.
1
23#ifndef MLT_PLAYLIST_H
24#define MLT_PLAYLIST_H
25
26#include "mlt_producer.h"
27
45
50
80
81#define MLT_PLAYLIST_PRODUCER(playlist) (&(playlist)->parent)
82#define MLT_PLAYLIST_SERVICE(playlist) MLT_PRODUCER_SERVICE(MLT_PLAYLIST_PRODUCER(playlist))
83#define MLT_PLAYLIST_PROPERTIES(playlist) MLT_SERVICE_PROPERTIES(MLT_PLAYLIST_SERVICE(playlist))
84
94 mlt_producer producer,
95 mlt_position in,
96 mlt_position out);
98extern int mlt_playlist_blank_time(mlt_playlist self, const char *length);
99extern mlt_position mlt_playlist_clip(mlt_playlist self, mlt_whence whence, int index);
104 mlt_playlist self, mlt_producer producer, int where, mlt_position in, mlt_position out);
105extern int mlt_playlist_remove(mlt_playlist self, int where);
106extern int mlt_playlist_move(mlt_playlist self, int from, int to);
107extern int mlt_playlist_reorder(mlt_playlist self, const int *indices);
109extern int mlt_playlist_repeat_clip(mlt_playlist self, int clip, int repeat);
110extern int mlt_playlist_split(mlt_playlist self, int clip, mlt_position position);
111extern int mlt_playlist_split_at(mlt_playlist self, mlt_position position, int left);
112extern int mlt_playlist_join(mlt_playlist self, int clip, int count, int merge);
113extern int mlt_playlist_mix(mlt_playlist self, int clip, int length, mlt_transition transition);
114extern int mlt_playlist_mix_in(mlt_playlist self, int clip, int length);
115extern int mlt_playlist_mix_out(mlt_playlist self, int clip, int length);
116extern int mlt_playlist_mix_add(mlt_playlist self, int clip, mlt_transition transition);
120extern int mlt_playlist_clip_is_mix(mlt_playlist self, int clip);
121extern void mlt_playlist_consolidate_blanks(mlt_playlist self, int keep_length);
122extern int mlt_playlist_is_blank(mlt_playlist self, int clip);
124extern void mlt_playlist_insert_blank(mlt_playlist self, int clip, int out);
125extern void mlt_playlist_pad_blanks(mlt_playlist self, mlt_position position, int length, int find);
128 mlt_position position,
129 mlt_producer producer,
130 int mode);
131extern int mlt_playlist_clip_start(mlt_playlist self, int clip);
132extern int mlt_playlist_clip_length(mlt_playlist self, int clip);
133extern int mlt_playlist_blanks_from(mlt_playlist self, int clip, int bounded);
134extern int mlt_playlist_remove_region(mlt_playlist self, mlt_position position, int length);
136
137#endif
int mlt_playlist_remove(mlt_playlist self, int where)
int mlt_playlist_clip_start(mlt_playlist self, int clip)
int mlt_playlist_remove_region(mlt_playlist self, mlt_position position, int length)
int mlt_playlist_append(mlt_playlist self, mlt_producer producer)
int mlt_playlist_current_clip(mlt_playlist self)
int mlt_playlist_is_blank_at(mlt_playlist self, mlt_position position)
int mlt_playlist_clip_is_mix(mlt_playlist self, int clip)
int mlt_playlist_get_clip_info(mlt_playlist self, mlt_playlist_clip_info *info, int index)
int mlt_playlist_insert(mlt_playlist self, mlt_producer producer, int where, mlt_position in, mlt_position out)
int mlt_playlist_mix_in(mlt_playlist self, int clip, int length)
int mlt_playlist_join(mlt_playlist self, int clip, int count, int merge)
void mlt_playlist_consolidate_blanks(mlt_playlist self, int keep_length)
int mlt_playlist_mix_add(mlt_playlist self, int clip, mlt_transition transition)
int mlt_playlist_resize_clip(mlt_playlist self, int clip, mlt_position in, mlt_position out)
mlt_producer mlt_playlist_current(mlt_playlist self)
int mlt_playlist_clip_length(mlt_playlist self, int clip)
void mlt_playlist_close(mlt_playlist self)
void mlt_playlist_insert_blank(mlt_playlist self, int clip, int out)
int mlt_playlist_clear(mlt_playlist self)
int mlt_playlist_split_at(mlt_playlist self, mlt_position position, int left)
int mlt_playlist_mix_out(mlt_playlist self, int clip, int length)
void mlt_playlist_pad_blanks(mlt_playlist self, mlt_position position, int length, int find)
int mlt_playlist_blanks_from(mlt_playlist self, int clip, int bounded)
int mlt_playlist_mix(mlt_playlist self, int clip, int length, mlt_transition transition)
int mlt_playlist_reorder(mlt_playlist self, const int *indices)
mlt_producer mlt_playlist_get_clip(mlt_playlist self, int clip)
int mlt_playlist_get_clip_index_at(mlt_playlist self, mlt_position position)
mlt_position mlt_playlist_clip(mlt_playlist self, mlt_whence whence, int index)
mlt_properties mlt_playlist_properties(mlt_playlist self)
int mlt_playlist_split(mlt_playlist self, int clip, mlt_position position)
int mlt_playlist_blank_time(mlt_playlist self, const char *length)
int mlt_playlist_append_io(mlt_playlist self, mlt_producer producer, mlt_position in, mlt_position out)
int mlt_playlist_is_blank(mlt_playlist self, int clip)
mlt_producer mlt_playlist_get_clip_at(mlt_playlist self, mlt_position position)
mlt_producer mlt_playlist_replace_with_blank(mlt_playlist self, int clip)
int mlt_playlist_insert_at(mlt_playlist self, mlt_position position, mlt_producer producer, int mode)
int mlt_playlist_repeat_clip(mlt_playlist self, int clip, int repeat)
mlt_service mlt_playlist_service(mlt_playlist self)
mlt_playlist mlt_playlist_init()
int mlt_playlist_count(mlt_playlist self)
int mlt_playlist_move(mlt_playlist self, int from, int to)
mlt_producer mlt_playlist_producer(mlt_playlist self)
mlt_playlist mlt_playlist_new(mlt_profile profile)
int mlt_playlist_blank(mlt_playlist self, mlt_position out)
abstraction for all producer services
int32_t mlt_position
Definition mlt_types.h:217
mlt_whence
The relative time qualifiers.
Definition mlt_types.h:186
structure for returning clip information from a playlist entry
Definition mlt_playlist.h:32
mlt_position length
the unedited duration of the clip
Definition mlt_playlist.h:41
float fps
the frame rate of the clip
Definition mlt_playlist.h:42
mlt_producer cut
the clips' cut producer
Definition mlt_playlist.h:35
int repeat
the number of times the clip is repeated
Definition mlt_playlist.h:43
mlt_position start
the time this begins relative to the beginning of the playlist
Definition mlt_playlist.h:36
mlt_position frame_in
the clip's in point
Definition mlt_playlist.h:38
mlt_position frame_out
the clip's out point
Definition mlt_playlist.h:39
int clip
the index of the clip within the playlist
Definition mlt_playlist.h:33
char * resource
the file name or address of the clip
Definition mlt_playlist.h:37
mlt_producer producer
the clip's producer (or parent producer of a cut)
Definition mlt_playlist.h:34
mlt_position frame_count
the duration of the clip
Definition mlt_playlist.h:40
Playlist class.
Definition mlt_playlist.h:72
int count
Definition mlt_playlist.h:77
int size
Deprecated.
Definition mlt_playlist.h:76
struct mlt_producer_s blank
Definition mlt_playlist.h:74
playlist_entry ** list
Definition mlt_playlist.h:78
struct mlt_producer_s parent
Definition mlt_playlist.h:73
Producer abstract service class.
Definition mlt_producer.h:70
Profile class.
Definition mlt_profile.h:35
Properties class.
Definition mlt_properties.h:40
Service abstract base class.
Definition mlt_service.h:58
Transition abstract service class.
Definition mlt_transition.h:43
Virtual playlist entry used by mlt_playlist_s.
Definition mlt_playlist.c:40