h.264 encoder issue

Jean-Michel Hautbois jhautbois at gmail.com
Tue Sep 4 00:49:30 PDT 2012


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
>


More information about the gstreamer-devel mailing list