CN114302169B - Picture synchronous recording method, device, system and computer storage medium - Google Patents

Picture synchronous recording method, device, system and computer storage medium Download PDF

Info

Publication number
CN114302169B
CN114302169B CN202111604777.5A CN202111604777A CN114302169B CN 114302169 B CN114302169 B CN 114302169B CN 202111604777 A CN202111604777 A CN 202111604777A CN 114302169 B CN114302169 B CN 114302169B
Authority
CN
China
Prior art keywords
timestamp
picture
video frame
recording
video
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.)
Active
Application number
CN202111604777.5A
Other languages
Chinese (zh)
Other versions
CN114302169A (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.)
Vtron Group Co Ltd
Original Assignee
Vtron Group 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 Vtron Group Co Ltd filed Critical Vtron Group Co Ltd
Priority to CN202111604777.5A priority Critical patent/CN114302169B/en
Publication of CN114302169A publication Critical patent/CN114302169A/en
Application granted granted Critical
Publication of CN114302169B publication Critical patent/CN114302169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of audio and video recording, and discloses a picture synchronous recording method, device and system and a computer storage medium. Comparing timestamps of video frames in received multi-channel audio and video code streams, wherein if the timestamp difference value between a subsequently received video frame and a current reference video frame is not larger than a timestamp error threshold value, all the video frames are classified into the same picture, and the timestamp of the current reference video frame is used as the picture timestamp of the picture; the picture information under each picture timestamp is also recorded to the database, and then the corresponding picture information is sequentially read from the database according to the time sequence of the picture timestamps when the video needs to be played back; the invention realizes the synchronous storage of different video frames in the video recording process, and can effectively solve the technical problem of multi-splicing picture synchronization required by video playback by only playing back according to the picture information stored in the database during video playback.

Description

