Re: playbin error



Hi Nick,


On 07/16/2013 10:44 AM, Nick_Hsu Alphanetworks com 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]