| 277 | === gst-inspect-1.0 |
| 278 | Gst-inspect-1.0 is included in our Yocto BSP. This is an excellent tool if you're unfamiar with the functionality of a Gstreamer module. |
| 279 | |
| 280 | Usage: |
| 281 | {{{#!bash |
| 282 | root@ventana:~# gst-inspect-1.0 imxv4l2videosrc ##imxv4l2videosrc is just an example this can be any gstreamer plugin. |
| 283 | Factory Details: |
| 284 | Rank primary (256) |
| 285 | Long-name V4L2 CSI Video Source |
| 286 | Klass Source/Video |
| 287 | Description Capture video streams using V4L2 CSI interface |
| 288 | Author Philip Craig <phil@blackmoth.com.au> |
| 289 | |
| 290 | Plugin Details: |
| 291 | Name imxv4l2videosrc |
| 292 | Description GStreamer i.MX V4L2 CSI video source |
| 293 | Filename /usr/lib/gstreamer-1.0/libgstimxv4l2videosrc.so |
| 294 | Version 0.11.1 |
| 295 | License LGPL |
| 296 | Source module gstreamer-imx |
| 297 | Binary package Unknown package release |
| 298 | Origin URL Unknown package origin |
| 299 | |
| 300 | GObject |
| 301 | +----GInitiallyUnowned |
| 302 | +----GstObject |
| 303 | +----GstElement |
| 304 | +----GstBaseSrc |
| 305 | +----GstPushSrc |
| 306 | +----GstImxV4l2VideoSrc |
| 307 | |
| 308 | Implemented Interfaces: |
| 309 | GstURIHandler |
| 310 | |
| 311 | Pad Templates: |
| 312 | SRC template: 'src' |
| 313 | Availability: Always |
| 314 | Capabilities: |
| 315 | video/x-raw |
| 316 | |
| 317 | |
| 318 | Element Flags: |
| 319 | no flags set |
| 320 | |
| 321 | Element Implementation: |
| 322 | Has change_state() function: gst_base_src_change_state |
| 323 | |
| 324 | Element has no clocking capabilities. |
| 325 | |
| 326 | URI handling capabilities: |
| 327 | Element can act as source. |
| 328 | Supported URI protocols: |
| 329 | imxv4l2 |
| 330 | |
| 331 | Pads: |
| 332 | SRC: 'src' |
| 333 | Implementation: |
| 334 | Has getrangefunc(): gst_base_src_getrange |
| 335 | Has custom eventfunc(): gst_base_src_event |
| 336 | Has custom queryfunc(): gst_base_src_query |
| 337 | Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default |
| 338 | Pad Template: 'src' |
| 339 | |
| 340 | Element Properties: |
| 341 | name : The name of the object |
| 342 | flags: readable, writable |
| 343 | String. Default: "imxv4l2videosrc0" |
| 344 | parent : The parent of the object |
| 345 | flags: readable, writable |
| 346 | Object of type "GstObject" |
| 347 | blocksize : Size in bytes to read per buffer (-1 = default) |
| 348 | flags: readable, writable |
| 349 | Unsigned Integer. Range: 0 - 4294967295 Default: 4096 |
| 350 | num-buffers : Number of buffers to output before sending EOS (-1 = unlimited) |
| 351 | flags: readable, writable |
| 352 | Integer. Range: -1 - 2147483647 Default: -1 |
| 353 | typefind : Run typefind before negotiating |
| 354 | flags: readable, writable |
| 355 | Boolean. Default: false |
| 356 | do-timestamp : Apply current stream time to buffers |
| 357 | flags: readable, writable |
| 358 | Boolean. Default: false |
| 359 | capture-mode : Capture mode of camera, varies with each v4l2 driver, |
| 360 | for example ov5460: |
| 361 | ov5640_mode_VGA_640_480 = 0, |
| 362 | ov5640_mode_QVGA_320_240 = 1, |
| 363 | ov5640_mode_NTSC_720_480 = 2, |
| 364 | ov5640_mode_PAL_720_576 = 3, |
| 365 | ov5640_mode_720P_1280_720 = 4, |
| 366 | ov5640_mode_1080P_1920_1080 = 5 |
| 367 | flags: readable, writable |
| 368 | Integer. Range: 0 - 2147483647 Default: 0 |
| 369 | fps-n : Numerator of the framerate at whichthe input stream is to be captured |
| 370 | flags: readable, writable |
| 371 | Integer. Range: 0 - 2147483647 Default: 30 |
| 372 | input : Video input selected with VIDIOC_S_INPUT |
| 373 | flags: readable, writable |
| 374 | Integer. Range: 0 - 2147483647 Default: 1 |
| 375 | device : Device location |
| 376 | flags: readable, writable |
| 377 | String. Default: "/dev/video0" |
| 378 | queue-size : Number of V4L2 buffers to request |
| 379 | flags: readable, writable |
| 380 | Integer. Range: 0 - 2147483647 Default: 6 |
| 381 | crop-meta-x : X value for crop metadata |
| 382 | flags: readable, writable |
| 383 | Integer. Range: 0 - 2147483647 Default: 0 |
| 384 | crop-meta-y : Y value for crop metadata |
| 385 | flags: readable, writable |
| 386 | Integer. Range: 0 - 2147483647 Default: 0 |
| 387 | crop-meta-width : WIDTH value for crop metadata |
| 388 | flags: readable, writable |
| 389 | Integer. Range: 0 - 2147483647 Default: 0 |
| 390 | crop-meta-height : HEIGHT value for crop metadata |
| 391 | flags: readable, writable |
| 392 | Integer. Range: 0 - 2147483647 Default: 0 |
| 393 | }}} |
| 394 | |