Picture synchronous recording method, device, system and computer storage medium
Technical Field
The present invention relates to the field of audio and video recording technologies, and in particular, to a method, an apparatus, a system, and a computer storage medium for synchronously recording pictures.
Background
In a conference scene of a monitoring room and a conference room, sometimes, the whole playing picture of a large screen of a display wall needs to be recorded as a video, the video is recorded in a storage disk, and the recorded video is played on the large screen of the display wall when the conference record is subsequently checked, namely, the video is played back. Because the large screen of the display wall is formed by splicing a plurality of display screens, when a video is recorded, a plurality of recording nodes are usually adopted, each recording node is used for recording the picture of the corresponding display screen, and when the video is played back, the pictures recorded by the recording nodes are spliced to form a complete picture and then played.
If the spliced pictures are not synchronized, the playback effect of the whole wall picture is affected, and therefore, in order to achieve a better video playback effect, it is necessary to provide a recording method for synchronizing the spliced pictures.
Disclosure of Invention
The invention provides a picture synchronous recording method, a device, a system and a computer storage medium, which solve the technical problem of multi-splicing picture synchronization required by video playback.
The first aspect of the present invention provides a method for synchronously recording pictures, which is applied to a recording and broadcasting server, and comprises:
receiving audio and video code streams of all recording nodes for recording the target display wall picture; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among all the recording nodes;
comparing the time stamps of the video frames of the recording nodes, and classifying the pictures of the video frames according to the comparison result, wherein the steps comprise: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed;
recording picture information under each picture timestamp to a database, wherein the picture information comprises an IP address, a frame type and a code stream byte offset address of each video frame under the current picture timestamp;
and when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
In one possible implementation manner according to the first aspect of the present invention, the frame type corresponding to the video frame does not include a B frame.
In one implementation form of the first aspect of the present invention, the method further includes:
and sending an audio and video code stream request to each recording node.
A second aspect of the present invention provides a device for synchronously recording pictures, including:
a memory to store instructions; the instruction is an instruction which can realize the picture synchronous recording method in any one of the realizable modes;
a processor to execute the instructions in the memory.
A third aspect of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements a picture synchronization recording method as described in any one of the above-mentioned implementable manners.
A fourth aspect of the present invention provides a device for synchronously recording pictures, comprising:
the receiving module is used for receiving the audio and video code stream of each recording node for recording the target display wall picture; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set between the recording nodes;
the processing module is used for comparing the time stamps of the video frames of the recording nodes and classifying the pictures of the video frames according to the comparison result, and comprises the following steps: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed;
the recording module is used for recording the picture information under each picture timestamp to a database, wherein the picture information comprises the IP address, the frame type and the bit stream byte offset address of each video frame under the current picture timestamp;
and the playback module is used for sequentially reading the corresponding picture information from the database according to the time sequence of the picture timestamps when receiving the playback instruction. In one possible implementation manner according to the fourth aspect of the present invention, the frame type corresponding to the video frame does not include a B frame.
In an implementable manner according to the fourth aspect of the invention, the apparatus further comprises:
and the request sending module is used for sending the audio and video code stream request to each recording node.
A fifth aspect of the present invention provides a system for synchronously recording pictures, the system comprising:
the recording nodes are used for recording target display wall pictures;
the recording and broadcasting server is used for receiving the audio and video code stream of each recording node; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among all the recording nodes; comparing the time stamps of the video frames of the recording nodes, and classifying the pictures of the video frames according to the comparison result, wherein the steps comprise: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed; recording picture information under each picture timestamp to a database, wherein the picture information comprises an IP address, a frame type and a code stream byte offset address of each video frame under the current picture timestamp; and when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
In one possible implementation manner according to the fifth aspect of the present invention, the frame type corresponding to the video frame does not include a B frame.
In an implementable manner according to the fifth aspect of the present invention, the recording and playing server is further configured to:
and sending an audio and video code stream request to each recording node.
According to the technical scheme, the invention has the following advantages:
comparing video frames in received multi-channel audio and video code streams, wherein if the time stamp difference value of a subsequently received video frame and a current reference video frame is not larger than a time stamp error threshold value, classifying all the video frames into the same picture, and taking the time stamp of the current reference video frame as the picture time stamp of the picture; recording the picture information under each picture timestamp to a database, and reading the corresponding picture information from the database in sequence according to the time sequence of the picture timestamps when the video needs to be played back; the invention realizes the synchronous storage of different video frames in the video recording process, and can effectively solve the technical problem of multi-splicing picture synchronization required by video playback by only needing to play back according to the picture information stored in the database during video playback.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a method for synchronously recording pictures according to an alternative embodiment of the present invention;
fig. 2 is a schematic structural diagram of a synchronous picture recording apparatus according to an alternative embodiment of the present invention.
Reference numerals:
1-a receiving module; 2-a processing module; 3-a recording module; 4-playback module.
Detailed Description
The embodiment of the invention provides a picture synchronous recording method, a device, a system and a computer storage medium, which are used for solving the technical problem of multi-splicing picture synchronization required by video playback.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a picture synchronous recording method, which is applied to a recording and broadcasting server.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for synchronously recording pictures according to an embodiment of the present invention.
The method provided by the embodiment of the invention comprises the steps S1-S4.
The method comprises the following steps that S1, audio and video code streams of all recording nodes for recording target display wall pictures are received; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set between the recording nodes.
And when each recording node sends the audio and video code stream, the audio data and the video data are sent separately.
In one implementation, the frame type corresponding to the video frame does not include a B frame.
The MPEG/h.26x coding technique divides the frame types of pictures into three types, I-frames, P-frames, and B-frames. Where I frames are intra-coded frames, P frames are forward predicted frames, and B frames are bi-directional interpolated frames. In brief, an I-frame is a complete picture, the first frame of each group of pictures, and P-frames and B-frames record changes relative to the I-frame, which is predicted by the P-frame or I-frame preceding it. In the embodiment of the invention, the frame type of the video frame is only a P frame or an I frame. In specific implementation, a specific transmission protocol may be set, so that the recording node sends audio and video data according to the transmission protocol, and the types of video frames in the transmission protocol are only I frames and P frames.
Step S2, comparing the time stamps of the video frames of the recording nodes, and classifying the pictures of the video frames according to the comparison result, wherein the step S comprises the following steps: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, and taking the timestamp of the current reference video frame as a corresponding picture timestamp, otherwise, taking the video frame of which the difference value between the timestamp of the first video frame and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed.
Wherein, the timestamp error threshold can be customized according to actual needs, thus providing more flexibility. To optimize the synchronization effect of the video pictures, the timestamp error threshold is preferably set to 1/3 of the frame interval. For example, if the frame rate of the video stream is 30/sec, the frame interval is 33 msec, and the timestamp error threshold is most preferably set to 11 msec. Because the recording nodes are subjected to NTP time synchronization, the error of the common time stamp can be controlled within 1-3 milliseconds.
To better illustrate step S2, taking N video frames received in succession as an example, let the N video frames be X1, X2, X3, X4, X5, \ 8230;, XN, with corresponding timestamps T1, T2, T3, T4, T5, \ 8230, TN, and with a timestamp error threshold Δ T, when step S2 is executed:
taking X1 as a reference video frame, calculating | T1-T2|, if | T1-T2| < delta T, calculating | T1-T3|, if | T1-T3| < delta T, calculating | T1-T4|, if | T1-T4| > delta T, classifying the video frames X1, X2 and X3 into the same picture, taking T1 as the picture time stamp of the same picture, taking the video frame X4 as a new reference video frame, comparing the video frame X4 with the video frames X5, \8230, XN received subsequently, and the like.
And S3, recording picture information under each picture timestamp to a database, wherein the picture information comprises the IP address, the frame type and the bit stream byte offset address of each video frame under the current picture timestamp.
Wherein, the step S3 can be completed synchronously when the frame classification is performed.
The form of the data stored in the database after step S3 can be shown as follows:
Figure GDA0003864332940000061
and S4, when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
For example, when the data stored in the database is in the form shown in the table, the playback process only needs to read the picture information under the same picture number according to the picture number to perform playback.
In one implementation, the method further comprises:
and sending an audio and video code stream request to each recording node.
The present invention also provides a device for synchronously recording pictures, comprising:
a memory to store instructions; the instruction is an instruction which can realize the picture synchronous recording method in any one of the realizable modes;
a processor to execute the instructions in the memory.
The present invention further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the method for synchronously recording pictures as described in any one of the above-mentioned implementations.
The invention also provides a device for synchronously recording the pictures.
Referring to fig. 2, fig. 2 is a schematic structural diagram illustrating a frame synchronization recording apparatus according to an embodiment of the present invention.
The picture synchronous recording device of the embodiment of the invention comprises:
the receiving module 1 is used for receiving audio and video code streams of all recording nodes for recording the target display wall picture; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among all the recording nodes;
the processing module 2 is configured to compare timestamps of video frames of the recording nodes, and perform picture classification on the video frames according to a comparison result, and includes: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed;
the recording module 3 is used for recording the picture information under each picture timestamp to a database, wherein the picture information comprises the IP address, the frame type and the bit stream byte offset address of each video frame under the current picture timestamp;
and the playback module 4 is used for reading the corresponding picture information from the database in sequence according to the time sequence of the picture timestamps when receiving the playback instruction.
In one implementation, the frame type corresponding to the video frame does not include a B frame.
In one enabling manner, the apparatus further includes:
and the request sending module is used for sending the audio and video code stream request to each recording node.
The invention also provides a system for synchronously recording the pictures.
The picture synchronous recording system of the embodiment of the invention comprises:
the recording nodes are used for recording the target display wall picture;
the recording and broadcasting server is used for receiving the audio and video code stream of each recording node; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among all the recording nodes; comparing the time stamps of the video frames of the recording nodes, and classifying the pictures of the video frames according to the comparison result, wherein the steps comprise: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed; recording picture information under each picture timestamp to a database, wherein the picture information comprises an IP address, a frame type and a code stream byte offset address of each video frame under the current picture timestamp; and when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
In one implementation, the frame type corresponding to the video frame does not include a B frame.
In one implementation, the recording and playing server is further configured to:
and sending an audio and video code stream request to each recording node.
In the above embodiment of the present invention, comparing video frames in the received multiple paths of audio/video code streams, and performing picture classification on each of the video frames according to a comparison result, includes: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than a timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, and taking the timestamp of the current reference video frame as a corresponding picture timestamp, otherwise, taking the video frame of which the difference value between the timestamp of the first video frame and the timestamp of the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the first video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed; in the embodiment of the invention, the picture information under each picture timestamp is also recorded into the database, and then the corresponding picture information is sequentially read from the database according to the time sequence of the picture timestamps when the video needs to be played back; the invention realizes the synchronous storage of different video frames in the video recording process, and can effectively solve the technical problem of multi-splicing picture synchronization required by video playback by only playing back according to the picture information stored in the database during video playback.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working processes of the system, the apparatus, and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is substantially or partly contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (8)

