CN110719529B - Multi-channel video synchronization method, device, storage medium and terminal - Google Patents

Multi-channel video synchronization method, device, storage medium and terminal Download PDF

Info

Publication number
CN110719529B
CN110719529B CN201911019021.7A CN201911019021A CN110719529B CN 110719529 B CN110719529 B CN 110719529B CN 201911019021 A CN201911019021 A CN 201911019021A CN 110719529 B CN110719529 B CN 110719529B
Authority
CN
China
Prior art keywords
video
path
playing
videos
playing state
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
CN201911019021.7A
Other languages
Chinese (zh)
Other versions
CN110719529A (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.)
Beijing Wenyuanjia Technology Co ltd
Original Assignee
Beijing Wenyuanjia 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 Beijing Wenyuanjia Technology Co ltd filed Critical Beijing Wenyuanjia Technology Co ltd
Priority to CN201911019021.7A priority Critical patent/CN110719529B/en
Publication of CN110719529A publication Critical patent/CN110719529A/en
Application granted granted Critical
Publication of CN110719529B publication Critical patent/CN110719529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • H04N7/181Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a plurality of remote sources

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a multi-channel video synchronization method, a multi-channel video synchronization device, a storage medium and a terminal, wherein the method comprises the following steps: monitoring the playing state of each path of video in the multiple paths of videos; when the change of the playing state of a first path of video in the multiple paths of videos is monitored, the playing state of the changed first path of video is confirmed; and synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video. By adopting the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.

Description

