Not able to display video using omx_h264dec

Deepak Thumathajira deepak.thumathajira at gmail.com
Mon Jul 2 01:27:38 PDT 2012


Hi All,
        I am trying to decode and display video using gstreamer command
line.

Using the following pipelines, I am not able dispaly video:
1>   $ gst-launch-0.10 filesrc location=H264_test.avi ! avidemux !
h264parse ! omx_h264dec ! queue ! ffmpegcolorspace ! xvimagesink
2>   $ gst-launch-0.10 filesrc location=H264_test.avi ! avidemux !
h264parse ! omx_h264dec !
'video/x-raw-yuv,format=(fourcc)I420,width=320,height=240,framerate=(fraction)25/1'
! queue  !  ffmpegcolorspace ! xvimagesink

I am able to dump the "omx_h264dec" output to file using the following and
verified that the YUV is proper:
$ gst-launch-0.10 filesrc location=H264_test.avi ! avidemux ! h264parse !
omx_h264dec ! filesink location=decoded.yuv

Also, I am able to display the video using "ffdec_h264":
 $ gst-launch-0.10 filesrc location=H264_test.avi ! avidemux ! h264parse !
ffdec_h264 ! xvimagesink


Please let me know how to get video displayed using "omx_h264dec".

Thanking you,
Deepak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-openmax/attachments/20120702/872c4dae/attachment.html>


More information about the gstreamer-openmax mailing list