CN104618673A - NVR (Network Video Recorder)-based multi-channel video synchronous playback control method and device - Google Patents

NVR (Network Video Recorder)-based multi-channel video synchronous playback control method and device Download PDF

Info

Publication number
CN104618673A
CN104618673A CN201510026303.5A CN201510026303A CN104618673A CN 104618673 A CN104618673 A CN 104618673A CN 201510026303 A CN201510026303 A CN 201510026303A CN 104618673 A CN104618673 A CN 104618673A
Authority
CN
China
Prior art keywords
frame
video
time
reception
passage
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.)
Granted
Application number
CN201510026303.5A
Other languages
Chinese (zh)
Other versions
CN104618673B (en
Inventor
王敏
王刚
范毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Fiberhome Digtal Technology Co Ltd
Original Assignee
Wuhan Fiberhome Digtal Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Wuhan Fiberhome Digtal Technology Co Ltd filed Critical Wuhan Fiberhome Digtal Technology Co Ltd
Priority to CN201510026303.5A priority Critical patent/CN104618673B/en
Publication of CN104618673A publication Critical patent/CN104618673A/en
Application granted granted Critical
Publication of CN104618673B publication Critical patent/CN104618673B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention is applicable to the field of video play, and provides an NVR (Network Video Recorder)-based multi-channel video synchronous playback control method. When NVR equipment receives a video stream from each channel, four bits are developed at a packet header of a stored video packet to save receiving time of the main NVR equipment. The method comprises the following steps: acquiring a play request of synchronously playing the videos of multiple channels, wherein the play request carries an identifier of each channel to be played and starting and ending time to be played; acquiring a video frame of each channel according to the identifier of each channel; analyzing the packet header of each channel, and determining the video frame to be played according to the receiving time of the main NVR equipment carried by the packet header and the starting and ending time to be played; playing the video frame.

Description

A kind of video recording synchronized playback control method of the multichannel based on NVR and device
Technical field
The invention belongs to video playback field, particularly relate to a kind of multichannel based on NVR video recording synchronized playback control method and device.
Background technology
The requirements at the higher level of high-definition monitoring management and storage service make network video recorder (Network Video Recorder, is abbreviated as: NVR) become the main flow monitoring memory device in high definition epoch gradually.
NVR is a class video record equipment, and its topmost function is by network reception high-definition digital video code stream, or self analog video code stream, and carries out storing, managing, thus realizes the distributed structure/architecture advantage that networking brings.Embedded NVR has again hardware decode function simultaneously, graphic user interface (the Graphical UserInterface that user can be carried by embedded NVR, be abbreviated as: GUI), also known as graphical user interface, refer to the computer operation user interface adopting graphics mode display, compared with the Command Line Interface used with early stage computer, graphical interfaces is for being visually easier to user accept) carry out various configuration, the function such as real-time video is browsed, video retrieval and playback.But in the applied environment of reality, owing to being subject to the impact of the factors such as the system time change of network environment and web camera, cause the timestamp of the original video data stored discontinuous, be difficult to the fluency and the synchronism that ensure playing back videos during playback video recording so in the gui.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of multichannel based on NVR video recording synchronized playback control method, to solve prior art owing to being subject to the impact of the factors such as the system time change of network environment and web camera, cause the discontinuous problem of timestamp of the original video data stored.
The embodiment of the present invention provides a kind of multichannel based on NVR video recording synchronized playback control method on the one hand, main NVR equipment is when receiving the video flowing from each passage, open up the time of reception that 4 bytes preserve main NVR equipment in the packet header of the video packets of Cun Chuing, said method comprising the steps of:
Obtain the synchronous playing request playing the video of multiple passage, in described playing request, carry each gap marker that will play and the beginning and ending time that will play; According to described each gap marker, obtain the frame of video of described each passage; Resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the frame of video that will play; Play described frame of video.
The embodiment of the present invention provides a kind of multichannel based on NVR video recording synchronized playback control device on the other hand, and described device comprises processing module, and memory module, display module and Network Interface Module, specifically comprise:
Network Interface Module, for receiving the frame of video from each channel unit; Memory module, for the frame of video that storage networking interface module receives; I/O module, for receiving the playing request of the NVR video of the multiple passage of synchronous broadcasting of user's input, carries each gap marker that will play and the beginning and ending time that will play in described playing request; Processing module, for obtaining the playing request of I/O module forwards; According to described each gap marker, obtain the frame of video of described each passage; Resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the frame of video that will play; Display module, for playing described frame of video.
A kind of video recording synchronized playback control method of the multichannel based on NVR that the embodiment of the present invention provides and the beneficial effect of device comprise: by main NVR equipment when receiving each PASS VIDEO frame, at the time of reception that the interpolation of the packet header of frame of video is foundation with its own system time, and when synchronously playing, using the described time of reception increased in packet header as the time of calculation of synchronized, thus ensure that the synchronous broadcasting of each PASS VIDEO frame, inaccurate synchronous card when playing caused avoiding the system time of the device self because of the main NVR equipment of indivedual access pauses problem.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of video recording of the multichannel based on NVR synchronized playback control method that the embodiment of the present invention provides;
Fig. 2 is the structural representation of a kind of video recording of the multichannel based on NVR synchronized playback control device that the embodiment of the present invention provides;
Fig. 3 is the structural representation of a kind of video recording of the multichannel based on NVR synchronized playback control device that the embodiment of the present invention provides;
Fig. 4 is the flow chart of a kind of video recording of the multichannel based on NVR synchronized playback control method that the embodiment of the present invention provides;
Fig. 5 is the flow chart of a kind of video recording of the multichannel based on NVR synchronized playback control method that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In order to technical solutions according to the invention are described, be described below by specific embodiment.
Embodiment one
Be illustrated in figure 1 the flow chart of a kind of video recording of the multichannel based on NVR synchronized playback control method that the embodiment of the present invention provides, wherein, at main NVR equipment when receiving the video flowing from each passage, open up the time of reception that 4 bytes preserve main NVR equipment in the packet header of the video packets of Cun Chuing; As shown in Figure 1, the embodiment of a kind of video recording of the multichannel based on NVR synchronized playback control method provided by the invention comprises:
In step 201, obtain the synchronous playing request playing the video of multiple passage, in described playing request, carry each gap marker that will play and the beginning and ending time that will play.
In step 202., according to described each gap marker, obtain the frame of video of described each passage.
In step 203, resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the first frame frame of video that each passage will be play.
In step 204, the first frame frame of video of described each passage is play.
The present embodiment passes through at main NVR equipment when receiving each PASS VIDEO frame, at the time of reception that the interpolation of the packet header of frame is foundation with its own system time, and when synchronously playing, using the described time of reception increased in packet header as the time of calculation of synchronized, thus ensure that the synchronous broadcasting of each PASS VIDEO frame, inaccurate synchronous card when playing caused avoiding the system time of the device self because of the main NVR equipment of indivedual access pauses problem.
There is a kind of feasible implementation in conjunction with the present embodiment, wherein, the described time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm specifically to comprise the first frame frame of video that each passage will be play:
Travel through each passage and treat the time of reception that the packet header of playback frame data is carried, wherein time of reception and initial time are differed frame of video in minimum passage A as with reference to frame I0; Judge to carry the time of reception that other each PASS VIDEO middle wrapping heads carry time of reception with described reference frame I0 packet header and compare, whether exist identical; If exist, and described reference frame is synchronously play, if not, finds the time of reception in each passage entrained by frame of video and the immediate frame of video of the time of reception entrained by described reference frame; Confirm that on each passage, in immediate frame of video and described reference frame I0, time of reception difference in predetermined threshold value, is then synchronously play with described reference frame.
There is a kind of feasible implementation in conjunction with the present embodiment, wherein, when confirming that in frame of video and described reference frame, time of reception minimal difference is greater than described predetermined threshold value in channel B, described method also comprises:
Suspend the broadcasting of frame of video in channel B, and according to described minimal difference size, determine that in described channel B, frame of video suspends the time of playing.
When time of reception difference entrained in the frame of video that the reference frame newly determined and described channel B etc. are to be played is in predetermined threshold value, end suspends and continues to play the frame of video of channel B.
Wherein, passage A and channel B are only used to describe conveniently, for coming with the description difference of other passages, and not special restriction implication.
There is a kind of feasible implementation in conjunction with the present embodiment, wherein, in the beginning and ending time according to described broadcasting, after synchronously playing the first frame frame of video of passage A and other each passages, described method also comprises:
With the next frame time of reference frame I0 for foundation, first is retrieved the frame of video identical with the described next frame time or the frame of video that retrieves closest to the described next frame time as with reference to frame I1 frame of video; The frame of video of other passages with the time of described reference frame I1 for foundation, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries.
The next frame time of described reference frame I0 is released by the time of reception of main NVR device according to the current reference frame play.In actual video stream, in continuous print video flowing, time between its frame of video and frame of video is fixing, and therefore, main NVR device just can infer the theoretical time (i.e. the next frame time of described reference frame I0) of next frame by reference to the time of reception in frame I0.
There is a kind of feasible implementation in conjunction with the present embodiment, wherein, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries, also comprise:
The time of reception that the time of reception that frame of video packet header of other passages is carried carries than described reference frame I1 is large, and when difference exceedes described threshold value, then slows down according to both time differences and play; The time of reception that the time of reception that frame of video packet header of other passages is carried carries than described reference frame I1 is little, and when difference exceedes described threshold value, then accelerates to play according to both time differences.Until this passage next frame frame of video to be played and the difference of reference frame time of reception newly fixed reach in predetermined threshold value, recover this PASS VIDEO frame normal speed forward.
In this implementation, for the time of reception of the time of reception in other passages entrained by frame of video packet header and described reference frame I1, between difference exceed described time threshold, and difference in the reasonable scope, carry out acceleration to play or broadcasting of slowing down, thus add the experience effect of user, further reduce the Caton phenomenon between video.Described zone of reasonableness is usually in 2-5 second.
In the present embodiment and each possibility, described time threshold according to practical operation result, preferably 2 seconds.Described time threshold can mask the deviation of the time of reception of each PASS VIDEO frame packet header assignment brought due to network delay to a certain extent, and can not impact the normal play of frame of video.
Embodiment two
Be illustrated in figure 2 the structural representation of a kind of video recording of the multichannel based on NVR synchronized playback control device that the embodiment of the present invention provides, described device comprises processing module, and memory module, display module and Network Interface Module, specifically comprise:
Network Interface Module 11, for receiving the frame of video from each passage, described each passage comprises: analog channel, digital channel;
Memory module 12, for the frame of video that storage networking interface module receives;
I/O module 13, for receiving the playing request of the NVR video of the multiple passage of synchronous broadcasting of user's input;
Processing module 14, for obtaining the playing request of I/O module forwards, carries each gap marker that will play and the beginning and ending time that will play in described playing request; According to described each gap marker, obtain the frame of video of described each passage; Resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the frame of video that will play;
Display module 15, for playing described frame of video.
The present embodiment passes through at main NVR equipment when receiving each PASS VIDEO frame, at the time of reception that the interpolation of the packet header of frame is foundation with its own system time, and when synchronously playing, using the described time of reception increased in packet header as the time of calculation of synchronized, thus ensure that the synchronous broadcasting of each PASS VIDEO frame, inaccurate synchronous card when playing caused avoiding the system time of the device self because of the main NVR equipment of indivedual access pauses problem.
There is a kind of feasible implementation in conjunction with the present embodiment, wherein, described processing module also for, travel through each passage and to treat in passage A minimum in the time of reception that the packet header of playback frame data is carried that frame of video is as with reference to frame I0; Judge to carry the time of reception that other each PASS VIDEO middle wrapping heads carry time of reception with described reference frame I0 packet header and compare, whether exist identical; If exist, and described reference frame I0 synchronously plays, if not, finds the time of reception in each passage entrained by frame of video and the immediate frame of video of time of reception entrained by described reference frame I0; Confirm that on each passage, in immediate frame of video and described reference frame A, time of reception difference in predetermined threshold value, is then synchronously play with described reference frame.
A kind of feasible implementation is there is in conjunction with the present embodiment, wherein, described processing module also for, when confirming that in frame of video and described reference frame I0, time of reception minimal difference is greater than described predetermined threshold value in channel B, suspend the broadcasting of frame of video in channel B, and according to described minimal difference size, determine that in described channel B, frame of video suspends the time of playing.
A kind of feasible implementation is there is in conjunction with the present embodiment, wherein, described processing module also for, in the beginning and ending time according to described broadcasting, after synchronously playing the first frame frame of video of passage A and other each passages, with the next frame time of reference frame I0 for foundation, the frame of video first being retrieved same time or the frame of video retrieving the closest described next frame time are as reference frame I1 frame of video frame of video; The frame of video of other passages with the time of described reference frame I1 for foundation, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries.
Embodiment three
The embodiment of the present invention realizes environment based on concrete, provide the specific implementation of a kind of multichannel based on NVR video recording synchronized playback control device, wherein, described control device specifically describes as embedded NVR100, and described memory module 12 is embodied in hard disk storage medium 140 and Nand Flash memorizer 120; Processing module 14 is embodied in DDR memory 110 and CPU130, as shown in Figure 3, specifically comprises:
DDR memory 110, Nand Flash memorizer 120 are connected with CPU130 respectively with hard disk storage medium 140; Web camera 1 is communicated with network interface 11 by IP network with web camera 2.Analog video input 1 is communicated with CPU130 by bnc interface 180 with analog video input 2.Pass through from NVR network from NVR equipment 1 with from NVR equipment 2, and be communicated with main NVR based on sip protocol.
Wherein, CPU130 optionally uses the HI3531 multimedia video process chip of Hai Si semiconductor Co., Ltd, this chip adopts ARM9 Duo-Core Architecture, maximum operating frequency is 930MHz, have H.264 & JPEG many code streams encoding and decoding performance, support 4x1080P@30fps decoding simultaneously or at most 4x1080P@15fps+4x (960x540)@15fps coding+4x1080P@15fps decoding+JPEG capture 1080P@4fps function.Method of the present invention is operated in multimedia video process chip.
Embedded NVR equipment 100 by IP network and the web camera 1 of embedded NVR and the web camera 1 of embedded NVR interconnected; The real time video data (frame of video) of the web camera 1 and 2 of embedded NVR is received by network interface 11; The live video stream of analog video input 1 and 2 is received by BNC180; The real time video data from NVR equipment 1 and 2 is received by network interface 11.CPU is according to the handling procedure in DDR memory, perform following functions: the system time according to embedded NVR equipment 100 self is recorded as video requency frame data bag time of reception, and in video data packet header, open up 4 bytes preservations, preserve the video data packet header of video packets of data and 20 bytes to hard disk storage medium 140; GUI131 to the back-end program 132 requesting query and synchronized playback video recording, rear end program 132 reads each frame and comprises the video data in 20 byte data packet header (to the video channel from NVR from hard disk storage medium 140, obtain data packet head and video data from the data receiver readjustment of the playing back videos task of RTSP), carry out decoding and video display by being sent to decoding channels after data framing; Resolve packet header, preserve the absolute time of time of reception to the playback of information of each passage, and the current play time of the playback of information absolute time amendment house steward playback task session of certain passage is used in the suitable time, using the current play time of house steward's playback task session as fiducial time, control the synchronized playback of multichannel video recording.
After describing the device being applicable to the inventive method in detail, in order in conjunction with actual environment, clearer elaboration method of the present invention, below by for the method in embodiment one, the method is divided into, receive and record the first stage of each passage NVR video and synchronous to play the NVR video stored be second stage, and utilizing embodiment four and embodiment five to elaborate the implementation method in two stages respectively.
Embodiment four
Present embodiments provide and receive and record the realization flow of the first stage of each passage NVR video, as shown in Figure 4, specifically comprise the following steps:
In step 301, start embedded NVR equipment 100, load rear end program 132, start video recording, prepare to receive real time video data.
In step 302, utilize network interface and/or bnc interface, receive real time video data bag.
In step 303, according to the time record data bag time of reception of NVR system self, and in video data packet header, open up 4 bytes preservations.
In step 304, the video data packet header of video data and 20 bytes is preserved in the video file block of in hard disk.
In step 305, judging whether the video recording of closing embedded NVR equipment 100, is enter step 306, otherwise continues to perform step 302, repeats 302 ~ 305 and can constantly receive and stored video data.
In step 305, video recording is closed.
Embodiment five
Present embodiments providing the synchronous NVR video playing storage is the realization flow of second stage, and upon actuation, can load GUI131 program and rear end program 132, rear end program 132 starts the message monitoring GUI to embedded NVR equipment 100.As shown in Figure 5, specifically comprise the following steps:
In step 401, operating personnel by gui interface, input institute want the object video of playing back videos with want time period of playback.
In the present embodiment, the object video of playback is not limited, be assumed to all object videos that embedded NVR equipment stores in hard disk storage medium 140.
In step 402, rear end program 132 receives the request message of the search video recording that GUI passes over, and enters step 403 after searching the video file information in the corresponding time period.
Be specially, after rear end program receives the request message of GUI search video recording in step 401, search video recording, and Search Results is returned to GUI in the form of a message, by GUI, result is presented to operating personnel, and monitor the next request message waiting for GUI.
In step 403, according to the request of synchronized playback, create each passage playback of information and the session of total playback task.
Concrete, after rear end program receives the message of GUI request Multi-path synchronous playback video recording, create the session of house steward's playback task, create a playback of information for each passage, multiple passage forms a playback of information chained list simultaneously.Described playback of information comprises: broadcast state, speed, synchronously play current time (i.e. packet header carry time of reception).
Wherein, the request of described synchronized playback specifically by, operating personnel are by the video playback window of GUI, select synchronized playback, start in the optional position of time shaft to play video recording, start position information is play in video recording by GUI and broadcasting type issues rear end program with the request message form of synchronized playback and request starts to play video recording.
In step 404, corresponding video file and key frame position is found out according to playing start position.
Concrete, rear end program finds corresponding video file and the key frame position of initial broadcast point according to the temporal information in request message after receiving the message of GUI request Multi-path synchronous playback video recording.
In step 405, the video data that each frame comprises 20 byte data packet header is read from video file or in the reception readjustment of RTSP agreement.
In a step 406, the time of reception of the frame of video (if not, found near reproduction time) on described reproduction time of each passage is traveled through, the frame of video of minimum passage identical with the described next frame time, as reference frame I0.
If there is in multiple passage the frame of video all existed on described reproduction time, then getting the frame of video wherein traversed at first is reference frame.
In step 407, the time of reception that each passage playback video recording frame carries compares the time of reception carried in reference frame.If the time difference of certain road frame of video shows that fast reference frame is more than 2s, then enter step 408; If the time difference of certain road frame of video shows that slow reference frame is more than 2s, enters step 409.
In a step 408, the video recording of this road just suspends playback to be waited for, after being then more than or equal to absolute time fiducial time, the frame of video in this passage continues the operation participating in performing step 405.
In step 409, carry out playback, the frame of video then in described passage continues the operation participating in performing step 312.
In step 410, it is exactly normal play that time difference is less than 2s, just constantly changes the value of fiducial time.
In step 411, frame of video is sent into decoding channels and carry out decoding display.
In step 412, judge whether video file finishes playing, and is, enters step 413, send file simultaneously and finish playing message to GUI, otherwise the next frame continued for the frame of video play in each passage performs step 405.
In step 323, close video decode passage and video file handle.
Rear end program receives after video recording message is play in the stopping sent by GUI and also performs this step.
In step 413, the video recording Play Control of rear end program is terminated.
The present embodiment does not adopt the F.F. mentioned in embodiment possibility and the mode of putting slowly, but, reference program realization flow, how the detailed rear end program that describes coordinates user operation in GUI to realize relating to the synchronous broadcasting that the present invention has set up packet header time of reception.
Those of ordinary skill in the art it is also understood that, the all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1., based on a multichannel video recording synchronized playback control method of NVR, it is characterized in that, main NVR equipment is when receiving the video flowing from each passage, and open up the time of reception that 4 bytes preserve main NVR equipment in the packet header of the video packets of Cun Chuing, described method comprises:
Obtain the synchronous playing request playing the video of multiple passage, in described playing request, carry each gap marker that will play and the beginning and ending time that will play;
According to described each gap marker, obtain the frame of video of described each passage;
Resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the frame of video that will play;
Play described frame of video.
2. the method for claim 1, is characterized in that, the described time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirms the frame of video that will play, specifically comprises:
Travel through each passage and treat the time of reception that the packet header of playback frame data is carried, wherein time of reception and initial time are differed frame of video in minimum passage A as with reference to frame I0;
Judge to carry the time of reception that other each PASS VIDEO middle wrapping heads carry time of reception with described reference frame I0 packet header and compare, whether exist identical;
If exist, and described reference frame I0 synchronously plays, if not, finds the time of reception in each passage entrained by frame of video and the immediate frame of video of time of reception entrained by described reference frame I0;
Confirm that on each passage, in immediate frame of video and described reference frame I0, time of reception difference in predetermined threshold value, is then synchronously play with described reference frame I0.
3. method as claimed in claim 2, is characterized in that, when confirming that in channel B, in frame of video and described reference frame I0, time of reception difference is greater than described predetermined threshold value, described method also comprises:
Suspend the broadcasting of frame of video in channel B, and according to described minimal difference size, determine that in described channel B, frame of video suspends the time of playing.
4. the method as described in as arbitrary in claim 1-3, is characterized in that, in the beginning and ending time according to described broadcasting, after synchronously playing the first frame frame of video of passage A and other each passages, described method also comprises:
With the next frame time of reference frame I0 for foundation, first is retrieved the frame of video identical with the described next frame time or the frame of video that retrieves closest to the described next frame time as with reference to frame I1;
The frame of video of other passages with the time of described reference frame I1 for foundation, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries.
5. method as claimed in claim 2, it is characterized in that, described predetermined threshold value is 2 seconds.
6. the method as described in claim 4 or 5, is characterized in that, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries, also comprise:
The time of reception that the time of reception that frame of video packet header of other passages is carried carries than described reference frame I1 is large, and when difference exceedes described threshold value, then slows down according to both time differences and play;
The time of reception that the time of reception that frame of video packet header of other passages is carried carries than described reference frame I1 is little, and when difference exceedes described threshold value, then accelerates to play according to both time differences.
7., based on a multichannel video recording synchronized playback control appliance of NVR, it is characterized in that, described device comprises processing module, and memory module, display module and Network Interface Module, specifically comprise:
Network Interface Module, for receiving the frame of video from each passage, described each passage comprises: analog channel, digital channel;
Memory module, for the frame of video that storage networking interface module receives;
I/O module, for receiving the playing request of the video of the multiple passage of synchronous broadcasting of user's input, carries each gap marker that will play and the beginning and ending time that will play in described playing request;
Processing module, for obtaining the playing request of I/O module forwards; According to described each gap marker, obtain the frame of video of described each passage; Resolve the packet header of the frame of video of described each passage, the time of reception of main NVR equipment entrained by described packet header and the beginning and ending time of described broadcasting, confirm the frame of video that will play;
Display module, for playing described frame of video.
8. equipment as claimed in claim 7, is characterized in that, described processing module also for,
Travel through each passage and treat the time of reception that the packet header of playback frame data is carried, wherein time of reception and initial time are differed frame of video in minimum passage A as with reference to frame I0;
Judge to carry the time of reception that other each PASS VIDEO middle wrapping heads carry time of reception with described reference frame I0 packet header and compare, whether exist identical;
If exist, and described reference frame I0 synchronously plays, if not, finds the time of reception in each passage entrained by frame of video and the immediate frame of video of time of reception entrained by described reference frame I0;
Confirm that on each passage, in immediate frame of video and described reference frame A, time of reception difference in predetermined threshold value, is then synchronously play with described reference frame I0.
9. equipment as claimed in claim 8, is characterized in that, described processing module also for,
When confirming that in frame of video and described reference frame I0, time of reception minimal difference is greater than described predetermined threshold value in channel B, suspending the broadcasting of frame of video in channel B, and according to described minimal difference size, determining that in described channel B, frame of video suspends the time of playing.
10. the equipment as described in as arbitrary in claim 7-9, is characterized in that, described processing module also for,
In the beginning and ending time according to described broadcasting, after synchronously playing the first frame frame of video of passage A and other each passages, with the next frame time of reference frame I0 for foundation, first is retrieved the frame of video identical with the described next frame time or the frame of video that retrieves closest to the described next frame time as with reference to frame I1 frame of video frame of video;
The frame of video of other passages with the time of described reference frame I1 for foundation, the time of reception that synchronous frame of video packet header of playing other passages is carried and the frame of video of time of reception difference in predetermined threshold value that described reference frame I1 carries.
CN201510026303.5A 2015-01-20 2015-01-20 A kind of multichannel video recording synchronized playback control method and device based on NVR Expired - Fee Related CN104618673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510026303.5A CN104618673B (en) 2015-01-20 2015-01-20 A kind of multichannel video recording synchronized playback control method and device based on NVR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510026303.5A CN104618673B (en) 2015-01-20 2015-01-20 A kind of multichannel video recording synchronized playback control method and device based on NVR

