/
GstPbutils-0.10.gir
2372 lines (2372 loc) · 114 KB
/
GstPbutils-0.10.gir
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
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?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="GLib" version="2.0"/>
<include name="GModule" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gst" version="0.10"/>
<include name="libxml2" version="2.0"/>
<package name="gstreamer-pbutils-0.10"/>
<c:include name="gst/pbutils/codec-utils.h"/>
<c:include name="gst/pbutils/descriptions.h"/>
<c:include name="gst/pbutils/encoding-profile.h"/>
<c:include name="gst/pbutils/encoding-target.h"/>
<c:include name="gst/pbutils/gstdiscoverer.h"/>
<c:include name="gst/pbutils/gstpluginsbaseversion.h"/>
<c:include name="gst/pbutils/install-plugins.h"/>
<c:include name="gst/pbutils/missing-plugins.h"/>
<c:include name="gst/pbutils/pbutils-enumtypes.h"/>
<c:include name="gst/pbutils/pbutils.h"/>
<namespace name="GstPbutils"
version="0.10"
shared-library="libgstpbutils-0.10.so.0,libgstreamer-0.10.so.0"
c:identifier-prefixes="Gst"
c:symbol-prefixes="gst">
<alias name="DiscovererAudioInfoClass"
c:type="GstDiscovererAudioInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererContainerInfoClass"
c:type="GstDiscovererContainerInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererInfoClass" c:type="GstDiscovererInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererStreamInfoClass"
c:type="GstDiscovererStreamInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="DiscovererVideoInfoClass"
c:type="GstDiscovererVideoInfoClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingAudioProfileClass"
c:type="GstEncodingAudioProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<alias name="EncodingContainerProfileClass"
c:type="GstEncodingContainerProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<alias name="EncodingProfileClass" c:type="GstEncodingProfileClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingTargetClass" c:type="GstEncodingTargetClass">
<type name="Gst.MiniObjectClass" c:type="GstMiniObjectClass"/>
</alias>
<alias name="EncodingVideoProfileClass"
c:type="GstEncodingVideoProfileClass">
<type name="EncodingProfileClass" c:type="GstEncodingProfileClass"/>
</alias>
<class name="Discoverer"
c:symbol-prefix="discoverer"
c:type="GstDiscoverer"
version="0.10.31"
parent="GObject.Object"
glib:type-name="GstDiscoverer"
glib:get-type="gst_discoverer_get_type"
glib:type-struct="DiscovererClass">
<doc xml:whitespace="preserve">The #GstDiscoverer is a utility object which allows to get as much
information as possible from one or many URIs.
It provides two APIs, allowing usage in blocking or non-blocking mode.
The blocking mode just requires calling gst_discoverer_discover_uri()
with the URI one wishes to discover.
The non-blocking mode requires a running #GMainLoop in the default
#GMainContext, where one connects to the various signals, appends the
URIs to be processed (through gst_discoverer_discover_uri_async()) and then
asks for the discovery to begin (through gst_discoverer_start()).
All the information is returned in a #GstDiscovererInfo structure.</doc>
<constructor name="new"
c:identifier="gst_discoverer_new"
version="0.10.31"
throws="1">
<doc xml:whitespace="preserve">Creates a new #GstDiscoverer with the provided timeout.
If an error occurred when creating the discoverer, @err will be set
accordingly and %NULL will be returned. If @err is set, the caller must
free it when no longer needed using g_error_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The new #GstDiscoverer.</doc>
<type name="Discoverer" c:type="GstDiscoverer*"/>
</return-value>
<parameters>
<parameter name="timeout" transfer-ownership="none">
<doc xml:whitespace="preserve">timeout per file, in nanoseconds. Allowed are values between one second (#GST_SECOND) and one hour (3600 * #GST_SECOND)</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</parameter>
</parameters>
</constructor>
<virtual-method name="discovered">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</parameter>
<parameter name="err" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</virtual-method>
<virtual-method name="finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</virtual-method>
<virtual-method name="starting">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</virtual-method>
<method name="discover_uri"
c:identifier="gst_discoverer_discover_uri"
version="0.10.31"
throws="1">
<doc xml:whitespace="preserve">Synchronously discovers the given @uri.
A copy of @uri will be made internally, so the caller can safely g_free()
afterwards.
error occurred.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the result of the scanning. Can be %NULL if an</doc>
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:whitespace="preserve">The URI to run on.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="discover_uri_async"
c:identifier="gst_discoverer_discover_uri_async"
version="0.10.31">
<doc xml:whitespace="preserve">Appends the given @uri to the list of URIs to discoverer. The actual
discovery of the @uri will only take place if gst_discoverer_start() has
been called.
A copy of @uri will be made internally, so the caller can safely g_free()
afterwards.
uris, else %FALSE</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the @uri was succesfully appended to the list of pending</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="uri" transfer-ownership="none">
<doc xml:whitespace="preserve">the URI to add.</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</method>
<method name="start"
c:identifier="gst_discoverer_start"
version="0.10.31">
<doc xml:whitespace="preserve">Allow asynchronous discovering of URIs to take place.
A #GMainLoop must be available for #GstDiscoverer to properly work in
asynchronous mode.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="stop" c:identifier="gst_discoverer_stop" version="0.10.31">
<doc xml:whitespace="preserve">Stop the discovery of any pending URIs and clears the list of
pending URIS (if any).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<property name="timeout"
writable="1"
construct="1"
transfer-ownership="none">
<doc xml:whitespace="preserve">The duration (in nanoseconds) after which the discovery of an individual
URI will timeout.
If the discovery of a URI times out, the %GST_DISCOVERER_TIMEOUT will be
set on the result flags.</doc>
<type name="guint64"/>
</property>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv">
<type name="DiscovererPrivate" c:type="GstDiscovererPrivate*"/>
</field>
<field name="_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
<glib:signal name="discovered">
<doc xml:whitespace="preserve">Will be emitted when all information on a URI could be discovered.</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
<parameters>
<parameter name="info" transfer-ownership="none">
<doc xml:whitespace="preserve">the results #GstDiscovererInfo</doc>
<type name="DiscovererInfo"/>
</parameter>
<parameter name="error" transfer-ownership="none">
<doc xml:whitespace="preserve">#GError, which will be non-NULL if an error occurred during discovery</doc>
<type name="GLib.Error"/>
</parameter>
</parameters>
</glib:signal>
<glib:signal name="finished">
<doc xml:whitespace="preserve">Will be emitted when all pending URIs have been processed.</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
</glib:signal>
<glib:signal name="starting">
<doc xml:whitespace="preserve">Will be emitted when the discover starts analyzing the pending URIs</doc>
<return-value transfer-ownership="none">
<type name="none"/>
</return-value>
</glib:signal>
</class>
<class name="DiscovererAudioInfo"
c:symbol-prefix="discoverer_audio_info"
c:type="GstDiscovererAudioInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererAudioInfo"
glib:get-type="gst_discoverer_audio_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to audio streams.</doc>
<method name="get_bitrate"
c:identifier="gst_discoverer_audio_info_get_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the average or nominal bitrate of the stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_channels"
c:identifier="gst_discoverer_audio_info_get_channels"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the number of channels in the stream.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_depth"
c:identifier="gst_discoverer_audio_info_get_depth"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the number of bits used per sample in each channel.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_max_bitrate"
c:identifier="gst_discoverer_audio_info_get_max_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the maximum bitrate of the stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_sample_rate"
c:identifier="gst_discoverer_audio_info_get_sample_rate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the sample rate of the stream in Hertz.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
</class>
<record name="DiscovererClass"
c:type="GstDiscovererClass"
glib:is-gtype-struct-for="Discoverer">
<field name="parentclass">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="finished">
<callback name="finished">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="starting">
<callback name="starting">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="discovered">
<callback name="discovered">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="discoverer" transfer-ownership="none">
<type name="Discoverer" c:type="GstDiscoverer*"/>
</parameter>
<parameter name="info" transfer-ownership="none">
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</parameter>
<parameter name="err" transfer-ownership="none">
<type name="GLib.Error" c:type="GError*"/>
</parameter>
</parameters>
</callback>
</field>
<field name="_reserved">
<array zero-terminated="0" c:type="gpointer" fixed-size="4">
<type name="gpointer" c:type="gpointer"/>
</array>
</field>
</record>
<class name="DiscovererContainerInfo"
c:symbol-prefix="discoverer_container_info"
c:type="GstDiscovererContainerInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererContainerInfo"
glib:get-type="gst_discoverer_container_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to container streams.</doc>
<method name="get_streams"
c:identifier="gst_discoverer_container_info_get_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo this container stream offers.
Free with gst_discoverer_stream_info_list_free() after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the list of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
</class>
<class name="DiscovererInfo"
c:symbol-prefix="discoverer_info"
c:type="GstDiscovererInfo"
version="0.10.31"
parent="Gst.MiniObject"
glib:type-name="GstDiscovererInfo"
glib:get-type="gst_discoverer_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Structure containing the information of a URI analyzed by #GstDiscoverer.</doc>
<method name="copy"
c:identifier="gst_discoverer_info_copy"
introspectable="0">
<return-value>
<type name="DiscovererInfo" c:type="GstDiscovererInfo*"/>
</return-value>
</method>
<method name="get_audio_streams"
c:identifier="gst_discoverer_info_get_audio_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererAudioInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_container_streams"
c:identifier="gst_discoverer_info_get_container_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererContainerInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_duration"
c:identifier="gst_discoverer_info_get_duration"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the duration of the URI in #GstClockTime (nanoseconds).</doc>
<type name="Gst.ClockTime" c:type="GstClockTime"/>
</return-value>
</method>
<method name="get_misc"
c:identifier="gst_discoverer_info_get_misc"
version="0.10.31">
<doc xml:whitespace="preserve">(for example: information about missing plugins). If you wish to use the
#GstStructure after the life-time of @info, you will need to copy it.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">Miscellaneous information stored as a #GstStructure</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
</method>
<method name="get_result"
c:identifier="gst_discoverer_info_get_result"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the result of the discovery as a #GstDiscovererResult.</doc>
<type name="DiscovererResult" c:type="GstDiscovererResult"/>
</return-value>
</method>
<method name="get_seekable"
c:identifier="gst_discoverer_info_get_seekable"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the wheter the URI is seekable.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="get_stream_info"
c:identifier="gst_discoverer_info_get_stream_info"
version="0.10.31">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo.
This structure can be traversed to see the original hierarchy. Unref with
gst_discoverer_stream_info_unref() after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the structure (or topology) of the URI as a</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_stream_list"
c:identifier="gst_discoverer_info_get_stream_list"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">all streams contained in the #info. Free after usage
with gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the list of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
<method name="get_streams"
c:identifier="gst_discoverer_info_get_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds the #GstDiscovererStreamInfo contained in @info that match the
given @streamtype.
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
<parameters>
<parameter name="streamtype" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GType derived from #GstDiscovererStreamInfo</doc>
<type name="GType" c:type="GType"/>
</parameter>
</parameters>
</method>
<method name="get_tags"
c:identifier="gst_discoverer_info_get_tags"
version="0.10.31">
<doc xml:whitespace="preserve">the tags after the life-time of @info, you will need to copy them.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">all tags contained in the %URI. If you wish to use</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
</method>
<method name="get_uri"
c:identifier="gst_discoverer_info_get_uri"
version="0.10.31">
<doc xml:whitespace="preserve">Copy it if you wish to use it after the life-time of @info.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the URI to which this information corresponds to.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_video_streams"
c:identifier="gst_discoverer_info_get_video_streams"
version="0.10.31"
introspectable="0">
<doc xml:whitespace="preserve">Finds all the #GstDiscovererVideoInfo contained in @info
matching #GstDiscovererStreamInfo. The caller should free it with
gst_discoverer_stream_info_list_free().</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">A #GList of</doc>
<type name="GLib.List" c:type="GList*">
<type name="Gst.DiscovererStreamInfo"/>
</type>
</return-value>
</method>
</class>
<record name="DiscovererPrivate"
c:type="GstDiscovererPrivate"
disguised="1">
</record>
<enumeration name="DiscovererResult"
version="0.10.31"
glib:type-name="GstDiscovererResult"
glib:get-type="gst_discoverer_result_get_type"
c:type="GstDiscovererResult">
<doc xml:whitespace="preserve">Result values for the discovery process.</doc>
<member name="ok"
value="0"
c:identifier="GST_DISCOVERER_OK"
glib:nick="ok"/>
<member name="uri_invalid"
value="1"
c:identifier="GST_DISCOVERER_URI_INVALID"
glib:nick="uri-invalid"/>
<member name="error"
value="2"
c:identifier="GST_DISCOVERER_ERROR"
glib:nick="error"/>
<member name="timeout"
value="3"
c:identifier="GST_DISCOVERER_TIMEOUT"
glib:nick="timeout"/>
<member name="busy"
value="4"
c:identifier="GST_DISCOVERER_BUSY"
glib:nick="busy"/>
<member name="missing_plugins"
value="5"
c:identifier="GST_DISCOVERER_MISSING_PLUGINS"
glib:nick="missing-plugins"/>
</enumeration>
<class name="DiscovererStreamInfo"
c:symbol-prefix="discoverer_stream_info"
c:type="GstDiscovererStreamInfo"
version="0.10.31"
parent="Gst.MiniObject"
glib:type-name="GstDiscovererStreamInfo"
glib:get-type="gst_discoverer_stream_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Base structure for information concerning a media stream. Depending on the
stream type, one can find more media-specific information in
#GstDiscovererAudioInfo, #GstDiscovererVideoInfo, and
#GstDiscovererContainerInfo.
The #GstDiscovererStreamInfo represents the topology of the stream. Siblings
can be iterated over with gst_discoverer_stream_info_get_next() and
gst_discoverer_stream_info_get_previous(). Children (sub-streams) of a
stream can be accessed using the #GstDiscovererContainerInfo API.
As a simple example, if you run #GstDiscoverer on an AVI file with one audio
and one video stream, you will get a #GstDiscovererContainerInfo
corresponding to the AVI container, which in turn will have a
#GstDiscovererAudioInfo sub-stream and a #GstDiscovererVideoInfo sub-stream
for the audio and video streams respectively.</doc>
<function name="list_free"
c:identifier="gst_discoverer_stream_info_list_free">
<doc xml:whitespace="preserve">Decrements the reference count of all contained #GstDiscovererStreamInfo
and fress the #GList.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="infos" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GList of #GstDiscovererStreamInfo</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</parameter>
</parameters>
</function>
<method name="get_caps"
c:identifier="gst_discoverer_stream_info_get_caps"
version="0.10.31">
<doc xml:whitespace="preserve">#gst_caps_unref after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the #GstCaps of the stream. Unref with</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_misc"
c:identifier="gst_discoverer_stream_info_get_misc"
version="0.10.31">
<doc xml:whitespace="preserve">example codec version, profile, etc..). If you wish to use the #GstStructure
after the life-time of @info you will need to copy it.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">additional information regarding the stream (for</doc>
<type name="Gst.Structure" c:type="GstStructure*"/>
</return-value>
</method>
<method name="get_next"
c:identifier="gst_discoverer_stream_info_get_next"
version="0.10.31">
<doc xml:whitespace="preserve">for final streams.
Unref with #gst_discoverer_stream_info_unref after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the next #GstDiscovererStreamInfo in a chain. %NULL</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_previous"
c:identifier="gst_discoverer_stream_info_get_previous"
version="0.10.31">
<doc xml:whitespace="preserve">%NULL for starting points. Unref with #gst_discoverer_stream_info_unref
after usage.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the previous #GstDiscovererStreamInfo in a chain.</doc>
<type name="DiscovererStreamInfo" c:type="GstDiscovererStreamInfo*"/>
</return-value>
</method>
<method name="get_stream_type_nick"
c:identifier="gst_discoverer_stream_info_get_stream_type_nick"
version="0.10.31">
<doc xml:whitespace="preserve">"container",...).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">a human readable name for the stream type of the given @info (ex : "audio",</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_tags"
c:identifier="gst_discoverer_stream_info_get_tags"
version="0.10.31">
<doc xml:whitespace="preserve">use the tags after the life-time of @info you will need to copy them.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the tags contained in this stream. If you wish to</doc>
<type name="Gst.TagList" c:type="GstTagList*"/>
</return-value>
</method>
</class>
<class name="DiscovererVideoInfo"
c:symbol-prefix="discoverer_video_info"
c:type="GstDiscovererVideoInfo"
version="0.10.31"
parent="DiscovererStreamInfo"
glib:type-name="GstDiscovererVideoInfo"
glib:get-type="gst_discoverer_video_info_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">#GstDiscovererStreamInfo specific to video streams (this includes images).</doc>
<method name="get_bitrate"
c:identifier="gst_discoverer_video_info_get_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the average or nominal bitrate of the video stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_depth"
c:identifier="gst_discoverer_video_info_get_depth"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the depth in bits of the video stream.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_framerate_denom"
c:identifier="gst_discoverer_video_info_get_framerate_denom"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the framerate of the video stream (denominator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_framerate_num"
c:identifier="gst_discoverer_video_info_get_framerate_num"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the framerate of the video stream (numerator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_height"
c:identifier="gst_discoverer_video_info_get_height"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the height of the video stream in pixels.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_max_bitrate"
c:identifier="gst_discoverer_video_info_get_max_bitrate"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the maximum bitrate of the video stream in bits/second.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_par_denom"
c:identifier="gst_discoverer_video_info_get_par_denom"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (denominator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_par_num"
c:identifier="gst_discoverer_video_info_get_par_num"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the Pixel Aspect Ratio (PAR) of the video stream (numerator).</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_width"
c:identifier="gst_discoverer_video_info_get_width"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the width of the video stream in pixels.</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="is_image"
c:identifier="gst_discoverer_video_info_is_image"
version="0.10.31">
<doc xml:whitespace="preserve">one frame).</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">#TRUE if the video stream corresponds to an image (i.e. only contains</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="is_interlaced"
c:identifier="gst_discoverer_video_info_is_interlaced"
version="0.10.31">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the stream is interlaced, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
</class>
<constant name="ENCODING_CATEGORY_CAPTURE" value="capture">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_DEVICE" value="device">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_ONLINE_SERVICE" value="online-service">
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="ENCODING_CATEGORY_STORAGE_EDITING" value="storage-editing">
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="EncodingAudioProfile"
c:symbol-prefix="encoding_audio_profile"
c:type="GstEncodingAudioProfile"
version="0.10.32"
parent="EncodingProfile"
glib:type-name="GstEncodingAudioProfile"
glib:get-type="gst_encoding_audio_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Variant of #GstEncodingProfile for audio streams.</doc>
<constructor name="new"
c:identifier="gst_encoding_audio_profile_new"
version="0.10.32">
<doc xml:whitespace="preserve">Creates a new #GstEncodingAudioProfile
All provided allocatable arguments will be internally copied, so can be
safely freed/unreferenced after calling this method.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">the newly created #GstEncodingAudioProfile.</doc>
<type name="EncodingAudioProfile" c:type="GstEncodingAudioProfile*"/>
</return-value>
<parameters>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">the preset(s) to use on the encoder, can be #NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="restriction" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps used to restrict the input to the encoder, can be NULL. See gst_encoding_profile_get_restriction() for more details.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="presence" transfer-ownership="none">
<doc xml:whitespace="preserve">the number of time this stream must be used. 0 means any number of times (including never)</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
</constructor>
</class>
<class name="EncodingContainerProfile"
c:symbol-prefix="encoding_container_profile"
c:type="GstEncodingContainerProfile"
version="0.10.32"
parent="EncodingProfile"
glib:type-name="GstEncodingContainerProfile"
glib:get-type="gst_encoding_container_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">Encoding profiles for containers. Keeps track of a list of #GstEncodingProfile</doc>
<constructor name="new"
c:identifier="gst_encoding_container_profile_new"
version="0.10.32">
<doc xml:whitespace="preserve">Creates a new #GstEncodingContainerProfile.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The newly created #GstEncodingContainerProfile.</doc>
<type name="EncodingContainerProfile"
c:type="GstEncodingContainerProfile*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the container profile, can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="description" transfer-ownership="none">
<doc xml:whitespace="preserve">The description of the container profile, can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:whitespace="preserve">The format to use for this profile</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</parameter>
<parameter name="preset" transfer-ownership="none">
<doc xml:whitespace="preserve">The preset to use for this profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="add_profile"
c:identifier="gst_encoding_container_profile_add_profile"
version="0.10.32">
<doc xml:whitespace="preserve">Add a #GstEncodingProfile to the list of profiles handled by @container.
No copy of @profile will be made, if you wish to use it elsewhere after this
method you should increment its reference count.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if the @stream was properly added, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="profile" transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstEncodingProfile to add.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="contains_profile"
c:identifier="gst_encoding_container_profile_contains_profile"
version="0.10.32">
<doc xml:whitespace="preserve">Checks if @container contains a #GstEncodingProfile identical to
to @profile, else %FALSE.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @container contains a #GstEncodingProfile identical</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="profile" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="get_profiles"
c:identifier="gst_encoding_container_profile_get_profiles">
<return-value transfer-ownership="none">
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</return-value>
</method>
</class>
<class name="EncodingProfile"
c:symbol-prefix="encoding_profile"
c:type="GstEncodingProfile"
version="0.10.32"
parent="Gst.MiniObject"
glib:type-name="GstEncodingProfile"
glib:get-type="gst_encoding_profile_get_type"
glib:fundamental="1">
<doc xml:whitespace="preserve">The opaque base class object for all encoding profiles. This contains generic
information like name, description, format and preset.</doc>
<function name="find"
c:identifier="gst_encoding_profile_find"
version="0.10.32">
<doc xml:whitespace="preserve">Find the #GstEncodingProfile with the specified name and category.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The matching #GstEncodingProfile or %NULL.</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</return-value>
<parameters>
<parameter name="targetname" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the target</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="profilename" transfer-ownership="none">
<doc xml:whitespace="preserve">The name of the profile</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="category" transfer-ownership="none" allow-none="1">
<doc xml:whitespace="preserve">The target category. Can be %NULL</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</function>
<method name="get_description"
c:identifier="gst_encoding_profile_get_description"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the description of the profile, can be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_format"
c:identifier="gst_encoding_profile_get_format"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the #GstCaps corresponding to the media format used in the profile.</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_input_caps"
c:identifier="gst_encoding_profile_get_input_caps"
version="0.10.32">
<doc xml:whitespace="preserve">Computes the full output caps that this @profile will be able to consume.
when you are done with the caps.</doc>
<return-value transfer-ownership="full">
<doc xml:whitespace="preserve">The full caps the given @profile can consume. Call gst_caps_unref()</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_name"
c:identifier="gst_encoding_profile_get_name"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the profile, can be %NULL.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_presence"
c:identifier="gst_encoding_profile_get_presence"
version="0.10.32">
<doc xml:whitespace="preserve">container profile. If 0, it is not a mandatory stream.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The number of times the profile is used in its parent</doc>
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_preset"
c:identifier="gst_encoding_profile_get_preset"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the name of the #GstPreset to be used in the profile.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="get_restriction"
c:identifier="gst_encoding_profile_get_restriction"
version="0.10.32">
<doc xml:whitespace="preserve">that will be used in the profile. The fields present in restriction caps are
properties of the raw stream (that is before encoding), such as height and
width for video and depth and sampling rate for audio. Does not apply to
#GstEncodingContainerProfile (since there is no corresponding raw stream).
Can be %NULL.</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">The restriction #GstCaps to apply before the encoder</doc>
<type name="Gst.Caps" c:type="GstCaps*"/>
</return-value>
</method>
<method name="get_type_nick"
c:identifier="gst_encoding_profile_get_type_nick"
version="0.10.32">
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">the human-readable name of the type of @profile.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</method>
<method name="is_equal"
c:identifier="gst_encoding_profile_is_equal"
version="0.10.32">
<doc xml:whitespace="preserve">Checks whether the two #GstEncodingProfile are equal</doc>
<return-value transfer-ownership="none">
<doc xml:whitespace="preserve">%TRUE if @a and @b are equal, else %FALSE.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="b" transfer-ownership="none">
<doc xml:whitespace="preserve">a #GstEncodingProfile</doc>
<type name="EncodingProfile" c:type="GstEncodingProfile*"/>
</parameter>
</parameters>
</method>
<method name="set_description"
c:identifier="gst_encoding_profile_set_description"
version="0.10.32">
<doc xml:whitespace="preserve">Set @description as the given description for the @profile. A copy of @description will be made
internally.</doc>
<return-value transfer-ownership="none">