[maemo-developers] [maemo-developers] custom gstreamer plugins

From: Christian Fredrik Kalager Schaller christian at fluendo.com
Date: Fri Jul 28 20:06:27 EEST 2006
Hmm, I didn't know the turning off of debug was so total :)

Well for mpeg2dec you need the mpeg2dec .so files also copied over,
into /usr/lib, libmpeg2.* basically.

For ximagesink we installed that ourselves the other day, Matthieu
doesn't remember exactly which libs he needed, but libSM.* was one thing
copied over.

Christian

On Fri, 2006-07-28 at 17:17 +0200, cmonst wrote:
> After running GST_DEBUG=*:3 gst-inspect I can't see anything
> interesting. Below is output of GST_DEBUG=*:3 gst-inspect :
> 
> 
> Nokia770-23:~# GST_DEBUG=*:3 gst-inspect
> audiotestsrc:  audiotestsrc: Audio test source
> decodebin:  decodebin: Decoder Bin
> avi:  avidemux: Avi demuxer
> gnomevfs:  gnomevfssink: GnomeVFS Sink
> gnomevfs:  gnomevfssrc: GnomeVFS Source
> adder:  adder: Adder
> dspaac:  dspaacsink: DSP AAC Sink
> coreelements:  typefind: TypeFind
> coreelements:  tee: Tee pipe fitting
> coreelements:  filesink: File Sink
> coreelements:  queue: Queue
> coreelements:  identity: Identity
> coreelements:  filesrc: File Source
> coreelements:  fdsink: Filedescriptor Sink
> coreelements:  fdsrc: Disk Source
> coreelements:  fakesink: Fake Sink
> coreelements:  fakesrc: Fake Source
> coreelements:  capsfilter: CapsFilter
> dspilbc:  dspilbcsrc: DSP ILBC Src
> dspilbc:  dspilbcsink: DSP ILBC Sink
> dspmpeg4sink:  dspmpeg4sink: DSP MPEG4/H.263 Sink
> ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter
> audiorate:  audiorate: Audio rate adjuster
> audioconvert:  audioconvert: Audio Conversion
> volume:  volume: Volume
> dspfbsink:  dspfbsink: DSP FB Sink
> wavparse:  wavparse: WAV audio demuxer
> dsppcm:  dsppcmsrc: DSP PCM Src
> dsppcm:  dsppcmsink: DSP PCM Sink
> dspamr:  dspamrsink: DSP AMR Sink
> typefindfunctions: video/x-dirac: no extensions
> typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx,
> sys, scr, msstyles, cpl
> typefindfunctions: application/x-ar: a
> typefindfunctions: application/x-tar: tar
> typefindfunctions: application/x-rar: rar
> typefindfunctions: audio/x-wavpack-correction: wvc
> typefindfunctions: audio/x-wavpack: wv, wvp
> typefindfunctions: audio/x-spc: spc
> typefindfunctions: adts_mpeg_stream: aac
> typefindfunctions: application/x-executable: no extensions
> typefindfunctions: text/x-cmml: no extensions
> typefindfunctions: application/x-ogg-skeleton: no extensions
> typefindfunctions: audio/x-speex: no extensions
> typefindfunctions: application/x-ogm-text: no extensions
> typefindfunctions: application/x-ogm-audio: no extensions
> typefindfunctions: application/x-ogm-video: no extensions
> typefindfunctions: video/x-theora: no extensions
> typefindfunctions: audio/x-vorbis: no extensions
> typefindfunctions: application/x-compress: Z
> typefindfunctions: application/zip: zip
> typefindfunctions: application/x-gzip: gz
> typefindfunctions: application/x-bzip: bz2
> typefindfunctions: image/x-sun-raster: ras
> typefindfunctions: image/x-xpixmap: xpm
> typefindfunctions: image/x-jng: jng
> typefindfunctions: video/x-mng: mng
> typefindfunctions: image/x-xcf: xcf
> typefindfunctions: audio/x-sid: sid
> typefindfunctions: audio/iLBC-sh: ilbc
> typefindfunctions: audio/x-amr-wb-sh: amr
> typefindfunctions: audio/x-amr-nb-sh: amr
> typefindfunctions: video/x-dv: dv, dif
> typefindfunctions: video/x-matroska: mkv, mka
> typefindfunctions: image/tiff: tif, tiff
> typefindfunctions: image/bmp: bmp
> typefindfunctions: image/png: png
> typefindfunctions: image/gif: gif
> typefindfunctions: image/jpeg: jpg, jpe, jpeg
> typefindfunctions: application/x-ape: ape
> typefindfunctions: audio/x-shorten: shn
> typefindfunctions: audio/x-w64: w64
> typefindfunctions: audio/x-ircam: sf
> typefindfunctions: audio/x-sds: sds
> typefindfunctions: audio/x-voc: voc
> typefindfunctions: audio/x-nist: nist
> typefindfunctions: audio/x-paris: paf
> typefindfunctions: audio/x-svx: iff, svx
> typefindfunctions: audio/x-aiff: aiff, aif, aifc
> typefindfunctions: audio/x-wav: wav
> typefindfunctions: application/xml: xml
> typefindfunctions: application/smil: smil
> typefindfunctions: text/uri-list: ram
> typefindfunctions: text/plain: txt
> typefindfunctions: video/x-flv: flv
> typefindfunctions: application/x-shockwave-flash: swf, swfl
> typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb
> typefindfunctions: video/quicktime: mov
> typefindfunctions: application/x-3gp: 3gp
> typefindfunctions: application/x-mp4: m4a, mp4
> typefindfunctions: video/mpeg4: m4v
> typefindfunctions: video/mpeg-stream: mpv, mpeg, mpg
> typefindfunctions: video/mpeg: mpv, mpeg, mpg
> typefindfunctions: application/ogg: anx, ogg, ogm
> typefindfunctions: video/mpeg2: mpe, mpeg, mpg
> typefindfunctions: video/mpeg1: mpe, mpeg, mpg
> typefindfunctions: audio/x-ac3: ac3
> typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
> typefindfunctions: audio/x-mod: 669, amf, dsm, gdm, far, imf, it, med,
> mod, mtm, okt, sam, s3m, stm, stx, ult, xm
> typefindfunctions: audio/x-ttafile: tta
> typefindfunctions: application/x-apetag: ape, mpc, wv
> typefindfunctions: application/x-id3: mp3, mp2, mp1, mpga, ogg, flac, tta
> typefindfunctions: video/x-fli: flc, fli
> typefindfunctions: audio/x-flac: flac
> typefindfunctions: video/x-vcd: dat
> typefindfunctions: video/x-cdxa: dat
> typefindfunctions: video/x-msvideo: avi
> typefindfunctions: audio/x-au: au, snd
> typefindfunctions: audio/x-musepack: mpc
> typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv
> udp:  udpsrc: UDP packet receiver
> udp:  dynudpsink: UDP packet sender
> udp:  multiudpsink: UDP packet sender
> udp:  udpsink: UDP packet sender
> tcp:  multifdsink: MultiFd sink
> tcp:  tcpserversrc: TCP Server source
> tcp:  tcpserversink: TCP Server sink
> tcp:  tcpclientsrc: TCP Client source
> tcp:  tcpclientsink: TCP Client sink
> rtp:  rtpspeexdepay: RTP packet parser
> rtp:  rtpspeexpay: RTP packet parser
> rtp:  rtpmp4vdepay: RTP packet parser
> rtp:  rtpmp4vpay: RTP packet parser
> rtp:  asteriskh263: RTP packet parser
> rtp:  rtpilbcdepay: RTP iLBC packet depayloader
> rtp:  rtpilbcpay: RTP Payloader for iLBC Audio
> rtp:  rtph263pay: RTP packet parser
> rtp:  rtph263pdepay: RTP packet parser
> rtp:  rtph263ppay: RTP packet parser
> rtp:  rtpmpapay: RTP packet parser
> rtp:  rtpmpadepay: RTP packet parser
> rtp:  rtppcmapay: RTP packet parser
> rtp:  rtppcmupay: RTP packet parser
> rtp:  rtppcmudepay: RTP packet parser
> rtp:  rtppcmadepay: RTP packet parser
> rtp:  rtpamrpay: RTP packet parser
> rtp:  rtpamrdepay: RTP packet parser
> rtp:  rtpgsmpay: RTP GSM Audio Payloader
> rtp:  rtpgsmdepay: RTP packet parser
> rtp:  rtpdepay: RTP Payloader
> subparse:  ssaparse: SSA Subtitle Parser
> subparse:  subparse: Subtitle parsers
> subparse: subparse_typefind: srt, sub, mpsub, mdvd
> dspmp3:  dspmp3sink: DSP MP3 Sink
> playbin:  playbin: Player Bin
> staticelements:  bin: Generic bin
> staticelements:  pipeline: Pipeline object
> 
> Total plugins: 25
> Total features: 146
> 
> 
> There should be plugins like ximagesink and mpeg2dec, this is content
> of gstreamer plugin directory:
> 
> Nokia770-23:~# ls /usr/lib/gstreamer-0.10/
> libgstadder.so              libgstdspamrsink.so.0.0.0
> libgstdspmpeg4.so.0.0.0     libgstsubparse.so
> libgstaudioconvert.so       libgstdspfb.so
> libgstdsppcm.so             libgsttcp.so
> libgstaudiorate.so          libgstdspfb.so.0
> libgstdsppcm.so.0           libgsttypefindfunctions.so
> libgstaudiotestsrc.so       libgstdspfb.so.0.0.0
> libgstdsppcm.so.0.0.0       libgstudp.so
> libgstavi.so                libgstdspilbc.so
> libgstffmpegcolorspace.so   libgstvolume.so
> libgstcoreelements.so       libgstdspilbc.so.0
> libgstgnomevfs.so           libgstwavparse.so
> libgstdecodebin.so          libgstdspilbc.so.0.0.0
> libgstmpeg2dec.la           libgstximagesink.a
> libgstdspaacsink.so         libgstdspmp3sink.so
> libgstmpeg2dec.so           libgstximagesink.la
> libgstdspaacsink.so.0       libgstdspmp3sink.so.0
> libgstmpegstream.la         libgstximagesink.so
> libgstdspaacsink.so.0.0.0   libgstdspmp3sink.so.0.0.0   libgstmpegstream.so
> libgstdspamrsink.so         libgstdspmpeg4.so           libgstplaybin.so
> libgstdspamrsink.so.0       libgstdspmpeg4.so.0         libgstrtp.so
> 
> 
> I still dont'd have clue what is wrong...
> 
> On 7/28/06, Christian Fredrik Kalager Schaller <christian at fluendo.com> wrote:
> > gst-register is gone from 0.10. Now GStreamer automatically rebuilds its
> > registry if there is any changes to the directories watched. My guess is
> > that the problem here is one failing to load the plugins due to lack of
> > linking symbols or some such.
> >
> > Running 'GST_DEBUG=*:3 gst-inspect' on the device and probably
> > outputting the text into a file should tell you why it fails to load the
> > plugin.
> >
> > Christian
> >
> > On Fri, 2006-07-28 at 00:49 +0200, raoul wrote:
> > > Have you tried a gst-register ?
> > >
> > > Le Jeudi 27 Juillet 2006 17:05, cmonst a écrit :
> > > > Hi!
> > > >
> > > > I compiled some additional gstreamer plugins with armel terget and
> > > > tried to install on maemo 2.0 (nokia 770) by copying it to
> > > > /usr/lib/gstreamer-0.10 directory, but gst-inspect doesn't see these
> > > > plugins. Does anyone have any suggestions? How can I make these
> > > > plugins visible???? I tried ldconfig, but without any results.
> > >
> > --
> > Christian Fredrik Kalager Schaller
> > Business Development Manager
> > Fluendo S.A.
> > Mobile Phone: +34 666927819
> > Office Phone: +34 933175153
> > Fax         : +34 934127034
> >
> > _______________________________________________
> > maemo-developers mailing list
> > maemo-developers at maemo.org
> > https://maemo.org/mailman/listinfo/maemo-developers
> >
> 
> 
-- 
Christian Fredrik Kalager Schaller
Business Development Manager
Fluendo S.A.
Mobile Phone: +34 666927819
Office Phone: +34 933175153
Fax         : +34 934127034


More information about the maemo-developers mailing list