| GStreamer Bad Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
GObject +----GstObject +----GstElement +----GstBaseTransform +----GstVideoFilter +----GstZBar
Detect bar codes in the video streams and send them as element messages to
the GstBus if ."message" property is TRUE.
The element generate messages named
"barcode". The structure containes these
fields:
GstClockTime
"timestamp":
the timestamp of the buffer that triggered the message.
gchar*
"type":
the symbol type.
gchar*
"symbol":
the deteted bar code data.
gint
"quality":
an unscaled, relative quantity: larger values are better than smaller
values.
1 |
gst-launch -m v4l2src ! ffmpegcolorspace ! zbar ! ffmpegcolorspace ! xvimagesink |
1 |
gst-launch -m v4l2src ! tee name=t ! queue ! ffmpegcolorspace ! zbar ! fakesink t. ! queue ! xvimagesink |