MLT 7.40.0
Multimedia Framework
MltTractor.h
Go to the documentation of this file.
1
20#ifndef MLTPP_TRACTOR_H
21#define MLTPP_TRACTOR_H
22
23#include "MltConfig.h"
24
25#include <framework/mlt.h>
26
27#include "MltProducer.h"
28
29namespace Mlt {
30class Producer;
31class Field;
32class Multitrack;
33class Transition;
34class Filter;
35class Profile;
36
47{
48private:
50
51public:
52 Tractor();
53 Tractor(Profile &profile);
54 Tractor(Service &tractor);
56 Tractor(mlt_tractor tractor);
57 Tractor(Tractor &tractor);
58 Tractor(Profile &profile, char *id, char *arg = NULL);
59 Tractor(mlt_profile profile, char *id, char *arg = NULL);
60 virtual ~Tractor();
61 virtual mlt_tractor get_tractor();
62 mlt_producer get_producer() override;
64 Multitrack *multitrack();
66 Field *field();
68 void refresh();
70 int set_track(Producer &producer, int index);
72 int insert_track(Producer &producer, int index);
74 int remove_track(int index);
76 Producer *track(int index);
78 int count();
80 void plant_transition(Transition &transition, int a_track = 0, int b_track = 1);
81 void plant_transition(Transition *transition, int a_track = 0, int b_track = 1);
83 void plant_filter(Filter &filter, int track = 0);
84 void plant_filter(Filter *filter, int track = 0);
86 bool locate_cut(Producer *producer, int &track, int &cut);
87 int connect(Producer &producer);
88};
89} // namespace Mlt
90
91#endif
#define MLTPP_DECLSPEC
MltConfig.h - Convenience header file for all mlt++ objects Copyright (C) 2004-2026 Meltytech,...
Definition MltConfig.h:33
C++ wrapper for mlt_field — manages transitions and filters for a Tractor.
Definition MltField.h:43
C++ wrapper for mlt_filter — modifies a single producer's output.
Definition MltFilter.h:44
C++ wrapper for mlt_multitrack — parallel track container.
Definition MltMultitrack.h:42
C++ wrapper for mlt_producer — origin of audio/video data.
Definition MltProducer.h:46
C++ wrapper for mlt_profile — video format parameters.
Definition MltProfile.h:45
C++ wrapper for mlt_service — abstract base for all MLT services.
Definition MltService.h:47
C++ wrapper for mlt_tractor — composites multiple tracks.
Definition MltTractor.h:47
mlt_tractor instance
Definition MltTractor.h:49
C++ wrapper for mlt_transition — blends two tracks together.
Definition MltTransition.h:45
header file for lazy client and implementation code :-)
MLT C++ wrapper Copyright (C) 2015-2026 Meltytech, LLC.
Definition MltAnimation.h:27
Producer abstract service class.
Definition mlt_producer.h:71
Profile class.
Definition mlt_profile.h:36
Tractor class.
Definition mlt_tractor.h:40