I am using imx6dl, Linux kernel 3.14 (yocto-dizzy), gstreamer 1.0, gstreamer-imx libraries, and all the necessary gst-plugins.
Problem: I can't get playbin to use the imx vpu library components, specifically the imxvpuenc_h264.
root@imx6dl-slimline:~# gst-launch-1.0 playbin uri=file:///home/root/2015-08-23_12h17m15s.mp4
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: H.264 decoder <<<<<<<<<<<<<<<<<<< PROBLEM !!!!
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)high, codec_data=(buffer)0164401fffe100182764401fac2c6a014016e9a828302a000007d20001d4c02801000528ee0462c0, width=(int)1280, height=(int)720, framerate=(fraction)5000/501, pixel-aspect-ratio=(fraction)1/1'.
Additional debug info:
/home/jeff/git/slimline/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-base/1.4.1-r0/gst-plugins-base-1.4.1/gst/playback/gsturidecodebin.c(939): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
/home/jeff/git/slimline/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/gstreamer1.0-plugins-base/1.4.1-r0/gst-plugins-base-1.4.1/gst/playback/gsturidecodebin.c(990): no_more_pads_full (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
I built and installed the gstreamer-imx libraries:
root@imx6dl-slimline:~# gst-inspect-1.0 | grep imx
imxvpu: imxvpudec: Freescale VPU video decoder
imxvpu: imxvpuenc_h263: Freescale VPU h.263 video encoder
imxvpu: imxvpuenc_h264: Freescale VPU h.264 video encoder
imxvpu: imxvpuenc_mpeg4: Freescale VPU MPEG-4 video encoder
imxvpu: imxvpuenc_mjpeg: Freescale VPU motion JPEG video encoder
imxpxp: imxpxpvideosink: Freescale PxP video sink
imxpxp: imxpxpvideotransform: Freescale PxP video transform
imxaudio: imxuniaudiodec: Freescale i.MX uniaudio decoder
imxaudio: imxmp3audioenc: Freescale i.MX MP3 encoder
imxeglvivsink: imxeglvivsink: Freescale EGL video sink
imxg2d: imxg2dvideosink: Freescale G2D video sink
imxg2d: imxg2dvideotransform: Freescale G2D video transform
imxg2d: imxg2dcompositor: Freescale G2D video compositor
imxipu: imxipuvideotransform: Freescale IPU video transform
imxipu: imxipuvideosink: Freescale IPU video sink
imxipu: imxipucompositor: Freescale IPU video compositor
imxv4l2videosrc: imxv4l2videosrc: V4L2 CSI Video Source
Solved! Go to Solution.
great, so gstreamer works fine totally, right? if yes, pls close this thread.
I didn't have the h264parse plugin installed in my build. Now it works fine.
great, so gstreamer works fine totally, right? if yes, pls close this thread.
if you use the command "gst-inspect-1.0 | grep playbin", what can you get? any error message?
and what image do you use? demo image or built by customer?