MLT  7.28.0
Data Structures | Macros | Typedefs | Functions
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)   (&(playlist)->parent)
 
#define MLT_PLAYLIST_PROPERTIES(playlist)   MLT_SERVICE_PROPERTIES(MLT_PLAYLIST_SERVICE(playlist))
 
#define MLT_PLAYLIST_SERVICE(playlist)   MLT_PRODUCER_SERVICE(MLT_PLAYLIST_PRODUCER(playlist))
 

Typedefs

typedef struct playlist_entry_s playlist_entry
 Playlist Entry. More...
 

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)    (&(playlist)->parent)

◆ MLT_PLAYLIST_PROPERTIES

#define MLT_PLAYLIST_PROPERTIES (   playlist)    MLT_SERVICE_PROPERTIES(MLT_PLAYLIST_SERVICE(playlist))

◆ MLT_PLAYLIST_SERVICE

#define MLT_PLAYLIST_SERVICE (   playlist)    MLT_PRODUCER_SERVICE(MLT_PLAYLIST_PRODUCER(playlist))

Typedef Documentation

◆ playlist_entry

Playlist Entry.

Function Documentation

◆ mlt_playlist_append()

int mlt_playlist_append ( mlt_playlist  self,
mlt_producer  producer 
)

◆ mlt_playlist_append_io()

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

◆ mlt_playlist_blank()

int mlt_playlist_blank ( mlt_playlist  self,
mlt_position  out 
)

◆ mlt_playlist_blank_time()

int mlt_playlist_blank_time ( mlt_playlist  self,
const char *  length 
)

◆ mlt_playlist_blanks_from()

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

◆ mlt_playlist_clear()

int mlt_playlist_clear ( mlt_playlist  self)

◆ mlt_playlist_clip()

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

◆ mlt_playlist_clip_is_mix()

int mlt_playlist_clip_is_mix ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_clip_length()

int mlt_playlist_clip_length ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_clip_start()

int mlt_playlist_clip_start ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_close()

void mlt_playlist_close ( mlt_playlist  self)

◆ mlt_playlist_consolidate_blanks()

void mlt_playlist_consolidate_blanks ( mlt_playlist  self,
int  keep_length 
)

◆ mlt_playlist_count()

int mlt_playlist_count ( mlt_playlist  self)

◆ mlt_playlist_current()

mlt_producer mlt_playlist_current ( mlt_playlist  self)

◆ mlt_playlist_current_clip()

int mlt_playlist_current_clip ( mlt_playlist  self)

◆ mlt_playlist_get_clip()

mlt_producer mlt_playlist_get_clip ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_get_clip_at()

mlt_producer mlt_playlist_get_clip_at ( mlt_playlist  self,
mlt_position  position 
)

◆ mlt_playlist_get_clip_index_at()

int mlt_playlist_get_clip_index_at ( mlt_playlist  self,
mlt_position  position 
)

◆ mlt_playlist_get_clip_info()

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

◆ mlt_playlist_init()

mlt_playlist mlt_playlist_init ( )

◆ mlt_playlist_insert()

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

◆ mlt_playlist_insert_at()

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

◆ mlt_playlist_insert_blank()

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

◆ mlt_playlist_is_blank()

int mlt_playlist_is_blank ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_is_blank_at()

int mlt_playlist_is_blank_at ( mlt_playlist  self,
mlt_position  position 
)

◆ mlt_playlist_join()

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

◆ mlt_playlist_mix()

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

◆ mlt_playlist_mix_add()

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

◆ mlt_playlist_mix_in()

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

◆ mlt_playlist_mix_out()

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

◆ mlt_playlist_move()

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

◆ mlt_playlist_new()

mlt_playlist mlt_playlist_new ( mlt_profile  profile)

◆ mlt_playlist_pad_blanks()

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

◆ mlt_playlist_producer()

mlt_producer mlt_playlist_producer ( mlt_playlist  self)

◆ mlt_playlist_properties()

mlt_properties mlt_playlist_properties ( mlt_playlist  self)

◆ mlt_playlist_remove()

int mlt_playlist_remove ( mlt_playlist  self,
int  where 
)

◆ mlt_playlist_remove_region()

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

◆ mlt_playlist_reorder()

int mlt_playlist_reorder ( mlt_playlist  self,
const int *  indices 
)

◆ mlt_playlist_repeat_clip()

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

◆ mlt_playlist_replace_with_blank()

mlt_producer mlt_playlist_replace_with_blank ( mlt_playlist  self,
int  clip 
)

◆ mlt_playlist_resize_clip()

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

◆ mlt_playlist_service()

mlt_service mlt_playlist_service ( mlt_playlist  self)

◆ mlt_playlist_split()

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

◆ mlt_playlist_split_at()

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