Multi-channel video synchronization method, device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a storage medium, and a terminal for synchronizing multiple channels of video.
Background
The remote education/online course is a learning behavior based on network, and the education mode enables the user to freely control the learning time, saves the consumption of manpower and material resources brought by face teaching and optimizes the learning life.
The educational video provided to the user by the distance education may be a single video or may be a plurality of videos formed by a plurality of independent videos. The single-path video is a single video formed by only acquiring a certain object (such as only acquiring an electronic blackboard), and the multi-path video is a plurality of independent videos formed by acquiring different objects (such as respectively acquiring teachers, courseware and students). When multiple paths of videos are played, the multiple videos can be displayed on the display screen at the same time.
If the video is a multi-path video, when a user warms a certain part of teaching content, the playing progress of each video in the multi-path video needs to be adjusted one by one so as to realize synchronous playing of a plurality of videos, and further, the content is complete. The operation process is complicated.
Disclosure of Invention
The embodiment of the application provides a multi-channel video synchronization method, a multi-channel video synchronization device, a storage medium and a terminal, and can solve the problem that the synchronous playing operation process is complex and tedious. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a multi-channel video synchronization method, where the method includes:
monitoring the playing state of each path of video in the multiple paths of videos;
when the change of the playing state of a first path of video in the multiple paths of videos is monitored, the playing state of the changed first path of video is confirmed;
and synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video.
In a second aspect, an embodiment of the present application provides a multi-channel video synchronization apparatus, including:
the playing state monitoring module is used for monitoring the playing state of each path of video in the multiple paths of video;
the playing state confirmation module is used for confirming the playing state of the changed first video in the multi-channel videos when the playing state of the first video is monitored to be changed;
and the playing state synchronous adjustment module is used for synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video.
In a third aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any one of the above methods.
In a fourth aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of any one of the above methods when executing the program.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, a terminal monitors a playing state of each of multiple channels of videos, determines a changed playing state of a first channel of videos when it is monitored that the playing state of the first channel of videos in the multiple channels of videos changes, and synchronously adjusts a playing state of a second channel of videos in the multiple channels of videos based on the changed playing state of the first channel of videos. In the implementation mode, under the condition that the playing state of a first path of video in the multiple paths of videos changes, the playing states of the other paths of videos are changed through control, so that the playing states of the other paths of videos are consistent with the changed playing state of the first path of video, each path of video keeps the same playing progress, and the videos respectively correspond to each other in time, space and content, and therefore synchronous playing is achieved. By applying the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present application;
fig. 3-4 are schematic diagrams of a multi-channel video synchronization process provided by an embodiment of the present application;
fig. 5 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a terminal structure according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The multi-channel video synchronization method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 5.
Fig. 1 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present disclosure.
As shown in fig. 1, the method of the embodiment of the present application may include the steps of:
s101, monitoring the playing state of each path of video in a plurality of paths of videos;
the multi-channel video refers to a plurality of independent videos which are displayed on the same display screen and collected back through different cameras, and the independent videos can be unrelated to each other in content: the method is characterized by comprising the following steps of (1) acquiring and forming by different cameras under different environments (for example, acquiring one video in a bookstore and a movie hall); also in relation to each other: the method is characterized in that the method is obtained by acquiring different target objects by cameras from different angles in the same environment (for example, acquiring one video for a host, a file presentation and participants in a conference room). Each of the multiple correlated videos corresponds in time, space and content. The embodiments provided in the present application all take the correlated multi-channel video as an example for explanation.
The video playing has a plurality of playing states such as fast forward, pause, reverse, double speed and the like according to the change speed of the progress bar; monitoring is monitoring, and is used for timely knowing whether the playing state of each path of video changes, and the monitoring of the playing state of each path of video in the multi-path video can be real-time monitoring or periodic monitoring (for example, monitoring once every 5s or monitoring once every 8 s).
S102, when the change of the playing state of a first path of video in the multi-path video is monitored, the playing state of the changed first path of video is confirmed;
the user can change the playing state of each path of video in the multiple paths of videos displayed on the same screen through touch operation, and the touch operation aiming at each path of video is mutually independent and does not interfere with each other. For example, under the condition that each path of video in the multiple paths of videos is played normally, the user pulls the progress bar of the first path of video backward through the touch display screen, so that the playing state of the first path of video is changed from normal playing to backward, and the playing states of other paths of videos are not interfered/influenced and are still played normally.
In order to realize the synchronous playing of multiple paths of videos, the playing state of each path of video in the multiple paths of videos needs to be monitored. When it is monitored that the playing state of a certain path of video in the multiple paths of videos changes, the path of video is defined as a first path of video, the playing state of the changed path of video is determined, and step S103 is executed.
The change of the playing state can be, for example, changing from a normal playing state to a pause state, changing from a triple playing speed to a double playing speed, and the like.
S103, based on the changed playing state of the first path of video, the playing state of a second path of video in the multiple paths of video is synchronously adjusted.
In the embodiment of the application, the multiple paths of videos are multiple independent videos which are mutually associated, and synchronous playing is required to achieve the correspondence of each video in time, space and content. Therefore, in the case that the playing state of the first path of video changes, the playing states of the other paths of video should be changed accordingly.
The synchronous adjustment of the playing state of the second path of video in the multi-path video means that the current playing state of the second path of video is controlled to be changed to be consistent with the changed playing state of the first path of video, and the two paths of video keep the same playing progress so as to realize synchronization.
It should be noted that two mutually independent videos may form two paths of videos, and five mutually independent videos may form five paths of videos, where the number of the multiple paths of videos in this embodiment is not limited in this application, and when it is monitored that the playing state of a certain path of video in the multiple paths of videos changes, based on the changed playing state of the path of video, the playing states of the other paths of videos in the multiple paths of videos are synchronously adjusted, including adjusting the playing states of the second path of video and the third path of video …, i.e., the nth path of video.
In the embodiment of the application, a terminal monitors the playing state of each path of video in a plurality of paths of videos, when the playing state of a first path of video in the plurality of paths of videos is monitored to be changed, the playing state of the first path of video after being changed is confirmed, and based on the playing state of the first path of video after being changed, the playing state of a second path of video in the plurality of paths of videos is synchronously adjusted. In the implementation mode, under the condition that the playing state of a first path of video in the multiple paths of videos changes, the playing states of the other paths of videos are changed through control, so that the playing states of the other paths of videos are consistent with the changed playing state of the first path of video, each path of video keeps the same playing progress, and the videos respectively correspond to each other in time, space and content, and therefore synchronous playing is achieved. By applying the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.
Fig. 2 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present disclosure.
As shown in fig. 2, the method of the embodiment of the present application may include the steps of:
s201, monitoring the playing state of each path of video in the multiple paths of videos;
this step can be referred to as S101, and is not described herein.
S202, when the playing states of at least two paths of videos in the multi-path videos are monitored to change, a timestamp of the change of the playing states of the at least two paths of videos is confirmed;
the user can change the playing states of different paths of videos displayed on the same screen through touch operation. For example, different paths of videos are operated by two hands in a "synchronous" mode, or the playing state of the non-target path of videos changes along with the playing state of the target path of videos at the same time due to mistaken collision, and the like.
The playing states of the videos in different paths change at the same time, and the changes can be the same change or different changes. For example, the left hand touches the playing state of the first path of video to reverse, and the right hand touches the playing state of the second path of video to fast forward; and due to the false collision, the playing state of the third path of video (non-target path video) changes to pause and the like along with the playing state of the fourth path of video (target path video).
The above examples are macroscopic "simultaneous" and "synchronous", and each operation actually has a sequence.
The playing state of each video in the multiple videos needs to be monitored, when it is monitored that the playing states of at least two videos in the multiple videos are changed simultaneously, the timestamp of the change of the playing states of the at least two videos needs to be confirmed, and then step S203 is executed.
The time stamp is a group of random numbers generated according to the system time and used for determining the time when the playing state of each path of video changes.
S203, taking the video with the time indicated first in the timestamp as a first video, and confirming the playing state of the first video after the change;
in the embodiment of the application, the multiple paths of videos are multiple independent videos which are mutually associated, and synchronous playing is required to achieve the correspondence of each video in time, space and content. Therefore, when the playing status of a certain path of video changes, the playing status of the other paths of video should also change accordingly.
When the playing states of at least two paths of videos in the multiple paths of videos change, in order to realize synchronous playing, the playing states of other paths of videos need to be synchronously adjusted by taking the playing state of one path of videos after changing as a reference.
According to the embodiment of the application, the synchronous adjustment reference of the playing state is determined according to the time sequence. Specifically, the timestamp is converted into time, a video path indicated by the first time (i.e., the video path with the first changed playing state) is defined as a first video path according to the time sequence, the playing state of the video path after the change is determined, and step S204 is executed.
S204, outputting first prompt information whether to perform synchronous playing;
when the playing state of at least one video in the multiple videos changes, whether the playing states of the other videos need to be synchronously adjusted depends on the situation, and therefore, after the playing state of the first video after changing is determined, whether the multiple videos need to be synchronously played needs to be determined.
The first prompt information is used to confirm whether to perform synchronous playing on multiple channels of videos, the confirmation mode may be to output a prompt whether to perform synchronous playing in a text form, and the prompt information may be, for example: question-whether to do synchronized play? Option-yes, no; and a prompt of whether synchronous playing is carried out or not can be output in a voice mode, and whether synchronous playing is required or not is confirmed according to voice feedback of a user.
The specific process of outputting the first prompt information to the user in the form of characters is as follows: popping up a prompt box/column on a display interface, selecting yes or no input by a user according to prompt information in the prompt box, and when the user inputs negative operation according to first prompt information, synchronously adjusting the playing states of other paths of videos in the multiple paths of videos by the terminal; when the user inputs a determination operation for the first prompt information, step S205 is executed.
The prompt box/column can be displayed on the screen in any dynamic/static display mode, and the prompt box/column bearing prompt information can be in other shapes.
S205, based on the determination operation input aiming at the first prompt information and the changed playing state of the first path of video, synchronously adjusting the playing state of a second path of video in the multiple paths of video.
The multi-channel video which is mutually associated should reach the correspondence of each video in time, space and content when playing synchronously. Therefore, after confirming the reference for synchronously adjusting the playing states of the multiple paths of videos, the terminal changes the synchronous adjustment of the playing states of the other paths of videos of the multiple paths of videos according to the reference based on the determination operation input by the user for the first prompt message.
The synchronous adjustment of the playing state of the second path of video in the multi-path video means that the current playing state of the second path of video is controlled to be changed to be consistent with the changed playing state of the first path of video, and the two paths of video keep the same playing progress so as to realize synchronization.
It should be noted that the number of the multiple paths of videos in the embodiment of the present application is not limited, and the multiple paths of videos may be three paths of videos, six paths of videos, or the like. When the playing states of at least two paths of videos in the multi-path videos are monitored to change, the synchronous playing adjustment reference of the multi-path videos needs to be confirmed, a first path of video is defined, and the playing states of the other paths of videos in the multi-path videos are adjusted synchronously according to the reference. The adjustment of the other paths of videos comprises adjustment of the playing states of the second path of videos and the third path of videos ….
Please refer to fig. 3-4, which are schematic diagrams illustrating a multi-channel video synchronization process according to an embodiment of the present disclosure.
The multi-path video shown in fig. 3-4 is a basketball event commentary video, and the commentary is synchronized with the event. The video is two paths of videos, and one path of video displayed on the left side of the screen is collected and formed for basketball players on a basketball court and is defined as a racing court video; one path of video displayed on the right side of the screen is formed by aiming at the collection of an instructor in a studio and is defined as an explanation video; the left and right videos are independent from each other and do not interfere with each other.
In the process of video production, if a clipping person wants to know the field situation and the corresponding explanation at a certain moment, the field video and the explanation video need to be played synchronously: for example, a progress bar below the field video is dragged to enable the video to fast forward to a target moment (as shown in a position shown by a dotted line in fig. 3), at this time, the terminal monitors that the playing state of one of the two videos (namely, the field video) changes, and pops up an information prompt box on the display screen: whether synchronous playing is to be performed or not (as shown in fig. 4), the clipping personnel makes a determination selection according to the content in the prompt box (i.e. selecting yes), the terminal synchronously adjusts the playing state of the other path of video (i.e. the commentary video) based on the determination operation, controls the commentary video to fast forward to the target moment, and the two paths of video realize synchronous playing.
The terminal in this embodiment includes, but is not limited to, a tablet computer, a palm computer, a Personal Digital Assistant (PAD), an interactive smart tablet, a mobile phone, and other devices.
In the embodiment of the application, a terminal monitors the playing state of each path of video in a plurality of paths of videos, when the playing state of a first path of video in the plurality of paths of videos is monitored to be changed, the playing state of the first path of video after being changed is confirmed, and based on the playing state of the first path of video after being changed, the playing state of a second path of video in the plurality of paths of videos is synchronously adjusted. In the implementation mode, under the condition that the playing state of a first path of video in the multiple paths of videos changes, the playing states of the other paths of videos are changed through control, so that the playing states of the other paths of videos are consistent with the changed playing state of the first path of video, each path of video keeps the same playing progress, and the videos respectively correspond to each other in time, space and content, and therefore synchronous playing is achieved. By applying the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.
Fig. 5 is a schematic flowchart of a multi-channel video synchronization method according to an embodiment of the present disclosure.
As shown in fig. 5, the method of the embodiment of the present application may include the steps of:
s301, sending a video acquisition request to a server, wherein the request carries video information, and the video information comprises at least one of a video name, video generation time and video format information; receiving a plurality of paths of videos issued by the server based on the video information; the multi-channel videos are played on the same screen;
the video data are stored in the server, and the terminal sends a video acquisition request to the server according to the relevant input of the user. The video acquisition request is an instruction for acquiring a video, and the request carries video information, where the video information is used to define the video to be acquired, and may be some information representing video characteristics, such as a video name, a video generation time, a video format, and the like, or may be an identification number composed of numbers and/or letters, such as a video code, and the like, which can distinguish a plurality of videos.
The server selects a plurality of paths of videos according to the video information carried in the video acquisition request, sends the plurality of paths of videos to the terminal, and the terminal plays the plurality of paths of videos on the same screen.
It should be noted that the server may also select a plurality of independent videos according to the video information carried in the video acquisition request, issue the plurality of independent videos to the terminal, and form a plurality of channels of videos and play the videos on the same screen by the terminal side.
S302, monitoring the playing state of each path of video in the multiple paths of videos;
this step can be referred to as S101, and is not described herein.
S303, when the change of the playing state of a first path of video in the multi-path of video is monitored, confirming the changed playing state of the first path of video;
this step can be referred to as S102, and is not described herein.
S304, outputting second prompt information whether to perform directional synchronous playing, wherein the second prompt information also comprises video identifiers of all the videos;
when the playing state of a certain video in the multiple videos changes, it is necessary to determine whether the playing states of the other videos need to be directionally and synchronously adjusted according to the situation, and therefore, after the playing state of the first video after changing is determined, it is also necessary to determine whether the other videos in the multiple videos need to be directionally and synchronously played. And the directional synchronous playing refers to that one or more videos are selected from the other videos and are synchronously played with the first video.
The second prompt information can be output in a text/voice form, the second prompt information is used for confirming whether other paths of videos in the multiple paths of videos need to be directionally and synchronously played, and is used for selecting one/multiple videos directionally and synchronously played with the first path of videos. The video identification can be any combination of letters, numbers, Chinese characters and the like as long as different paths of videos can be distinguished.
When the user inputs negative operation aiming at the second prompt message, the terminal does not display the video identification of each path of video and does not perform directional synchronous adjustment on the playing states of other paths of video in the multi-path of video, and the playing states of other paths of video are maintained as the original state; when the user inputs a determination operation for the second prompt information, step S305 is executed.
It should be noted that, when the user inputs a negation operation for the second prompt information, the terminal may further continue to send third prompt information to the user whether to synchronously play the other videos in the multiple videos, and determine whether to synchronously play the other videos in the multiple videos based on a determination/negation operation of the user for inputting the third prompt information, where the execution process may specifically refer to step S204 and step S205.
S305, acquiring a target video identifier selected aiming at the second prompt message, and determining a second path of video corresponding to the target video identifier;
the video orientation synchronization playing method comprises the steps of mutually related multi-path videos, and the correspondence of two or more than two videos which should be oriented in time, space and content during the oriented synchronization playing. Therefore, under the condition that the playing state of the first path of video changes, the playing state of at least one video which is played synchronously with the first path of video in a directional way should be changed accordingly.
And based on the determination operation of the directional synchronous playing, acquiring a target video identifier selected by the user in each path of video identifier, confirming the video indicated by the target video identifier according to the corresponding relation between the video identifier and each path of video, and defining the video as a second path of video.
The target video identification selected by the user is not limited by the number, and a plurality of videos can be selected to be directionally and synchronously played with the first path of video.
S306, based on the changed playing state of the first path of video, the playing state of a second path of video in the multiple paths of video is synchronously adjusted.
This step can be referred to as S103, and is not described herein.
In the embodiment of the application, a terminal monitors the playing state of each path of video in a plurality of paths of videos, when the playing state of a first path of video in the plurality of paths of videos is monitored to be changed, the playing state of the first path of video after being changed is confirmed, and based on the playing state of the first path of video after being changed, the playing state of a second path of video in the plurality of paths of videos is synchronously adjusted. In the implementation mode, under the condition that the playing state of a first path of video in the multiple paths of videos changes, the playing states of the other paths of videos are changed through control, so that the playing states of the other paths of videos are consistent with the changed playing state of the first path of video, each path of video keeps the same playing progress, and the videos respectively correspond to each other in time, space and content, and therefore synchronous playing is achieved. By applying the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an exemplary embodiment of the present application. The multi-channel video synchronization device can be realized by software, hardware or a combination of the software and the hardware to be all or part of a terminal, and can also be integrated on a server as an independent module. The multi-channel video synchronization device in the embodiment of the present application is applied to a terminal, the device 1 includes a playing state monitoring module 11, a playing state confirmation module 12, and a playing state synchronization adjustment module 13, wherein:
the playing state monitoring module 11 is configured to monitor a playing state of each of the multiple channels of videos;
the playing state confirming module 12 is configured to, when it is monitored that the playing state of a first video in the multiple videos changes, confirm the changed playing state of the first video;
and the playing state synchronous adjustment module 13 is configured to perform synchronous adjustment on the playing state of the second path of video in the multiple paths of videos based on the changed playing state of the first path of video.
Fig. 7 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an exemplary embodiment of the present application. Optionally, as shown in fig. 7, the play status confirmation module 12 in the apparatus 1 includes:
the timestamp confirming unit 121 is configured to confirm a timestamp indicating that the playing states of at least two videos in the multiple videos change when it is monitored that the playing states of the at least two videos change;
a playing state confirmation unit 122, configured to use the video path indicated by the first time in the timestamp as the first video path, and confirm the playing state of the first video path after the change.
The play state synchronization adjustment module 13 includes:
a first prompt information output unit 131, configured to output first prompt information indicating whether to perform synchronous playing;
and a playing state synchronization adjustment unit 132, configured to perform synchronization adjustment on the playing state of the second channel of videos in the multiple channels of videos based on the determination operation input for the first prompt information and the playing state after the first channel of videos is changed.
Fig. 8 is a schematic structural diagram of a multi-channel video synchronization apparatus according to an exemplary embodiment of the present application. The multi-channel video synchronization apparatus 1 provided in this embodiment further includes:
a video obtaining request module 14, configured to send a video obtaining request to a server, where the request carries video information, and the video information includes at least one of a video name, video generation time, and video format information;
a multi-channel video receiving module 15, configured to receive a multi-channel video delivered by the server based on the video information;
and the multi-channel video playing module 16 is used for performing on-screen playing on the multi-channel video.
The play state synchronization adjustment module 13 includes:
a second prompt information output unit 133, configured to output second prompt information indicating whether to perform directional synchronous playing, where the second prompt information further includes video identifiers of videos in each channel;
a second way video determining unit 134, configured to obtain a target video identifier selected for the second prompt information, and determine a second way video corresponding to the target video identifier;
and a playing state synchronous adjusting unit 135, configured to synchronously adjust a playing state of a second path of video in the multiple paths of videos based on the changed playing state of the first path of video.
It should be noted that, when the multi-channel video synchronization apparatus provided in the foregoing embodiment executes the multi-channel video synchronization method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the functions described above. In addition, the multiple video synchronization apparatus and the multiple video synchronization method provided in the foregoing embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, a terminal monitors the playing state of each path of video in a plurality of paths of videos, when the playing state of a first path of video in the plurality of paths of videos is monitored to be changed, the playing state of the first path of video after being changed is confirmed, and based on the playing state of the first path of video after being changed, the playing state of a second path of video in the plurality of paths of videos is synchronously adjusted. In the implementation mode, under the condition that the playing state of a first path of video in the multiple paths of videos changes, the playing states of the other paths of videos are changed through control, so that the playing states of the other paths of videos are consistent with the changed playing state of the first path of video, each path of video keeps the same playing progress, and the videos respectively correspond to each other in time, space and content, and therefore synchronous playing is achieved. By applying the embodiment of the application, synchronous playing can be realized without operating the playing progress of each path of video in multiple paths of videos one by one, and the operation is simple and convenient.
The embodiments of the present application also provide a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the method of any one of the foregoing embodiments. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
The embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the program, the steps of any of the above-mentioned embodiments of the method are implemented.
Please refer to fig. 9, which is a block diagram of a terminal according to an embodiment of the present disclosure.
As shown in fig. 9, the terminal 600 includes: a processor 601 and a memory 602.
In this embodiment, the processor 601 is a control center of a computer system, and may be a processor of an entity machine or a processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 601 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 601 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments of the present application, a non-transitory computer readable storage medium in the memory 602 is used to store at least one instruction for execution by the processor 601 to implement a method in embodiments of the present application.
In some embodiments, the terminal 600 further includes: a peripheral interface 603 and at least one peripheral. The processor 601, memory 602, and peripheral interface 603 may be connected by buses or signal lines. Various peripheral devices may be connected to the peripheral interface 603 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a display screen 604, a camera 605, and an audio circuit 606.
The peripheral interface 603 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, memory 602, and peripheral interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or both of the processor 601, the memory 602, and the peripheral interface 603 may be implemented on separate chips or circuit boards. The embodiment of the present application is not particularly limited to this.
The display screen 604 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 604 is a touch display screen, the display screen 604 also has the ability to capture touch signals on or over the surface of the display screen 604. The touch signal may be input to the processor 601 as a control signal for processing. At this point, the display screen 604 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments of the present application, the display screen 604 may be one, and is provided as a front panel of the terminal 600; in other embodiments of the present application, the display screens 604 may be at least two, respectively disposed on different surfaces of the terminal 600 or in a folding design; in still other embodiments of the present application, the display 604 may be a flexible display disposed on a curved surface or a folded surface of the terminal 600. Even further, the display screen 604 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display screen 604 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and the like.
The camera 605 is used to capture images or video. Optionally, the camera 605 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments of the present application, camera 605 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 606 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 601 for processing. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 600. The microphone may also be an array microphone or an omni-directional pick-up microphone.
Power supply 607 is used to provide power to the various components in terminal 600. The power supply 607 may be ac, dc, disposable or rechargeable. When power supply 607 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
The block diagram of the terminal structure shown in the embodiments of the present application does not constitute a limitation to the terminal 600, and the terminal 600 may include more or less components than those shown, or combine some components, or adopt a different arrangement of components.
In this application, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or order; the term "plurality" means two or more unless expressly limited otherwise. The terms "mounted," "connected," "fixed," and the like are to be construed broadly, and for example, "connected" may be a fixed connection, a removable connection, or an integral connection; "coupled" may be direct or indirect through an intermediary. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In the description of the present application, it is to be understood that the terms "upper", "lower", and the like indicate orientations or positional relationships based on those shown in the drawings, and are only for convenience in describing the present application and simplifying the description, but do not indicate or imply that the referred device or unit must have a specific direction, be configured and operated in a specific orientation, and thus, should not be construed as limiting the present application.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Accordingly, all equivalent changes made by the claims of this application are intended to be covered by this application.

