MLT 7.30.0
mlt_playlist.h File Reference

playlist service class More...

#include "mlt_producer.h"

Go to the source code of this file.

Data Structures

struct  mlt_playlist_clip_info
 structure for returning clip information from a playlist entry More...
struct  mlt_playlist_s
 Playlist class. More...

Macros

#define MLT_PLAYLIST_PRODUCER(playlist)
#define MLT_PLAYLIST_PROPERTIES(playlist)
#define MLT_PLAYLIST_SERVICE(playlist)

Typedefs

typedef struct playlist_entry_s playlist_entry
 Playlist Entry.

Functions

int mlt_playlist_append (mlt_playlist self, mlt_producer producer)
int mlt_playlist_append_io (mlt_playlist self, mlt_producer producer, mlt_position in, mlt_position out)
int mlt_playlist_blank (mlt_playlist self, mlt_position out)
int mlt_playlist_blank_time (mlt_playlist self, const char *length)
int mlt_playlist_blanks_from (mlt_playlist self, int clip, int bounded)
int mlt_playlist_clear (mlt_playlist self)
mlt_position mlt_playlist_clip (mlt_playlist self, mlt_whence whence, int index)
int mlt_playlist_clip_is_mix (mlt_playlist self, int clip)
int mlt_playlist_clip_length (mlt_playlist self, int clip)
int mlt_playlist_clip_start (mlt_playlist self, int clip)
void mlt_playlist_close (mlt_playlist self)
void mlt_playlist_consolidate_blanks (mlt_playlist self, int keep_length)
int mlt_playlist_count (mlt_playlist self)
mlt_producer mlt_playlist_current (mlt_playlist self)
int mlt_playlist_current_clip (mlt_playlist self)
mlt_producer mlt_playlist_get_clip (mlt_playlist self, int clip)
mlt_producer mlt_playlist_get_clip_at (mlt_playlist self, mlt_position position)
int mlt_playlist_get_clip_index_at (mlt_playlist self, mlt_position position)
int mlt_playlist_get_clip_info (mlt_playlist self, mlt_playlist_clip_info *info, int index)
mlt_playlist mlt_playlist_init ()
int mlt_playlist_insert (mlt_playlist self, mlt_producer producer, int where, mlt_position in, mlt_position out)
int mlt_playlist_insert_at (mlt_playlist self, mlt_position position, mlt_producer producer, int mode)
void mlt_playlist_insert_blank (mlt_playlist self, int clip, int out)
int mlt_playlist_is_blank (mlt_playlist self, int clip)
int mlt_playlist_is_blank_at (mlt_playlist self, mlt_position position)
int mlt_playlist_join (mlt_playlist self, int clip, int count, int merge)
int mlt_playlist_mix (mlt_playlist self, int clip, int length, mlt_transition transition)
int mlt_playlist_mix_add (mlt_playlist self, int clip, mlt_transition transition)
int mlt_playlist_mix_in (mlt_playlist self, int clip, int length)
int mlt_playlist_mix_out (mlt_playlist self, int clip, int length)
int mlt_playlist_move (mlt_playlist self, int from, int to)
mlt_playlist mlt_playlist_new (mlt_profile profile)
void mlt_playlist_pad_blanks (mlt_playlist self, mlt_position position, int length, int find)
mlt_producer mlt_playlist_producer (mlt_playlist self)
mlt_properties mlt_playlist_properties (mlt_playlist self)
int mlt_playlist_remove (mlt_playlist self, int where)
int mlt_playlist_remove_region (mlt_playlist self, mlt_position position, int length)
int mlt_playlist_reorder (mlt_playlist self, const int *indices)
int mlt_playlist_repeat_clip (mlt_playlist self, int clip, int repeat)
mlt_producer mlt_playlist_replace_with_blank (mlt_playlist self, int clip)
int mlt_playlist_resize_clip (mlt_playlist self, int clip, mlt_position in, mlt_position out)
mlt_service mlt_playlist_service (mlt_playlist self)
int mlt_playlist_split (mlt_playlist self, int clip, mlt_position position)
int mlt_playlist_split_at (mlt_playlist self, mlt_position position, int left)

Detailed Description

playlist service class

See also
mlt_playlist_s

Copyright (C) 2003-2022 Meltytech, LLC

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Macro Definition Documentation

◆ MLT_PLAYLIST_PRODUCER

#define MLT_PLAYLIST_PRODUCER ( playlist)
Value:
(&(playlist)->parent)

◆ MLT_PLAYLIST_PROPERTIES

#define MLT_PLAYLIST_PROPERTIES ( playlist)
Value:
#define MLT_PLAYLIST_SERVICE(playlist)
Definition mlt_playlist.h:82
#define MLT_SERVICE_PROPERTIES(service)
Definition mlt_service.h:78

◆ MLT_PLAYLIST_SERVICE

#define MLT_PLAYLIST_SERVICE ( playlist)
Value:
#define MLT_PLAYLIST_PRODUCER(playlist)
Definition mlt_playlist.h:81
#define MLT_PRODUCER_SERVICE(producer)
Definition mlt_producer.h:112

Typedef Documentation

◆ playlist_entry

Playlist Entry.

Function Documentation

◆ mlt_playlist_append()

int mlt_playlist_append ( mlt_playlist self,
mlt_producer producer )
extern

◆ mlt_playlist_append_io()

