CN112055242A - Video synchronous playing method, device, system and storage medium - Google Patents

Video synchronous playing method, device, system and storage medium Download PDF

Info

Publication number
CN112055242A
CN112055242A CN202010910510.8A CN202010910510A CN112055242A CN 112055242 A CN112055242 A CN 112055242A CN 202010910510 A CN202010910510 A CN 202010910510A CN 112055242 A CN112055242 A CN 112055242A
Authority
CN
China
Prior art keywords
screen
video
playing
operating system
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010910510.8A
Other languages
Chinese (zh)
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.)
FAW Group Corp
Original Assignee
FAW Group Corp
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 FAW Group Corp filed Critical FAW Group Corp
Priority to CN202010910510.8A priority Critical patent/CN112055242A/en
Publication of CN112055242A publication Critical patent/CN112055242A/en
Pending legal-status Critical Current

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/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41422Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance located in transportation means, e.g. personal vehicle
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a video synchronous playing method, a device, a system and a storage medium, wherein the method comprises the following steps: when a multi-screen synchronous playing instruction is obtained, a target operating system for video processing is determined in an operating system corresponding to at least one screen; determining synchronous playing information of the video file based on a target operating system; and controlling each screen to synchronously play the video according to the synchronous playing information. The embodiment of the invention realizes the synchronous playing of the videos of all screens through the synchronous playing information, improves the synchronous rate of the video playing of all screens, enhances the process degree of the video playing and can improve the user experience.

Description

