Re: [Tracker] Add support for OMA DRM Content format

2011-03-13 Thread Lin, Mengdong
Thank you, Martyn! I will. But we have to go through the open source approval before I could summit the patch for review. It may take 1 ~ 2 weeks. Best Regards Amanda > Can you create a bug report and submit a patch for review based on this > thread? I don't have an objections to what I have see

[Tracker] Build error: Where is the file "tracker-miner-applications-meego.h"?

2011-03-01 Thread Lin, Mengdong
I've installed the tracker source package v0.9.34, on Feb.22 MeeGo image. But a file missing error happened when I built the source code. The missing file is "tracker-miner-applications-meego.h". Could someone tell me where is this file? Many thanks! Here is the error output: make[5]: Entering d

Re: [Tracker] Add support for OMA DRM Content format

2011-02-22 Thread Lin, Mengdong
There may be a better way: How about introducing a "priority" or "rank" property for the extractors? Once a extractor is loaded, it's order in the specific/general extractor list is decided by its priority. If more than one extractors match a mime type, the higher-priority one will be tired befo

Re: [Tracker] Add support for OMA DRM Content format

2011-02-22 Thread Lin, Mengdong
Here is my change on Tracker GStreamer extractor and it works. Is this method doable? And Can I submit a patch for it? For OMA DRM content format (DCF), it will try GStreamer at first. If GStreamer DRM-aware extensions are installed, then decodebin2 can recognize the original media type and extr

Re: [Tracker] how to see an extractor's log by g_debug( )

2011-02-21 Thread Lin, Mengdong
Sorry, it's my mistake. The g_debug() is added where the program didn't run to. I'll close the bug. > -Original Message- > From: Lin, Mengdong > Sent: Tuesday, February 22, 2011 11:33 AM > To: 'Ivan Frade'; Philip Van Hoof > Cc: tracker-list@gnome

Re: [Tracker] how to see an extractor's log by g_debug( )

2011-02-21 Thread Lin, Mengdong
I submitted a Bug 642937 - An extractor's output by g_debug( ) can not be logged in Tracker 0.10.0 > You can also start the extractor by hand: path/to/tracker-extract -v > 3 -f FILE and it will print the output in the terminal. The command line cannot got the output either. When I rolled back

Re: [Tracker] ANNOUNCE: tracker 0.10.0 released (stable)

2011-02-20 Thread Lin, Mengdong
> Notes: > >The database version has been incremented, this will force a >reindex for any existing Tracker installation. How to do it? I uninstalled the old tracker version, and installed 0.10.0. Is this enough? Thanks Amanda ___ tracker-list

[Tracker] how to see an extractor's log by g_debug( )

2011-02-20 Thread Lin, Mengdong
I installed tracker 0.10.0, and set Verbosity=3 (debug) in the tracker-extract.cfg. But I cannot see the extractor's output by g_debug() in the log file "tracker-extract.log". How can I get these logs? I remember I could in an older version of Tracker. Thanks Amanda __

Re: [Tracker] Add support for OMA DRM Content format

2011-02-19 Thread Lin, Mengdong
Supporting DRM formats usually involves proprietary multimedia framework extension (such as the DRM-aware GStreamer plug-in) and low-level proprietary HW/SW support. It seems better to enhance GStreamer extractor than writing a new DCF extractor, because: - If it depends on GStreamer, it cannot

Re: [Tracker] Add support for OMA DRM Content format

2011-02-19 Thread Lin, Mengdong
Thank you all for the advice! It's straight forward to adding "application/vnd.oma.drm.content" to the list of mimetypes the gstreamer extractor can handle. To be honest, writing a new DCF extractor cannot make metadata extraction faster because it still depends on GStreamer and its extension (t

Re: [Tracker] Add support for OMA DRM Content format

2011-02-18 Thread Lin, Mengdong
I opened another loop to discuss this : http://mail.gnome.org/archives/tracker-list/2011-February/msg00042.html -Original Message- From: tracker-list-boun...@gnome.org [mailto:tracker-list-boun...@gnome.org] On Behalf Of Lin, Mengdong Sent: Friday, February 18, 2011 4:21 PM To: tracker

[Tracker] Add support for OMA DRM Content format