int mlt_playlist_append_io ( mlt_playlist self,
mlt_producer producer,
mlt_position in,
mlt_position out )
extern

◆ mlt_playlist_blank()

int mlt_playlist_blank ( mlt_playlist self,
mlt_position out )
extern

◆ mlt_playlist_blank_time()

int mlt_playlist_blank_time ( mlt_playlist self,
const char * length )
extern

◆ mlt_playlist_blanks_from()

int mlt_playlist_blanks_from ( mlt_playlist self,
int clip,
int bounded )
extern

◆ mlt_playlist_clear()

int mlt_playlist_clear ( mlt_playlist self)
extern

◆ mlt_playlist_clip()

mlt_position mlt_playlist_clip ( mlt_playlist self,
mlt_whence whence,
int index )
extern

◆ mlt_playlist_clip_is_mix()

int mlt_playlist_clip_is_mix ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_clip_length()

int mlt_playlist_clip_length ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_clip_start()

int mlt_playlist_clip_start ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_close()

void mlt_playlist_close ( mlt_playlist self)
extern

◆ mlt_playlist_consolidate_blanks()

void mlt_playlist_consolidate_blanks ( mlt_playlist self,
int keep_length )
extern

◆ mlt_playlist_count()

int mlt_playlist_count ( mlt_playlist self)
extern

◆ mlt_playlist_current()

mlt_producer mlt_playlist_current ( mlt_playlist self)
extern

◆ mlt_playlist_current_clip()

int mlt_playlist_current_clip ( mlt_playlist self)
extern

◆ mlt_playlist_get_clip()

mlt_producer mlt_playlist_get_clip ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_get_clip_at()

mlt_producer mlt_playlist_get_clip_at ( mlt_playlist self,
mlt_position position )
extern

◆ mlt_playlist_get_clip_index_at()

int mlt_playlist_get_clip_index_at ( mlt_playlist self,
mlt_position position )
extern

◆ mlt_playlist_get_clip_info()

int mlt_playlist_get_clip_info ( mlt_playlist self,
mlt_playlist_clip_info * info,
int index )
extern

◆ mlt_playlist_init()

mlt_playlist mlt_playlist_init ( )
extern

◆ mlt_playlist_insert()

int mlt_playlist_insert ( mlt_playlist self,
mlt_producer producer,
int where,
mlt_position in,
mlt_position out )
extern

◆ mlt_playlist_insert_at()

int mlt_playlist_insert_at ( mlt_playlist self,
mlt_position position,
mlt_producer producer,
int mode )
extern

◆ mlt_playlist_insert_blank()

void mlt_playlist_insert_blank ( mlt_playlist self,
int clip,
int out )
extern

◆ mlt_playlist_is_blank()

int mlt_playlist_is_blank ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_is_blank_at()

int mlt_playlist_is_blank_at ( mlt_playlist self,
mlt_position position )
extern

◆ mlt_playlist_join()

int mlt_playlist_join ( mlt_playlist self,
int clip,
int count,
int merge )
extern

◆ mlt_playlist_mix()

int mlt_playlist_mix ( mlt_playlist self,
int clip,
int length,
mlt_transition transition )
extern

◆ mlt_playlist_mix_add()

int mlt_playlist_mix_add ( mlt_playlist self,
int clip,
mlt_transition transition )
extern

◆ mlt_playlist_mix_in()

int mlt_playlist_mix_in ( mlt_playlist self,
int clip,
int length )
extern

◆ mlt_playlist_mix_out()

int mlt_playlist_mix_out ( mlt_playlist self,
int clip,
int length )
extern

◆ mlt_playlist_move()

int mlt_playlist_move ( mlt_playlist self,
int from,
int to )
extern

◆ mlt_playlist_new()

mlt_playlist mlt_playlist_new ( mlt_profile profile)
extern

◆ mlt_playlist_pad_blanks()

void mlt_playlist_pad_blanks ( mlt_playlist self,
mlt_position position,
int length,
int find )
extern

◆ mlt_playlist_producer()

mlt_producer mlt_playlist_producer ( mlt_playlist self)
extern

◆ mlt_playlist_properties()

mlt_properties mlt_playlist_properties ( mlt_playlist self)
extern

◆ mlt_playlist_remove()

int mlt_playlist_remove ( mlt_playlist self,
int where )
extern

◆ mlt_playlist_remove_region()

int mlt_playlist_remove_region ( mlt_playlist self,
mlt_position position,
int length )
extern

◆ mlt_playlist_reorder()

int mlt_playlist_reorder ( mlt_playlist self,
const int * indices )
extern

◆ mlt_playlist_repeat_clip()

int mlt_playlist_repeat_clip ( mlt_playlist self,
int clip,
int repeat )
extern

◆ mlt_playlist_replace_with_blank()

mlt_producer mlt_playlist_replace_with_blank ( mlt_playlist self,
int clip )
extern

◆ mlt_playlist_resize_clip()

int mlt_playlist_resize_clip ( mlt_playlist self,
int clip,
mlt_position in,
mlt_position out )
extern

◆ mlt_playlist_service()

mlt_service mlt_playlist_service ( mlt_playlist self)
extern

◆ mlt_playlist_split()

int mlt_playlist_split ( mlt_playlist self,
int clip,
mlt_position position )
extern

◆ mlt_playlist_split_at()

int mlt_playlist_split_at ( mlt_playlist self,
mlt_position position,
int left )
extern