Publications (2)

Publication Number Publication Date
CN104618673A true CN104618673A (en) 2015-05-13
CN104618673B CN104618673B (en) 2018-05-01

Family

ID=53152932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510026303.5A Expired - Fee Related CN104618673B (en) 2015-01-20 2015-01-20 A kind of multichannel video recording synchronized playback control method and device based on NVR

Country Status (1)

Country Link
CN (1) CN104618673B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713802A (en) * 2017-02-24 2017-05-24 广州威普数码科技有限公司 Hybrid hard disk video recorder
CN106851044A (en) * 2016-12-13 2017-06-13 深圳英飞拓科技股份有限公司 A kind of audio video synchronization back method and device
CN108259805A (en) * 2018-03-30 2018-07-06 深圳市华宝电子科技有限公司 The method of multichannel video decoding, the method, apparatus played, automobile data recorder
CN108600814A (en) * 2018-04-08 2018-09-28 浙江大华技术股份有限公司 A kind of audio video synchronization playback method and device
CN112399227A (en) * 2021-01-19 2021-02-23 南京新广云信息科技有限公司 Method and system for simultaneously and synchronously playing multiple paths of medical images and time axis
CN113395410A (en) * 2017-12-15 2021-09-14 浙江舜宇智能光学技术有限公司 Video synchronization method applied to multi-view camera

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972407A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A video and audio synchronization playing method for mobile multimedia broadcasting
CN101959071A (en) * 2010-06-02 2011-01-26 杭州海康威视数字技术股份有限公司 Synchronous decoding method and device
JP2011029969A (en) * 2009-07-27 2011-02-10 Mitsubishi Electric Corp Video monitor display device and video monitoring system
CN201781583U (en) * 2010-01-22 2011-03-30 深圳市同洲电子股份有限公司 Multichannel server video playback synchronous control system
CN103329551A (en) * 2011-01-19 2013-09-25 三星电子株式会社 Reception device for receiving a plurality of real-time transfer streams, transmission device for transmitting same, and method for playing multimedia content
CN103873804A (en) * 2014-03-31 2014-06-18 武汉烽火众智数字技术有限责任公司 Video replay time axis and content synchronous control method for embedded NVR

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1972407A (en) * 2006-11-30 2007-05-30 中兴通讯股份有限公司 A video and audio synchronization playing method for mobile multimedia broadcasting
JP2011029969A (en) * 2009-07-27 2011-02-10 Mitsubishi Electric Corp Video monitor display device and video monitoring system
CN201781583U (en) * 2010-01-22 2011-03-30 深圳市同洲电子股份有限公司 Multichannel server video playback synchronous control system
CN101959071A (en) * 2010-06-02 2011-01-26 杭州海康威视数字技术股份有限公司 Synchronous decoding method and device
CN103329551A (en) * 2011-01-19 2013-09-25 三星电子株式会社 Reception device for receiving a plurality of real-time transfer streams, transmission device for transmitting same, and method for playing multimedia content
CN103873804A (en) * 2014-03-31 2014-06-18 武汉烽火众智数字技术有限责任公司 Video replay time axis and content synchronous control method for embedded NVR

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851044A (en) * 2016-12-13 2017-06-13 深圳英飞拓科技股份有限公司 A kind of audio video synchronization back method and device
CN106851044B (en) * 2016-12-13 2020-01-03 深圳英飞拓科技股份有限公司 Video synchronous playback method and device
CN106713802A (en) * 2017-02-24 2017-05-24 广州威普数码科技有限公司 Hybrid hard disk video recorder
CN113395410A (en) * 2017-12-15 2021-09-14 浙江舜宇智能光学技术有限公司 Video synchronization method applied to multi-view camera
CN108259805A (en) * 2018-03-30 2018-07-06 深圳市华宝电子科技有限公司 The method of multichannel video decoding, the method, apparatus played, automobile data recorder
CN108259805B (en) * 2018-03-30 2020-11-10 深圳市华宝电子科技有限公司 Multi-channel video decoding method, playing method and device and automobile data recorder
CN108600814A (en) * 2018-04-08 2018-09-28 浙江大华技术股份有限公司 A kind of audio video synchronization playback method and device
CN112399227A (en) * 2021-01-19 2021-02-23 南京新广云信息科技有限公司 Method and system for simultaneously and synchronously playing multiple paths of medical images and time axis