Claims (9)

1. A method for multi-channel video synchronization, the method comprising:
monitoring the playing state of each path of video in a plurality of paths of videos, wherein the plurality of paths of videos are a plurality of independent videos which are displayed on the same display screen and collected by different cameras;
when the change of the playing state of a first path of video in the multiple paths of videos is monitored, the step of confirming the changed playing state of the first path of video comprises the following steps: when the playing states of at least two paths of videos in the multi-path videos are monitored to change, a timestamp for the change of the playing states of the at least two paths of videos is confirmed; taking the video path indicated by the time in the timestamp first as a first video path, and confirming the playing state of the first video path after the first video path is changed;
and synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video.
2. The method according to claim 1, wherein said synchronously adjusting the playing status of the second path of video in the multiple paths of video based on the changed playing status of the first path of video comprises:
outputting first prompt information whether to carry out synchronous playing;
and synchronously adjusting the playing state of a second path of video in the multi-path of video based on the determination operation input aiming at the first prompt message and the changed playing state of the first path of video.
3. The method according to claim 1, wherein said synchronously adjusting the playing status of the second path of video in the multiple paths of video based on the changed playing status of the first path of video comprises:
outputting second prompt information whether to perform directional synchronous playing or not, wherein the second prompt information also comprises video identifiers of all paths of videos;
acquiring a target video identifier selected aiming at the second prompt message, and determining a second path of video corresponding to the target video identifier;
and synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video.
4. The method according to claim 1, wherein before monitoring the playing status of the multi-channel video, further comprising:
sending a video acquisition request to a server, wherein the request carries video information, and the video information comprises at least one of a video name, video generation time and video format information;
receiving a plurality of paths of videos issued by the server based on the video information;
and performing on-screen playing on the multi-channel video.
5. A multi-channel video synchronization apparatus, comprising:
the playing state monitoring module is used for monitoring the playing state of each video in multiple paths of videos, wherein the multiple paths of videos are multiple independent videos which are displayed on the same display screen and collected by different cameras;
the playing state confirmation module is used for confirming the playing state of the changed first video in the multi-channel videos when the playing state of the first video is monitored to be changed;
wherein, the play status confirmation module comprises: the time stamp confirming unit is used for confirming the time stamp of the change of the playing states of the at least two paths of videos when the change of the playing states of the at least two paths of videos is monitored; a playing state confirmation unit, configured to confirm a changed playing state of the first video by using the video with the time indicated first in the timestamp as the first video;
and the playing state synchronous adjustment module is used for synchronously adjusting the playing state of a second path of video in the multi-path of video based on the changed playing state of the first path of video.
6. The apparatus of claim 5, wherein the play state synchronization adjustment module comprises:
the first prompt information output unit is used for outputting first prompt information whether to carry out synchronous playing or not;
and the playing state synchronous adjusting unit is used for synchronously adjusting the playing state of a second path of video in the multi-path of video based on the determination operation input aiming at the first prompt information and the playing state of the first path of video after change.
7. The apparatus of claim 5, wherein the play state synchronization adjustment module comprises:
the second prompt information output unit is used for outputting second prompt information which is used for carrying out directional synchronous playing or not, and the second prompt information also comprises video identifiers of all paths of videos;
the synchronous playing video selection unit is used for acquiring a target video identifier selected according to the second prompt information and determining a second path of video corresponding to the target video identifier;
and the playing state synchronous adjusting unit is used for synchronously adjusting the playing state of the selected second path of video based on the changed playing state of the first path of video.
8. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 4.
9. A terminal, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 4.
CN201911019021.7A 2019-10-24 2019-10-24 Multi-channel video synchronization method, device, storage medium and terminal Active CN110719529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911019021.7A CN110719529B (en) 2019-10-24 2019-10-24 Multi-channel video synchronization method, device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911019021.7A CN110719529B (en) 2019-10-24 2019-10-24 Multi-channel video synchronization method, device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN110719529A CN110719529A (en) 2020-01-21
CN110719529B true CN110719529B (en) 2021-11-23

