Newbie With v4l2sink/v4l2loopback Problem
Chuck Crisler
ccrisler at mutualink.net
Tue Jan 29 07:08:49 PST 2013
Other people on the forum have more experience with this card than I. This
seems like a pixel format compatibility issue. First, try this:
export GST_DEBUG=v4l2src:4,GST_PADS:4
Then run your test. This will generate a lot of debugging output and will
list the capabilities that your card is advertising. You can then compare
those caps to v4l2src (gst-inspect v4l2src) and see the issue. Also, report
the version of gstreamer and the other libraries that you are using.
Another strategy is to use the v4l2 utilities (v4l2-ctl) to communicate
directly with the BT878 driver. You can query and ever set supported modes.
On Mon, Jan 28, 2013 at 11:21 PM, Ramberg <andyr at paulbunyan.net> wrote:
> Hello,
>
> I'm a total newbie with Gstreamer and I'd really appreciate some help with
> a
> problem I'm having. I'm trying to duplicate my Hauppauge BT878 WINTV
> input
> (/dev/video0) to my video4linux loopbacks (/dev/video1 & /dev/video2).
>
> A test source works fine, ie. "gst-launch -v videotestsrc ! v4l2sink
> device=/dev/video1" but when I try my video card input ie. "gst-launch
> v4l2src device=/dev/video0 ! queue ! ffenc_mpeg2video bitrate=2000000 !
> mpegtsmux ! v4l2sink sync=true device=/dev/video1" it fails to sync up...
>
> Output:
>
> Setting pipeline to PAUSED ...
> libv4l2: error getting pixformat: Invalid argument
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ERROR: from element /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0: Failed
> writing output data to stream 00e0
> Additional debug info:
> mpegtsmux.c(964): mpegtsmux_collected ():
> /GstPipeline:pipeline0/MpegTsMux:mpegtsmux0
> Execution ended after 100970739 ns.
> Setting pipeline to PAUSED ...
> Setting pipeline to READY ...
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
>
>
>
>
>
> --
> View this message in context:
> http://gstreamer-devel.966125.n4.nabble.com/Newbie-With-v4l2sink-v4l2loopback-Problem-tp4658192.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130129/02ba1f45/attachment.html>
More information about the gstreamer-devel
mailing list