[Gstreamer-openmax] Element omx_mpeg4enc help

Tim-Philipp Müller 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:

Hi,


> 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.

 Cheers
  -Tim






More information about the Gstreamer-openmax mailing list