1. A picture synchronous recording method is applied to a recording and broadcasting server and is characterized by comprising the following steps:
receiving audio and video code streams of all recording nodes for recording a target display wall picture; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among all the recording nodes; the frame type corresponding to the video frame does not comprise a B frame;
comparing the time stamps of the video frames of the recording nodes, and classifying the pictures of the video frames according to the comparison result, wherein the steps comprise: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed;
recording picture information under each picture timestamp to a database, wherein the picture information comprises an IP address, a frame type and a code stream byte offset address of each video frame under the current picture timestamp;
and when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
2. The picture synchronization recording method according to claim 1, wherein the method further comprises:
and sending an audio and video code stream request to each recording node.
3. A picture synchronization recording apparatus, comprising:
a memory to store instructions; wherein, the instruction is an instruction which can realize the picture synchronous recording method according to claim 1 or 2;
a processor to execute the instructions in the memory.
4. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, implements the picture synchronization recording method according to claim 1 or 2.
5. A picture synchronization recording apparatus, comprising:
the receiving module is used for receiving the audio and video code stream of each recording node for recording the target display wall picture; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set between the recording nodes; the frame type corresponding to the video frame does not comprise a B frame;
the processing module is used for comparing the time stamps of the video frames of the recording nodes and classifying the pictures of the video frames according to the comparison result, and comprises the following steps: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed;
the recording module is used for recording the picture information under each picture timestamp to a database, wherein the picture information comprises the IP address, the frame type and the bit stream byte offset address of each video frame under the current picture timestamp;
and the playback module is used for sequentially reading the corresponding picture information from the database according to the time sequence of the picture timestamps when receiving the playback instruction.
6. The picture synchronization recording apparatus according to claim 5, wherein said apparatus further comprises:
and the request sending module is used for sending the audio and video code stream requests to all the recording nodes.
7. A system for synchronized recording of frames, the system comprising:
the recording nodes are used for recording target display wall pictures;
the recording and broadcasting server is used for receiving the audio and video code stream of each recording node; the audio and video code stream comprises a plurality of video frames and identification information of each video frame, wherein the identification information comprises a timestamp, a frame type and a code stream byte offset address in the audio and video code stream; NTP time synchronization is set among the recording nodes, and the frame type corresponding to the video frame does not include a B frame; comparing the time stamps of the video frames of the recording nodes, and performing image classification on the video frames according to a comparison result, wherein the image classification comprises the following steps: taking a video frame received for the first time as a current reference video frame, if the difference value between the timestamp of the subsequently received video frame and the timestamp of the current reference video frame is not greater than the timestamp error threshold value, classifying the subsequently received video frame and the current reference video frame into the same picture, taking the timestamp of the current reference video frame as a corresponding picture timestamp, and if not, taking the video frame of which the difference value between the first timestamp and the current reference video frame is greater than the timestamp error threshold value as a new reference video frame, and comparing the timestamp of the new reference video frame with the timestamp of the subsequently received video frame until the picture classification of all the video frames is completed; recording picture information under each picture timestamp to a database, wherein the picture information comprises an IP address, a frame type and a code stream byte offset address of each video frame under the current picture timestamp; and when a playback instruction is received, sequentially reading corresponding picture information from the database according to the time sequence of the picture timestamps.
8. The picture synchronization recording system according to claim 7, wherein the recording server is further configured to:
and sending an audio and video code stream request to each recording node.
CN202111604777.5A 2021-12-24 2021-12-24 Picture synchronous recording method, device, system and computer storage medium Active CN114302169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111604777.5A CN114302169B (en) 2021-12-24 2021-12-24 Picture synchronous recording method, device, system and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111604777.5A CN114302169B (en) 2021-12-24 2021-12-24 Picture synchronous recording method, device, system and computer storage medium

