Need help with playback of avi container on ARMv7

Sebastian Dröge slomo at circular-chaos.org
Sun Sep 1 14:27:57 PDT 2013


On So, 2013-09-01 at 23:19 +0200, Sebastian Dröge wrote:
> Hi Richard,
> 
> On Fr, 2013-08-30 at 07:09 +0000, Richard Leitner - SKIDATA wrote:
> > Hi,
> > 
> > I've got a problem with gstreamer on a ARMv7 nVidia Tegra and would appreciate your help with it.
> 
> What exactly is the platform, which version of Tegra and which drivers?
> Which GStreamer version, gst-openmax version, etc? :)
> 
> > 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.
> > 
> > [...]
> > matchbox-wm: X error warning (0xa00001): BadMatch (invalid parameter attributes) (opcode: 12)
> > [...]
> 
> This alone will probably cause the video sink to fail and could cause
> the pipeline to stop. Together with ...
> 
> > [...]
> > 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 
> > [...]
> 
> ... this here maybe the problem is that all memory is used after a few
> frames. Might be a memory leak, or that the video output plus the queued
> frames inside the decoder are too much, or something else.
> 
> 
> You can get more debug information for this issue when enabling
> GStreamer debug logs by setting the environment variable
> GST_DEBUG=omx*:5,openmax*:5 before running gst-launch. Can you get the
> output of that?
> 
> Also try if one of these commands works without errors, and if it
> doesn't provide debug logs for these too.
> 
> gst-launch-0.10 filesrc location=/path/to/file ! avidemux ! queue ! omxmpeg4dec ! fakesink -v
> 
> gst-launch-0.10 filesrc location=/path/to/file ! avidemux ! queue ! omxmpeg4dec ! queue ! autovideosink -v

Oh and GStreamer 0.10 is deprecated since some time, as is gst-openmax.
Unfortunately gst-omx (the replacement) does not have support for audio
decoders and a sink yet but that's something that can be solved without
too many problems :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20130901/48543720/attachment.pgp>


More information about the gstreamer-embedded mailing list