Picture synchronization method and device, medium and product

By determining and sending synchronization notifications in the video stream and obtaining frame deviation synchronization parameters, the problem of out-of-synchronization of multiple video streams is solved, significantly improving the quality of video playback and user experience.

CN119342265APending Publication Date: 2025-01-21GUANGZHOU BAOLUN ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411416306.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-11
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

The pictures output from existing multiple video streams are out of sync, affecting the viewing experience.

Method used

By determining the current conditions to meet the preset conditions, send synchronization notifications to the video stream, and receive feedback information to obtain synchronous parameters, including frame deviation, so that the target object uses these parameters to synchronize the screen.

Benefits of technology

Effectively eliminate different problems of the screen, and improve the quality and user experience of video playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342265A_ABST
    Figure CN119342265A_ABST
Patent Text Reader

Abstract

The invention provides a picture synchronization method and device, a medium and a product, and relates to the technical field of video recording. The picture synchronization method comprises the following steps: determining that a preset condition is satisfied currently, and sending a synchronization notification to a slave video stream, the preset condition comprising writing a first I frame; feedback information of the slave video stream is received, synchronization parameters are obtained according to the feedback information and sent to the target object so that the target object can conduct picture synchronization through the synchronization parameters, the feedback information corresponds to the synchronization notification and comprises frame number write-in information of the slave video stream, and the synchronization parameters comprise frame deviation. According to the embodiment of the invention, when the video frame is written, the frame deviation between the master video stream and the slave video stream can be acquired, so that picture synchronization can be carried out when the video is played, the problem of picture asynchronization can be eliminated, and the watching experience is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of video recording technology, and more specifically, to a picture synchronization method, device, medium and product. Background Art

[0002] Video refers to various technologies that capture, record, process, store, transmit and reproduce a series of static images in the form of electrical signals. Video technology was first developed for television systems, but with the rapid development of digital video processing technology, it has now developed into various formats to facilitate consumers to record videos. The development of network technology has also prompted video documentary clips to exist on the Internet in the form of streaming media, which can be received and played by computers. There are various suffix formats for large and small videos, including personal video uploads and movie videos. Video technology has been widely used in film and television, video recording, radar, monitoring, education and other fields.

[0003] In the process of video technology application, in order to improve the viewing experience, multiple video channels are often used to record the same scene to obtain video images. However, due to the difference in the startup time or recording time of different video devices, the images output by the generated multi-channel video streams are not synchronized, affecting the viewing experience. Summary of the invention

[0004] The embodiments of the present application provide a method, device, medium and product for synchronizing images, which can solve the problem that the images of existing multi-channel video stream outputs are not synchronized, affecting the viewing experience. To achieve this purpose, the embodiments of the present application provide the following solutions.

[0005] According to one aspect of an embodiment of the present application, a picture synchronization method is provided for a main reference stream in at least two video streams, the method comprising:

[0006] Determining that a preset condition is currently satisfied, sending a synchronization notification to the slave video stream, wherein the preset condition includes writing the first frame I frame;

[0007] Receive feedback information from a video stream, obtain synchronization parameters based on the feedback information, and send the synchronization parameters to a target object so that the target object uses the synchronization parameters to synchronize the screen, wherein the feedback information corresponds to the synchronization notification, including the frame number written information from the video stream, and the synchronization parameters include frame deviation.

[0008] In a possible implementation, determining that a preset condition is currently satisfied includes:

[0009] In response to a recording instruction, acquiring image data, and performing a video frame writing operation based on the image data;

[0010] Whether a preset condition is met is detected according to the video frame information corresponding to the video frame writing operation.

[0011] In a possible implementation, the receiving feedback information from the video stream includes:

[0012] The feedback information sent by the slave video stream based on the synchronization notification is received, wherein the feedback information is sent after the slave video stream receives the synchronization notification and determines that a preset condition is currently satisfied.

[0013] In a possible implementation manner, the acquiring a synchronization parameter according to the feedback information includes:

[0014] Acquire the number of P frames currently written from the corresponding video stream according to the feedback information;

[0015] A frame deviation is obtained based on the number of the currently written P frames and the number of the video frames written by itself, and a synchronization parameter is generated using the frame deviation.

[0016] In a possible implementation, the method includes:

[0017] Performing test communication with the slave video stream, and obtaining communication delay based on the test communication;