Publications (2)

Publication Number Publication Date
CN114302169A CN114302169A (en) 2022-04-08
CN114302169B true CN114302169B (en) 2023-03-07

Family

ID=80969559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111604777.5A Active CN114302169B (en) 2021-12-24 2021-12-24 Picture synchronous recording method, device, system and computer storage medium

Country Status (1)

Country Link
CN (1) CN114302169B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2736263A1 (en) * 2012-11-23 2014-05-28 Samsung Electronics Co., Ltd Server, multimedia apparatus and control method thereof for synchronously playing multimedia contents through a plurality of multimedia devices
CN104410807A (en) * 2014-11-24 2015-03-11 深圳市华宝电子科技有限公司 Method and device for synchronously replaying multi-channel video
CN106454010A (en) * 2016-10-21 2017-02-22 青岛海信电器股份有限公司 Synchronous display calibration method for multi-screen spliced display system, displays and multi-screen spliced display system
CN108881927A (en) * 2017-11-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of video data synthetic method and device
CN110933449A (en) * 2019-12-20 2020-03-27 北京奇艺世纪科技有限公司 Method, system and device for synchronizing external data and video pictures
CN111787365A (en) * 2020-07-17 2020-10-16 易视腾科技股份有限公司 Multi-channel audio and video synchronization method and device
CN112217960A (en) * 2020-10-14 2021-01-12 四川长虹电器股份有限公司 Method for synchronously displaying multi-screen playing pictures
CN113453053A (en) * 2021-06-25 2021-09-28 杭州海康威视数字技术股份有限公司 Distributed video synchronous display system, video synchronous display method and storage medium
CN113727154A (en) * 2021-08-27 2021-11-30 京东方科技集团股份有限公司 Synchronous playing system, method and device of spliced screen and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016068760A1 (en) * 2014-10-27 2016-05-06 Telefonaktiebolaget L M Ericsson (Publ) Video stream synchronization
CN106612452B (en) * 2015-10-22 2019-12-13 深圳市中兴微电子技术有限公司 method and device for synchronizing audio and video of set top box
EP3343561B1 (en) * 2016-12-29 2020-06-24 Axis AB Method and system for playing back recorded video
CN112929713B (en) * 2021-02-07 2024-04-02 Oppo广东移动通信有限公司 Data synchronization method, device, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2736263A1 (en) * 2012-11-23 2014-05-28 Samsung Electronics Co., Ltd Server, multimedia apparatus and control method thereof for synchronously playing multimedia contents through a plurality of multimedia devices
CN104410807A (en) * 2014-11-24 2015-03-11 深圳市华宝电子科技有限公司 Method and device for synchronously replaying multi-channel video
CN106454010A (en) * 2016-10-21 2017-02-22 青岛海信电器股份有限公司 Synchronous display calibration method for multi-screen spliced display system, displays and multi-screen spliced display system
CN108881927A (en) * 2017-11-30 2018-11-23 北京视联动力国际信息技术有限公司 A kind of video data synthetic method and device
CN110933449A (en) * 2019-12-20 2020-03-27 北京奇艺世纪科技有限公司 Method, system and device for synchronizing external data and video pictures
CN111787365A (en) * 2020-07-17 2020-10-16 易视腾科技股份有限公司 Multi-channel audio and video synchronization method and device
CN112217960A (en) * 2020-10-14 2021-01-12 四川长虹电器股份有限公司 Method for synchronously displaying multi-screen playing pictures
CN113453053A (en) * 2021-06-25 2021-09-28 杭州海康威视数字技术股份有限公司 Distributed video synchronous display system, video synchronous display method and storage medium
CN113727154A (en) * 2021-08-27 2021-11-30 京东方科技集团股份有限公司 Synchronous playing system, method and device of spliced screen and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
网络视频会议录播技术实现方案;贾世杰等;《微机发展》;20050910(第09期);全文 *

