[Gstreamer-openmax] Element omx_mpeg4enc help
t.i.m at zen.co.uk
Sat Mar 13 03:13:32 PST 2010
On Sat, 2010-03-13 at 13:44 +0530, Joseph, Arun wrote:
> I was trying to encode a raw yuv file using omx_mpeg4enc. I used the
> Bellagio omx component based on ffmpeg. I tried the below pipeline to
> encode a qcif stream.
> gst-launch-0.10 filesrc location= akiyo_qcif.yuv ! omx_mpeg4enc ! filesink location=testoutput.mpeg4
> I am able to get an encoded stream but the output resolution and output color format was incorrect.
> Then I tried a different pipeline
> gst-launch-0.10 filesrc location= akiyo_qcif.yuv ! "video/x-raw-yuv,
> height=144, width=176, framerate=(fraction)30/1, format=(fourcc)I420"
> ! omx_mpeg4enc ! filesink location=testoutput.mpeg4
You need a videoparse element (from gst-plugins-bad) after filesrc, with
the properties set correctly to match your yuv format.
More information about the Gstreamer-openmax