[gst-devel] v4l2src problem ?
berti
bertrand.haut at brutele.be
Wed Aug 24 07:37:38 CEST 2005
I'm trying to build a pipe between my TV card and my screen where at least one
part of the pipe have the format "video/x-raw-rgb, bpp=24, red_mask=(int)255"
to insert a plugin I will (one day) develop.
My problem is the following: when I use
$ gst-launch-0.8 -v videotestsrc ! video/x-raw-rgb,bpp=24, red_mask=(int)255 !
ffmpegcolorspace ! ximagesink
it works good. But when I try
$gst-launch-0.8 -v v4l2src device=/dev/video1 ! video/x-raw-rgb, bpp=24,
red_mask=(int)255 ! ffmpegcolorspace ! ximagesink
I get the following error
EXECUTION du tube en cours ...
/pipeline0/v4l2src0: norm = "PAL"
/pipeline0/v4l2src0: channel = "Television"
/pipeline0/v4l2src0: frequency = 294249984
/pipeline0/v4l2src0: num-buffers = 2
/pipeline0/v4l2src0.src: caps = video/x-raw-rgb, bpp=(int)24, depth=(int)24,
red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)16711680,
endianness=(int)4321, width=(int)720, height=(int)576, framerate=(double)25,
pixel-aspect-ratio=(fraction)1/1
/pipeline0/ffmpegcolorspace0.sink: caps = video/x-raw-rgb, bpp=(int)24,
depth=(int)24, red_mask=(int)255, green_mask=(int)65280, blue_mask=(int)
16711680, endianness=(int)4321, width=(int)720, height=(int)576,
framerate=(double)25, pixel-aspect-ratio=(fraction)1/1
ERROR: from element /pipeline0/v4l2src0: Could not get buffers from device
"/dev/video1".
Additional debug info:
v4l2src_calls.c(259): gst_v4l2src_capture_init: /pipeline0/v4l2src0:
error requesting 2 buffers: Périphérique ou ressource occupé
ERROR: from element /pipeline0/v4l2src0: Could not get buffers from device
"/dev/video1".
Additional debug info:
v4l2src_calls.c(259): gst_v4l2src_capture_init: /pipeline0/v4l2src0:
error requesting 2 buffers: Périphérique ou ressource occupé
(process:25866): GStreamer-WARNING **: pads don't accept old caps. We assume
they did though
ERREUR: le tube refuse de s'executer.
/pipeline0/v4l2src0.src: caps = NULL
/pipeline0/ffmpegcolorspace0.sink: caps = NULL
Why does this error occur ? I thought v4l2src must be able to provide the
format asked
$gst-inspect-0.8 v4l2src
[...]
video/x-raw-rgb
bpp: 24
depth: 24
red_mask: 255
green_mask: 65280
blue_mask: 16711680
endianness: 4321
width: [ 1, 4096 ]
height: [ 1, 4096 ]
framerate: [ 0, 1.7976931348623157e+308 ]
[...]
Is this a bug of v4l2src or something else ?
Moreover, is somebody able to link a v4l2src to the screen passing through
"video/x-raw-rgb, bpp=24, red_mask=(int)255" format ?
--
Berti
ICQ 48978874
pgpkey B9514013C02E33FA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20050824/a8b11e62/attachment.pgp>
More information about the gstreamer-devel
mailing list