Hi Albert and All,

I am still having having issue with playing video file on davinci using
gstreamer.
I am doing following step for running video demo :
--------------------------------------------------------------------------------------------------
# ./start_demo.sh

then
# ./test_AVI.sh test.avi
and after that i am getting

./test_AVI.sh clipSpeech.avi
cat: write error: No space left on device
gdecoder: gst_gdecoder_get_codec_type Begin
gdecoder: gst_gdecoder_get_codec_type End
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

FINE
gdecoder: MPEG4
gdecoder: VIDDEC_process() returned failure
gdecoder: VIDDEC_process() returned failure
gdecoder: decode error
gdecoder: displayq length = 0
gdecoder: VIDDEC_process() returCMEMK Error: Failed to find a pool which
fits 691200
ned failure
gdecoder: decode error
gdecoder: displayq length =CMEMK Error: Failed to find a pool which fits
691200
 0
CMEMK Error: Failed to find a pool which fits 691200
---------------------------------------------------------------------------------------------------------------
Above is my Error log which i am getting now .

Can you  give me some pointer ,what may be the cause of the problem. OR am I
missing some basic
step like running codec server or does it automatically started by some
script .?

Below is the DSp side binary

MPEG2Combo.x64P
MPEG2Combo.x64P
H264Combo.x64P
How we can run these on DSP  ?

Thanks and regards
Robin Singh





On Thu, Jul 3, 2008 at 2:30 PM, Albert Burbea <[EMAIL PROTECTED]> wrote:

> Just a guess but...
> Gstreamer (especially cmem) is complaining about  691200 bytes it can not
> find, and your pools and you configured the pools as 18x614400. It seems you
> are trying to decode an NTSC size video with VGA size buffers!
> I do not know why gstreamer needs to work with cmem, but as I said, this is
> just a guess
> Good luck and let everybody know
> Albert
>
>
> On 7/3/08, Robin Gujjar <[EMAIL PROTECTED]> wrote:
>
>> Hi All,
>>
>> I am trying to play some audio/video file using Gstreamer port from the
>> Ti. I have cross compiled  the port
>> for my Davinci borad (DM6446). I am able to play a MP3 file also using
>> (./test_MP3.sh /media/DIL_CHAHTA_HAI.mp3).
>> But when i am trying to play any video file, like AVI filei am facing
>> following error.:
>>
>> -------------------------------------------------------------------------------------------------------
>> [EMAIL PROTECTED]:/opt/system_files_gstreamer# ./test_AVI.sh
>> /media/parallels.AVI
>> cat: write error: No space left on deviceer# ./test_AVI.sh
>> /media/parallels.AVI
>> gdecoder: gst_gdecoder_get_codec_type Begin
>> gdecoder: gst_gdecoder_get_codec_type End
>> Setting pipeline to PAUSED ...
>> Pipeline is PREROLLING ...
>>
>> FINE
>> Pipeline is PREROLLED ...
>> Setting pipeline to PLAYING ...
>> New clock: GstSystemClock
>> Got EOS from element "pipeline0".
>> Execution ended after 12941000 ns.
>> Setting pipeline to PAUSED ...
>> Setting pipeline to READY ...
>> Setting pipeline to NULL ...
>> ./test_AVI.sh: line 8:  1120 Segmentation fault      gst-launch-0.10
>> filesrc location=$1 ! tidemux_avi name=t ! queue max-size-buffers=60 !
>> gdecoder Codec=2 ! fbvideok
>>
>> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>> --
>> [EMAIL PROTECTED]:[T:0x42554b60] OM - Memory_contigAlloc> ERROR: CMEM alloc
>> failed
>> FBVIDEOSINK:CMEM couldn't allocate buffers
>> gdecoder: failed when allocating a 691200 bytes buffer
>> @0x001a23e5:[T:0x42554b60] OM - Memory_contigAlloc> ERROR: CMEM alloc
>> failed
>> FBVIDEOSINK:CMEM couldn't allocate buffers
>> FBVIDEOSINK:CMEM couldn't alloCMEMK Error: Failed to find a pool which
>> fits 691200
>> cate buffers
>> gdecoder: failed wCMEMK Error: Failed to find a pool which fits 691200
>> hen allocating a 691200 bytes buffer
>> @0x0019a32CMEMK Error: Failed to find a pool which fits 691200
>> f:[T:0x42554b60] OM - Memory_contigAlloc> ERROR: CMEM alloc failed
>> FBVIDEOSINK:CMEMK Error: Failed to find a pool which fits 691200
>> CMEM couldn't allocate buffers
>> -------------------------------------------------------------------------
>> And dmesg after that is :
>>
>>
>> CMEMK Error: Failed to find a pool which fits 691200
>> CMEMK Error: Failed to find a pool which fits 691200
>> CMEMK Error: Failed to find a pool which fits 691200
>> CMEMK Error: Failed to find a pool which fits 691200
>> CMEMK Error: Failed to find a pool which fits 691200
>> --------------------------------------------------------------------
>> Is it a problem of the  cmem.ko module  ?  Do i need to change the  module
>> parameter  of this  Driver  in
>> start_demo.sh  .
>> insmod cmemk.ko phys_start=0x87800000 phys_end=0x88E00000
>> pools=20x4096,8x202752,10x131072,2x1048576,1x2097152,18x614400
>>
>> can any one give me some pointer , Thanks in advance
>>
>> Thanks
>> Robin singh
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Davinci-linux-open-source mailing list
>> [email protected]
>> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
>>
>>
>
>
> --
> Albert Burbea
> Harishonim 8
> Ramat Gan 52502, Israel
> Tel/Fax + 972-3-7526016
> Mobile: +972-52-3541842
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to