Video synchronous playing method, device, system and storage medium
Technical Field
The embodiment of the invention relates to the technical field of automation control, in particular to a method, a device, a system and a storage medium for synchronously playing videos.
Background
With the development of internet technology, internet of vehicles has been rapidly developed, wherein an In-Vehicle information and entertainment (IVI) host becomes a terminal of research In the industry. The IVI host currently has a need to connect multiple display screens. However, when a host is connected to multiple display screens under a single system, there are many problems with the ecological independence of the software running on each screen.
In order to solve the problem of ecological independence of multiple display screens, the current mainstream method is to virtualize an IVI host into multiple operating systems, each operating system corresponds to one display screen, and thus, the ecological independence of software in the display screens is realized. However, in the prior art, a technical scheme how to use a plurality of display screens to play videos synchronously is lacked, and the videos cannot be played synchronously between the display screens.
Disclosure of Invention
The invention provides a method, a device and a system for synchronously playing videos and a storage medium, which are used for realizing the synchronous playing of the audios and the videos of multiple display screens, improving the stability of a vehicle-mounted entertainment system and improving the user experience.
In a first aspect, an embodiment of the present invention provides a method for synchronously playing videos, where the method includes:
when a multi-screen synchronous playing instruction is obtained, a target operating system for video processing is determined in an operating system corresponding to at least one screen;
determining synchronous playing information of the video file based on a target operating system;
and controlling each screen to synchronously play the video according to the synchronous playing information.
In a second aspect, an embodiment of the present invention provides a video synchronous playing device, where the device includes:
the target determining module is used for determining a target operating system for video processing in the operating systems corresponding to at least one screen when acquiring a multi-screen synchronous playing instruction;
the synchronous information module is used for determining synchronous playing information of the video file based on the target operating system;
and the playing control module is used for controlling each screen to synchronously play the video according to the synchronous playing information.
In a third aspect, an embodiment of the present invention provides a video synchronous playing system, where the system includes:
the system comprises a system host and at least one screen, wherein each screen is connected with the system host respectively;
the system host includes: one or more processors, a memory for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the video synchronized playback method as in any of the embodiments of the present invention;
the system host is provided with at least one virtual operating system, and the virtual operating systems respectively correspond to the screens.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a video synchronous playing method according to any one of the embodiments of the present invention.
According to the embodiment of the invention, when the multi-screen synchronous playing instruction is obtained, the target operating system for video processing is determined, the synchronous playing information of the video file is determined by the target operating system, and the screen is controlled to play the video synchronously according to the synchronous playing information, so that the synchronous playing of the video is realized under the condition that the screen has an independent operating system ecology, the performance overhead of simultaneously processing the video by a plurality of operating systems is reduced, the smoothness of video playing is enhanced, and the user experience is improved.
Drawings
Fig. 1 is a flowchart of a video synchronous playing method according to an embodiment of the present invention;
fig. 2 is a diagram illustrating an example of obtaining a video synchronous playing instruction according to an embodiment of the present invention;
fig. 3 is a flowchart of a video synchronous playing method according to a second embodiment of the present invention;
fig. 4 is an exemplary diagram of a video synchronous playing method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of a video synchronous playing device according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video synchronous playing system according to a fourth embodiment of the present invention;
fig. 7 is an exemplary diagram of a video synchronous playing system according to a fourth embodiment of the present invention;
fig. 8 is a diagram illustrating another video synchronous playing system according to a fourth embodiment of the present invention;
fig. 9 is a diagram illustrating another video synchronous playing system according to a fourth embodiment of the present invention;
fig. 10 is a diagram illustrating another video synchronized playback system according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be noted that, for convenience of description, only a part of the structures related to the present invention, not all of the structures, are shown in the drawings, and furthermore, embodiments of the present invention and features of the embodiments may be combined with each other without conflict.
Example one
Fig. 1 is a flowchart of a video synchronous playing method provided in an embodiment of the present invention, where this embodiment is applicable to a case where ecologically independent multiple screens synchronously play videos, in which the ecologically independent screens can respectively and independently run respective software, and the software running on different screens can be different, and this method can be executed by a video synchronous playing device, and this device can be implemented in a hardware and/or software manner, referring to fig. 1, the video synchronous playing method provided in an embodiment of the present invention specifically includes the following steps:
step 101, when a multi-screen synchronous playing instruction is obtained, determining a target operating system for video processing in an operating system corresponding to at least one screen.
The multi-screen synchronous playing instruction may be a control instruction for triggering video synchronous playing, and the multi-screen synchronous playing instruction may be a control instruction for enabling multiple independent ecological screens to play the same video, and the playing conditions of the video are the same in each screen. The operating system is control software for controlling the screen to display data, different screens correspond to different operating systems, the target operating system can be an operating system for processing video files in the embodiment of the application, and the number of the target operating systems can be one or more.
Specifically, the screens correspond to respective operating systems, the operating systems are used for controlling the corresponding screens to perform data display, and when a multi-screen synchronization instruction triggered by a user is acquired, a target operating system for executing video processing can be determined from the operating systems corresponding to the screens. The method for determining the target operating system may include randomly selecting one operating system from the operating systems as the target operating system, or may not be limited by the method for selecting the target operating system, such as by fixedly selecting the operating system corresponding to the main screen as the target operating system.
Step 102, determining synchronous playing information of the video file based on the target operating system.
The synchronous playing information may be information for controlling the video to be played synchronously, and may include clock information of the target operating system, a decoding speed of the video file, a playing progress of the video file, a playing speed of the video file, and the like.
In the embodiment of the present invention, the target operating system may process the video file, determine the decoding speed of the video file, the playing progress of the video file, the playing speed of the video file, and other playing parameters, and may use the video file playing parameters as the synchronous playing information. Further, the synchronized playing information may be continuously generated until the synchronized playing of the video is not completed on each screen.
And 103, controlling each screen to synchronously play the video according to the synchronous playing information.
Specifically, the playing speed, the playing progress and the like of the video files in each screen are adjusted through the synchronous playing information, so that the played video files of each screen are consistent. For example, the video files in the screen may be adjusted according to the playing progress and the playing speed in the synchronous playing information, and the video files may be adjusted to the same progress and the same playing speed by fast forwarding, fast rewinding and dragging the progress bar. Furthermore, in the process of video synchronous playing, synchronous playing information can be continuously acquired, and the speed and the progress of playing the video file on each screen can be the same by adopting a multi-time adjustment mode.
According to the embodiment of the invention, when the multi-screen synchronous playing instruction is obtained, the target operating system for processing the video is determined, the target operating system determines the synchronous playing information corresponding to the video file, and each screen performs the video synchronous playing according to the synchronous playing information, so that the synchronous playing of different screen videos is realized, the influence on a software ecosystem corresponding to each screen is reduced, the performance overhead of video processing is reduced, and the smoothness of video playing can be enhanced. Further, on the basis of the above embodiment of the present invention, the obtaining of the multi-screen synchronized playing instruction includes at least one of:
at least one functional soft key in the screen is triggered; a function button outside the screen is triggered.
In the embodiment of the invention, the functional soft key can be a virtual key in the screen, the virtual key can be triggered by clicking or sliding by a user, and when the functional soft key is triggered, a multi-screen playing instruction can be obtained. The function button may be arranged outside the screen, and may be an entity button or a virtual button, and when the function button is triggered, it may be considered that a multi-screen playing instruction is obtained.
Fig. 2 is an exemplary diagram of a multi-screen synchronized play instruction acquisition example provided by an embodiment of the present invention, referring to fig. 2(a), a video has been played on a screen a, and a soft key on the screen a is clicked to "synchronize to a screen B", at which time a multi-screen synchronized play instruction may be triggered, and the video on the screen a may be synchronized to the screen B for playing. Referring to fig. 2(B), when a video is played on the screen B, a soft key on the screen B is clicked to "synchronize to the screen a", at this time, a multi-screen synchronized playing instruction may be triggered, and the video on the screen B may be synchronized to the screen B to be played. Referring to fig. 2(c), the video is played on the screen a, and at this time, the user notifies the screen a to synchronize the video to be played on the screen B through the external button.
Example two
Fig. 3 is a flowchart of a video synchronization playing method provided in the second embodiment of the present invention, where the second embodiment of the present invention is embodied based on the above-mentioned embodiment, and the high-precision synchronization of the video played on each screen is realized by using the system clock and the playing progress as the synchronization playing information, and referring to fig. 3, the video synchronization method provided in the second embodiment of the present invention specifically includes the following steps:
step 201, when a multi-screen synchronous playing instruction is obtained, an operating system corresponding to a screen on which a video file is being played is taken as a target operating system.
In the embodiment of the present invention, when a multi-screen synchronous playing instruction is obtained, a video file may be in a playing state, and an operating system corresponding to a screen on which the video file is played is all or part of the video file.
Step 202, the control target operating system decodes the video file to generate video data and audio data.
The video data may be data for displaying a video picture in a video file, the video data exists in the video file in a compressed and encoded form, and the video data may be used for displaying the video picture in a screen after being subjected to a restoration operation. The audio data may be data that is used to present video sounds.
Specifically, the target operating system may perform a decoding operation on the video file, and restore data in the video file to video data and audio data.
Step 203, acquiring a system clock of the target operating system and a playing progress of the video data.
The system clock may be a clock time of the target operating system, and the playing progress may represent a playing position of the video data in a screen corresponding to the target operating system, and specifically may be a played time of the video data.
Specifically, the system time of the target operating system may be extracted as a system clock, and the time length of the video data that has been played is determined according to the decoded video data, and the time length may be used as a playing progress.
And step 204, taking the system clock and the playing progress as synchronous playing information.
In the embodiment of the present invention, the acquired system clock and the acquired playing progress may be used as the synchronous playing information, and the synchronous playing information may be sent to other screens, may be sent through a general bus, or may be sent through a wireless network, for example, in a vehicle-mounted network, the synchronous playing information may be sent to other screens through a vehicle-mounted ethernet network. Furthermore, except for sending the system clock and the playing progress as synchronous playing information, the system clock and the playing progress can also be used as synchronous playing information for video playing parameters such as the playing speed of a video file or the decoding speed of the video file, and the like, so that accurate synchronous playing of each screen can be further realized.
Step 205, determining the local clock of the operating system corresponding to each screen.
The local clock may represent a local clock time of an operating system corresponding to the screen, the operating systems are independent of each other, and the local clock may have a clock difference with a system clock of the target operating system.
Specifically, the operating systems corresponding to the screens are independent from each other, and the local clocks of the operating systems corresponding to the screens can be acquired.
And step 206, compensating the playing progress according to the clock difference between the local clock and the system clock.
The clock difference may be a time difference between the operating system of each screen and the target operating system, and may be determined by a difference between a local clock and a system clock.
In the embodiment of the invention, for each screen, the clock difference between the corresponding local clock and the system clock is determined, the clock difference is increased or decreased on the basis of the corresponding time of the playing progress, and the playing progress after the adjustment and compensation can be different because the time of the local clock of each screen is different.
And step 207, playing the video data in each screen according to the compensated playing progress.
Specifically, each screen determines the playing position of the video data according to the compensated playing progress, and displays the video data in the corresponding screen from the playing position.
According to the embodiment of the invention, when a multi-screen synchronous playing instruction is obtained, an operating system which is playing a video file is used as a target operating system, the target operating system is controlled to decode the video file to obtain video data and audio data, the playing progress of the video data and the system clock of the target operating system are determined, the playing progress and the system clock are used as synchronous playing information and are sent to operating systems of other screens by the target operating system, the operating systems of the screens respectively determine local clocks, the playing progress is compensated through the clock difference between the local clocks and the system clock, the video data are played in the screens according to the compensated playing progress, synchronous playing of videos of different screens is realized, accurate determination of the video progress is realized through synchronous playing information, the video playing synchronization rate is improved, and user experience can be improved.
Further, on the basis of the above embodiment of the present invention, the playing the video data in each of the screens according to the compensated playing progress includes: controlling each screen to adjust video data to the position of the playing progress in at least one mode of fast forward, fast backward and dragging progress bar; and respectively sending the audio data to the audio ports corresponding to the screens for output.
The audio port may be an output port of audio data, and may include a headphone, a speaker, and the like.
In the embodiment of the invention, after the playing progress is determined, the playing position corresponding to the playing progress of the video data can be controlled by adopting a mode of fast forward, fast backward or dragging the progress bar, so that the screens can be played at the same playing position. After the playing position of the video data is determined, the audio data at the playing position can be respectively sent to each audio port for output through an audio route. For example, the screen a corresponds to the audio port a, the screen B corresponds to the audio port B, and the audio data is respectively sent to the audio port a and the audio port B through the audio route for output.
Exemplarily, fig. 4 is an exemplary diagram of a video synchronous playing method provided by a second embodiment of the present invention, referring to fig. 4, a video player on a screen a is playing a video, a user triggers a multi-screen synchronous playing instruction by clicking a virtual key or an entity key on the screen a, the video player on the screen a normally decodes a video file, decodes the video to generate video data and audio data, determines operating system information such as a system clock and the like through an operating system of the screen a, determines playing information such as a decoding speed, a playing progress, a playing speed and the like through the video data, and takes the acquired operating system information and playing information as synchronous playing information. The video player of the screen A can send synchronous playing information to the video player of the screen B through the vehicle-mounted Ethernet, the video player of the screen B sends the synchronous playing information through the screen A, the video playing progress of the screen B is adjusted to be the same as that of the screen A on the premise that the video playing of the screen A is not influenced, the operating system information and the playing information of the screen A and the screen B in the synchronous playing information can be continuously judged in the adjusting process, then the playing progress of the screen B is adjusted, and therefore the synchronization of the playing progress is achieved. It can be understood that, in the synchronization process, the video played by the screen a is normally played, only the progress of the video played by the screen B is adjusted, after the screen B is adjusted, the audio data of the screen a can be transmitted to the sound output port corresponding to the screen a, and correspondingly, the audio data of the screen B is sent out through the sound port of the screen B. And when the playing progress of the screen A is changed, the screen B can reselect the synchronous video according to the changed playing progress of the screen A correspondingly, and before the synchronous function is released, the playing progress of the operation screen B can reversely control the playing progress of the screen A.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a video synchronous playing device according to a third embodiment of the present invention, and the device shown in fig. 5 can execute a video synchronous playing method according to any embodiment of the present invention, and specifically execute corresponding functional modules and beneficial effects of the method. The device can be implemented by software and/or hardware, and specifically comprises: a targeting module 301, a synchronization information module 302, and a play control module 303.
The target determining module 301 is configured to determine a target operating system for video processing in an operating system corresponding to at least one screen when a multi-screen synchronous playing instruction is obtained.
A synchronous information module 302, configured to determine synchronous playing information of the video file based on the target operating system.
And the playing control module 303 is configured to control each screen to perform video synchronous playing according to the synchronous playing information.
According to the embodiment of the invention, when the multi-screen synchronous playing instruction is obtained through the target determining module, the target operating system for processing the video is determined, the synchronous playing information corresponding to the video file is determined through the synchronous information module and the synchronous playing information is played by each screen of the playing control module according to the synchronous playing information, so that the synchronous playing of different screen videos is realized, the influence on a software ecosystem corresponding to each screen is reduced, the performance expense of video processing is reduced, and the smoothness of video playing can be enhanced.
Further, on the basis of the foregoing embodiment of the present invention, the obtaining of the multi-screen synchronous playing instruction in the target determining module 301 includes at least one of: at least one functional soft key in the screen is triggered; a function button outside the screen is triggered.
Further, on the basis of the above embodiment of the present invention, the target determining module 301 includes:
and the target determining unit is used for taking the operating system corresponding to the screen of the video file being played as the target operating system.
Further, on the basis of the above embodiment of the present invention, the synchronization information module 302 includes:
and the video decoding unit is used for controlling the target operating system to decode the video file so as to generate video data and audio data.
And the information extraction unit is used for acquiring a system clock of the target operating system and the playing progress of the video data.
And the information determining unit is used for taking the system clock and the playing progress as synchronous playing information.
Further, on the basis of the above embodiment of the present invention, the play control module 303 includes:
and the local clock unit is used for determining the local clock of the operating system corresponding to each screen.
And the progress adjusting unit is used for compensating the playing progress according to the clock difference between the local clock and the system clock.
And the video playing unit is used for playing the video data in each screen according to the compensated playing progress.
Further, on the basis of the above embodiment of the present invention, the video playing unit is specifically configured to: controlling each screen to adjust video data to the position of the playing progress in at least one mode of fast forward, fast backward and dragging progress bar; and respectively sending the audio data to the audio ports corresponding to the screens for output.
Example four
Fig. 6 is a schematic structural diagram of a video synchronized playback system according to a fourth embodiment of the present invention, as shown in fig. 6, the system includes a system host 40 and at least one screen 41, each screen 41 is connected to the system host 40, the system host 40 includes a processor 401 and a memory 402, the number of the processors 401 in the system may be one or more, and one processor 402 is taken as an example in fig. 6; the processor 401 and the memory 402 may be connected by a bus or other means in the system, and fig. 6 illustrates the connection by the bus as an example.
The memory 402 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as the modules (the target determination module 301, the synchronization information module 302, and the play control module 303) corresponding to the video synchronization apparatus in the third embodiment of the present invention. The processor 401 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory 402, that is, implements the video synchronization method described above.
The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 402 may further include memory located remotely from the processor 401, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Further, the video synchronized playback system may further include an input device and an output device, wherein the input device may receive input numbers, characters, sounds, and touch screen information, and generate key signal inputs related to user settings and function control of the apparatus. The output device may include a display screen, headphones, speakers, etc. video or audio output device.
The system host 70 is provided with at least one virtual operating system, and the virtual operating systems respectively correspond to the screens. Fig. 7 is an exemplary diagram of a video synchronous playing system according to a fourth embodiment of the present invention, and referring to fig. 7, the video synchronous playing system includes a system host, a screen, a speaker, an earphone, and the like, the system host is loaded with a host virtualization host system, and a cooperative work of multiple virtual operating systems is realized through virtualization, the virtual operating systems share a shared resource of the system host, each operating system may correspond to one screen, for example, the virtual operating system — the main screen corresponds to the main screen, and each screen may be capable of playing a video independently. There may be a corresponding audio data output port for each screen, e.g., headphones 1 for sub-screen 1, headphones 2 for sub-screen 2, headphones 3 for sub-screen 3, speakers for main screen, etc.
Further, on the basis of the foregoing embodiment of the present invention, the video synchronous playing system according to the embodiment of the present invention may be composed of a plurality of system hosts, fig. 8 is an exemplary diagram of another video synchronous playing system according to the fourth embodiment of the present invention, each system host may include one or more screens, each system host may be connected to another system host through a vehicle-mounted ethernet, and each screen may correspond to a virtual operating system in the system host. Fig. 9 is an exemplary diagram of another video synchronized playback system according to a fourth embodiment of the present invention, and referring to fig. 9, the synchronized playback system according to the fourth embodiment of the present invention includes a plurality of system hosts, each of the system hosts may correspond to one or more screens and audio output ports, and the audio output ports may include earphones and speakers. Fig. 10 is an exemplary diagram of another video synchronized playing system according to a fourth embodiment of the present invention, where the system according to the fourth embodiment of the present invention may include one or more system hosts, each system host may be installed with a virtual operating system, and each virtual operating system corresponds to one screen and one audio output port, and one system host may also correspond to multiple screens and multiple audio output ports.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform a video synchronous playing method, where the method includes:
when a multi-screen synchronous playing instruction is obtained, a target operating system for video processing is determined in an operating system corresponding to at least one screen;
determining synchronous playing information of the video file based on a target operating system;
and controlling each screen to synchronously play the video according to the synchronous playing information.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the method operations described above, and may also perform related operations in the video synchronous playing method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the video synchronous playing device, the units and modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A video synchronous playing method is characterized by comprising the following steps:
when a multi-screen synchronous playing instruction is obtained, a target operating system for video processing is determined in an operating system corresponding to at least one screen;
determining synchronous playing information of the video file based on a target operating system;
and controlling each screen to synchronously play the video according to the synchronous playing information.
2. The method according to claim 1, wherein the obtaining of the multi-screen synchronized playback instruction includes at least one of:
at least one functional soft key in the screen is triggered; a function button outside the screen is triggered.
3. The method of claim 2, wherein determining a target operating system for video processing among the operating systems corresponding to the at least one screen comprises:
and taking the operating system corresponding to the screen on which the video file is played as a target operating system.
4. The method of claim 1, wherein determining synchronized playback information for the video file based on the target operating system comprises:
controlling the target operating system to decode the video file to generate video data and audio data;
acquiring a system clock of the target operating system and the playing progress of the video data;
and taking the system clock and the playing progress as synchronous playing information.
5. The method according to claim 4, wherein said controlling each of said screens to perform video synchronized playback according to said synchronized playback information comprises:
determining a local clock of an operating system corresponding to each screen;
compensating the playing progress according to the clock difference between the local clock and the system clock;
and playing the video data in each screen according to the compensated playing progress.
6. The method according to claim 5, wherein playing the video data in each of the screens according to the compensated playing schedule comprises:
controlling each screen to adjust video data to the position of the playing progress in at least one mode of fast forward, fast backward and dragging progress bar;
and respectively sending the audio data to the audio ports corresponding to the screens for output.
7. A video synchronized playback device, the device comprising:
the target determining module is used for determining a target operating system for video processing in the operating systems corresponding to at least one screen when acquiring a multi-screen synchronous playing instruction;
the synchronous information module is used for determining synchronous playing information of the video file based on the target operating system;
and the playing control module is used for controlling each screen to synchronously play the video according to the synchronous playing information.
8. A video synchronized playback system, the system comprising:
the system comprises a system host and at least one screen, wherein each screen is connected with the system host respectively;
the system host includes: one or more processors, a memory for storing one or more programs, which when executed by the one or more processors, cause the one or more processors to implement the video synchronized playback method of any of claims 1-6;
the system host is provided with at least one virtual operating system, and the virtual operating systems respectively correspond to the screens.
9. The system of claim 8, wherein the system comprises:
and the audio output port is connected with the system host and is used for outputting audio data sent by the system host.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a video synchronized playback method according to any one of claims 1 to 6.
CN202010910510.8A 2020-09-02 2020-09-02 Video synchronous playing method, device, system and storage medium Pending CN112055242A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010910510.8A CN112055242A (en) 2020-09-02 2020-09-02 Video synchronous playing method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010910510.8A CN112055242A (en) 2020-09-02 2020-09-02 Video synchronous playing method, device, system and storage medium