Also Published As

Publication number Publication date
CN104618673B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN104618673A (en) NVR (Network Video Recorder)-based multi-channel video synchronous playback control method and device
CN104410807B (en) A kind of multi-channel video synchronized playback method and device
CN201781583U (en) Multichannel server video playback synchronous control system
US20180332314A1 (en) Methods and systems for network based video clip generation and management
US9398315B2 (en) Multi-source video clip online assembly
JPWO2012096372A1 (en) Content playback apparatus, content playback method, distribution system, content playback program, recording medium, and data structure
TW200820777A (en) System and method of audio/video streaming
CN112752115B (en) Live broadcast data transmission method, device, equipment and medium
KR101712102B1 (en) Method and apparatus for transmitting/receiving streaming data based on RTSP session
JP2005051794A (en) Function similar to vcr rendering of video by on-demand
CN106686438A (en) Cross-device audio/image synchronous playing method, equipment and system
CN108965986B (en) Video recording and playing method and system
JP2010021663A (en) Communication apparatus and communication method
TW201806380A (en) Video splitting device and monitoring method
JP2015057882A (en) Interconnected multimedia systems with synchronized playback of media streams
CN103873804B (en) Video replay time axis and content synchronous control method for embedded NVR
US9633694B2 (en) Full fidelity remote video editing
JP2016189613A (en) Moving image data editing device, moving image data editing method, reproducer, and program
JP5219122B2 (en) Electronics
JP6357188B2 (en) Surveillance camera system and surveillance camera data storage method
US8023803B2 (en) Moving picture recording apparatus
CN109587513B (en) Method and system for reading audio and video files
JP2005197839A (en) Special reproduction method of transport stream and recording and reproducing apparatus for transport stream
WO2003065715A1 (en) Audio/video data recording/reproduction apparatus, system, and method, recording medium recorded by them, audio/video data reproduction apparatus, and data structure
KR102065035B1 (en) Server, method and media play device for providing time shift service

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180501

Termination date: 20210120