This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Files encoded with QTPro do not play on DM365 with Gstreamer

We are trying to encode videos with QTPro according to:

http://processors.wiki.ti.com/images/5/54/Covert_mpeg4_universal_stream_DM355_DM365_decoder.pdf

We have tried various setting in WTPro, such as h264 restricted to 'main' profile, keyframes every 24 frames, 5000bits/sec.

We need to output 720p, 24fps with AAC audio

RR SDK with DVSDK 3_10_0_12

Here is what happens when we try to execute gst:

 

/ # gst-launch filesrc location=SD/VidTest.mp4 ! qtdemux name=de
mux ! queue ! dmaidec_h264 numOutputBufs=11 ! priority nice=-10 ! queue ! priori
ty nice =-10 ! dmaiperf ! TIDmaiVideoSink accelFrameCopy=true videoOutput=compon
ent videoStd=720P_60 demux.audio_00 ! queue ! priority nice=-5 ! dmaidec_aac ! a
lsasink


Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
WARNING: from element /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0: Could not get/set settings from/on resource.
Additional debug info:
../../src/src/gsttidmaiperf.c(273): gst_dmaiperf_start (): /GstPipeline:pipeline0/GstDmaiperf:dmaiperf0:
Engine name not specified, not printing DSP information
CMEMK Error: Failed to find a pool which fits 1658880
CMEM Error: getPool: Failed to get a pool fitting a size 1658880
Failed to allocate memory.
ERROR: from element /GstPipeline:pipeline0/dmaidec_h264:dmaidec_h2640: No space left on the resource.
Additional debug info:
../../src/src/gsttidmaidec.c(745): gst_tidmaidec_configure_codec (): /GstPipeline:pipeline0/dmaidec_h264:dmaidec_h2640:
failed to create output buffers
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
gst-launch-0.10: Buffer.c:255: Buffer_getUserPtr: Assertion `hBuf' failed.
Aborted

 

I've attached a sample video that fails to play.

Any ideas of what causes the error?

 

dave

 

  • Dave,

     

    I'm by no means an expert on Linux, but just looking at those error messages seems to indicate that you do not have enough memory in the CMEM pool to handle the buffers required for the size and resolution of the video encode you are trying to perform.  This doesn't seem to have anything to do with you not having used QTPro correctly.