Thanks for your response.<div>The TIVidEnc seems to fail too.</div><div>Any suggestions?</div><div>I am developing the gstreamer app using the same like only. </div><div>I figured the elements I would need and have done a simple factory make, only the encoder seems to fail.<br>
<br><div class="gmail_quote">On Tue, Sep 4, 2012 at 1:19 PM, Jean-Michel Hautbois <span dir="ltr"><<a href="mailto:jhautbois@gmail.com" target="_blank">jhautbois@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Your element should not be x264enc, but TIVidEnc :<br>
<div class="im"> enc = gst_element_factory_make("x264enc", "encoder");<br>
</div>Then, you can set its properties using g_object_set();<br>
<br>
If you did not read it, please take a look at this documentation :<br>
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html</a><br>
<br>
Regards,<br>
JM<br>
<br>
2012/9/4 kartik natarajan <<a href="mailto:kartik8n8@gmail.com">kartik8n8@gmail.com</a>>:<br>
<div><div class="h5">> Hi,<br>
>     DVSDK on DM365, developing a gstreamer app to encode raw images into<br>
> h.264 and store in file.<br>
>  I have been able to execute a gst-launch where I provide codecName=h264enc<br>
> to encode raw video and store it in a file. This works well.<br>
> Now I build an application on gstreamer.<br>
> I have tried doing enc = gst_element_factory_make("x264enc", "encoder");<br>
> but it fails with enc getting a NULL. I tried "h264enc" and morbidly did<br>
> "GstX264Enc" as well for the factory name but they failed too.<br>
> How do I get this going ahead?<br>
><br>
> Thanks in advance<br>
><br>
> N.Kartik<br>
><br>
><br>
</div></div>> _______________________________________________<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>
><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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Believe in your dreams, they have a strange way of coming true!!!<br>
</div>