[0018] The obtaining of the frame deviation based on the number of the P frames and the number of the video frames written by the self includes:

[0019] The frame number difference between the number of the currently written P frames and the number of the video frames written by itself is obtained, and the frame deviation is determined according to the frame number difference and the communication delay.

[0020] According to one aspect of an embodiment of the present application, a screen synchronization method is provided, which is used for a slave video stream in at least two video streams, and the method includes:

[0021] A synchronization notification is received, where the synchronization notification is sent to the slave video stream when the master video stream determines that a preset condition is currently satisfied, where the preset condition includes writing the first frame I frame;

[0022] Feedback information is obtained according to the synchronization notification, and the feedback information is sent to the main video stream so that the main video stream obtains synchronization parameters for screen synchronization according to the feedback information and sends the synchronization parameters to the target object, the feedback information includes its own frame number writing information, and the synchronization parameters include frame deviation.

[0023] In a possible implementation, the acquiring feedback information according to the synchronization notification includes:

[0024] Perform a video frame writing operation based on the synchronization notification and record video frame information;

[0025] If it is determined according to the video frame information that the preset condition is met, feedback information is generated.

[0026] According to one aspect of an embodiment of the present application, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the method described above.

[0027] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described above are implemented.

[0028] According to one aspect of an embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps of the method described above are implemented.

[0029] The beneficial effects of the technical solution provided by the embodiment of the present application are:

[0030] The screen synchronization method provided by the present application includes: determining that a preset condition is currently met, sending a synchronization notification to a slave video stream, the preset condition includes writing the first frame I frame; receiving feedback information from the slave video stream, obtaining frame deviation synchronization parameters according to the feedback information and sending the synchronization parameters to a target object so that the target object uses the synchronization parameters to perform screen synchronization, the feedback information corresponds to the synchronization notification, including writing information on the number of frames of the slave video stream, and the embodiment of the present application can obtain the frame deviation between the main video stream and the slave video stream when writing the video frame, so as to perform screen synchronization during video playback, thereby eliminating the problem of screen asynchrony and effectively improving the viewing experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following is a brief introduction to the drawings required for use in describing the embodiments of the present application.

[0032] Figure 1 A flowchart of a method for synchronizing a main reference stream provided in an embodiment of the present application;

[0033] Figure 2 A flowchart of the screen synchronization method provided in the embodiment of the present application;

[0034] Figure 3 A flowchart of a method for synchronizing a video stream according to an embodiment of the present application;

[0035] Figure 4 This is a structural diagram of the electronic device of this application. DETAILED DESCRIPTION

[0036] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.

[0037] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation of other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the present technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" indicates that it is implemented as "A", or is implemented as "A", or is implemented as "A and B".

[0038] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0039] The following describes several exemplary embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.

[0040] The screen synchronization method, device, medium and product provided in the present application are intended to solve at least one technical problem existing in the prior art.

[0041] A screen synchronization method is provided in an embodiment of the present application. The device for executing the screen synchronization method may be a mobile phone, a computer, a server, a cloud platform, or other terminals that can be used to record videos and obtain frame deviations.

[0042] Optionally, the terminal is a main reference stream in at least two video streams during video recording. The at least two video streams are divided into a main reference stream and a slave video stream, and the main reference stream is connected to the slave video stream. The selection of the main reference stream can be determined based on at least one of the data processing performance of the terminal, the communication delay between the video streams, and the importance of the recorded picture.

[0043] Alternatively, if Figure 1-Figure 2 As shown, the screen synchronization method includes:

[0044] S101: Determine that a preset condition is currently met, and send a synchronization notification to a slave video stream.

[0045] Optionally, the preset condition includes writing the first frame I frame. The preset condition may also include the conditions affecting the writing of the video frame, such as the current arrival of the preset time point, all video streams have started to start, the scene or object to be recorded appears, and all slave video streams are connected.

[0046] Optionally, before determining that the preset condition is currently met, the main reference stream can also perform test communication with the slave video stream, and obtain the communication delay based on the test communication. The test communication may include sending and receiving a test signal. The communication delay between the two is obtained based on the sending and receiving of the test signal, and the communication delay between each slave video stream and the main video stream is recorded.

[0047] Optionally, the screen synchronization method may be executed each time the main reference stream starts writing a video frame, or may be executed when a new slave video stream is detected to be connected.

