[maemo-developers] [maemo-developers] Re: dspmpeg4sink

From: Pierre TARDY pierre.tardy at freescale.com
Date: Fri Jun 2 21:53:23 EEST 2006
M M wrote:
> Hi,
> I am trying to use dspmpeg4sink on maemo, but it never works. I used 
> the following pipeline.
>
> gst-launch-0.8 udpsrc ! video/x-h263 ! dspmpeg4sink
>
> and this happens
>
> RUNNING pipeline . . .
> ERROR: pipeline doesn't want to play.
>  
> I had sent mails and gotten very good responses, but I wonder if any 
> body has any clue on why it doesn't work, atleast as normal gstreamer 
> plugin.
>  
> Regards,
> Michael
>
I'm facing similar problem, trying to build by myself a pipeline with 
dsp sinks:
I type on the console:

Nokia770-13:/home/user/MyDocs/.videos# gst-launch-0.8 gnomevfssrc 
location=IceAge2_trailer.avi ! avidemux name=demux  demux.audio_00 ! 
dspmp3sink demux.video_00 ! dspmpeg4sink
RUNNING pipeline ...
dsp_dld: event detected.
device mpeg4dec is requesting for TADD.
starting TADD process for device mpeg4dec.
loading /etc/dsp/modules/mpeg4.o.
adding _mpeg4dec_socket_node(@11[ 2898.426300] omapdsp: task 4: name 
mpeg4dec
a94c) into system.
[ 2898.431579] omapdsp: taskdev mpeg4dec enabled.
[ 2898.438690] tlv320aic23 powering up
receiving signal 17
[ 2898.525115] tlv320aic23_init_power() done
dsp_dld: event detected.
device mp3dec is requesting for TADD.
starting TADD process for device mp3dec.
loading /etc/dsp/modules/mp3.o.
adding _mp3dec_socket_node(@1247[ 2899.623748] omapdsp: task 5: name mp3dec
c8) into system.
[ 2899.628906] omapdsp: taskdev mp3dec enabled.
receiving signal 17



The sound is well decoded and outputed, but I have no video at all.
The same of course if I launch the video only pipeline.

Nokia770-13:~/MyDocs/.videos$ gst-launch-0.8 gnomevfssrc 
location=IceAge2_trailer.avi ! avidemux ! dspmpeg4sink videoonly=true
RUNNING pipeline ...
dsp_dld: event detected.
device mpeg4dec is requesting for TADD.
starting TADD process for device mpeg4dec.
loading /etc/dsp/modules/mpeg4.o.
adding _mpeg4dec_socket_node(@11[ 3823.817687] omapdsp: task 4: name 
mpeg4dec
a94c) into system.
[ 3823.822967] omapdsp: taskdev mpeg4dec enabled.
[ 3823.830139] tlv320aic23 powering up
receiving signal 17
[ 3823.840789] tlv320aic23_init_power() done


I guess there are some tricks to configure the dsp and fb, programming 
the location and size of the output on screen for example..
Could you, nokia guys, provide more information to the community on how 
to use dspmpeg4sink from command line?

for example, how to produce these lines:
osso-media-server[914]: GLIB WARNING ** default - failed to init[ 
6159.287567] [dsp] FBCTL_ENABLE received, but fb is already enabled.
ialize dsp MPEG4 node, error = 0x0A
ProcXSPDispatch: 3
registering dsp area
register dsp area: 0, (176, 62), 600, 360
ProcXSPDispatch: 3
registering dsp area
register dsp area: 0, (176, 62), 600, 360
dsp_dld: event detected.

For those who are interrested, I ve compiled gstreamer in debug mode and 
produced some gst-inspect documentation on the proprietary plugins of nokia.

-- 
Pierre Tardy

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nokiadetail.txt
Url: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060602/d4c9c691/attachment.txt 
More information about the maemo-developers mailing list