Add a library for thumbnail generation based on dtdriver
"Zhao, Halley" <[email protected]>
| Newsgroups | gmane.comp.multimedia.helix.devel |
|---|---|
| Message-ID | <8FED46E8A9CA574792FC7AACAC38FE7701E86DE2E4@PDSMSX501.ccr.corp.intel.com> |
Synopsis:
Add a new library to create thumbnail based on dtdriver;
it could extract thumbnail/metadata from media stream.
Overview:
There use to be some function in hxclientkit to create thumbnail.
while these function doesn't tight to hxclientkit (only depend on dtdriver),
and the feature is used not limit to Helix player; for example: some daemon
for media discover and file browser could use it, etc.
so I try to create this separate library to provide simplified interface:
bool GetVideoFrame(const char* uri, const char* file, unsigned int position=0 );
const char* GetMetaData(const char* uri, DtdriverMediainfoProcPtr dtdr_mediainfo_callback);
Files Added:
|-- thumbnail
| |-- LICENSE.txt
| |-- RCSL.txt
| |-- RPSL.txt
| |-- Umakefil
| |-- pub
| | |-- CHXClientThumbnailUnix.h
| | `-- hxthumb.h
| |-- src
| | |-- CHXClientThumbnailUnix.cpp
| | |-- hxthumb.cpp
| | `-- thumbGuids.cpp
| |-- test
| | |-- Umakefil
| | |-- main.cpp
| | `-- unix.pcf
| |-- thumbnail.exp
| `-- unix.pcf
only hxthumb.cpp and thumbGuids.cpp are newly added source files.
test/main.cpp is a sample to use this library.
Files Modified:
player/thumbnail/CHXClientThumbnailUnix.cpp
hxclient_3_4_1_atlas.bif
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:
<libhxthumb.so>
Distribution library impact and planned action:
add this library to the bundle package of Helix based player
Platforms and Profiles Build Verified:
Set BIF branch -> hxclient_3_4_1_atlas
Set Target(s) -> dtdr_thumb-generator
Set Profile -> helix-client-all-defines
System ID -> linux-2.2-libc6-gcc32-i586
Branch:
HEAD/hxclient_3_4_1_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:
hxclient_3_4_1_atlas.bif.diff.txt, thumbnail.tgz
ZHAO, Halley (Aihua)
Email: [email protected]<BLOCKED::mailto:[email protected]>
Tel: +86(21)61166476
iNet: 8821-6476
SSG/OTC/Moblin 3W038 Pole: F4
_______________________________________________
Helix-client-dev mailing list
[email protected]
http://lists.helixcommunity.org/mailman/listinfo/helix-client-dev
hxclient_3_4_1_atlas.bif.diff.txt
(text/plain, 925 B)
Index: hxclient_3_4_1_atlas.bif
===================================================================
RCS file: /cvsroot/client/build/BIF/hxclient_3_4_1_atlas.bif,v
retrieving revision 1.1
diff -u -w -r1.1 hxclient_3_4_1_atlas.bif
--- hxclient_3_4_1_atlas.bif 4 Jun 2008 20:51:16 -0000 1.1
+++ hxclient_3_4_1_atlas.bif 17 Aug 2009 05:15:59 -0000
@@ -17679,6 +17679,22 @@
</dependlist>
</module>
+ <!-- THUMBNAIL_GENERTOR -->
+ <module id="dtdr_thumb-generator" group="core" name="player/thumbnail">
+ <cvs root="helix"/>
+ <cvs path="player/kit/thumbnail"/>
+ <includeplatforms>
+ unix
+ </includeplatforms>
+ <dependlist>
+ common_runtime
+ common_container
+ common_system
+ common_dbgtool
+ </dependlist>
+
+ </module>
+
<!-- PLAYER_MID -->
<module id="player_mid" name="player/mid" group="player">
<cvs root="helix"/>
thumbnail.tgz
(application/x-compressed, 38.3 KB) - not displayed