[0048] Optionally, determining whether a preset condition is currently met includes: in response to a recording instruction, acquiring image data, and performing a video frame writing operation based on the image data; and detecting whether the preset condition is met according to video frame information corresponding to the video frame writing operation.

[0049] Optionally, the recording instruction can be sent to the main reference stream by the user through voice input, mouse input, key input or other methods. The main reference stream can also trigger the generation of the recording instruction and execute the recording instruction based on the recognition of characters, detected persons or actions related to the preset recording conditions.

[0050] Optionally, the recording instruction may include information such as image data acquisition time, image data acquisition method, recording method, frame rate, etc. The main reference stream may acquire image data according to the recording instruction.

[0051] In one embodiment, the main reference stream receives a recording instruction input by a user, determines a recording object according to the recording instruction, obtains image data of the recording object, generates and writes a video frame according to the image data, and obtains information of the written video frame.

[0052] Optionally, the preset condition may be writing the first I frame. An I frame is a key frame in a video frame that does not rely on other frames for decoding. It contains complete image data and can be decoded independently without reference to other frames. It is usually used at the beginning of a video sequence or inserted when a scene is switched to provide a reference point. After detecting that the first I frame is currently being written, the main reference stream determines that the preset condition is currently met and sends a synchronization notification to the slave reference stream. Furthermore, after sending the synchronization notification, the main reference stream continues to perform the video frame writing operation.

[0053] Optionally, the synchronization notification can be transmitted to the slave reference streams wirelessly or by wire, wherein the main reference stream can send the synchronization notification to all slave reference streams, or can send the synchronization notification to the slave reference streams that have screen synchronization requirements with the main reference stream, or can send the synchronization notification to one or more slave reference streams, and the slave reference stream that receives the synchronization notification forwards the synchronization notification to other slave reference streams that have not received the synchronization notification.

[0054] Optionally, the synchronization notification may include an instruction to write a video frame from a reference stream, wherein the synchronization notification may also include information such as an image acquisition object corresponding to the video frame to be written, a time or condition for stopping writing the video frame, etc. The slave video stream performs a corresponding video frame writing operation according to the received synchronization notification.

[0055] S102: receiving feedback information from a video stream, acquiring synchronization parameters according to the feedback information, and sending the synchronization parameters to a target object so that the target object performs screen synchronization using the synchronization parameters.

[0056] Optionally, the feedback information corresponds to a synchronization notification, including writing information from the number of frames of the video stream, and the synchronization parameters include frame deviation.

[0057] Optionally, the condition for sending feedback information from the video stream may be the same as the condition for sending synchronization notification from the main reference stream. Therefore, receiving feedback information from the video stream includes: receiving feedback information sent from the video stream based on synchronization notification, wherein the feedback information is sent after receiving synchronization notification from the video stream and determining that preset conditions are currently met.

[0058] Optionally, the frame number writing information includes the number of P frames written from the video stream when a preset condition is met, and the frame deviation is calculated based on the number of P frames written. Wherein, the P frame is a predicted frame, which depends on the I frame or P frame located in front of it on the time axis for decoding; when writing the P frame, the amount of data can be reduced by motion compensation technology, such as by predicting and encoding the changed part in the image, the P frame can only store the difference with the reference frame, thereby reducing the data amount of the P frame.

[0059] Optionally, the feedback information may further include identification information of the slave reference stream itself, and the master reference stream identifies the object that sends the feedback information through the identification information.

[0060] In one embodiment, a synchronization notification is received from a video stream, a video is recorded, video frames are written based on the recording results, and after writing the first I frame, it is determined that a preset condition is currently met, the number of P frames that have been written is obtained, the information on the number is written into feedback information, and the feedback information is sent to the main reference stream.

[0061] Optionally, obtaining synchronization parameters according to feedback information includes: obtaining the number of P frames currently written in the corresponding slave video stream according to the feedback information; obtaining frame deviations based on the number of P frames currently written and the number of video frames written by itself, and generating synchronization parameters using the frame deviations. The number of video frames written by itself can be determined according to the number of video frames of all video data currently written to the main reference stream.

[0062] Optionally, after the main reference stream obtains the feedback information sent from the video stream, it obtains the number of P frames in the feedback information, calculates the frame deviation between the number and all the video data currently written into the I frame, and determines the frame deviation as a synchronization parameter.

