CN: Add GetMediaInfo() to get abstrctinformation of media stream in dbus-server
"Zhao, Halley" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <094BCE01AFBE9646AF220B0B3F367AAB031062BE@pdsmsx413.ccr.corp.intel.com> |
Commit to Atlas310 & HEAD. >-----Original Message----- >From: Eric Hyche [mailto:[email protected]] >Sent: 2008年5月13日 23:47 >To: Zhao, Halley; [email protected] >Cc: Lynch, Rusty >Subject: RE: [Helix-client-dev] CR: Add GetMediaInfo() to get >abstrctinformation of media stream in dbus-server > > >Looks good. > >============================================= >Eric Hyche ([email protected]) >Technical Lead >RealNetworks, Inc. > >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On >> Behalf Of Zhao, Halley >> Sent: Tuesday, May 13, 2008 5:48 AM >> To: [email protected] >> Cc: Lynch, Rusty >> Subject: [Helix-client-dev] CR: Add GetMediaInfo() to get >> abstrctinformation of media stream in dbus-server >> >> >> >> Synopsis: >> >> Add GetMediaInfo() to get abstrct information of media >> stream through dtdriver >> >> >> >> Overview: >> >> 1. API name : GetMediaInfo() >> >> ==== return value: a combine of audio/video stream >> mime type, for example: "video/X-HX-I420:audio/L16" >> >> ==== other abstract information is sent through D-Bus >> signal one by one: >> >> 2. D-Bus Signal for complementary information >> during GetMediaInfo() function call: >> >> ====signal name: "MediaInfoAbstract" >> >> ==== the content is a pair of key/value, for example: >> "Width", 320 or "Author", "Company" >> >> ==== Constraint: >> >> Complex character can't be sent through >> D-Bus, so if there is any complex character inside the >> key/value above, >> >> We will use "**" instead. For example: >> "CopyRight", "**" >> >> 3. Emit signal whether there is video content >> in the stream during playback. >> >> When you are play backing a media stream, we will >> raise a signal for whether it has video stream. >> >> ==== signal name: "HasVisualContent" >> >> ==== content: 1 stands for there is video content in >> the stream, >> >> 0 stands for there is no video content >> in the stream >> >> >> >> Files Added: >> >> No file added >> >> Files Modified: >> >> helix-dbus-server.cpp: >> (player/kit/dbus-server/src/helix-dbus-server.cpp) >> >> Add API GetMediaInfo() >> >> Add callback function to emit D-Bus signal. >> >> hxplayer.cpp: (player/kit/dbus-server/src/hxplayer.cpp) >> >> emit "HasVisualContent" signal during playback >> >> >> >> Image Size and Heap Use impact (Client -Only): >> >> little >> >> Platforms and Profiles Affected: >> >> platform: linux-2.2-libc6-gcc32-i586 >> >> profile: helix-client-all-defines >> >> >> >> Distribution Libraries Affected: >> >> <helix-dbus-server.bin> >> >> Distribution library impact and planned action: >> >> <None> >> >> Platforms and Profiles Build Verified: >> >> Set BIF branch -> hxdbus_3_1_0_atlas >> >> Set Target(s) -> dbus_server_with_video >> >> Set Profile -> helix-client-all-defines >> >> System ID -> linux-2.2-libc6-gcc32-i586 >> >> Branch: >> >> HEAD, hxclient_3_1_0_atlas >> >> Copyright assignment: <MUST be one of the following statements > >> >> 2. Intel has signed and delivered a Joint Copyright Assignment >> >> to RealNetworks, and received acknowledgment that the >> >> agreement was received. >> >> Files Attached: >> >> dbus-server-mediaAbstractInfo.diff.txt >> >> ZHAO, Halley (Aihua) >> >> Email: [email protected] <mailto:[email protected]> >> >> Tel: +86(21)61166476 >> >> iNet: 8821-6476 >> >> SSG/OTC/UMD >> >> >> >> _______________________________________________ Helix-client-dev mailing list [email protected] http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev