XnF (frame) files – The next level in multimedia management
Posted: Fri Mar 07, 2014 7:09 am
XnFrame (XnF) files – The next level in organizing and accessing multimedia
The problem
There are a lot of multimedia files today (audio and video) and most of them contain different, distinct parts which distinguish themselves from the whole multimedia stream.
This is particularly true for recorded raw/unprocessed data (both audio and video) as well as for digitized multimedia which comes from a multitude of sources – mainly from analog media like videotapes (Beta, VHS etc.), audio cassettes, vinyl but also from other digital media like DV tapes, audio recordings of live events in which the recorder is left “on” during the entire duration of the event etc.
While for images there is already implemented in some programs / platforms a feature called “area tagging”, used mostly for person detection and note taking (see Flickr, Facebook), for multimedia, as far as we know, even if it is a huge demand, there is no such a solution.
What we have
XnView MP has already a very good cataloging engine – and, as always, there are plans to enhance it – however this module works only with files.
We already know how to extract a frame from video files (see Tools | Settings | Thumbnail | Misc – the options “Show 4 thumbnails in video’s thumbnail” and “For video files, extract frame at…”) and we know how to navigate in the multimedia stream (try to play a video or audio file – a player with a slider appears – when the user moves the slider the player goes to the according position)
The solution
Enter XnF Files.
We can gather and use all these things together to provide a top-notch feature which will allow us:
• Visual direct access at any desired part of the sequential multimedia file. Basically are human-meaning visual bookmarks in the big video/audio stream
• Best-in-class cataloging of these parts using the entire Rating-Color-Keywords infrastructure of XnView MP
In few words, an XnF file format is a frame together with its position and a link to the source multimedia, file format which XnView MP knows how to handle accordingly.
XnF file format
The XnF file format is composed from the following parts/fields:
1. File Signature – The string “XNF” – the program will check for this signature in order to identify the format, besides of the file extension. If this check fails, the program will stop the loading process.
2. File Version – Integer: 1 – used to distinguish different future format versions (additions, changes etc.)
3. Source Link – the full UNC path to the multimedia file from which the frame was extracted. The path will be stored exactly in the same way in which XnView MP stores the paths already (see the Folders table in the database). When the user will double-click on an XnF thumbnail in XnView MP the program will try to load the multimedia file specified by this field. If the file is not found, then it will try to find it in the same directory with the XnF file. If the source file is still missing, the multimedia loading process will be aborted.
4. Frame Index – The position in source file from where the frame was extracted. At double-click, the program will navigate in video (or audio) file and start to play from there.
5. The frame – a WebP compressed with high-quality setting image of the extracted frame. For videos the nature of the frame is obvious, for audio files, the frame will be the waveform starting from that position.
In this way we'll have the leading multimedia management engine on the market. Yep, is that simple.
The original document is posted here: http://is.gd/NjhH4A
The problem
There are a lot of multimedia files today (audio and video) and most of them contain different, distinct parts which distinguish themselves from the whole multimedia stream.
This is particularly true for recorded raw/unprocessed data (both audio and video) as well as for digitized multimedia which comes from a multitude of sources – mainly from analog media like videotapes (Beta, VHS etc.), audio cassettes, vinyl but also from other digital media like DV tapes, audio recordings of live events in which the recorder is left “on” during the entire duration of the event etc.
While for images there is already implemented in some programs / platforms a feature called “area tagging”, used mostly for person detection and note taking (see Flickr, Facebook), for multimedia, as far as we know, even if it is a huge demand, there is no such a solution.
What we have
XnView MP has already a very good cataloging engine – and, as always, there are plans to enhance it – however this module works only with files.
We already know how to extract a frame from video files (see Tools | Settings | Thumbnail | Misc – the options “Show 4 thumbnails in video’s thumbnail” and “For video files, extract frame at…”) and we know how to navigate in the multimedia stream (try to play a video or audio file – a player with a slider appears – when the user moves the slider the player goes to the according position)
The solution
Enter XnF Files.
We can gather and use all these things together to provide a top-notch feature which will allow us:
• Visual direct access at any desired part of the sequential multimedia file. Basically are human-meaning visual bookmarks in the big video/audio stream
• Best-in-class cataloging of these parts using the entire Rating-Color-Keywords infrastructure of XnView MP
In few words, an XnF file format is a frame together with its position and a link to the source multimedia, file format which XnView MP knows how to handle accordingly.
XnF file format
The XnF file format is composed from the following parts/fields:
1. File Signature – The string “XNF” – the program will check for this signature in order to identify the format, besides of the file extension. If this check fails, the program will stop the loading process.
2. File Version – Integer: 1 – used to distinguish different future format versions (additions, changes etc.)
3. Source Link – the full UNC path to the multimedia file from which the frame was extracted. The path will be stored exactly in the same way in which XnView MP stores the paths already (see the Folders table in the database). When the user will double-click on an XnF thumbnail in XnView MP the program will try to load the multimedia file specified by this field. If the file is not found, then it will try to find it in the same directory with the XnF file. If the source file is still missing, the multimedia loading process will be aborted.
4. Frame Index – The position in source file from where the frame was extracted. At double-click, the program will navigate in video (or audio) file and start to play from there.
5. The frame – a WebP compressed with high-quality setting image of the extracted frame. For videos the nature of the frame is obvious, for audio files, the frame will be the waveform starting from that position.
In this way we'll have the leading multimedia management engine on the market. Yep, is that simple.
The original document is posted here: http://is.gd/NjhH4A