[0063] Optionally, to further improve the accuracy of synchronization parameters, the communication delay between the main reference stream and the slave video stream can be considered when calculating the frame deviation. Obtaining the frame deviation based on the number of P frames and the number of video frames written by itself includes: obtaining the frame number difference between the number of P frames currently written by the slave video stream and the number of video frames written by itself, and determining the frame deviation according to the frame number difference and the communication delay, wherein the communication delay includes the communication delay caused by sending the synchronization notification and receiving the feedback information.

[0064] Optionally, the synchronization parameter may also include a time difference corresponding to the frame deviation, and the time difference may be used to indicate a time difference between a video generated by the main reference stream and a video generated by the slave reference stream.

[0065] Optionally, the target object may be a device for playing a main reference stream and a video generated from a video stream, the device receiving synchronization parameters sent by the main reference stream, and performing synchronous playback of the video according to the synchronization parameters to achieve screen synchronization.

[0066] In one embodiment, the frame deviation between the main reference stream and the video corresponding to the slave video stream is 2 frames. When playing the picture, the two videos are played at the same time, and the video corresponding to the main reference stream is played from the third frame, and the video of the slave video stream six is ​​played from the first frame of the video to ensure the synchronization of the two pictures.

[0067] This application effectively solves the problem of picture asynchrony during recording and playback of multiple video streams by accurately calculating and adjusting the frame deviation of each video stream, thereby improving the video playback quality and user experience.

[0068] The following is a further description of the screen synchronization method through a specific embodiment.

[0069] In one embodiment, Figure 2 As shown, when using multiple video streams for recording, one video stream (for example, stream A) is selected as the main reference stream. After the main reference stream completes writing of the first frame I frame, it automatically sends a synchronization notification to other video streams (for example, stream B, stream C, etc.). After receiving the synchronization notification, streams B and C prepare to write their respective first frames I frames, and after writing is completed, send a notification of successful writing to the main reference stream, which includes the number of P frames currently written. The main reference stream receives the successful writing notification from streams B and C, records the number of P frames currently written by streams B and C, and calculates the frame deviation from stream A. The main reference stream generates synchronization parameters based on the frame deviation, and stores or passes the synchronization parameters to the playback system. During playback, the playback system performs reverse frame-level adjustments to the video streams of streams B and C based on the synchronization parameters to achieve screen synchronization with stream A.

[0070] In an optional embodiment, a screen synchronization method is provided. The screen synchronization method is used for a slave video stream in at least two video streams. The slave video stream can be determined according to a user's selection instruction, or after a main reference stream is determined, the main reference stream sends information indicating that it is a slave video stream to other video streams.

[0071] like Figure 3 As shown, the screen synchronization method includes:

[0072] S201: Receive a synchronization notification.

[0073] Optionally, the synchronization notification is sent by the main video stream to the slave video stream when the main video stream determines that a preset condition is currently satisfied, and the preset condition includes writing the first frame I frame.

[0074] Optionally, determining whether a preset condition is currently met includes: in response to a recording instruction, acquiring image data, and performing a video frame writing operation based on the image data; and detecting whether the preset condition is met according to video frame information corresponding to the video frame writing operation.

[0075] S202: Obtain feedback information according to the synchronization notification, and send the feedback information to the main video stream so that the main video stream obtains synchronization parameters for screen synchronization according to the feedback information and sends the synchronization parameters to the target object.

[0076] Optionally, the feedback information includes its own frame number writing information, and the synchronization parameter includes frame deviation.

[0077] Optionally, obtaining feedback information according to the synchronization notification includes: performing a video frame writing operation based on the synchronization notification and recording video frame information; and generating feedback information if it is determined according to the video frame information that a preset condition is met.

[0078] Optionally, the main reference stream receives feedback information from the slave video stream, including: receiving feedback information sent by the slave video stream based on a synchronization notification, wherein the feedback information is sent after the slave video stream receives the synchronization notification and determines that a preset condition is currently met.

[0079] Optionally, synchronization parameters are obtained based on feedback information, including: obtaining the corresponding number of P frames currently written from the video stream based on the feedback information; obtaining frame deviation based on the number of P frames currently written and the number of video frames written by itself, and generating synchronization parameters using the frame deviation.

[0080] Optionally, the main reference stream performs test communication with the slave video stream, and obtains the communication delay based on the test communication; and obtains the frame deviation based on the number of P frames and the number of video frames written by itself, including: obtaining the frame difference between the number of P frames currently written and the number of video frames written by itself, and determining the frame deviation based on the frame difference and the communication delay.

