Need help with playback of avi container on ARMv7

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


Hi,

Do you know how this file is being recorded?
Does it play alright on desktop?

If you know recording pipeline then please post that in e:mail.

It looks like avi file is audio/video and encoded in mpeg format.

So you have to demux pipeline to separate audio and video (avidemux) and then have to decode from mpeg and then have to sink to play.

Yeah avi is read (demultiplexed)  but could not decode it.

I am not sure about error message "Now insufficient resources ..."

M




-----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:58
To: Discussions specific to using GStreamer on embedded systems
Subject: Re: Need help with playback of avi container on ARMv7

Hi,
first of all: Thanks for your answer!

Yeah, the first message tells that it could not decode the stream.
But the additional debug info tells that there were insufficient resources.

Is it possible that there were insufficient resources? Which resource was insufficient? How could I trace the resources? 

Here's the error message part of the previous output:

NvxVideoDecoderAcquireResources : NvxNvMMTransformOpen failed
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBu in: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.



Isn't the following part of the output telling that the avi was read correctly?

/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,



How can I demultiplex and decode the avi before playing it to the sink?

Sorry for my (maybe silly) questions, but I haven't used gstreamer before.

Thanks & Regards,
Richard

-----Urspr?ngliche Nachricht-----
Von: gstreamer-embedded-bounces+richard.leitner=skidata.com at lists.freedesktop.org [mailto:gstreamer-embedded-bounces+richard.leitner=skidata.com at lists.freedesktop.org] Im Auftrag von Mahendra Panpalia
Gesendet: Freitag, 30. August 2013 09:26
An: Discussions specific to using GStreamer on embedded systems
Betreff: RE: Need help with playback of avi container on ARMv7

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
_______________________________________________
gstreamer-embedded mailing list
gstreamer-embedded at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-embedded
_______________________________________________
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