Hey Luca & all, Στις 25-11-2010, ημέρα Πεμ, και ώρα 17:34 +0100, ο/η [email protected] έγραψε: > Hi all guys! > > I'm wondering is someone here looked inside the latest > collective.flowplayer. It seems that they added some metadata extraction > features like p4a and redturtle.video are doing, using hachoir-xxx > products. > > Question: right now, talking about all video stuff all around, what is the > best/simple way to get metadata from .flv or compatible video? > Is the use of hachoir-xxx a good choice?
I'm not sure. Another option would be to use mediainfo.sf.net > I'm quite happy that flowplayer internally make this. We need to release > another redturtle.video version sooner or later for the same customer, and > this new feature can simplify our code, but still I'm thinking if this is > or not the right way... I don't think it's the best way to go since collective.flowplayer is an integration of flowplayer for Plone while video metadata is useful regardless of the player used. A better option would be to create a generic video/audio metadata extraction component, e.g. collective.hachoir or collective.mediainfo which could be used by collective.flowplayer, redturtle.video, p4a.video, plumi.content, etc. Ideally, that component would keep in sync the file's metadata and the object's dublic core metadata when possible. We've done something similar for photo IPTC metadata in: http://pypi.python.org/pypi/unweb.iptc > > Last thing: the file that make the magic is this: > http://svn.plone.org/svn/collective/collective.flowplayer/trunk/src/collective/flowplayer/metadata_extraction.py > > But how to use this features is quite undocumented (I posted question > about this on Plone-Users but I get no reply) > > What do you think? The only thing that seems somewhat documented is extracting video dimensions: http://svn.plone.org/svn/collective/collective.flowplayer/trunk/src/collective/flowplayer/metadata_extraction.txt Cheers, Dimitris Moraitis https://unweb.me > > Saluti/Regards > > Luca Fabbri - RedTurtle Technology > E-mail: luca.fabbri AT redturtle DOT net > Web Site: http://www.redturtle.net > Phone: +39 0532 1915958 > Fax: +39 0532 287070 > > > > > -- > Archive: > http://www.coactivate.org/projects/plone-video-sprint/lists/plone-video-sprint-discussion/archive/2010/11/1290702869562 > To unsubscribe send an email with subject "unsubscribe" to > [email protected]. Please contact > [email protected] for questions. > _______________________________________________ Discuss mailing list [email protected] http://lists.plumi.org/listinfo/discuss
