[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xine-devel
Subject:    Re: [xine-devel] Problem adding the G.723.1 plug-in
From:       Michael Roitzsch <mroi () users ! sourceforge ! net>
Date:       2004-06-28 12:22:06
Message-ID: 200406281422.06762.mroi () users ! sourceforge ! net
[Download RAW message or body]

Hi,

> We have to integrate the G7231 speech codec to xine player.
>
> We have done the following things:
>
>    Demuxer for G7231 with name demux_gsm. This has been made a part of
> xineplug_dmx_audio.so plugin and it is located in
> /usr/local/lib/xine/plugins/1.0.0 directory. This demuxer plugin is
> detected by xine player. It is also updated in catalog.cache file and gets
> listed with the following option
>
> Xine –list-plugins=demux
>
> When we give it an input file encoded using G7231 encoder, it gets launched
> properly. We have used the ‘detect by extension’ strategy for demuxer.

Amazing work already. Do you plan to maintain this as a separate project when 
you are done or should we discuss integrating it into the main xine 
distribution?

>    Decoder plugin for G7231
>
> We have made a separate folder called libgsm7231 under xine/src which
> contains all source code files and xine_decoder.c file. We have updated all
> the appropriate makefiles and configure and configure.ac files. The decoder
> plugin is successfully formed under the name xineplug_decode_g7231.so in
> the folder usr/local/lib/xine/plugins/1.0.0.
>
> However when we give  Xine –list-plugins=audio_decoder, our decoder is not
> listed. It is not even updated in the catalog.cache file. It is not
> detected by xine player and we are not able to play our file.
>
> Please let us know as to how we can get our decoder detected by xine
> player. What else needs to be done. Do we have to register it in any file
> or something.

You don't have to register it anywhere for xine to see the decoder. Just 
throwing it in the plugin dir should be enough. If it does not work, I see 
two possible reasons:
* the decoder interface version number you specified in your decoders plugin
  info structure does not match the current one (15) defined in
  audio_decoder.h
* the shared object of your plugin has unresolved symbols, you can check that
  with `ldd -r /usr/local/lib/xine/plugins/1.0.0/xineplug_decode_g7231.so`

Michael

-- 
printk("ufs_read_super: fucking Sun blows me\n");
	2.0.38 /usr/src/linux/fs/ufs/ufs_super.c


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xine-devel mailing list
xine-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xine-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic