Malikcis,<br><br>For that I am sure you be having the api for the H264 capture card.<br>These api you need to call in your plugin.<br><br>You can even refer say videotestsrc , understand the basic concept and call your own sdk api for data generation. So if you are not using baseclass the most important care need to take is clock syncronization with your hardware.<br>
<br>You might want to look at <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSrc.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-libs/html/GstBaseSrc.html</a><br>
<br>Hope you got some clue.<br><br>-kapil<br><br><div class="gmail_quote">On Wed, Jul 4, 2012 at 3:28 PM, David Röthlisberger <span dir="ltr"><<a href="mailto:david@rothlis.net" target="_blank">david@rothlis.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 4 Jul 2012, at 08:58, malikcis wrote:<br>
> Thanks for your suggestion.<br>
> I would like to write a gstreamer wrapper driver for a H.264 capture card. I<br>
> thought the best would be to write<br>
> a gstreamer source element.<br>
<br>
</div>Ideally you would provide V4L2 (Video for Linux 2) drivers, and then you<br>
could use a gstreamer pipeline like this:<br>
<br>
gst-launch v4l2src device=/dev/video0 ! mpegtsdemux ! video/x-h264 ! decodebin<br>
<br>
(the above requires gstreamer-plugins-good for v4l2src,<br>
gstreamer-plugins-bad for mpegtsdemux, and gstreamer-ffmpeg for H.264<br>
decoding.)<br>
<br>
--Dave.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://www.linkedin.com/in/kapilagrawal" target="_blank">http://www.linkedin.com/in/kapilagrawal</a><br><a href="http://www.mediamagictechnologies.com" target="_blank">www.mediamagictechnologies.com</a> <br>
(Consultancy - Multimedia, Gstreamer, ffmpeg, Streaming for platforms- linux, windows, TI, android)<br><br><br>