Hi Mike,


filesrc creation is not problem. 



my example code is:



/* Create gstreamer elements */

bin = gst_pipeline_new ("pipeline");

g_assert (bin);

filesrc = gst_element_factory_make ("filesrc", "disk_source");

g_assert (filesrc);

g_object_set (G_OBJECT (filesrc), "location", argv[1], NULL);

decoder = gst_element_factory_make ("mad", "decode");

f (!decoder) {

    g_print ("could not find plugin \"mad\"");

    return -1;

}



Here application endup with an error "could not find plugin \"mad\"."



as you said you wouldn't expect TI to be including mad plugin.



Is that mean i will have to use TI's plugin olny?

Because i have seen that (with gst-inspect) there are few plugins available 
with this release or i can use other one also by cross-compiling gst-ffmpeg.

Please find the attached log of gst-inspect.



~Anup





On Wed, 15 Apr 2009 22:58:04 +0530  wrote

>On Mon, Apr 6, 2009 at 10:49 PM, anup behare  wrote:

>>

>> Hi all,

>>

>> I am using Gstreamer (version gst-ti-plugin-full-0.99.00) ported by TI on

>> DM6446.

>>

>> with this i am able to run demo application provided by TI decode_qt.sh) i.e

>> decoding qt format using TI's codec combo.

>>

>> Now i am trying to run one program which uses ffmpeg for decoding Mp3

>> audio.here i am getting message "Decoder or output could not be found" i.e

>> means my

>> gst_element_factory_make ("filesrc", "my_filesource");

>> gst_element_factory_make ("mad", "my_decoder");

>

>Creating filesrc shouldn't be failing - unless the TI package is, for

