Re: rygel no plugin found
- From: Soho Soho123 <soho123 2012 gmail com>
- To: Jens Georg <mail jensge org>
- Cc: rygel-list gnome org
- Subject: Re: rygel no plugin found
- Date: Thu, 5 Jul 2012 13:52:39 +0800
Dear Jens,
Thanks for your help!
I can play audio via Rygel renderer on my embedd platform.
Thanks again!!
2012/7/5 Soho Soho123 <soho123 2012 gmail com>:
> Dears,
>
> Could you give me some hints about this issue?
> in sm-info.c you say, how to compile:
> gcc -o sm-info $(pkg-config --cflags gio-2.0) sm-info.c $(pkg-config
> --libs gio-2.0)
>
> is it differnet with my cross compile option?
> because when I install sm-info to my target , it can not run,
> g_type_init () will not return, it can not used to do the test that
> you mentioned.
>
> it is the simple application about glib.
>
> I am very new in glib and gstreamer field. Your input is very helpful for me!
>
> Thanks!
>
> 2012/7/4 Soho Soho123 <soho123 2012 gmail com>:
>> Dears,
>>
>> here is the compile log about sm-info:
>> rsdk-linux-gcc -O2 -I../ligst_related/bin/../include/glib-2.0
>> -I../ligst_related/bin/../lib/glib-2.0/include -c -o sm-info.o
>> sm-info.c
>> sm-info.c: In function 'main':
>> sm-info.c:8: warning: incompatible implicit declaration of built-in
>> function 'printf'
>> rsdk-linux-gcc -L../ligst_related/bin/../lib -lz -lffi -lintl -liconv
>> -lglib-2.0 -lgio-2.0 -lgthread-2.0 -lgmodule-2.0 -lgobject-2.0 -o
>> smInfo sm-info.o
>>
>> 2012/7/4 Soho Soho123 <soho123 2012 gmail com>:
>>> Dears,
>>>
>>> the attached is log about you mentioned.
>>> But the tool sm-info can not run in our platform.
>>> since g_type_init (); do not return for a long time,
>>> do you have idea about this issue?
>>> glib i used is 2.32.3
>>>
>>>
>>> Thanks!!!
>>>
>>> 2012/7/4 Jens Georg <mail jensge org>:
>>>> On Mi, 2012-07-04 at 19:32 +0800, Soho Soho123 wrote:
>>>>> Dears,
>>>>>
>>>>> I un-tar a original tarboll of rygel, and do configure again with new option.
>>>>> rygel still get no plugin yet.
>>>>>
>>>>> I install librygel-gst-launch.so, and librygel-playbin.so in the path
>>>>> /usr/lib/rygel-1.0
>>>>> I install rygel config file in the path
>>>>> /etc
>>>>> I install shared-mime-info in the path
>>>>> /usr/share/locale
>>>>> /usr/share/mime
>>>>>
>>>>> the plugin can not detect by rygel.
>>>>> and the comment that you mentioned:
>>>>> "Wherever your copy of glib expects it to be",
>>>>> how about the meaning?
>>>>> for example :
>>>>> in locale folder:
>>>>> af/LC_MESSAGES/glib20.mo
>>>>> af/LC_MESSAGES/rygel.mo
>>>>> af/LC_MESSAGES/shared-mime-info.mo, they should be put together, right?
>>>>
>>>> You can basically ignore those, they are translations. the folder
>>>> after /locale/ is the language.
>>>>
>>>>>
>>>>> but
>>>>> shared-mime-info do not have /locale/af, it has /locale/ar.
>>>>> it is different with glib
>>>>>
>>>>> do you have any idea about rygel can not find plugin?
>>>>
>>>> If you compile the attached program and run it on your target device
>>>> (sm-info /usr/lib/rygel-1.0/*) what is the output?
>>>>
>>>> Also, can you run rygel with -g 5 and include that output?
>>>>
>>>>>
>>>>> Thanks!
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> 2012/7/4 Jens Georg <mail jensge org>:
>>>>> > On Mi, 2012-07-04 at 16:21 +0800, Soho Soho123 wrote:
>>>>> >> Dears,
>>>>> >>
>>>>> >> about shared-mime-info issue:
>>>>> >> I do not know which part is necessary for rygel.
>>>>> >> for example:
>>>>> >>
>>>>> >> when shared-mime-info-1.0 is finish install procedure, then which
>>>>> >> folder is necessary to install to our embedd platform file system?
>>>>> >
>>>>> > Wherever your copy of glib expects it to be. usally that's /usr/share,
>>>>> > yes.
>>>>> >
>>>>> >>
>>>>> >> I have install
>>>>> >> /share/mime
>>>>> >> /share/locale
>>>>> >> to our embedd platform file system
>>>>> >> /usr/share, then we have the content in root file system:
>>>>> >> /usr/share/mime
>>>>> >> /usr/share/locale
>>>>> >>
>>>>> >> Is it correct install shared-mime-info?
>>>>> >> thanks
>>>>> >>
>>>>> >>
>>>>> >> 2012/7/4 Jens Georg <mail jensge org>:
>>>>> >> > On Mi, 2012-07-04 at 15:07 +0800, Soho Soho123 wrote:
>>>>> >> >> Dears,
>>>>> >> >>
>>>>> >> >> I am new in Rygel.
>>>>> >> >> I have problem about:
>>>>> >> >> I have install
>>>>> >> >> librygel-playbin.so
>>>>> >> >> librygel-gst-launch.so to /etc/rygel-1.0/Rygel
>>>>> >> >
>>>>> >> > This is the wrong directory, depending on how Rygel was built, the
>>>>> >> > plugins need to go to ${prefix}/lib/rygel-1.0, so /usr/lib/rygel-1.0
>>>>> >> > or /usr/local/lib/rygel-1.0
>>>>> >> >
>>>>> >> >
>>>>> >> >> But when I start rygel by "rygel" command in terminal
>>>>> >> >> I got the message :
>>>>> >> >> Rygel-WARNING **: No plugins found in 5 seconds; giving up..
>>>>> >> >>
>>>>> >> >> Does anyone have idea about this message?
>>>>> >> >> I see the short faq, that describes "shared-mime-info" should be
>>>>> >> >> install well such that plugin detect will work fine.
>>>>> >> >> But I donot know how to install "shared-mime-info",
>>>>> >> >> My platform is an embedded platform for media render application.
>>>>> >> >>
>>>>> >> >> Does anyone have idea about install shared-mime-info?
>>>>> >> >
>>>>> >> > That depends on your platform. Its sources seem to be available at
>>>>> >> > http://people.freedesktop.org/~hadess/
>>>>> >> >
>>>>> >> >
>>>>> >> > _______________________________________________
>>>>> >> > rygel-list mailing list
>>>>> >> > rygel-list gnome org
>>>>> >> > https://mail.gnome.org/mailman/listinfo/rygel-list
>>>>> >>
>>>>> >
>>>>> >
>>>>>
>>>>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]