ez projects / ezvideoflv / forum / general / video metadata
You need to be logged in to post messages in the forums. New users may register here.
Member since: Posts: 37 |
Thursday 07 February 2008 4:32:23 am Hi Damien
I've noticed that the ffmpeg-php API[1] allows the retrieval of a bunch of metadata about the video. One attribute that is particularity useful is the duration and i know that some projects I have worked on would be interested in author, copyright etc. What are your thoughts on storing this information as part of eZVideoFLV, so it's accessible from templates? I was thinking that you'd add a metadata attribute to eZVideoFLV, retrieve as much as you could and store it as XML. There's be a functional attribute that converted the XML to an array to it could be easily used in templates. Again, happy to contribute and do the work but would like your input/blessing :) Cheers Bruce [1] http://ffmpeg-php.sourceforge.net/doc/api/ffmpeg_movie.php |
|
|
Member since: Posts: 40 |
Thursday 07 February 2008 5:52:05 pm Hi Bruce,
This feature is in my TODO list. I also thought about using textual informations (title, comment, ...) in eZVideoFLVType::metaData() to have videos indexed by the search engine. Feel free to implement it. Cheers, Damien |
|
Member since: Posts: 37 |
Friday 07 March 2008 6:42:48 am Hi Damien
Added some commits today that store the metadata as a serialised array. To do this I : + appended a column, 'serialized_metadata' to the ezvideoflv table (updated the sql in sql/ezvideoflv.sql) + added attribute 'serialized_metadata' & function attributes 'metadata' & 'duration' to datatypes/ezvideoflv/ezvideoflv.php + updated datatypes/ezvideoflv/ezvideoflvtype.php to store metadata + updated design/standard/templates/content/datatype/edit/ezvideoflv.tpl so that duration is displayed in edit interface. Happy to discuss, modify, revert... Cheers Bruce |
You need to be logged in to post messages in the forums. New users may register here.