CN104639954A - Video reverse back checking method based on digital video recorder - Google Patents
Video reverse back checking method based on digital video recorder Download PDFInfo
- Publication number
- CN104639954A CN104639954A CN201310544305.4A CN201310544305A CN104639954A CN 104639954 A CN104639954 A CN 104639954A CN 201310544305 A CN201310544305 A CN 201310544305A CN 104639954 A CN104639954 A CN 104639954A
- Authority
- CN
- China
- Prior art keywords
- video
- upside down
- time
- putting upside
- time point
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/78—Television signal recording using magnetic recording
- H04N5/781—Television signal recording using magnetic recording on disks or drums
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
- H04N5/93—Regeneration of the television signal or of selected parts thereof
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to a video reverse back checking method based on a digital video recorder. When the video is played sequentially, if reverse playing needs to be started at a certain time point, the sequential playing is firstly ended, the current video playing ending time is acquired, and the time point is determined to be the video reverse playing starting time; downloading thread is started, starting from the reverse playing starting time, a period of video is downloaded each five minutes until the video within the set reverse playing time period is reversely played, and the time point of the reverse playing ending point is acquired; and the video starts to be played sequentially from the reverse playing ending time point.
Description
Technical field
The invention belongs to security field of video monitoring, be specifically related to a kind of video inverted order based on DVR and return checking method, mainly solve the quick position of the video flashback fragment key frame based on DVR video recording.
Background technology
DVR is digital video recorder, and it is a set of computer system of carrying out image stores processor, have image/voice recorded a video for a long time, record, the function of telemonitoring and control.DVR develops one of more stable product in safety and protection monitoring field in recent years, simultaneously, video playback based on DVR has become the Main Means of video monitoring in recent years, mainly be divided into two classes: according to time playback video file with according to file name playback video file, meet the function that user retrieves for examination certain section of important video, the video of retrieving for examination upload from video tape recorder after according to video flowing played in order.
Although played in order meets the demand that user retrieves for examination history video, also there is following problem:
1, key video sequence node is not easily caught
User retrieves for examination in process at video, wants catch and again browse this section of video when running into the video node in focus, but because the succession play, whole video information can only be started anew to be played to this node.Such as, after played in order to 12:15, find key video sequence point, after can only stopping playing this video, after replaying about 12:00, again catch and just now browsed the complete laggard row relax of video point.The object obtaining this key frame node at short notice cannot be reached like this.
2, sensitive video frequency section is difficult to obtain control
User can not carry out effective Play Control operation (suspend, play, stop, putting soon, put slowly, single frames stepping, single frames retrogressing, loop play, accurately navigate to certain frame etc.) to the video-frequency band be concerned about.Such as, after user is played to 12:15, if there is not starting process after key video sequence point in time, complete representing can be can not get due to the imperfect of video-frequency band crawl.
Summary of the invention
The object of the present invention is to provide a kind of video inverted order based on DVR to return the technology of looking into, solve the above-mentioned problems in the prior art.
Technical scheme of the present invention is:
Video inverted order based on DVR returns a checking method, it is characterized in that:
(1) when video sequences is play, if want to put upside down from certain time point, first stop played in order, obtain the present video playback end time, this time point is defined as video and puts upside down the time started;
(2) time started of putting upside down is set to 0, and sets the time period of putting upside down and the end time of putting upside down;
(3) time started of putting upside down and end time are converted to the system file time;
(4) start download thread, in this thread, use the concept of exclusive variable, to control each thread access variable in order, prevent thread from stopping up;
(5) count from the time started of putting upside down, every 5 seconds download one section of video, process the video code flow in this 5 second;
(6) detect download progress in real time, when download progress 100%, after namely downloading, stop the code stream of this road video to receive; The port flow data utilizing the size of buffer area and corresponding position calculation to make new advances, utilize new calculating location to start to call bottom function and carry out Reverse Play;
(7) repeat above-mentioned flow process, until the video put upside down in the time period of setting is put upside down complete, stop putting upside down, and clear up associated internal memory;
(8) time point of this halt of putting upside down is obtained;
(9) played in order of video is entered the time point stopped from putting upside down.
The beneficial effect that the present invention realizes is:
1, fast Acquisition key video sequence section: when user retrieves for examination video, when carrying out back looking into the video-frequency band play, can start function of putting upside down.From the current time period, intercept and capture code stream, then extract key frame and put upside down.When put upside down certain some time, user can carry out broadcasting to watch this section of sensitive video frequency from this point again.As, when after video playback to 12:15, user finds key video sequence point, and now user can put upside down from this point, and when arriving the video point position of user's needs, played in order again, this ensure that the promptness that video-frequency band captures.
2, key video sequence section is control effectively: user retrieves for examination in video process, function is put in utilization upside down can fast playback key video sequence section, and Play Control is carried out to this key video sequence section, comprise time-out, broadcasting, stopping, putting soon, put slowly, single frames stepping, single frames retreat, loop play.Such as, although user has browsed to after 12:15, even after 13:20, but user can utilize functions such as reversing fast, before the instantaneous 12:15 that puts upside down, ensure that in the short time and get complete video-frequency band, and ensure that simultaneously carry out Video processing in this video-frequency band.
Embodiment
This method is for cannot the browsed video of quick position and design generation in played in order, by continuous experiment, show that the broadcasting interval in every 5 seconds is to process the video flowing of download and to apply for that suitable buffering area (4096*1024) is more satisfactory state.Further, in actual process, the process due to video flowing needs certain buffer time, sets more satisfactory time delay interval 40ms.The method achieve the reproduction of important picture and the quick position of key frame of video, also achieve the effective control in video Reverse Play process simultaneously.
Specific implementation is as follows:
(1) when video sequences is play, if want to put upside down from certain time point, first stop played in order, obtain the present video playback end time, this time point is defined as video and puts upside down the time started;
(2) time started of putting upside down is set to 0, and sets the time period of putting upside down and the end time of putting upside down;
(3) time started of putting upside down and end time are converted to the system file time;
(4) start download thread, in this thread, use the concept of exclusive variable, to control each thread access variable in order, prevent thread from stopping up;
(5) count from the time started of putting upside down, every 5 seconds download one section of video, process the video code flow in this 5 second;
(6) detect download progress in real time, when download progress 100%, after namely downloading, stop the code stream of this road video to receive; The port flow data utilizing the size of buffer area and corresponding position calculation to make new advances, utilize new calculating location to start to call bottom function and carry out Reverse Play;
(7) repeat above-mentioned flow process, until the video put upside down in the time period of setting is put upside down complete, stop putting upside down, and clear up associated internal memory;
(8) time point of this halt of putting upside down is obtained;
(9) played in order of video is entered the time point stopped from putting upside down.
The present invention, in the process put upside down, also newly extends the function of Play Control of putting upside down.(support 2,4,8,16 speeds) as reversed fast, slow play (2,4,8,16 speed), single frames is play, and the function such as to pull.
Claims (1)
1. the video inverted order based on DVR returns a checking method, it is characterized in that:
(1) when video sequences is play, if want to put upside down from certain time point, first stop played in order, obtain the present video playback end time, this time point is defined as video and puts upside down the time started;
(2) time started of putting upside down is set to 0, and sets the time period of putting upside down and the end time of putting upside down;
(3) time started of putting upside down and end time are converted to the system file time;
(4) start download thread, in this thread, use the concept of exclusive variable, to control each thread access variable in order, prevent thread from stopping up;
(5) count from the time started of putting upside down, every 5 seconds download one section of video, process the video code flow in this 5 second;
(6) detect download progress in real time, when download progress 100%, after namely downloading, stop the code stream of this road video to receive; The port flow data utilizing the size of buffer area and corresponding position calculation to make new advances, utilize new calculating location to start to call bottom function and carry out Reverse Play;
(7) repeat above-mentioned flow process, until the video put upside down in the time period of setting is put upside down complete, stop putting upside down, and clear up associated internal memory;
(8) time point of this halt of putting upside down is obtained;
(9) played in order of video is entered the time point stopped from putting upside down.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310544305.4A CN104639954A (en) | 2013-11-06 | 2013-11-06 | Video reverse back checking method based on digital video recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310544305.4A CN104639954A (en) | 2013-11-06 | 2013-11-06 | Video reverse back checking method based on digital video recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104639954A true CN104639954A (en) | 2015-05-20 |
Family
ID=53218189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310544305.4A Pending CN104639954A (en) | 2013-11-06 | 2013-11-06 | Video reverse back checking method based on digital video recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104639954A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828109A (en) * | 2015-11-20 | 2016-08-03 | 广东亿迅科技有限公司 | Server, client and RTSP/RTP-based playing system |
CN106412709A (en) * | 2016-10-21 | 2017-02-15 | 上海与德信息技术有限公司 | Video capturing method and video capturing device |
CN107509110A (en) * | 2017-08-03 | 2017-12-22 | 乐蜜有限公司 | A kind of loop play method and device of video file |
CN111372118A (en) * | 2018-12-25 | 2020-07-03 | 深圳Tcl新技术有限公司 | Screen capturing method, intelligent terminal and storage medium |
CN114302180A (en) * | 2021-12-31 | 2022-04-08 | 深圳市创维软件有限公司 | Video single-frame playing method, device, server, system and storage medium |
-
2013
- 2013-11-06 CN CN201310544305.4A patent/CN104639954A/en active Pending
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828109A (en) * | 2015-11-20 | 2016-08-03 | 广东亿迅科技有限公司 | Server, client and RTSP/RTP-based playing system |
CN105828109B (en) * | 2015-11-20 | 2018-12-25 | 广东亿迅科技有限公司 | Server, client and the play system based on RTSP/RTP |
CN106412709A (en) * | 2016-10-21 | 2017-02-15 | 上海与德信息技术有限公司 | Video capturing method and video capturing device |
CN107509110A (en) * | 2017-08-03 | 2017-12-22 | 乐蜜有限公司 | A kind of loop play method and device of video file |
WO2019024258A1 (en) * | 2017-08-03 | 2019-02-07 | 乐蜜有限公司 | Method and apparatus for cyclical playback of video file |
US11070886B2 (en) | 2017-08-03 | 2021-07-20 | Hong Kong Liveme Corporation Limited | Method and apparatus for looping a video file |
CN111372118A (en) * | 2018-12-25 | 2020-07-03 | 深圳Tcl新技术有限公司 | Screen capturing method, intelligent terminal and storage medium |
CN114302180A (en) * | 2021-12-31 | 2022-04-08 | 深圳市创维软件有限公司 | Video single-frame playing method, device, server, system and storage medium |
CN114302180B (en) * | 2021-12-31 | 2024-02-06 | 深圳市创维软件有限公司 | Video single-frame playing method, device, server, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107295284B (en) | Method and device for generating, retrieving and playing video file consisting of audio and picture | |
CN106559697B (en) | A kind of recorded file cover display methods and system based on PVR set-top boxes | |
CN104639954A (en) | Video reverse back checking method based on digital video recorder | |
CN102750962B (en) | A kind of back method of video file and device | |
US9576608B2 (en) | Techniques for indexing video files | |
US10148993B2 (en) | Method and system for programmable loop recording | |
US9332313B2 (en) | Personalized augmented A/V stream creation | |
CN106412645B (en) | To the method and apparatus of multimedia server uploaded videos file | |
US9900497B2 (en) | System and method for preserving video clips from a handheld device | |
JP6413018B2 (en) | Video capture processing method, system and apparatus | |
CN106851326B (en) | Playing method and device | |
CN104144318A (en) | Video inverted-order playback and rapid positioning method based on HIKVISION DVR | |
WO2017080241A1 (en) | Time-lapse photographing method and device | |
JP2023521199A (en) | Video stream playback control method, device and storage medium | |
WO2018085982A1 (en) | Video recording method and apparatus, and photographing device | |
US10741213B1 (en) | Systems and methods for modifying video edits | |
WO2014031834A1 (en) | System and method for pre-recording video | |
US10957359B2 (en) | Systems and methods for detecting moments within videos | |
JPWO2015178234A1 (en) | Image search system, search screen display method | |
CN108540825A (en) | It is a kind of that treating method and apparatus, a kind of device for processing to be broadcast live is broadcast live | |
CN105100914B (en) | Video broadcasting method and device | |
US20120308200A1 (en) | Contiguous media playback | |
CN110730358B (en) | Live video time shifting control method, terminal and storage medium | |
CN112351233A (en) | Recording method and device for classroom teaching environment, storage medium and education all-in-one machine | |
CN110958482A (en) | Recording and playback system under safety protection and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150520 |
|
WD01 | Invention patent application deemed withdrawn after publication |