Need help with playback of avi container on ARMv7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hi,

It seems that playbin could not decode back test.avi file.
Avi file can be recorded using different decoding scheme.

Try to to gst-inspect avimux and you will see all the possible sink it takes as input.

My experience with playbin is that it does not always work.

So you have demultiplex and decode and then have to play to sink.

BR,
Mahendra

-----Original Message-----
From: gstreamer-embedded-bounces+mahendra.panpalia=paxton.co.uk at lists.freedesktop.org [mailto:gstreamer-embedded-bounces+mahendra.panpalia=paxton.co.uk at lists.freedesktop.org] On Behalf Of Richard Leitner - SKIDATA
Sent: 30 August 2013 08:10
To: gstreamer-embedded ML (gstreamer-embedded at lists.freedesktop.org)
Subject: Need help with playback of avi container on ARMv7

Hi,

I've got a problem with gstreamer on a ARMv7 nVidia Tegra and would appreciate your help with it.
I'd like to play a file using playbin2.
When I start the gst-launch command (see below) a white window pops up on the screen (for less than a second) and the following output is written to the shell.

#######################################################################
root at 000C320C08C0:~# gst-launch-0.10 -v playbin2 uri=file:///$HOME/test.avi                                                                                                                                                                     
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:////home/root/test.avi"
/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/x-msvideo Pipeline is PREROLLING ...
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = video/x-msvideo
/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: max-size-buffers = 5
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-time = 0
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)388, height=(int)240
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0: max-size-bytes = 2097152
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:sink1: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3, rate=(int)22050, channels=(int)2, codec_data=(bu[154661.549705] 0
ffer)010002000000800401007105
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: always-ok = FALSE
/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: always-ok = FALSE
/GstPlayBin2:playbin20/GstInputSelector:inputselector0: active-pad = (GstSelectorPad) sink0
/GstPlayBin2:playbin20/GstInputSelector:inputselector1: active-pad = (GstSelectorPad) sink0
matchbox-wm: X error warning (0xa00001): BadMatch (invalid parameter attributes) (opcode: 12)
/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/GstBinVideoSink:videosink-actual-sink-nv_gstbin_video/GstOmxOverlaySink:overlay-sink: ts-offset = 0
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x34b80)
/GstPlayBin2:playbin20/GstInputSelector:inputselector0.GstSelectorPad:sink0: tags = ((GstTagList*) 0x34ac0)
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src0: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)388, height=(int)240
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMpeg4Dec:omxmpeg4dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)388, height=(int)240
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMpeg4Dec:omxmpeg4dec0.GstPad:sink: caps = video/mpeg, mpegversion=(int)4, framerate=(fraction)24/1, width=(int)388, height=(int)240 NvxVideoDecoderAcquireResources : NvxNvMMTransformOpen failed
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMpeg4Dec:omxmpeg4dec0: Could not decode stream.
Additional debug info:
gstomx_util.c(1137): EventHandler (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMpeg4Dec:omxmpeg4dec0:
There were insufficient resources to perform the requested operation
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
NvxVideoDecoderAcquireResources : NvxNvMMTransformOpen failed
/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: tags = ((GstTagList*) 0x42d82ab0)
/GstPlayBin2:playbin20/GstInputSelector:inputselector1.GstSelectorPad:sink0: tags = ((GstTagList*) 0x42d82b00)
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstMultiQueue:multiqueue0.GstPad:src1: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3, rate=(int)22050, channels=(int)2, codec_data=(buffer)0100020000005
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMp3Dec:omxmp3dec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)1, layer=(int)3, rate=(int)22050, channels=(int)2, codec_data=(buffer)010002000000805
NvxVideoDecoderAcquireResources : NvxNvMMTransformOpen failed
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMp3Dec:omxmp3dec0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstOmxMpeg4Dec:omxmpeg4dec0.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/GstAviDemux:avidemux0.GstPad:audio_00: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:video_00: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstAviDemux:avidemux0.GstPad:sink: caps = NULL
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind.GstPad:src: caps = NULL Freeing pipeline ...
#######################################################################

I have no idea where I should start my investigations, so I'd be happy about any kind of feedback.
If there's more information needed, just drop me a line!

Thank you!

Regards,
Richard
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded


[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux