[maemo-developers] [maemo-developers] dspmpeg4sink
From: Pierre TARDY pierre.tardy at freescale.comDate: Tue Jun 6 13:04:51 EEST 2006
- Previous message: [maemo-developers] dspmpeg4sink
- Next message: [maemo-developers] Old Nokia Images
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
jeff zhu wrote: > I'm interesting in this problem too , How to use dspmpeg4sink . It seems that nokia guys are not very verbose about their proprietary software. Anyway, it seems that Koos Vriezen has done the reverse engineering job for its kmplayer port ( http://www.xs4all.nl/~jjvrieze/ ) He should have used dbus-monitor to catch the API between GUI and oss_media_player. osso_media_server is providing some dbus API that we should call to play the video. It seems that gst-launch is not the good way to launch the video. interresting lines are in kmplayerprocess.cpp: 296 DBusMessage *message = dbus_message_new_method_call (NULL, "/com/nokia/osso_media_server", "com.nokia.osso_media_server.video", "set_vide o_window"); 297 dbus_message_set_destination(message,"com.nokia.osso_media_server"); 298 dbus_message_append_args (message, DBUS_TYPE_INT32, m_rect.x(), DBUS_TYPE_INT32, m_rect.y(), DBUS_TYPE_INT32, m_rect.width(), DBUS_TYPE_I NT32, m_rect.height(), DBUS_TYPE_INVALID); 299 dbus_connection_send (connection, message, NULL); 315 const char * service = !mrl->audio_only ? "com.nokia.osso_media_server.video" : "com.nokia.osso_media_server.music"; 316 DBusMessage *message = dbus_message_new_method_call (NULL, "/com/nokia/osso_media_server", service, "play_media"); 317 printf ("OssoMediaServer::play %s %s\n", service, (const char *) node->mrl ()->src); 318 dbus_message_set_destination (message, "com.nokia.osso_media_server"); 319 dbus_message_append_args (message, DBUS_TYPE_STRING, (const char *) node->mrl ()->src, DBUS_TYPE_INVALID); The problem is that ossomediaplayer seams to not allow building our own gstreamer pipeline, though, the udp streaming. may be difficult. Maybe the ossomediaplayer accept sdp mrl or udp:// mrl, this has to be checked. The other thing is that gstreamer 0.8 is not very good at networking. Maybe we should wait for OS 2006 to have gstreamer 0.10 and its h263 over RTP support. > > > > > 2006/6/3, M M <mikel_m01 at yahoo.com <mailto:mikel_m01 at yahoo.com>>: > > Hi Bob, > Thanks for your response!, It is not a typo, it is correct as > represented. > Thanks once again! > > Regards, > Michael > > // - > > Hi Michael > > I hope your line below is a typo:) > > gst-launch-0.8 udpsrc ! video/x-h263 ! dspmpeg4sink > I think should be > > gst-launch-0.8 udpsrc | video/x-h263 | dspmpeg4sink > > ! should be | ?? > > Regards > > Bob > > > > > ------------------------------------------------------------------------ > Sneak preview the all-new Yahoo.com > <http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview>. > It's not radically different. Just radically better. > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org <mailto:maemo-developers at maemo.org> > https://maemo.org/mailman/listinfo/maemo-developers > > > > ------------------------------------------------------------------------ > > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers > -- Pierre Tardy
- Previous message: [maemo-developers] dspmpeg4sink
- Next message: [maemo-developers] Old Nokia Images
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]