/usr/share/gir-1.0/GstTranscoder-1.0.gir is in pitivi 0.98-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="GObject" version="2.0"/>
<include name="Gst" version="1.0"/>
<include name="GstPbutils" version="1.0"/>
<namespace name="GstTranscoder"
version="1.0"
shared-library="libgstreamer-1.0.so.0,libgobject-2.0.so.0,libgstpbutils-1.0.so.0,libglib-2.0.so.0,libgsttranscoder-1.0.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst_">
<class name="Transcoder"
c:symbol-prefix="transcoder"
c:type="GstTranscoder"
parent="Gst.Object"
glib:type-name="GstTranscoder"
glib:get-type="gst_transcoder_get_type"
glib:type-struct="TranscoderClass">
<constructor name="new" c:identifier="gst_transcoder_new">
<return-value transfer-ownership="none">
<doc xml:space="preserve">a new #GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</return-value>
<parameters>
<parameter name="source_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dest_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="encoding_target" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_full" c:identifier="gst_transcoder_new_full">
<return-value transfer-ownership="none">
<type name="Transcoder" c:type="GstTranscoder*"/>
</return-value>
<parameters>
<parameter name="source_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="dest_uri" transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="profile" transfer-ownership="none">
<type name="GstPbutils.EncodingProfile"
c:type="GstEncodingProfile*"/>
</parameter>
<parameter name="signal_dispatcher" transfer-ownership="none">
<type name="TranscoderSignalDispatcher"
c:type="GstTranscoderSignalDispatcher*"/>
</parameter>
</parameters>
</constructor>
<method name="get_dest_uri" c:identifier="gst_transcoder_get_dest_uri">
<doc xml:space="preserve">Gets the URI of the destination of the transcoded stream.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a string containing the URI of the
destination of the transcoded stream. g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_duration" c:identifier="gst_transcoder_get_duration">
<doc xml:space="preserve">Retrieves the duration of the media stream that self represents.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the duration of the transcoding media stream, in
nanoseconds.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_pipeline" c:identifier="gst_transcoder_get_pipeline">
<return-value transfer-ownership="full">
<doc xml:space="preserve">The internal uritranscodebin instance</doc>
<type name="Gst.Element" c:type="GstElement*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position" c:identifier="gst_transcoder_get_position">
<return-value transfer-ownership="none">
<doc xml:space="preserve">the absolute position time, in nanoseconds, of the
transcoding stream.</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_position_update_interval"
c:identifier="gst_transcoder_get_position_update_interval">
<return-value transfer-ownership="none">
<doc xml:space="preserve">current position update interval in milliseconds</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_source_uri"
c:identifier="gst_transcoder_get_source_uri">
<doc xml:space="preserve">Gets the URI of the currently-transcoding stream.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a string containing the URI of the
source stream. g_free() after usage.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="run" c:identifier="gst_transcoder_run" throws="1">
<doc xml:space="preserve">Run the transcoder task synchonously. You can connect
to the 'position' signal to get information about the
progress of the transcoding.</doc>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">The GstTranscoder to run</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="run_async" c:identifier="gst_transcoder_run_async">
<doc xml:space="preserve">Run the transcoder task asynchonously. You should connect
to the 'done' signal to be notified about when the
transcoding is done, and to the 'error' signal to be
notified about any error.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">The GstTranscoder to run</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_cpu_usage" c:identifier="gst_transcoder_set_cpu_usage">
<doc xml:space="preserve">Sets @cpu_usage as target percentage CPU usage of the process running the
transcoding task. It will modulate the transcoding speed to reach that target
usage.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">The GstTranscoder to limit CPU usage on.</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="cpu_usage" transfer-ownership="none">
<doc xml:space="preserve">The percentage of the CPU the process running the transcoder
should try to use. It takes into account the number of cores avalaible.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_position_update_interval"
c:identifier="gst_transcoder_set_position_update_interval">
<doc xml:space="preserve">Set interval in milliseconds between two position-updated signals.
Pass 0 to stop updating the position.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve">#GstTranscoder instance</doc>
<type name="Transcoder" c:type="GstTranscoder*"/>
</instance-parameter>
<parameter name="interval" transfer-ownership="none">
<doc xml:space="preserve">interval in ms</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</method>
<property name="dest-uri"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="duration" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="pipeline" transfer-ownership="none">
<type name="Gst.Element"/>
</property>
<property name="position" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</property>
<property name="position-update-interval"
writable="1"
transfer-ownership="none">
<type name="guint" c:type="guint"/>
</property>
<property name="profile"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="GstPbutils.EncodingProfile"/>
</property>
<property name="signal-dispatcher"
readable="0"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="TranscoderSignalDispatcher"/>
</property>
<property name="src-uri"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<glib:signal name="done" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</glib:signal>
<glib:signal name="duration-changed"
when="last"
no-recurse="1"
no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="error" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="position-updated"
when="last"
no-recurse="1"
no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="warning" when="last" no-recurse="1" no-hooks="1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="object" transfer-ownership="none">
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="TranscoderClass"
c:type="GstTranscoderClass"
disguised="1"
glib:is-gtype-struct-for="Transcoder">
</record>
<enumeration name="TranscoderError"
glib:type-name="GstTranscoderError"
glib:get-type="gst_transcoder_error_get_type"
c:type="GstTranscoderError">
<member name="failed"
value="0"
c:identifier="GST_TRANSCODER_ERROR_FAILED"
glib:nick="failed">
<doc xml:space="preserve">generic error.</doc>
</member>
<function name="get_name" c:identifier="gst_transcoder_error_get_name">
<doc xml:space="preserve">Gets a string representing the given error.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a string with the given error.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">a #GstTranscoderError</doc>
<type name="TranscoderError" c:type="GstTranscoderError"/>
</parameter>
</parameters>
</function>
</enumeration>
<class name="TranscoderGMainContextSignalDispatcher"
c:symbol-prefix="transcoder_g_main_context_signal_dispatcher"
c:type="GstTranscoderGMainContextSignalDispatcher"
parent="GObject.Object"
glib:type-name="GstTranscoderGMainContextSignalDispatcher"
glib:get-type="gst_transcoder_g_main_context_signal_dispatcher_get_type"
glib:type-struct="TranscoderGMainContextSignalDispatcherClass">
<implements name="TranscoderSignalDispatcher"/>
<function name="new"
c:identifier="gst_transcoder_g_main_context_signal_dispatcher_new">
<return-value transfer-ownership="full">
<type name="TranscoderSignalDispatcher"
c:type="GstTranscoderSignalDispatcher*"/>
</return-value>
<parameters>
<parameter name="application_context"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">GMainContext to use or %NULL</doc>
<type name="GLib.MainContext" c:type="GMainContext*"/>
</parameter>
</parameters>
</function>
<property name="application-context"
writable="1"
construct-only="1"
transfer-ownership="none">
<type name="GLib.MainContext"/>
</property>
</class>
<record name="TranscoderGMainContextSignalDispatcherClass"
c:type="GstTranscoderGMainContextSignalDispatcherClass"
disguised="1"
glib:is-gtype-struct-for="TranscoderGMainContextSignalDispatcher">
</record>
<record name="TranscoderPrivate"
c:type="GstTranscoderPrivate"
disguised="1">
</record>
<interface name="TranscoderSignalDispatcher"
c:symbol-prefix="transcoder_signal_dispatcher"
c:type="GstTranscoderSignalDispatcher"
glib:type-name="GstTranscoderSignalDispatcher"
glib:get-type="gst_transcoder_signal_dispatcher_get_type"
glib:type-struct="TranscoderSignalDispatcherInterface">
<virtual-method name="dispatch">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<type name="TranscoderSignalDispatcher"
c:type="GstTranscoderSignalDispatcher*"/>
</instance-parameter>
<parameter name="transcoder" transfer-ownership="none">
<type name="Transcoder" c:type="GstTranscoder*"/>
</parameter>
<parameter name="emitter"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</virtual-method>
</interface>
<record name="TranscoderSignalDispatcherInterface"
c:type="GstTranscoderSignalDispatcherInterface"
glib:is-gtype-struct-for="TranscoderSignalDispatcher">
<field name="parent_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="dispatch">
<callback name="dispatch">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<type name="TranscoderSignalDispatcher"
c:type="GstTranscoderSignalDispatcher*"/>
</parameter>
<parameter name="transcoder" transfer-ownership="none">
<type name="Transcoder" c:type="GstTranscoder*"/>
</parameter>
<parameter name="emitter"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer*"/>
</parameter>
<parameter name="data"
transfer-ownership="none"
nullable="1"
allow-none="1">
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</callback>
</field>
</record>
<function name="transcoder_error_get_name"
c:identifier="gst_transcoder_error_get_name"
moved-to="TranscoderError.get_name">
<doc xml:space="preserve">Gets a string representing the given error.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a string with the given error.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="error" transfer-ownership="none">
<doc xml:space="preserve">a #GstTranscoderError</doc>
<type name="TranscoderError" c:type="GstTranscoderError"/>
</parameter>
</parameters>
</function>
</namespace>
</repository>
|