[gst-embedded] Need help to play HD file on Beagle Board

Arnout Vandecappelle arnout at mind.be
Sat Mar 6 04:08:03 PST 2010


 Judging from your discussion with Felipe this is probably no longer 
relevant, but perhaps somebody else may benefit...

 You need to load the cmem module - it allocates physically contiguous 
memory for use by the hardware (which is actually completely unnecessary 
because the ISP peripheral that does the rendering has an MMU, but that's 
how TI implemented their DMAI...).  When loading the module, you have to 
specify the sizes you want to be able to allocate.  I have this:

# CMEM Allocation
#    1x3317760            Circular buffer
#    3x1843200            720p video buffers
#    3x829440             PAL video buffers
#    1x691200             NTSC video buffer
#    1x345600             Underlying software components (codecs, etc.)
#    1x1                  Dummy buffer used during final flush
modprobe cmemk allowOverlap=1 phys_start=0x86300000 phys_end=0x87300000 \
       pools=1x3317760,5x1843200,3x829440,1x345600,1x691200,1x1459200,1x1


 OpenEmbedded should set up sane defaults, though.

 Regards,
 Arnout

On Wednesday 17 February 2010 10:50:02, Tejas wrote:
> Hello All,
> 
>                I have taken up libgstticodecplugins.so to my library path
> and following command is applied.
> 
> 
> 
> Gst-launch-0.10 filesrc location=1.mp4 ! mpeg4parser ! mpeg4dec !
> ffmpegcolorspace ! TiDmaiVideoSink
> 
> 
> 
>                But I am getting following error.
> 
> "CMEM Error: init: Failed to open /dev/cmem: 'No such file or directory'
> 
> Setting pipeline to PAUSED ...
> 
> ERROR: Pipeline doesn't want to pause.
> 
> Setting pipeline to NULL ...
> 
> FREEING pipeline ."
> 
> 
> 
>                Please guide me where I am wrong.
> 
> 
> 
> Thanks In Advance,
> 
> Tejas.

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43




More information about the Gstreamer-embedded mailing list