Family

ID=69214223

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911019021.7A Active CN110719529B (en) 2019-10-24 2019-10-24 Multi-channel video synchronization method, device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN110719529B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111432260A (en) * 2020-03-31 2020-07-17 腾讯科技(深圳)有限公司 Method, device and equipment for synchronizing multiple paths of video pictures and storage medium
CN111541927A (en) * 2020-05-09 2020-08-14 北京奇艺世纪科技有限公司 Video playing method and device
CN114222166B (en) * 2021-09-29 2024-02-13 重庆创通联达智能技术有限公司 Multi-channel video code stream real-time processing and on-screen playing method and related system
CN114501094A (en) * 2022-02-09 2022-05-13 浙江博采传媒有限公司 Sequence playing method and device based on virtual production and storage medium
CN115515006B (en) * 2022-08-19 2023-10-17 北京达佳互联信息技术有限公司 Video processing method, device, electronic equipment and storage medium

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103165156B (en) * 2011-12-08 2016-03-02 北京同步科技有限公司 Audio video synchronization Play System and video broadcasting method, CD
EP2862359A4 (en) * 2012-06-14 2016-02-24 Quickplay Media Inc Time synchronizing of distinct video and data feeds that are delivered in a single mobile ip data network compatible stream
CN105262979B (en) * 2014-06-27 2018-09-28 浙江大华技术股份有限公司 A kind of multi-video-stream render method and device
CN104410807B (en) * 2014-11-24 2018-04-20 深圳市华宝电子科技有限公司 A kind of multi-channel video synchronized playback method and device
CN104378675B (en) * 2014-12-08 2019-07-30 厦门雅迅网络股份有限公司 A kind of multi-channel sound audio video synchronization play handling method
CN104581358A (en) * 2015-01-20 2015-04-29 卡内基投资科技有限公司 Method allowing multiple highlights to be recorded simultaneously
US9686576B2 (en) * 2015-05-08 2017-06-20 Istreamplanet Co. Coordination of video stream timing in cloud-based video streaming system
CN106341552A (en) * 2016-10-24 2017-01-18 北京网梯科技发展有限公司 Method and apparatus for playing teaching videos on mobile terminal
CN106507202B (en) * 2016-11-11 2019-12-17 传线网络科技(上海)有限公司 play control method and device
CN106851044B (en) * 2016-12-13 2020-01-03 深圳英飞拓科技股份有限公司 Video synchronous playback method and device
CN107231574A (en) * 2017-07-05 2017-10-03 北京辰安信息科技有限公司 Video broadcasting method and video play device
CN107277595B (en) * 2017-07-28 2019-11-29 京东方科技集团股份有限公司 A kind of multi-channel video synchronous method and device
CN109936762B (en) * 2019-01-12 2021-06-25 河南图灵实验室信息技术有限公司 Method for synchronously playing similar audio or video files and electronic equipment

