How to display video using OpenMax decoder
Felipe Contreras
felipe.contreras at gmail.com
Wed Sep 12 08:54:15 PDT 2012
On Mon, Jul 9, 2012 at 4:36 PM, Deepak Thumathajira
<deepak.thumathajira at gmail.com> wrote:
> I am new to Gstreamer. I am trying to use gst-openmax plugin to
> decode video(H264).
> I tried the following command, but no video is displayed:
> GST_DEBUG=omx:5 gst-launch-0.10 filesrc location=~/Inputs/H264_test.avi !
> avidemux ! h264parse ! omx_h264dec ! xvimagesink
The h264parse element shouldn't be needed, but maybe that would
require changes in gst-openmax.
> When I use filesink instead of xvimagesink, output gets dumped properly.
I find this line strange:
video/x-raw-yuv, width=(int)320, height=(int)240,
format=(fourcc)0x00000000, framerate=(fraction)25/1
I don't think gst-openmax is detecting the color format properly,
should be easy to check what format OpenMAX IL is returning, and match
it to the GStreamer caps.
Cheers.
--
Felipe Contreras
More information about the gstreamer-openmax
mailing list