質問編集履歴
2
開発環境の追記。
test
CHANGED
File without changes
|
test
CHANGED
@@ -154,4 +154,188 @@
|
|
154
154
|
|
155
155
|
Pad Template: 'src'
|
156
156
|
|
157
|
+
|
158
|
+
|
159
|
+
Element Properties:
|
160
|
+
|
161
|
+
blocksize : Size in bytes to read per buffer (-1 = default)
|
162
|
+
|
163
|
+
flags: readable, writable
|
164
|
+
|
165
|
+
Unsigned Integer. Range: 0 - 4294967295 Default: 4096
|
166
|
+
|
167
|
+
can-activate-pull : Can activate in pull mode
|
168
|
+
|
169
|
+
flags: readable, writable
|
170
|
+
|
171
|
+
Boolean. Default: true
|
172
|
+
|
173
|
+
can-activate-push : Can activate in push mode
|
174
|
+
|
175
|
+
flags: readable, writable
|
176
|
+
|
177
|
+
Boolean. Default: true
|
178
|
+
|
179
|
+
data : Data allocation method
|
180
|
+
|
181
|
+
flags: readable, writable
|
182
|
+
|
183
|
+
Enum "GstFakeSrcDataType" Default: 1, "allocate"
|
184
|
+
|
185
|
+
(1): allocate - Allocate data
|
186
|
+
|
187
|
+
(2): subbuffer - Subbuffer data
|
188
|
+
|
189
|
+
datarate : Timestamps buffers with number of bytes per second (0 = none)
|
190
|
+
|
191
|
+
flags: readable, writable
|
192
|
+
|
193
|
+
Integer. Range: 0 - 2147483647 Default: 0
|
194
|
+
|
195
|
+
do-timestamp : Apply current stream time to buffers
|
196
|
+
|
197
|
+
flags: readable, writable
|
198
|
+
|
199
|
+
Boolean. Default: false
|
200
|
+
|
201
|
+
dump : Dump buffer contents to stdout
|
202
|
+
|
203
|
+
flags: readable, writable
|
204
|
+
|
205
|
+
Boolean. Default: false
|
206
|
+
|
207
|
+
filltype : How to fill the buffer, if at all
|
208
|
+
|
209
|
+
flags: readable, writable
|
210
|
+
|
211
|
+
Enum "GstFakeSrcFillType" Default: 1, "nothing"
|
212
|
+
|
213
|
+
(1): nothing - Leave data as malloced
|
214
|
+
|
215
|
+
(2): zero - Fill buffers with zeros
|
216
|
+
|
217
|
+
(3): random - Fill buffers with random data
|
218
|
+
|
219
|
+
(4): pattern - Fill buffers with pattern 0x00 -> 0xff
|
220
|
+
|
221
|
+
(5): pattern-span - Fill buffers with pattern 0x00 -> 0xff that spans buffers
|
222
|
+
|
223
|
+
format : The format of the segment events
|
224
|
+
|
225
|
+
flags: readable, writable
|
226
|
+
|
227
|
+
Enum "GstFormat" Default: 2, "bytes"
|
228
|
+
|
229
|
+
(0): undefined - GST_FORMAT_UNDEFINED
|
230
|
+
|
231
|
+
(1): default - GST_FORMAT_DEFAULT
|
232
|
+
|
233
|
+
(2): bytes - GST_FORMAT_BYTES
|
234
|
+
|
235
|
+
(3): time - GST_FORMAT_TIME
|
236
|
+
|
237
|
+
(4): buffers - GST_FORMAT_BUFFERS
|
238
|
+
|
239
|
+
(5): percent - GST_FORMAT_PERCENT
|
240
|
+
|
241
|
+
is-live : True if the element cannot produce data in PAUSED
|
242
|
+
|
243
|
+
flags: readable, writable
|
244
|
+
|
245
|
+
Boolean. Default: false
|
246
|
+
|
247
|
+
last-message : The last status message
|
248
|
+
|
249
|
+
flags: readable
|
250
|
+
|
251
|
+
String. Default: null
|
252
|
+
|
253
|
+
name : The name of the object
|
254
|
+
|
255
|
+
flags: readable, writable
|
256
|
+
|
257
|
+
String. Default: "fakesrc0"
|
258
|
+
|
259
|
+
num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)
|
260
|
+
|
261
|
+
flags: readable, writable
|
262
|
+
|
263
|
+
Integer. Range: -1 - 2147483647 Default: -1
|
264
|
+
|
265
|
+
parent : The parent of the object
|
266
|
+
|
267
|
+
flags: readable, writable
|
268
|
+
|
269
|
+
Object of type "GstObject"
|
270
|
+
|
271
|
+
parentsize : Size of parent buffer for sub-buffered allocation
|
272
|
+
|
273
|
+
flags: readable, writable
|
274
|
+
|
275
|
+
Integer. Range: 0 - 2147483647 Default: 40960
|
276
|
+
|
277
|
+
pattern : Set the pattern (unused)
|
278
|
+
|
279
|
+
flags: readable, writable
|
280
|
+
|
281
|
+
String. Default: null
|
282
|
+
|
283
|
+
signal-handoffs : Send a signal before pushing the buffer
|
284
|
+
|
285
|
+
flags: readable, writable
|
286
|
+
|
287
|
+
Boolean. Default: false
|
288
|
+
|
289
|
+
silent : Don't produce last_message events
|
290
|
+
|
291
|
+
flags: readable, writable
|
292
|
+
|
293
|
+
Boolean. Default: true
|
294
|
+
|
295
|
+
sizemax : Maximum buffer size
|
296
|
+
|
297
|
+
flags: readable, writable
|
298
|
+
|
299
|
+
Integer. Range: 0 - 2147483647 Default: 4096
|
300
|
+
|
301
|
+
sizemin : Minimum buffer size
|
302
|
+
|
303
|
+
flags: readable, writable
|
304
|
+
|
305
|
+
Integer. Range: 0 - 2147483647 Default: 0
|
306
|
+
|
307
|
+
sizetype : How to determine buffer sizes
|
308
|
+
|
309
|
+
flags: readable, writable
|
310
|
+
|
311
|
+
Enum "GstFakeSrcSizeType" Default: 1, "empty"
|
312
|
+
|
313
|
+
(1): empty - Send empty buffers
|
314
|
+
|
315
|
+
(2): fixed - Fixed size buffers (sizemax sized)
|
316
|
+
|
317
|
+
(3): random - Random sized buffers (sizemin <= size <= sizemax)
|
318
|
+
|
319
|
+
sync : Sync to the clock to the datarate
|
320
|
+
|
321
|
+
flags: readable, writable
|
322
|
+
|
323
|
+
Boolean. Default: false
|
324
|
+
|
325
|
+
typefind : Run typefind before negotiating (deprecated, non-functional)
|
326
|
+
|
327
|
+
flags: readable, writable, deprecated
|
328
|
+
|
329
|
+
Boolean. Default: false
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
Element Signals:
|
334
|
+
|
335
|
+
"handoff" : void user_function (GstElement* object,
|
336
|
+
|
337
|
+
GstBuffer* arg0,
|
338
|
+
|
157
|
-
|
339
|
+
GstPad* arg1,
|
340
|
+
|
341
|
+
gpointer user_data);
|
1
開発環境の追記。
test
CHANGED
File without changes
|
test
CHANGED
@@ -65,3 +65,93 @@
|
|
65
65
|
リファレンスにありますが、何故要素が作成できないのか分かりません。
|
66
66
|
|
67
67
|
原因、解決方法が分かる方がおられましたら、宜しくお願い致します。
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
追記
|
72
|
+
|
73
|
+
以下の環境で実行しています。
|
74
|
+
|
75
|
+
OS:Windows 10 64bit
|
76
|
+
|
77
|
+
統合開発環境:Visual Studio Express 2013 for Windows Desktop
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
また、「gst-inspect-1.0 fakesrc」を実行すると以下の結果が得られます。
|
82
|
+
|
83
|
+
WARNING: no real random source present!
|
84
|
+
|
85
|
+
Factory Details:
|
86
|
+
|
87
|
+
Rank none (0)
|
88
|
+
|
89
|
+
Long-name Fake Source
|
90
|
+
|
91
|
+
Klass Source
|
92
|
+
|
93
|
+
Description Push empty (no data) buffers around
|
94
|
+
|
95
|
+
Author Erik Walthinsen <omega@cse.ogi.edu>, Wim Taymans <wim@fluendo.com>
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
Plugin Details:
|
100
|
+
|
101
|
+
Name coreelements
|
102
|
+
|
103
|
+
Description GStreamer core elements
|
104
|
+
|
105
|
+
Filename C:\gstreamer\1.0\x86_64\lib\gstreamer-1.0\libgstcoreelements.dll
|
106
|
+
|
107
|
+
Version 1.16.0
|
108
|
+
|
109
|
+
License LGPL
|
110
|
+
|
111
|
+
Source module gstreamer
|
112
|
+
|
113
|
+
Binary package GStreamer source release
|
114
|
+
|
115
|
+
Origin URL Unknown package origin
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
GObject
|
120
|
+
|
121
|
+
+----GInitiallyUnowned
|
122
|
+
|
123
|
+
+----GstObject
|
124
|
+
|
125
|
+
+----GstElement
|
126
|
+
|
127
|
+
+----GstBaseSrc
|
128
|
+
|
129
|
+
+----GstFakeSrc
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
Pad Templates:
|
134
|
+
|
135
|
+
SRC template: 'src'
|
136
|
+
|
137
|
+
Availability: Always
|
138
|
+
|
139
|
+
Capabilities:
|
140
|
+
|
141
|
+
ANY
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
Element has no clocking capabilities.
|
146
|
+
|
147
|
+
Element has no URI handling capabilities.
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
Pads:
|
152
|
+
|
153
|
+
SRC: 'src'
|
154
|
+
|
155
|
+
Pad Template: 'src'
|
156
|
+
|
157
|
+
・・・
|