Also Published As

Publication number Publication date
CN114302169A (en) 2022-04-08

Similar Documents

Publication Publication Date Title
US8503541B2 (en) Method and apparatus for determining timing information from a bit stream
CN112584087B (en) Video conference recording method, electronic device and storage medium
CN107231563A (en) Method for processing video frequency and device
JP2021534699A (en) Dynamic shortening in replacement content playback that helps align the end of the replacement content with the end of the replacement content
CN108989883B (en) Live broadcast advertisement method, device, equipment and medium
CN112073810B (en) Multi-layout cloud conference recording method and system and readable storage medium
CN102789804B (en) Video broadcasting method, player, monitor supervision platform and audio/video player system
US20080175559A1 (en) Image process apparatus and method thereof
KR20190065838A (en) Server and method for generating time slice video, and user device
US20050025460A1 (en) Information-processing apparatus, information-processing method, program-recording medium, and program
JP2022517587A (en) Audio stream and video stream synchronization switching method and equipment
JP2020198509A (en) Synchronous control device, synchronous control method, and synchronous control program
CN101895736B (en) Media stream data processing method and device thereof
CN112584088B (en) Method for transmitting media stream data, electronic device and storage medium
CN114302169B (en) Picture synchronous recording method, device, system and computer storage medium
CN115665493A (en) Large screen splicing device supporting recording and playing, splicer, playing control method and system
WO2015020069A1 (en) Data processing device, data processing method, program, recording medium, and data processing system
US8331757B2 (en) Time code processing apparatus, time code processing method, program, and video signal playback apparatus
CN113938617A (en) Multi-channel video display method and equipment, network camera and storage medium
JPWO2014136291A1 (en) Movie data editing device, movie data editing method, playback device, playback method, and program
JPH09116866A (en) Encoding method, encoding/decoding method and recording /reproducing device
JP2010287923A (en) Video server
CN114257844B (en) Multi-video synchronous playing method, device, equipment and readable storage medium
CN114302086A (en) Method, device and system for recording and playing back full-screen ultrahigh-resolution picture of display wall
KR101541219B1 (en) High Speed Recorder Performing Parallel Processing And Method Thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant