Video file retrieval based on time-axis

Source: Internet
Author: User

In the video surveillance retrieval results display way, most of the methods adopted a file list of the way. But this approach is very intuitive for users because the file name is the internal filename of the DVR, which has no meaning for the user, as shown in the following figure:

Figure 1 The way the file list displays the results of the search

When the user playback, the need for a selection of files, and then playback, this way for the user is too professional, simply can not quickly find the location to playback.

This paper describes a video file retrieval method based on the timeline, as shown in the following illustration:

Figure 2 Results of file retrieval based on timeline display

In a time based interface to visually show whether there is a video recording in the event segment, the user can click on the video logo directly, playback control will be based on the location of the click from the point of playback.

The playback feature consists of three parts, file retrieval components, playback controls, and timeline display components.

Figure 3 Component Diagram

First, the file retrieval component is retrieved according to the time period and other conditions. And submits the retrieved results to the timeline component, and then the timeline component displays the video strip under the timeline based on the results of the search (primarily the start time of the file, the end time), and if there is a video, it is labeled blue, and finally, Users can click on the timeline of the video bar, the timeline based on the mouse position to calculate the starting time or percentage, and the file name, server and other information submitted to the video playback control, playback control based on this information can be played back.

In addition, if there are alarms and other messages, can also be marked on the video bar, so that users can be more specific playback time point selection.

Retrieving components and playback controls is done by ATL.

The timeline is written by C #, and the simple relationships between the inner classes are as follows:

Figure 4 Time Axis class object relation

Timeline identifies a timeline class that can correspond to multiple time entries (such as a video recording of a channel), a time entry corresponding to multiple sourceinfo such as a video file, A sourceinfo corresponds to multiple objectevent such as motion detection events on the video file.

The program is located as follows:

http://download.csdn.net/detail/jiayp004/4276111

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.