>some reason, stripping very basic functionality out of gstreamer (in

>which case I'd recommend not using it). 'mad', on the other hand, is

>an mp3 decoder, and I wouldn't expect TI to be including that.

>

>You should replace it with a different (possibly TI-specific) decoder.

>

>Mike

>
r...@10.110.3.16:/opt/gstreamer_demo/dm6446# gst-inspect

(gst-inspect-0.10:1141): GStreamer-WARNING **: Failed to load plugin 
'/usr/local/lib/gstreamer-0.10/libgstmad.so': 
/usr/local/lib/gstreamer-0.10/libgstmad.so: undefined symbol: id3_tag_options
videoscale:  videoscale: Video scaler
uridecodebin:  uridecodebin: URI Decoder
uridecodebin:  decodebin2: Decoder Bin
videotestsrc:  videotestsrc: Video test source
volume:  volume: Volume
video4linux2:  v4l2src: Video (video4linux2/raw) Source
audiorate:  audiorate: Audio rate adjuster
audioconvert:  audioconvert: Audio converter
decodebin:  decodebin: Decoder Bin
mpegdemux2:  mpegtsparse: MPEG transport stream parser
mpegdemux2:  mpegtsdemux: The Fluendo MPEG Transport stream demuxer
mpegdemux2:  mpegpsdemux: The Fluendo MPEG Program Stream Demuxer
videorate:  videorate: Video rate adjuster
coreelements:  multiqueue: MultiQueue
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: Filedescriptor Source
coreelements:  fakesink: Fake Sink
coreelements:  fakesrc: Fake Source
coreelements:  capsfilter: CapsFilter
gdp:  gdppay: GDP Payloader
gdp:  gdpdepay: GDP Depayloader
avi:  avisubtitle: Avi subtitle parser
avi:  avimux: Avi muxer
avi:  avidemux: Avi demuxer
tcp:  multifdsink: Multi filedescriptor sink
tcp:  tcpserversrc: TCP server source
tcp:  tcpserversink: TCP server sink
tcp:  tcpclientsrc: TCP client source
tcp:  tcpclientsink: TCP client sink
video4linux:  v4lsrc: Video (video4linux/raw) Source
ossaudio:  osssink: Audio Sink (OSS)
ossaudio:  osssrc: Audio Source (OSS)
ossaudio:  ossmixer: OSS Mixer
coreindexers:  memindex: A index that stores entries in memory
adder:  adder: Adder
ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter
audioresample:  audioresample: Audio scaler
playback:  playbin2: Player Bin 2
playback:  playbin: Player Bin
queue2:  queue2: Queue
audiotestsrc:  audiotestsrc: Audio test source
quicktime:  rtpxqtdepay: RTP packet depayloader
quicktime:  qtdemux: QuickTime demuxer
TICodecPlugin:  TIDmaiVideoSink: TI DMAI Video Sink
TICodecPlugin:  TIAuddec1: TI xDM 1.x Audio Decoder
TICodecPlugin:  TIAuddec: TI xDM 0.9 Audio Decoder
TICodecPlugin:  TIImgdec1: TI xDM 1.0 Image Decoder
TICodecPlugin:  TIImgenc1: TI xDM 1.0 Image Encoder
TICodecPlugin:  TIViddec2: TI xDM 1.2 Video Decoder
TICodecPlugin:  TIViddec: TI xDM 0.9 Video Decoder
typefindfunctions: application/pdf: pdf
typefindfunctions: audio/x-nsf: nsf
typefindfunctions: video/vivo: viv
typefindfunctions: application/x-mmsh: no extensions
typefindfunctions: multipart/x-mixed-replace: no extensions
typefindfunctions: video/x-dirac: no extensions
typefindfunctions: application/x-ms-dos-executable: cpl, msstyles, scr, sys, 
ocx, exe, dll
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: wvp, wv
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-celt: 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: audio/x-flac: flac
typefindfunctions: application/x-kate: 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: dif, dv
typefindfunctions: video/x-mve: mve
typefindfunctions: video/x-matroska: mka, mkv
typefindfunctions: image/tiff: tiff, tif
typefindfunctions: image/bmp: bmp
typefindfunctions: image/png: png
typefindfunctions: image/gif: gif
typefindfunctions: image/jpeg: jpeg, jpe, jpg
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: svx, iff
typefindfunctions: audio/x-aiff: aifc, aif, aiff
typefindfunctions: audio/x-wav: wav
typefindfunctions: application/xml: xml
typefindfunctions: application/smil: smil
typefindfunctions: application/sdp: sdp
typefindfunctions: text/uri-list: ram
typefindfunctions: text/plain: txt
typefindfunctions: video/x-flv: flv
typefindfunctions: application/x-shockwave-flash: swfl, swf
typefindfunctions: application/x-pn-realaudio: rmvb, rm, ram, ra
typefindfunctions: application/vnd.rn-realmedia: rmvb, rm, ram, ra
typefindfunctions: text/html: html, htm
typefindfunctions: video/mj2: mj2
typefindfunctions: image/jp2: jp2
typefindfunctions: image/x-quicktime: qti, qtif, qif
typefindfunctions: video/quicktime: mov
typefindfunctions: application/x-3gp: 3gp
typefindfunctions: audio/x-m4a: m4a
typefindfunctions: video/x-nuv: nuv
typefindfunctions: video/x-h264: 264, x264, h264
typefindfunctions: video/mpeg4: m4v
typefindfunctions: video/mpeg-elementary: mpg, mpeg, mpv
typefindfunctions: application/ogg: ogm, ogg, anx
typefindfunctions: video/mpegts: ts
typefindfunctions: video/mpeg-sys: mpg, mpeg, mpe
typefindfunctions: audio/x-ac3: ac3
typefindfunctions: audio/mpeg: mpga, mp1, mp2, mp3
typefindfunctions: audio/x-mod: xm, ult, stx, stm, s3m, sam, okt, mtm, mod, 
med, it, imf, far, gdm, dsm, amf, 669
typefindfunctions: audio/x-ttafile: tta
typefindfunctions: application/x-apetag: wv, mpc, ape
typefindfunctions: application/x-id3v1: tta, flac, ogg, mpga, mp1, mp2, mp3
typefindfunctions: application/x-id3v2: tta, flac, ogg, mpga, mp1, mp2, mp3
typefindfunctions: video/x-fli: fli, flc
typefindfunctions: audio/midi: midi, mid
typefindfunctions: audio/x-imelody: imelody, ime, imy
typefindfunctions: video/x-vcd: dat
typefindfunctions: video/x-cdxa: dat
typefindfunctions: audio/qcelp: qcp
typefindfunctions: video/x-msvideo: avi
typefindfunctions: audio/x-au: snd, au
typefindfunctions: audio/x-musepack: mp+, mpp, mpc
typefindfunctions: video/x-ms-asf: wmv, wma, wm, asf
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 27 plugins, 156 features
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Gstreamer-embedded mailing list
Gstreamer-embedded@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded

Reply via email to