AnsweredAssumed Answered

imx28 yocto build gstreamer video playback not working

Question asked by Michael Donahoe on Jun 23, 2014
Latest reply on Jul 7, 2014 by Michael Donahoe

I've built an image using Yocto set on the daisy branch and I'm unable to play videos using gstreamer.  Audio works fine though.

 

Linux imx28evk 2.6.35.3-maintain+yocto+g903363e #1 PREEMPT Tue Jun 17 07:52:05 PDT 2014 armv5tejl GNU/Linux

 

 

gst-launch -v playbin2 uri=file:///test.mp4

Setting pipeline to PAUSED ...

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: ring-buffer-max-size = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: use-buffering = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: download = FALSE

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///test.mp4"

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: source = (GstFileSrc) source

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = video/quicktime, variant=(string)iso

Pipeline is PREROLLING ...

Aiur: 3.0.11

Core: MPEG4PARSER_06.07.04  build on Dec  5 2013 19:49:20

  mime: video/quicktime; audio/x-m4a; application/x-3gp

  file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm9_elinux.so.3.2

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAiurDemux:aiurdemux0.GstPad:sink: caps = video/quicktime, variant=(string)iso

Content Info:

  URI:

       file:///test.mp4

  Idx File:

       /home/root/.aiur/.test.mp4.aidx

  Seekable  : Yes

  Size(byte): 83869253

 

 

Movie Info:

  Seekable  : Yes

  Live      : No

  Duration  : 0:02:19.711664000

  ReadMode  : Track

  Track     : 2

 

 

Track 00 [video_000000] Enabled

  Duration: 0:02:19.596672000

  Language: und

  Mime:

       video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=

       (fraction)24000/1001

Track 01 [audio_000000] Enabled

  Duration: 0:02:19.711664000

  Language: und

  Mime:

       audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)1

       27536, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)11905

       6e500

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, stream-format=(string)byte-stream, alignment=(string)au

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, stream-format=(string)byte-stream, alignment=(string)au

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)127536, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)127536, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500

H264D_ARM9_02.06.03  build on Apr 16 2013 13:34:03.

MFW_GST_H264_DECODER_PLUGIN 3.0.11 build on Jun 23 2014 09:19:33.

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, stream-format=(string)byte-stream, alignment=(string)au

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, stream-format=(string)byte-stream, alignment=(string)au

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-buffers = 5

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152

/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: always-ok = FALSE

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: always-ok = FALSE

/GstPlayBin2:playbin20/GstInputSelector:inputselector1: active-pad = (GstSelectorPad) sink0

/GstPlayBin2:playbin20/GstInputSelector:inputselector0: active-pad = (GstSelectorPad) sink0

MFW_GST_V4LSINK_PLUGIN 3.0.11 build on Jun 23 2014 09:19:24.

/GstPlayBin2:playbin20/GstPlaySink:playsink0: volume = 1.000000

/GstPlayBin2:playbin20/GstPlaySink:playsink0: mute = FALSE

/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:abin/GstAutoAudioSink:audiosink/GstAlsaSink:audiosink-actual-sink-alsa: ts-offset = 0

/GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/MFW_GST_V4LSINK_INFO_T:videosink-actual-sink-mfw_v4l: ts-offset = 0

/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x41461220)

/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x41461250)

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/MFW_GST_H264DEC_INFO_T:mfw_gst_h264dec_info_t0.GstPad:sink: caps = video/x-h264, parsed=(boolean)true, width=(int)1280, height=(int)720, framerate=(fraction)24000/1001, stream-format=(string)byte-stream, alignment=(string)au

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: tags = ((GstTagList*) 0x30598)

Beep: 3.0.11

Core: AAC decoder Wrapper  build on Jan 22 2014 15:42:57

  mime: audio/mpeg, mpegversion=(int){2,4}

  file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm9_elinux.so.3

CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.07.00_ARM9  build on Sep 18 2013 10:31:41.

ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/MFW_GST_H264DEC_INFO_T:mfw_gst_h264dec_info_t0: fatal error

Additional debug info:

non recoverable error while decoding the H.264 Data

ERROR: pipeline doesn't want to preroll.

Setting pipeline to NULL ...

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstBeepdec1:beepdec10.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)127536, framed=(boolean)true, stream-format=(string)raw, codec_data=(buffer)119056e500

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstBeepdec1:beepdec10.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: tags = ((GstTagList*) 0x105ab0)

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1.GstProxyPad:proxypad11: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1.GstProxyPad:proxypad8: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)48000, channels=(int)2

Total rendered:0

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: caps = NULL

/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstPad:src: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0.GstGhostPad:src1: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20.GstDecodePad:src1: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/MFW_GST_H264DEC_INFO_T:mfw_gst_h264dec_info_t0.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:src: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstH264Parse:h264parse0.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstBeepdec1:beepdec10.GstPad:src: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstBeepdec1:beepdec10.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:src: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAacParse:aacparse0.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAiurDemux:aiurdemux0.GstPad:audio_000000: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAiurDemux:aiurdemux0.GstPad:video_000000: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAiurDemux:aiurdemux0.GstPad:sink: caps = NULL

/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL

[--->FINALIZE v4l_sink

[--->FINALIZE aiurdemux

Freeing pipeline ...

Outcomes