[gst-devel] Lame plugin on Gstreamer

yang shaobo yangsb05 at gmail.com
Sun Nov 30 10:22:45 CET 2008


Thanks for all your reply.
I reinstall the lame-398-2.tar.gz which is downloaded  from
www.lame.sourceforge.net.
It does generate libs and headers ( lame/lame.h ).

Should I install another lame package( other than lame-398-2.tar.gz ) ?
Can you give me some advice ?

2008/11/29, Cameron Gorrie <sastraxi at gmail.com>:
> Perhaps you have the lame library installed, but it's the lame headers
> that it cannot find. You must install a package that provides the .h
> files the configure script is looking for, I believe.
>
> Cameron
>
> 2008/11/28 yang shaobo <yangsb05 at gmail.com>:
>> Hi, gstreamer-devel:
>> I checked the config.log , I found the following messages:
>>
>>
>> configure:32428: *** checking feature: lame mp3 encoder library ***
>> configure:32432: *** for plug-ins: lame ***
>> configure:32471: checking for lame_init in -lmp3lame
>> configure:32506:
>> /opt/dvsdk_1_30_00_40/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-gcc
>> -o conftest -I/home/filesys/usr/local/include -DENABLE_16BIT_SUPPORT
>> conftest.c -lmp3lame -lm  >&5
>> /opt/dvsdk_1_30_00_40/mv_pro_4.0.1/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl-montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld:
>> cannot find -lmp3lame
>> collect2: ld returned 1 exit status
>>
>>
>> What infomation  can I get from them ?
>>
>>
>> 2008/11/28, yang shaobo <yangsb05 at gmail.com>:
>>> Hi  Eric Zhang
>>> Thanks for your help.
>>> My host pc is RedHat Enterprise AS 4 .
>>> And I did not install liblame-dev, instead , I install
>>> lame-398-2.tar.gz from http://lame.sourceforge.net.
>>>
>>> Also I did not execute ./autogen .
>>> I execute ./configure instead.
>>>
>>> Could you please give me some advice ?
>>>
>>>
>>> 2008/11/28, Eric Zhang <nicolas.m.zhang at gmail.com>:
>>>> Hi, gstreamer-devel:
>>>>
>>>>     I have no idea what happened to you -- I tried on my Ubuntu and
>>>> seems
>>>> gst-plugins-ugly found my lame library. These are my steps:
>>>>
>>>>     1. sudo apt-get install lame liblame-dev
>>>>
>>>>     2. cd <gst-plugins-ugly-root-directory>
>>>>
>>>>     3. ./autogen --prefix=/usr
>>>>
>>>>     The output from configure is:
>>>> =====================================
>>>> configure: *** checking feature: lame mp3 encoder library ***
>>>> configure: *** for plug-ins: lame ***
>>>> checking for lame_init in -lmp3lame... yes
>>>> checking lame/lame.h usability... yes
>>>> checking lame/lame.h presence... yes
>>>> checking for lame/lame.h... yes
>>>> configure: *** These plugins will be built: lame
>>>>
>>>> ..................
>>>>
>>>> configure: *** Plug-ins without external dependencies that will be
>>>> built:
>>>>     asfdemux
>>>>     dvdlpcmdec
>>>>     dvdsub
>>>>     iec958
>>>>     mpegaudioparse
>>>>     mpegstream
>>>>     realmedia
>>>>
>>>> configure: *** Plug-ins without external dependencies that will NOT be
>>>> built:
>>>>     synaesthesia
>>>>
>>>> configure: *** Plug-ins with dependencies that will be built:
>>>>     amrnb
>>>>     lame
>>>>
>>>> configure: *** Plug-ins with dependencies that will NOT be built:
>>>>     a52dec
>>>>     cdio
>>>>     dvdnav
>>>>     dvdreadsrc
>>>>     id3tag
>>>>     mad
>>>>     mpeg2dec
>>>>     sid
>>>>
>>>> Now type 'make' to compile gst-plugins-ugly.
>>>> =====================================
>>>>
>>>>     So, maybe you should recheck your environment. Or does something
>>>> wrong
>>>> with your lame library?
>>>>
>>>> Eric Zhang
>>>>
>>>> 2008/11/28 yang shaobo <yangsb05 at gmail.com>
>>>>
>>>>> Thanks for all your help.
>>>>>
>>>>> The "libmp3lame.so" does exists after I install lame-398-2 , I could
>>>>> see
>>>>> it.
>>>>> I checked the " ./configure --help " , I found a option " -disable-lame
>>>>> ".
>>>>> My understanding is that lame is enabled by default .
>>>>> Could you please help me to check these infomation ?
>>>>>
>>>>>
>>>>> 2008/11/28, Eric Zhang <nicolas.m.zhang at gmail.com>:
>>>>> > Hi, gstreamer-devel:
>>>>> >
>>>>> >     1. Check whether the file /usr/lib/libmp3lame.so exists.
>>>>> >
>>>>> >     2. Check the configure options of gst-plugins-ugly. Run
>>>>> > `./configure
>>>>> > --help' to check whether a option like `--enable-lame' exists. If so,
>>>>> > add
>>>>> > it.
>>>>> >
>>>>> > Eric Zhang
>>>>> >
>>>>> > 2008/11/27 yang shaobo <yangsb05 at gmail.com>
>>>>> >
>>>>> >> Hi , I am a freshman on Gstreamer.
>>>>> >> I am cross compiling gstreamer on DM355( a arm926 core in it ).
>>>>> >> I tried to install the lame plugin to encode mp3 files.
>>>>> >> The version of gstreamer is
>>>>> >>
>>>>> >> glib-2.16.5.tar.gz
>>>>> >> gstreamer-0.10.20.tar.gz
>>>>> >> gst-plugins-base-0.10.20.tar.gz
>>>>> >> gst-plugins-good-0.10.8.tar.gz
>>>>> >> gst-plugins-ugly-0.10.8.tar.gz
>>>>> >> libid3tag-0.15.1b.tar.gz
>>>>> >> libmad-0.15.1b.tar.gz
>>>>> >> liboil-0.3.15.tar.gz
>>>>> >> lame-398-2.tar.gz
>>>>> >>
>>>>> >> When I intalling the gst-plugins-ugly-0.10.8 , I found the following
>>>>> >> messages:
>>>>> >> configure: *** checking feature: lame mp3 encoder library ***
>>>>> >> configure: *** for plug-ins: lame ***
>>>>> >> checking for lame_init in -lmp3lame... no
>>>>> >> configure: *** These plugins will not be built: lame
>>>>> >> Before I install the gst-plugins-ugly, I have intalled lame-398-2 .
>>>>> >> This problem puzzled for several weeks.
>>>>> >> Can someone help me ?
>>>>> >>
>>>>> >>
>>>>> -------------------------------------------------------------------------
>>>>> >> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> >> challenge
>>>>> >> Build the coolest Linux based applications with Moblin SDK & win
>>>>> >> great
>>>>> >> prizes
>>>>> >> Grand prize is a trip for two to an Open Source event anywhere in
>>>>> >> the
>>>>> >> world
>>>>> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> >> _______________________________________________
>>>>> >> gstreamer-devel mailing list
>>>>> >> gstreamer-devel at lists.sourceforge.net
>>>>> >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>> >>
>>>>> >
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>>>> challenge
>>>>> Build the coolest Linux based applications with Moblin SDK & win great
>>>>> prizes
>>>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>>>> world
>>>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> gstreamer-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>>
>>>>
>>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>




More information about the gstreamer-devel mailing list