[gst-devel] Help needed to create a PVR schema

Ronald S. Bultje rbultje at ronald.bitfreak.net
Tue May 24 00:53:06 CEST 2005


On Tue, 24 May 2005, Claudio Bernardes wrote:
> > If it fails, I'll need error messages.
> As error i have this one:
> <__main__.GstV4l2Src object (GstV4l2Src) at 0x4021e2fc> Could not read
> from resource. v4l2src_calls.c(259): gst_v4l2src_capture_init:
> /player/video-source-thread/<source video V4L>:
> error requesting 2 buffers: Périphérique ou ressource occupé
> Generaly it's the video encoder(i have removed the audio section to
> simplify) which breaks.
> I think i do not make right caps negociation... because if i disconnect
> the video encoder part the display is right else i have a tiny windows
> without meaning and the encoder says he can't encode the buffer

I'm assuming your video encoder and display cannot agree on a common
colorspace. Add ffmpegcolorspaces before the encoder and before the
display (yes, you need two; the source, encoder and display may all
require another colorspace; if they don't, it'll automatically do the
right thing, so don't worry about overhead).


More information about the gstreamer-devel mailing list