Publications (1)

Publication Number Publication Date
CN112055242A true CN112055242A (en) 2020-12-08

Family

ID=73607967

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010910510.8A Pending CN112055242A (en) 2020-09-02 2020-09-02 Video synchronous playing method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN112055242A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770164A (en) * 2020-12-22 2021-05-07 上海幻维数码创意科技股份有限公司 Video synchronous playing method
CN113038210A (en) * 2021-03-29 2021-06-25 聚好看科技股份有限公司 Double-screen synchronous playing method of video file and display equipment
CN113271487A (en) * 2021-05-11 2021-08-17 深圳创维-Rgb电子有限公司 Audio and video synchronous playing method, device, system, program product and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281294A (en) * 2003-07-28 2011-12-14 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
CN102682182A (en) * 2011-03-09 2012-09-19 上海思穆电子科技有限公司 Multiscreen independent-operated vehicle information system with novel architecture
CN104050992A (en) * 2014-06-10 2014-09-17 浙江中科领航汽车电子有限公司 Vehicle-mounted intelligent system with virtual instrument and information entertainment terminals
CN106341713A (en) * 2016-10-08 2017-01-18 广东欧珀移动通信有限公司 Multimedia synchronous play method, apparatus and system, and terminal
CN106373600A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 Audio synchronous play method, audio synchronous play device, audio synchronous play system and terminal
CN106375823A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 Clock adjustment method and device, terminal and multimedia synchronous playing system
CN106454449A (en) * 2016-10-25 2017-02-22 深圳芯智汇科技有限公司 Master sound box, slave sound box and method for controlling synchronous playing of audio by router
CN108289232A (en) * 2018-01-26 2018-07-17 广东欧珀移动通信有限公司 A kind of control method of playback equipment, terminal device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102281294A (en) * 2003-07-28 2011-12-14 索诺斯公司 System and method for synchronizing operations among a plurality of independently clocked digital data processing devices
CN102682182A (en) * 2011-03-09 2012-09-19 上海思穆电子科技有限公司 Multiscreen independent-operated vehicle information system with novel architecture
CN104050992A (en) * 2014-06-10 2014-09-17 浙江中科领航汽车电子有限公司 Vehicle-mounted intelligent system with virtual instrument and information entertainment terminals
CN106341713A (en) * 2016-10-08 2017-01-18 广东欧珀移动通信有限公司 Multimedia synchronous play method, apparatus and system, and terminal
CN106373600A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 Audio synchronous play method, audio synchronous play device, audio synchronous play system and terminal
CN106375823A (en) * 2016-10-08 2017-02-01 广东欧珀移动通信有限公司 Clock adjustment method and device, terminal and multimedia synchronous playing system
CN106454449A (en) * 2016-10-25 2017-02-22 深圳芯智汇科技有限公司 Master sound box, slave sound box and method for controlling synchronous playing of audio by router
CN108289232A (en) * 2018-01-26 2018-07-17 广东欧珀移动通信有限公司 A kind of control method of playback equipment, terminal device and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112770164A (en) * 2020-12-22 2021-05-07 上海幻维数码创意科技股份有限公司 Video synchronous playing method
CN113038210A (en) * 2021-03-29 2021-06-25 聚好看科技股份有限公司 Double-screen synchronous playing method of video file and display equipment
CN113038210B (en) * 2021-03-29 2022-08-26 聚好看科技股份有限公司 Double-screen synchronous playing method of video file and display equipment
CN113271487A (en) * 2021-05-11 2021-08-17 深圳创维-Rgb电子有限公司 Audio and video synchronous playing method, device, system, program product and storage medium