Also Published As

Publication number Publication date
CN110719529A (en) 2020-01-21

Similar Documents

Publication Publication Date Title
CN110719529B (en) Multi-channel video synchronization method, device, storage medium and terminal
CN109600678B (en) Information display method, device and system, server, terminal and storage medium
CN109618212B (en) Information display method, device, terminal and storage medium
CN109803154B (en) Live broadcast method, equipment and storage medium for chess game
EP3902278B1 (en) Music playing method, device, terminal and storage medium
CN110139116B (en) Live broadcast room switching method and device and storage medium
CN111680137A (en) Online classroom interaction method and device, storage medium and terminal
CN113395566B (en) Video playing method and device, electronic equipment and computer readable storage medium
WO2021088888A1 (en) Focus switching method, and display device and system
CN111028566A (en) Live broadcast teaching method, device, terminal and storage medium
CN112165628A (en) Live broadcast interaction method, device, equipment and storage medium
CN113509720A (en) Playback method, device, terminal, server and storage medium for virtual battle
CN113556481B (en) Video special effect generation method and device, electronic equipment and storage medium
CN112367533B (en) Interactive service processing method, device, equipment and computer readable storage medium
CN111083526A (en) Video transition method and device, computer equipment and storage medium
CN113204672B (en) Resource display method, device, computer equipment and medium
CN114095793A (en) Video playing method and device, computer equipment and storage medium
CN113163213B (en) Method, device and storage medium for live game
WO2023246166A1 (en) Method and apparatus for adjusting video progress, and computer device and storage medium
CN110990623B (en) Audio subtitle display method and device, computer equipment and storage medium
CN111312207A (en) Text-to-audio method and device, computer equipment and storage medium
CN113380279A (en) Audio playing method and device, storage medium and terminal
CN111031555A (en) Online teaching control method and device, electronic equipment and medium
CN112788381B (en) Display apparatus and display method
CN114650496A (en) Audio playing method and electronic equipment

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