[0081] In an optional embodiment, an electronic device is provided, such as Figure 4 As shown, Figure 4 The electronic device 4000 shown includes: a processor 4001 and a memory 4003. The processor 4001 and the memory 4003 are connected, such as through a bus 4002. Optionally, the electronic device 4000 may also include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and / or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.

[0082] Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0083] The bus 4002 may include a path to transmit information between the above components. The bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0084] Memory 4003 can be ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or it can be EEPROM (Electrically Erasable Programmable Read Only Memory), CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium, other magnetic storage devices or any other medium that can be used to carry or store computer programs and can be read by a computer, without limitation here.

[0085] The memory 4003 is used to store the computer program for executing the embodiment of the present application, and the execution is controlled by the processor 4001. The processor 4001 is used to execute the computer program stored in the memory 4003 to implement the steps shown in the above method embodiment.

[0086] Among them, the electronic device can be any electronic product that can interact with an object, such as a personal computer, a tablet computer, a smart phone, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc.

[0087] The electronic device may also include a network device and / or an object device, wherein the network device includes, but is not limited to, a single network server, a server group consisting of multiple network servers, or a cloud consisting of a large number of hosts or network servers for cloud computing.

[0088] The network where the electronic device is located includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a virtual private network (Virtual Private Network, VPN), etc.

[0089] An embodiment of the present application provides a computer-readable storage medium, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.

[0090] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps and corresponding contents of the aforementioned method embodiment can be implemented.

[0091] The terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that shown or described in the drawings.

[0092] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.

[0093] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.

Claims

1. A screen synchronization method, characterized in that: For a main reference stream in at least two video streams, the method comprises: Determining that a preset condition is currently satisfied, sending a synchronization notification to the slave video stream, wherein the preset condition includes writing the first frame I frame; Receive feedback information from a video stream, obtain synchronization parameters based on the feedback information, and send the synchronization parameters to a target object so that the target object uses the synchronization parameters to synchronize the screen, wherein the feedback information corresponds to the synchronization notification, including the frame number written information from the video stream, and the synchronization parameters include frame deviation.

2. The screen synchronization method according to claim 1, characterized in that: The determining that the preset condition is currently satisfied includes: In response to a recording instruction, acquiring image data, and performing a video frame writing operation based on the image data; Whether a preset condition is met is detected according to the video frame information corresponding to the video frame writing operation.

3. The screen synchronization method according to claim 1, characterized in that: The receiving feedback information from the video stream includes: The feedback information sent by the slave video stream based on the synchronization notification is received, wherein the feedback information is sent after the slave video stream receives the synchronization notification and determines that a preset condition is currently satisfied.

4. The screen synchronization method according to claim 1, characterized in that: The acquiring synchronization parameters according to the feedback information includes: Acquire the number of P frames currently written from the corresponding video stream according to the feedback information; A frame deviation is obtained based on the number of the currently written P frames and the number of the video frames written by itself, and a synchronization parameter is generated using the frame deviation.

5. The screen synchronization method according to claim 4, characterized in that: The method comprises: Performing test communication with the slave video stream, and obtaining communication delay based on the test communication; The obtaining of the frame deviation based on the number of the P frames and the number of the video frames written by the self includes: The frame number difference between the number of the currently written P frames and the number of the video frames written by itself is obtained, and the frame deviation is determined according to the frame number difference and the communication delay.

6. A screen synchronization method, characterized in that: For a slave video stream in at least two video streams, the method comprises: A synchronization notification is received, where the synchronization notification is sent to the slave video stream when the master video stream determines that a preset condition is currently satisfied, where the preset condition includes writing the first frame I frame; Feedback information is obtained according to the synchronization notification, and the feedback information is sent to the main video stream so that the main video stream obtains synchronization parameters for screen synchronization according to the feedback information and sends the synchronization parameters to the target object, the feedback information includes its own frame number writing information, and the synchronization parameters include frame deviation.

7. The screen synchronization method according to claim 6, characterized in that: The obtaining feedback information according to the synchronization notification includes: Perform a video frame writing operation based on the synchronization notification and record video frame information; If it is determined according to the video frame information that the preset condition is met, feedback information is generated.

8. An electronic device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the method according to any one of claims 1 to 7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.