2011-02-18 Thread Lin, Mengdong
I want to add support for OMA DRM Content Format (DCF), an encrypted file format. Here is my solution: (1) I've registered *.dcf files in shared-mime-info, MIME type is "application/vnd.oma.drm.content". (2) We developed a DRM-aware GStreamer file source plug-in that can decrypt the protecte

[Tracker] Add support for OMA DRM Content format

2011-02-18 Thread Lin, Mengdong
I want to add support for OMA DRM Content Format (DCF), an encrypted file format. Here is my solution: (1) I've registered *.dcf files in shared-mime-info, MIME type is "application/vnd.oma.drm.content". (2) We developed a DRM-aware GStreamer file source plug-in that can decrypt the protected

Re: [Tracker] How tracker use libstreamanalyzer?

2011-02-17 Thread Lin, Mengdong
Regards Amanda -----Original Message- From: Martyn Russell [mailto:mar...@lanedo.com] Sent: Thursday, February 17, 2011 6:22 PM To: Lin, Mengdong Cc: tracker-list@gnome.org Subject: Re: [Tracker] How tracker use libstreamanalyzer? On 17/02/11 08:20, Lin, Mengdong wrote: > Could someone t

Re: [Tracker] How tracker use libstreamanalyzer?

2011-02-17 Thread Lin, Mengdong
Has tracker-extract already integrate libstreamanalyzer? If yes, when and how does tracker use it? ___ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list

[Tracker] How tracker use libstreamanalyzer?

2011-02-17 Thread Lin, Mengdong
Could someone tell me how tracker may use of libstreamanalyzer? Is there any code that I can refer to? Many thanks! Amanda ___ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list

Re: [Tracker] Can a tracker extractor change the MIME type of a input file?

2011-02-16 Thread Lin, Mengdong
For option #2, Could you tell me how tracker works with libstreamanalyzer? Which source code file shall I refer to? Many thanks! Amanda -Original Message- From: Philip Van Hoof [mailto:s...@pvanhoof.be] Sent: Friday, December 10, 2010 7:15 AM To: Lin, Mengdong Cc: Martyn Russell

Re: [Tracker] Can a tracker extractor change the MIME type of a input file?

2010-12-09 Thread Lin, Mengdong
we cannot use GStreamer extractor to get the rich meta data. Best Regards Amanda -Original Message- From: Philip Van Hoof [mailto:s...@pvanhoof.be] Sent: Friday, December 10, 2010 7:15 AM To: Lin, Mengdong Cc: Martyn Russell; tracker-list@gnome.org Subject: Re: [Tracker] Can a tracker

[Tracker] Can a tracker extrator make use of another extractor by calling "tracker_extract_get_metadata"?

2010-12-08 Thread Lin, Mengdong
I 'm writing an extractor to support OMA DRM v1 file format. Its mime type is "application/vnd.oma.drm.content". The original media content is encrypted and embedded in this file. And this DRM extractor can get the original media type by reading the file header. If the protected content is audio

Re: [Tracker] Can a tracker extractor change the MIME type of a input file?

2010-12-08 Thread Lin, Mengdong
>In theory, it is possible, but I don't recommend it. >Tracker also already would register this file as an "audio" class in the >ontology used and written to the database, so the mime type shouldn't >need changing if you mean to search for all audio files in Tracker. How can the tracker recogni

[Tracker] Can a tracker extractor change the MIME type of a input file?

2010-12-08 Thread Lin, Mengdong
I wonder whether the a extractor can change the MIME type? I want to support media types protected by OMA DRM V1. There is a encryption wrapper outside the original media content. The wrapper file's MIME type is : application/vnd.oma.drm.content By registering this mime type to "shared-mime-info

Re: [Tracker] How does tracker recognize the mime type of a new file?

2010-12-07 Thread Lin, Mengdong
.fr...@gmail.com]> Sent: Wednesday, December 08, 2010 12:44 AM To: Lin, Mengdong Cc: Martyn Russell; Michele Tameni; tracker-list@gnome.org<mailto:tracker-list@gnome.org> Subject: Re: [Tracker] How does tracker recognize the mime type of a new file? hi, Tagreadbin doesn't load any dec

Re: [Tracker] How does tracker recognize the mime type of a new file?

2010-12-07 Thread Lin, Mengdong
Thanks a lot! The MIME type I want to support is a wrapper file format of OMA DRM : application/vnd.oma.drm.content It's not supported by " shared-mime-info" yet. The original media file is embedded in this wrapper. Now I have two choices to make shared-mime-info support it: 1. Only recognize

