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
No such element or plugin 'spaacsink'
Factory Details:
Long name:DSP PCM Sink
Class:Sink/Audio
Description: Raw PCM audio sink
Author(s):Makoto Sugano [EMAIL PROTECTED]
Rank: primary (256)
Plugin Details:
Name: dsppcm
Description: DSP PCM audio sink
Filename: /usr/lib/gstreamer-0.8/libgstdsppcmsink.so
Version: 1.0
License: LGPL
Package: dspaudio
Origin URL: Nokia Corporation
GObject
+GstObject
+GstElement
+GstDSPPcmSink
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
audio/x-raw-int
endianness: 1234
signed: { true, false }
width: { 8, 16 }
depth: { 8, 16 }
rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000,
44100, 48000, 64000, 88200, 96000 }
channels: [ 1, 2 ]
audio/x-alaw
rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000,
44100, 48000, 64000, 88200, 96000 }
channels: [ 1, 2 ]
audio/x-mulaw
rate: { 8000, 11025, 12000, 16000, 22050, 24000, 32000,
44100, 48000, 64000, 88200, 96000 }
channels: [ 1, 2 ]
Element Flags:
GST_ELEMENT_EVENT_AWARE
Element Implementation:
No loopfunc(), must be chain-based or not configured yet
Has change_state() function: 0x401605b0
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Pads:
SINK: 'sink'
Implementation:
Has chainfunc(): 0x4015f91c
Pad Template: 'sink'
Element Properties:
name: The name of the object
String. (Default dsppcmsink0)
volume : Defines the volume level of the stream
Unsigned Integer. Range: 0 - 65535 (Default 65535)
panning : Defines the balance between left/right channels