question about caps filters

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Feb 5 13:25:46 PST 2013


On Tue, 2013-02-05 at 16:15 -0500, Chuck Crisler wrote:

Hi,

> I am working to extend the v4l2src element to work with a Sensoray
> hardware encoder. I now have the v4l2src element recognizing the H264
> capability of the card. The next problem is negotiating between the
> v4l2src and rtph264pay or mpegtsmux (sorry, I am stuck with the
> antiquated 0.10.xx code - which actually works quite well). If I
> specify the command as: gst-launch v4l2src

This:

> .. ! 'video/x-raw-yuv, format=(fourcc)H264' ! ...

does not make sense. Either it's raw or it's H264. v4l2src should output
video/x-h264 caps. If it doesn't, rtph264pay or h264parse etc. will not
be able to accept it.

FWIW, there's an uvch264src element in gst-plugins-bad in git in the
0.10 branch, which *might* help (I don't know if it does, I guess it
depends on the driver).

 Cheers
  -Tim

> rtph264pay pt=96 ! ... it fails linking the v4l2src (actually the
> capsfilter src pad) and rtph264pay. I think that this is a caps issue.
> The rtp payloader wants video/x-h264 as input. How do I specify the
> caps to make all of the elements link?




More information about the gstreamer-devel mailing list