Similar Documents

Publication Publication Date Title
CN112055242A (en) Video synchronous playing method, device, system and storage medium
US9413799B2 (en) Broadcasting media from a stationary source to multiple mobile devices over wi-fi
US20170026686A1 (en) Synchronizing audio content to audio and video devices
CN105630586B (en) Information processing method and electronic equipment
US20080103615A1 (en) Method and apparatus for spatial reformatting of multi-channel audio conetent
US9780894B2 (en) Systems for synchronous playback of media using a hybrid bluetooth™ and Wi-Fi network
CN107835979B (en) Intelligent audio routing management
CN105679345B (en) Audio processing method and electronic equipment
KR101528367B1 (en) Sound control system and method as the same
US9986362B2 (en) Information processing method and electronic device
AU2014295217B2 (en) Audio processor for orientation-dependent processing
WO2020038344A1 (en) Method and device for audio and video synchronization, and display apparatus
KR20150001881A (en) Method and system for providing video multimedia ringtone
US9332370B2 (en) Method and apparatus for using spatial audio rendering for a parallel playback of call audio and multimedia content
KR20140145584A (en) Method and system of playing online video at a speed variable in real time
US20170019198A1 (en) System for synchronous playback of media using a hybrid bluetooth™ and wi-fi network
CN112069353A (en) Music playing control method and device, storage medium and electronic equipment
EP3963463B1 (en) Synchronization of audio across multiple devices
CN110719510A (en) Vehicle audio and video synchronous playing method
CN112218140A (en) Video synchronous playing method, device, system and storage medium
EP3657821B1 (en) Method and device for playing back audio, and terminal
CN104867507A (en) Audio file playing method and device
CN110704012A (en) Audio data processing method and device, electronic equipment and medium
CN112188342A (en) Equalization parameter determination method and device, electronic equipment and storage medium
CN112463410B (en) Distributed message architecture management method, platform 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201208

RJ01 Rejection of invention patent application after publication