h.264 encoder issue

kartik natarajan kartik8n8 at gmail.com
Tue Sep 4 01:28:35 PDT 2012


Thanks for your response.
The TIVidEnc seems to fail too.
Any suggestions?
I am developing the gstreamer app using the same like only.
I figured the elements I would need and have done a simple factory make,
only the encoder seems to fail.

On Tue, Sep 4, 2012 at 1:19 PM, Jean-Michel Hautbois <jhautbois at gmail.com>wrote:

> Hi,
>
> Your element should not be x264enc, but TIVidEnc :
>  enc = gst_element_factory_make("x264enc", "encoder");
> Then, you can set its properties using g_object_set();
>
> If you did not read it, please take a look at this documentation :
>
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/index.html
>
> Regards,
> JM
>
> 2012/9/4 kartik natarajan <kartik8n8 at gmail.com>:
> > Hi,
> >     DVSDK on DM365, developing a gstreamer app to encode raw images into
> > h.264 and store in file.
> >  I have been able to execute a gst-launch where I provide
> codecName=h264enc
> > to encode raw video and store it in a file. This works well.
> > Now I build an application on gstreamer.
> > I have tried doing enc = gst_element_factory_make("x264enc", "encoder");
> > but it fails with enc getting a NULL. I tried "h264enc" and morbidly did
> > "GstX264Enc" as well for the factory name but they failed too.
> > How do I get this going ahead?
> >
> > Thanks in advance
> >
> > N.Kartik
> >
> >
> > _______________________________________________
> > gstreamer-devel mailing list
> > gstreamer-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> >
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Believe in your dreams, they have a strange way of coming true!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120904/b087ed8d/attachment.html>


More information about the gstreamer-devel mailing list