File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
src/AvTranscoder/Transcoder Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -93,13 +93,29 @@ class Transcoder
93
93
* @note The stream will be deleted in Transcoder's destructor.
94
94
*/
95
95
void add ( StreamTranscoder& stream );
96
-
96
+
97
+ /* *
98
+ * @brief Process the next frame of all streams.
99
+ * @return if a frame was processed or not.
100
+ */
97
101
bool processFrame ();
98
102
103
+ /* *
104
+ * @brief Process all the streams, and ended the process depending on the transcode politic.
105
+ * @param progress
106
+ */
99
107
void process ( ProgressListener& progress );
100
108
109
+ /* *
110
+ * @brief Set the transcodage politic.
111
+ * @note If you call it before adding the streams, the process will stop at the end of the shortest stream.
112
+ */
101
113
void setProcessMethod ( const EProcessMethod eProcessMethod );
102
114
115
+ /* *
116
+ * @brief Set verbose mode for the Transcoder and his streams.
117
+ * @note If you call it before adding the streams, no verbose mode will be set for the new streams.
118
+ */
103
119
void setVerbose ( bool verbose = true );
104
120
105
121
void setOutputFps ( double fps ) { _outputFps = fps; }
@@ -121,6 +137,7 @@ class Transcoder
121
137
* @note if there is only dummy, return limit of double.
122
138
*/
123
139
double getMinTotalDuration () const ;
140
+
124
141
/* *
125
142
* @brief Get the duration of the longest stream.
126
143
* @note if there is only dummy, return limit of double.
You can’t perform that action at this time.
0 commit comments