h.264 encoding using x264 and file writing to local disk

sudarshan bisht bisht.sudarshan at gmail.com
Sat Apr 30 13:14:22 PDT 2011


Is there any plugin named "videoparser " ? Or is it a plugin written by you
? There is h264parse also which can be used here.


On Sun, May 1, 2011 at 1:05 AM, Faisal Mehmood <faysal.99 at gmail.com> wrote:

> *Hi* experts,
>
> As I am new *to* *gstreamer*, so some very basic level quireies are *here*.
>
>
> At the moment I want *to* make a small application whose input is a *YUV*I420 stream from a local disk. Application then
> *encode* it *to* *h*.*264* and then write back *to* local file system. For
> this I *have* installed gst-plugins-ugly for x264enc which is successfully
> installed in my system, my application can make all the elements
> successfully.
>
> But I am receiving the following error while I launch my application.
> /***/
> pipeline: filesrc location=akiyo_qcif.*yuv* blocksize=38016 ! videoparser
> width=176 *height*=144 framerate=(fraction)15/1 format=(fourcc)I420 !
> x264enc ! filesink location=test.*264*
> Now playing: akiyo_qcif.*yuv*
> Running...
> Error: Internal data flow error.
> Returned, stopping playback
> Deleting pipeline
> /***/
>
> please find the attached file for code reference.
>
> Thanks in advance.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
Regards,

Sudarshan Bisht
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110501/02983950/attachment.html>


More information about the gstreamer-devel mailing list