Re: [Tracker] How does tracker recognize the mime type of a new file?

2010-12-06 Thread Lin, Mengdong
Then if I want to add new file format but its mime type is not supported by glib yet, how to write a extractor plug-in for that type? The tracker-extractor cannot find a matched plug-in for an empty type. ___ tracker-list mailing list tracker-list@gnome.

[Tracker] How does tracker recognize the mime type of a new file?

2010-12-05 Thread Lin, Mengdong
When a new file is added, how does tracker recognize its mime type (eg. mpeg/audio)? So that tracker-extractor can find a matching extractor for this type. Could somebody tell me which module do this work and how? Thanks Amand ___ tracker-list mailing

Re: [Tracker] Can I write a proprietary plug-in to extract meta data from a private file format?

2010-12-01 Thread Lin, Mengdong
I'll track the mail thread "[Tracker] Relicensing tracker-extract to LGPL". Many thanks! -Original Message- From: tracker-list-boun...@gnome.org [mailto:tracker-list-boun...@gnome.org] On Behalf Of Lin, Mengdong Sent: Thursday, December 02, 2010 9:34 AM To: Martyn R

Re: [Tracker] Can I write a proprietary plug-in to extract meta data from a private file format?

2010-12-01 Thread Lin, Mengdong
So will you relicense tracker-extract and extractor plug-ins from GPL to LGPL? If yes, is there a timeline? We'll wait for the new version. Thanks & Best Regards Amanda ___ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/l

Re: [Tracker] Can I write a proprietary plug-in to extract meta data from a private file format?

2010-12-01 Thread Lin, Mengdong
contradiction to GPL. Thanks & Best Regards Amanda -Original Message- From: Martyn Russell [mailto:mar...@lanedo.com] Sent: Wednesday, December 01, 2010 4:47 PM To: Lin, Mengdong; tracker-list; Jürg Billeter Subject: Re: [Tracker] Can I write a proprietary plug-in to extract meta data fr

[Tracker] Does tracker only accept GPL extrator plug-ins into upstream?

2010-11-30 Thread Lin, Mengdong
The extractor plug-ins delivered by the community are all GPL. If I want to push a extractor plug-in to upstream for a new file format, this plug-in must be GPL? And all its dependency shall also be open source (GPL or LGPL)? Thanks Amanda ___ tracke

[Tracker] Can I write a proprietary plug-in to extract meta data from a private file format?

2010-11-29 Thread Lin, Mengdong
libtracker-extract is LGPL, can I write a proprietary plug-in for it to handle a private file format (eg. a DRM file format) ? Thanks Amanda ___ tracker-list mailing list tracker-list@gnome.org http://mail.gnome.org/mailman/listinfo/tracker-list

Re: [Tracker] Is there a way to let tracker use proprietary shared libraries?

2010-11-29 Thread Lin, Mengdong
libtracker-extract is LGPL, can I write a proprietary plug-in to handle my own DRM file format? -Original Message- From: Adrien Bustany [mailto:abust...@gnome.org] Sent: Monday, November 29, 2010 2:54 PM To: Lin, Mengdong Cc: tracker-list@gnome.org Subject: Re: [Tracker] Is there a way

Re: [Tracker] Qeuestin about tracker and GStreamer proprietary plugins

2010-11-28 Thread Lin, Mengdong
Thank you Adrien. I don't want to change tracker's and GStreamer's source code, but add a proprietary GStreamer plug-in. But this plug-in will be loaded by GStreamer at runtime when tracker launches, will this conflict with tracker's GPL? Regards Amanda the fact that GStreamer is LGPL means t

[Tracker] Qeuestin about tracker and GStreamer proprietary plugins

2010-11-28 Thread Lin, Mengdong
GStreamer is LGPL and allow proprietary plug-ins. But tracker is GPL. So if a tracker use GStreamer to extract meta data for some file format but a proprietary GStreamer plug-in is involved, this is not allowed, right? Thanks Amanda ___ tracker-list mai

[Tracker] Is there a way to let tracker use proprietary shared libraries?

2010-11-28 Thread Lin, Mengdong
A customer require us to support OMA DRM-protected content. Since some meta data can only be extracted after the content is decrypted, we need a library for decryption and provide API for tracker to get the metadata. But for license issue, the decryption library is a proprietary one and can NOT