Hi Mark,
      I export GST_PLUGIN_PATH to my gstreamer share library path, and fixed 
the issue.
Thanks for your help.

Nick

-----Original Message-----
From: rygel-list [mailto:[email protected]] On Behalf Of Nick_Hsu 
徐琮發 (HQ)
Sent: Wednesday, July 17, 2013 10:49 AM
To: [email protected]; [email protected]
Subject: RE: playbin error

Hi Mark,

Below is my test result:

# gst-inspect
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

# gst-launch-0.10 playbin2
ERROR: pipeline could not be constructed: no element "playbin2".

It's seems have no element playbin2 in gst-plugins-base, I think something 
wrong during building package gst-plugins-base.
Maybe share library not linked or other .................
Could you give me some advice or tell me what flag should use during building 
package gst-plugins-base ?


-----Original Message-----
From: rygel-list [mailto:[email protected]] On Behalf Of Mark Ryan
Sent: Tuesday, July 16, 2013 8:14 PM
To: [email protected]
Subject: Re: playbin error

Hi Nick,


On 07/16/2013 10:44 AM, [email protected] wrote:
> Hi all,
>
> When I execute the rygel, I met the follow error:
>
> # rygel -c /usr/local/etc/rygel.conf -g 5
>
> (rygel:508): Rygel-DEBUG: rygel-user-config.vala:151: Loaded system
> configuration from file '/usr/local/etc/rygel.conf'
>
> (rygel:508): Rygel-DEBUG: rygel-user-config.vala:158: Loaded user
> configuration from file '/usr/local/etc/rygel.conf'
>
> (rygel:508): Rygel-DEBUG: rygel-plugin-loader.vala:99: Searching for
> modules in folder '/usr/local/lib/rygel-1.0'.
>
> ** (rygel:508): WARNING **: GSSDPClient:main-context is deprecated.
> Please use g_main_context_push_thread_default()
>
> (rygel:508): Rygel-DEBUG: rygel-main.vala:137: New network 127.0.0.0
> (lo) context available. IP: 127.0.0.1
>
> ** (rygel:508): WARNING **: GSSDPClient:main-context is deprecated.
> Please use g_main_context_push_thread_default()
>
> (rygel:508): Rygel-DEBUG: rygel-main.vala:137: New network 2.0.0.0
> (eth0) context available. IP: 2.80.93.222
>
> (rygel:508): Rygel-DEBUG: rygel-plugin-loader.vala:183: Loaded module
> source: '/usr/local/lib/rygel-1.0/librygel-external.so'
>
> (rygel:508): MediaExport-DEBUG: rygel-media-export-database.vala:97:
> Using database file /root/.cache/rygel/media-export.db
>
> Rygel-Message: New plugin 'MediaExport' available
>
> (rygel:508): Rygel-DEBUG: rygel-plugin-loader.vala:183: Loaded module
> source: '/usr/local/lib/rygel-1.0/librygel-media-export.so'
>
> Rygel-Message: New plugin 'Playbin' available
>
> (rygel:508): Rygel-DEBUG: rygel-plugin-loader.vala:183: Loaded module
> source: '/usr/local/lib/rygel-1.0/librygel-playbin.so'
>
> (rygel:508): Rygel-DEBUG: rygel-plugin-loader.vala:141: Finished
> searching for modules in folder '/usr/local/lib/rygel-1.0'
>
> (rygel:508): Rygel-DEBUG: rygel-root-device-factory.vala:264: No icon
> provided by plugin 'MediaExport'. Using Rygel logo.
>
> (rygel:508): GStreamer-CRITICAL **: gst_object_unref: assertion
> `object != NULL' failed
>
> (rygel:508): Rygel-DEBUG: rygel-v1-hacks.vala:71: V1 downgrade will be
> applied for devices matching .*Allegro-Software-WebClient.*|.*SEC[_
> ]HHP.*|.*Mediabolic-IMHTTP/1.*
>
> (rygel:508): Rygel-DEBUG: rygel-root-device-factory.vala:264: No icon
> provided by plugin 'MediaExport'. Using Rygel logo.
>
> (rygel:508): GStreamer-CRITICAL **: gst_object_unref: assertion
> `object != NULL' failed
>
> (rygel:508): Rygel-DEBUG: rygel-root-device-factory.vala:264: No icon
> provided by plugin 'Playbin'. Using Rygel logo.
>
> (rygel:508): GStreamer-CRITICAL **: gst_object_ref_sink: assertion
> `GST_IS_OBJECT (object)' failed
>
> **
>
> Playbin:ERROR:rygel-playbin-player.c:125:rygel_playbin_player_construct:
> assertion failed: (_tmp1_ != NULL)
>
> Aborted
>
> My build environment is arm-base, I’m sure I have install
> gst-plugins-base, gst-plugins-good, gst-plugins-ugly, and gst-plugins-bad.
>
> I check /usr/local/lib/gstreamer-0.10 on the target rootfs, the
> libgstplaybin.so is found.
>
> Could anyone help me to check if anything wrong ?
>


It looks like playbin2 is not working on your device.  This can be easily 
verified without using Rygel.

 From the command line simply type

gst-launch-0.10 playbin2 uri=file:///home/me/myvideo.wmv

where ///home/me/myvideo.wmv is the path to a video file stored locally on your 
device?  If this doesn't work it implies that playbin2 is not working properly 
on your device.

BTW., are you planning to use Rygel as a DMR or a DMS or both?  If you only 
want to use the DMS functionality you can probably get Rygel to start on your 
device by disabling the playbin plugin in the rygel.conf file.

In any case, I guess we should see if we can detect the case when playbin is 
not working and simply disable the playbin plugin rather than asserting.

Best Regards,

Mark

_______________________________________________
rygel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rygel-list
This electronic mail transmission is intended only for the named recipient. It 
contains information which may be privileged,confidential and exempt from 
disclosure under applicable law. Dissemination, distribution, or copying of 
this communication by anyone other than the recipient or the recipient's agent 
is strictly prohibited. If this electronic mail transmission is received in 
error, Please notify us immediately and delete the message and all attachments 
of it from your computer system. Thank you for your cooperation.
_______________________________________________
rygel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rygel-list
This electronic mail transmission is intended only for the named recipient. It 
contains information which may be privileged,confidential and exempt from 
disclosure under applicable law. Dissemination, distribution, or copying of 
this communication by anyone other than the recipient or the recipient's agent 
is strictly prohibited. If this electronic mail transmission is received in 
error, Please notify us immediately and delete the message and all attachments 
of it from your computer system. Thank you for your cooperation.
_______________________________________________
rygel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/rygel-list

Reply via email to