gstreamer v4l2src fails with device=
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gstreamer0.10 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have only one video device, it is /dev/video0.
This works:
$ gst-launch 'v4l2src ! xvimagesink'
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
(video plays)
This does not work:
$ gst-launch 'v4l2src device=/dev/video0 ! xvimagesink'
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:
Additional debug info:
gstbasesrc.c(2582): gst_base_src_loop (): /GstPipeline:
streaming task paused, reason not-linked (-1)
Execution ended after 2532703705 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
This means that I cannot read from video1, or use v4l2loopback or anything, since gstreamer apparently cannot deal with the device= setting.
For the record, here is part of gst-inspect v4l2src:
Element Properties:
name : The name of the object
blocksize : Size in bytes to read per buffer (-1 = default)
num-buffers : Number of buffers to output before sending EOS (-1 = unlimited)
typefind : Run typefind before negotiating
do-timestamp : Apply current stream time to buffers
device : Device location
device-name : Name of the device
device-fd : File descriptor of the device
flags : Device type flags
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gstreamer-tools 0.10.35-1
ProcVersionSign
Uname: Linux 3.0.0-13-generic x86_64
NonfreeKernelMo
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Dec 3 14:33:54 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gstreamer0.10
UpgradeStatus: Upgraded to oneiric on 2011-11-30 (3 days ago)
This works: mplayer tv:// -tv driver= v4l2:device= /dev/video1
This also works: gst-launch 'videotestsrc ! v4l2loopback' (built from github)
So the remaining thing that doesn't work is the stock plugin.