[Bug 706628] New: v4l2src hangs opening device
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Aug 22 19:00:34 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=706628
GStreamer | gst-plugins-good | 1.1.3
Summary: v4l2src hangs opening device
Classification: Platform
Product: GStreamer
Version: 1.1.3
OS/Version: Linux
Status: UNCONFIRMED
Severity: major
Priority: Normal
Component: gst-plugins-good
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: steve.roskowski at gmail.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
I have 2 versions of gstreamer installed on my centos 6 box. xx.10, the default
install works fine for gst-inspect v4l2src.
I have done a full download of the 1.1.3 release (gstreamer,base,good...)
sources and done a source build and installed into an independent directory.
Everything else works fine, but v4l2src hangs. gst-inspect v4l2src prints
everything up to device name, then hangs.
********************************************0.10...
/usr/bin/gst-inspect-0.10 v4l2src
Factory Details:
Long name: Video (video4linux2) Source
Class: Source/Video
Description: Reads frames from a video4linux2 (BT8x8) device
Author(s): Edgard Lima <edgard.lima at indt.org.br>, Stefan Kost
<ensonic at users.sf.net>
Rank: primary (256)
Plugin Details:
Name: video4linux2
Description: elements for Video 4 Linux
Filename: /usr/lib64/gstreamer-0.10/libgstvideo4linux2.so
Version: 0.10.23
License: LGPL
Source module: gst-plugins-good
Binary package: Fedora gstreamer-plugins-good package
Origin URL: http://download.fedora.redhat.com/fedora
GObject
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----GstV4l2Src
Implemented Interfaces:
GstURIHandler
GstImplementsInterface
GstTuner
GstColorBalance
GstVideoOrientation
GstPropertyProbe
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw-rgb
bpp: 8
depth: 8
red_mask: 224
green_mask: 28
blue_mask: 3
endianness: 1234
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 16
depth: 15
red_mask: 31744
green_mask: 992
blue_mask: 31
endianness: 1234
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 16
depth: 16
red_mask: 63488
green_mask: 2016
blue_mask: 31
endianness: 1234
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 16
depth: 15
red_mask: 31744
green_mask: 992
blue_mask: 31
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 16
depth: 16
red_mask: 63488
green_mask: 2016
blue_mask: 31
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 24
depth: 24
red_mask: 255
green_mask: 65280
blue_mask: 16711680
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 24
depth: 24
red_mask: 16711680
green_mask: 65280
blue_mask: 255
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 32
depth: 32
red_mask: 255
green_mask: 65280
blue_mask: 16711680
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-rgb
bpp: 32
depth: 32
red_mask: -16777216
green_mask: 16711680
blue_mask: 65280
endianness: 4321
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-gray
bpp: 8
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: YVU9
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: YV12
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: YUY2
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: UYVY
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: Y42B
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: Y41B
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: Y41P
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: NV12
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: NV21
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: YUV9
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: I420
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-bayer
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
image/jpeg
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
image/jpeg
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-dv
systemstream: true
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/mpegts
video/x-sonix
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-pwc1
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-pwc2
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw-yuv
format: YVYU
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
Element Flags:
no flags set
Element Implementation:
Has change_state() function: 0x7f05632f21a0
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
URI handling capabilities:
Element can act as source.
Supported URI protocols:
v4l2
Pads:
SRC: 'src'
Implementation:
Has getrangefunc(): gst_base_src_pad_get_range
Has custom eventfunc(): gst_base_src_event_handler
Has custom queryfunc(): gst_base_src_query
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "v4l2src0"
blocksize : Size in bytes to read per buffer (-1 = default)
flags: readable, writable
Unsigned Long. Range: 0 - 18446744073709551615 Default:
4096 Current: 4096
num-buffers : Number of buffers to output before sending EOS (-1 =
unlimited)
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1 Current: -1
typefind : Run typefind before negotiating
flags: readable, writable
Boolean. Default: false Current: false
do-timestamp : Apply current stream time to buffers
flags: readable, writable
Boolean. Default: false Current: false
device : Device location
flags: readable, writable
String. Default: "/dev/video0" Current: "/dev/video0"
device-name : Name of the device
flags: readable
String. Default: null Current: "BT878 video (Geovision
GV-800(S"
device-fd : File descriptor of the device
flags: readable
Integer. Range: -1 - 2147483647 Default: -1 Current: -1
flags : Device type flags
flags: readable
Flags "GstV4l2DeviceTypeFlags" Default: 0x00000000,
"(none)" Current: 0x00000000, "(none)"
(0x00000001): capture - Device supports
video capture
(0x00000002): output - Device supports
video playback
(0x00000004): overlay - Device supports
video overlay
(0x00000010): vbi-capture - Device supports the
VBI capture
(0x00000020): vbi-output - Device supports the
VBI output
(0x00010000): tuner - Device has a tuner
or modulator
(0x00020000): audio - Device has audio
inputs or outputs
queue-size : Number of buffers to be enqueud in the driver in
streaming mode
flags: readable, writable
Unsigned Integer. Range: 1 - 16 Default: 2 Current: 2
always-copy : If the buffer will or not be used directly from mmap
flags: readable, writable
Boolean. Default: true Current: true
****************************** 1.1.3 version
/opt/een/bin/gst-inspect-1.0 v4l2src
Factory Details:
Rank primary (256)
Long-name Video (video4linux2) Source
Klass Source/Video
Description Reads frames from a Video4Linux2 device
Author Edgard Lima <edgard.lima at indt.org.br>, Stefan Kost
<ensonic at users.sf.net>
Plugin Details:
Name video4linux2
Description elements for Video 4 Linux
Filename /opt/een/lib/gstreamer-1.0/libgstvideo4linux2.so
Version 1.1.3
License LGPL
Source module gst-plugins-good
Source release date 2013-07-29
Binary package GStreamer Good Plug-ins source release
Origin URL Unknown package origin
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseSrc
+----GstPushSrc
+----GstV4l2Src
Implemented Interfaces:
GstURIHandler
GstTuner
GstColorBalance
GstVideoOrientation
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
video/x-raw
format: RGB15
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: RGB16
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: BGR
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: RGB
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: BGRx
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: RGBx
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: GRAY8
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: YVU9
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: YV12
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: YUY2
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: UYVY
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: Y42B
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: Y41B
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: NV12
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: NV21
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: YUV9
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: I420
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-bayer
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
image/jpeg
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
image/jpeg
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
image/jpeg
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-dv
systemstream: true
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/mpegts
video/x-sonix
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-pwc1
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-pwc2
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
video/x-raw
format: YVYU
width: [ 1, 32768 ]
height: [ 1, 32768 ]
framerate: [ 0/1, 100/1 ]
Element Flags:
no flags set
Element Implementation:
Has change_state() function: 0x7f087407f5a0
Element has no clocking capabilities.
Element has no indexing capabilities.
URI handling capabilities:
Element can act as source.
Supported URI protocols:
v4l2
Pads:
SRC: 'src'
Implementation:
Has getrangefunc(): gst_base_src_getrange
Has custom eventfunc(): gst_base_src_event
Has custom queryfunc(): gst_base_src_query
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "v4l2src0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
blocksize : Size in bytes to read per buffer (-1 = default)
flags: readable, writable
Unsigned Integer. Range: 0 - 4294967295 Default: 4096
num-buffers : Number of buffers to output before sending EOS (-1 =
unlimited)
flags: readable, writable
Integer. Range: -1 - 2147483647 Default: -1
typefind : Run typefind before negotiating
flags: readable, writable
Boolean. Default: false
do-timestamp : Apply current stream time to buffers
flags: readable, writable
Boolean. Default: false
device : Device location
flags: readable, writable
String. Default: "/dev/video0"
device-name : Name of the device
and hangs there forever.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list