CN112423071A - Video playing method, device, equipment and storage medium - Google Patents

Video playing method, device, equipment and storage medium Download PDF

Info

Publication number
CN112423071A
CN112423071A CN201910778958.6A CN201910778958A CN112423071A CN 112423071 A CN112423071 A CN 112423071A CN 201910778958 A CN201910778958 A CN 201910778958A CN 112423071 A CN112423071 A CN 112423071A
Authority
CN
China
Prior art keywords
video
playing
time point
video playing
angle
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
CN201910778958.6A
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.)
Vidaa Netherlands International Holdings BV
Original Assignee
Qingdao Hisense Media Network 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 Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201910778958.6A priority Critical patent/CN112423071A/en
Publication of CN112423071A publication Critical patent/CN112423071A/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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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
    • H04N21/44213Monitoring of end-user related data
    • 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
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Abstract

The invention discloses a video playing method, a device, equipment and a storage medium, because in the embodiment of the invention, a user sends a video playing angle switching instruction to video playing slave equipment according to the requirement of a viewing angle, the video playing slave equipment acquires the information of a playing angle to be switched carried in the video playing angle switching instruction, acquires a first time point of a video currently played by video playing master equipment connected with the video playing slave equipment, determines a first video subfile which corresponds to the playing angle and contains the first time point according to an MPD file corresponding to a file of the currently played video stored by the video playing slave equipment, and plays the first video subfile according to the first time point. Therefore, the video playing slave equipment can adaptively play the video which is the same as the video playing master equipment in multiple angles according to the requirement of the user on the viewing angle, and the user viewing experience is improved.

Description

Video playing method, device, equipment and storage medium
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a video playing method, apparatus, device, and storage medium.
Background
In the prior art, when a video is played, the video can only be played according to a shooting angle set by a video producer, and the video producer determines which angle the video is presented from. For example, a certain tv drama scenario is that a thorn guest is close to a resident, if a director highlights the resident and plays a video represented by the resident, the viewer can only see the expression of the resident, but the viewer cannot see a scene which slowly approaches the resident from behind if the viewer wants to view the scene from the thorn guest. If the director wants to highlight a thrill expression, the audience does not see the performance of the host population.
Therefore, in the existing video playing scheme, the film watching experience of the user is limited by the shooting angle set by the video producer, and the film watching experience is poor.
Disclosure of Invention
The embodiment of the invention provides a video playing method, a video playing device, video playing equipment and a storage medium, which are used for solving the problems that in the existing video playing scheme, the film watching experience of a user is limited by a shooting angle set by a video producer, and the film watching experience is poor.
The embodiment of the invention provides a video playing method, which comprises the following steps:
the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched;
and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and a Multimedia Presentation Description (MPD) file corresponding to the file of the currently played video stored by the playing angle, and playing the first video subfile according to the first time point.
Further, before receiving the video playing angle switching instruction, the method further includes:
receiving a television HBBTV application starting command sent by the video playing main equipment;
and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
Further, before receiving the video playing angle switching instruction, the method further includes:
according to a set time interval, a second time point of the video currently played by the video playing main device is obtained, a download address of each second video subfile corresponding to each playing angle containing the second time point is determined according to the MPD file of each playing angle, and each second video subfile is downloaded according to the download address.
Further, the method further comprises:
and updating the angle switching instruction button displayed on the display interface of the angle switching instruction button according to the number and the name of the playing angles corresponding to the currently downloaded second video subfile.
Further, the obtaining of the current video playing time point of the video playing master device includes:
determining the current video playing time point of the video playing main equipment according to the time point recorded in a multimedia synchronizer of the video playing main equipment; and the time point recorded in the multimedia synchronizer is the time point when the video playing main equipment sends the video playing main equipment to play the video to the multimedia synchronizer in real time.
In another aspect, an embodiment of the present invention provides a video playing apparatus, where the apparatus includes:
the acquisition module is used for receiving a video playing angle switching instruction and acquiring a first time point of a video currently played by a video playing main device connected with the acquisition module; the video playing angle switching instruction carries information of a playing angle to be switched;
and the playing module is used for searching a first video subfile corresponding to the playing angle and containing the first time point from the MPD file corresponding to the file of the current playing video stored in the playing module according to the information of the playing angle, the first time point and the MPD file, and playing the first video subfile according to the first time point.
Further, the apparatus further comprises:
the connection module is used for receiving a television HBBTV application starting command sent by the video playing main equipment; and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
Further, the obtaining module is configured to obtain a second time point at which the video playing master device currently plays the video according to a set time interval, determine, according to the MPD file of each playing angle, a download address of each second video subfile corresponding to each playing angle including the second time point, and download each second video subfile according to the download address.
Further, the apparatus further comprises:
and the updating module is used for updating the angle switching instruction button displayed on the display interface of the updating module according to the number and the name of the playing angles corresponding to the currently downloaded second video subfile.
Further, the obtaining module is specifically configured to determine a time point at which the video playing master device currently plays the video according to a time point recorded in a multimedia synchronizer in the video playing master device; and the time point recorded in the multimedia synchronizer is the time point when the video playing main equipment sends the video playing main equipment to play the video to the multimedia synchronizer in real time.
On the other hand, the embodiment of the invention provides a video playing slave device, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing any of the above method steps when executing a program stored in the memory.
In another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method steps of any one of the above.
The embodiment of the invention provides a video playing method, a video playing device, video playing equipment and a storage medium, wherein the method comprises the following steps: the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched; and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point.
In the embodiment of the invention, a user sends a video playing angle switching instruction to the video playing slave device according to the requirement of a viewing angle, the video playing slave device acquires the information of the playing angle to be switched, which is carried in the video playing angle switching instruction, and acquires the first time point of the video currently played by the video playing master device connected with the video playing slave device, and determines the first video subfile corresponding to the playing angle and containing the first time point according to the information of the playing angle, the first time point and the MPD file corresponding to the file of the currently played video stored in the video playing slave device, and plays the first video subfile according to the first time point. Therefore, the video playing slave equipment can adaptively play the video which is the same as the video playing master equipment in multiple angles according to the requirement of the user on the viewing angle, and the user viewing experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a video playing process provided in embodiment 1 of the present invention;
fig. 2 is a schematic application diagram of a slave device for starting video playback according to embodiment 2 of the present invention;
fig. 3 is a schematic diagram of time synchronization between a master device and a slave device according to embodiment 2 of the present invention;
FIG. 4 is a diagram of an example of a database provided in embodiment 4 of the present invention;
FIG. 5 is a diagram illustrating the viewing effect provided by embodiment 4 of the present invention;
fig. 6 is an architecture diagram of a video playing system according to embodiment 4 of the present invention;
fig. 7 is a schematic view of a detailed video playing process provided in embodiment 4 of the present invention;
fig. 8 is a schematic structural diagram of a video playback device according to embodiment 5 of the present invention;
fig. 9 is a schematic structural diagram of a slave video playback device according to embodiment 6 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the attached drawings, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1:
fig. 1 is a schematic view of a video playing process provided by an embodiment of the present invention, where the process includes the following steps:
s101: the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched.
The video playing method provided by the embodiment of the invention is applied to the video playing slave equipment, and the video playing slave equipment can be equipment such as a smart phone and a tablet personal computer. The video playing main device in the embodiment of the invention can be a television.
In a video shooting scene, a camera is installed at each shooting angle, different cameras collect videos from different angles, the videos collected by the cameras are sent to a server, and the server stores the received videos at each angle. The server can store the video in a fragmented MP4 format, and store the received video as a plurality of video files in an MP4 format. Specifically, each video shooting scenario is generally divided into a main shooting angle and a sub shooting angle, and when storing the video files, the server may store the video files in MP4 format from the main shooting angle in a main directory and store the video files from the sub shooting angle in a sub directory. In addition, the server may generate a corresponding Multimedia Presentation Description (MPD) for each of the sliced video files, where the MPD is used to describe various information of each of the video subfiles, including information such as a playing time and a downloading address of each of the video subfiles. For example, a 01: 02: 20 to 01: 02: the video subfile of 50 is main \ seg1. fmpp 4; described is 01: 05: 25 to 01: 05: the video subfile of 55 is sub \ seg2. fmpp 4. When storing the MPD file, different shooting angles may be used as the file name of the MPD file, and information of the shooting angles is present in the file name of the MPD file.
The video playing slave device and the video playing master device both acquire video files from the server side, and the video playing master device plays each video file according to a preset playing sequence.
The user can send a video playing angle switching instruction to the video playing slave device according to the requirement, wherein the video playing angle switching instruction carries the information of the playing angle to be switched. After the video playing slave device receives the video playing angle switching instruction, a first time point of a video currently played by the video playing master device connected with the video playing slave device is obtained. The first time point may be a time point at which a user sends a video playing angle switching instruction to the video playing slave device, and at the same time, sends the first time point at which the video playing master device currently plays the video to the video playing slave device.
S102: and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point.
The video playing slave device pre-stores an MPD file corresponding to a currently played video of the video playing master device, when the server stores the video file, the video file is stored as a plurality of video subfiles, the MPD file records information such as playing time and a downloading address corresponding to each video subfile, and a file name of the MPD file may include shooting angle information.
After the video playing slave device obtains the information of the playing angle and the first time point of the video currently played by the video playing master device, according to the information of the playing angle and the first time point, a downloading address of a first video subfile, which corresponds to the playing angle and contains the first time point, is searched in an MPD file corresponding to a file of the currently played video, and then the first video subfile is downloaded from a server according to the downloading address.
For example, the information of the playing angle is the rear view angle, and the first time point is 01: 05: 45. the video playing slave device determines that the playing angle information is a rear view angle according to the file name of the MPD file, and determines that the playing time corresponding to each video subfile recorded by the MPD file comprises a first time point 01: 05: 45 for a video subfile with a time range of 01: 05: 25 to 01: 05: 55, according to the time range recorded in the MPD file, the video subfile is 01: 05: 25 to 01: 05: 55, downloading the video subfile from the server.
And after the video playing slave device determines the first video subfile, playing the first video subfile according to the first time point. Specifically, the first video subfile is played from the first time point. Also illustrated by the above example, the video playback slave device determines that the first video subfile time range is 01: 05: 25 to 01: 05: 55, since the first time point 01: 05: 45, so that when the first video subfile is played, a jump command is executed to jump to 01: 05: play begins at position 45.
In the embodiment of the invention, time synchronization information is exchanged between the video playing slave device and the video playing master device, a user sends a video playing angle switching instruction to the video playing slave device according to the requirement of a viewing angle, the video playing slave device acquires the information of a playing angle to be switched, which is carried in the video playing angle switching instruction, acquires a first time point of a current playing video of the video playing master device connected with the video playing slave device, determines a first video subfile corresponding to the playing angle and containing the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to a file of the current playing video stored in the video playing slave device, and plays the first video subfile according to the first time point. Therefore, the video playing slave equipment can adaptively play the video which is the same as the video playing master equipment in multiple angles according to the requirement of the user on the viewing angle, and the user viewing experience is improved.
Example 2:
in order to ensure that the same video as the video playing master device can be played in multiple angles, on the basis of the above embodiment, in the embodiment of the present invention, before the receiving the video playing angle switching instruction, the method further includes:
receiving a television HBBTV application starting command sent by the video playing main equipment;
and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
And the video playing master device and the video playing slave device establish connection and synchronization of playing time through the HBBTV application.
Specifically, as shown in fig. 2, when the video playback master device starts its HBBTV application APP and starts playing a video, the video playback master device searches and starts a slave device Manager (CSManager) in its HBBTV application through a Web Browser in the HBBTV APP, the video playback master device initiates a command to search for a CS Launcher to the video playback slave device company Screen through the CSManager, and when there is a CS Launcher in the video playback slave device, the video playback slave device starts its HBBTV application and establishes a connection with the video playback master device through the HBBTV application.
After the video playing slave device starts the HBBTV application of the video playing slave device, the application performs initialization work including drawing a display interface, wherein the display interface comprises an angle switching instruction button and a video playing area. The user can send a video playing angle switching instruction to the video playing slave device through the angle switching instruction button, and after the video playing slave device draws a display interface and before the first video subfile is determined, the video playing area does not play any video. After the first video subfile is determined, the first video subfile is played in the video playing area.
After the video playing slave device establishes connection with the video playing master device through the HBBTV application, the video playing slave device and the video playing master device can further achieve synchronization of video playing time through the HBBTV application.
In this embodiment of the present invention, acquiring a current video playing time point of the video playing master device includes:
determining the current video playing time point of the video playing main equipment according to the time point recorded in a multimedia synchronizer of the video playing main equipment; and the time point recorded in the multimedia synchronizer is the time point when the video playing main equipment sends the video playing main equipment to play the video to the multimedia synchronizer in real time.
Specifically, as shown in fig. 3, there is a multimedia synchronizer (Media synchronizer) in the video playback host device, and the video files played in the video playback host device all have time axis (timeline) information, and the video files are converted into a series of multimedia Objects (Media Objects) in the video playback host device for playing, and simultaneously are continuously synchronized with the Media synchronizer. The video playing slave device downloads a streaming Media time axis relation table (Relationship between streaming Media time lines) from the server, continuously interacts with Media synchronization in the video playing master device, acquires time in the video playing master device, and converts the time into streaming Media time information in the video playing slave device through the relation table, so that time synchronization between the master device and the slave device is realized.
Example 3:
although the server stores the video file fragments into a plurality of video subfiles, the data size of the video subfiles is small, and after the download address of the first video subfile is determined, the first video subfile can be downloaded quickly, time is still needed for downloading the first video subfile, a certain delay occurs in playing the first video subfile by the video playing slave device inevitably, and on the basis of the above embodiments, before the video playing angle switching instruction is received, the method further includes:
according to a set time interval, a second time point of the video currently played by the video playing main device is obtained, a download address of each second video subfile corresponding to each playing angle containing the second time point is determined according to the MPD file of each playing angle, and each second video subfile is downloaded according to the download address.
A time interval may be preset in the video playing slave device, where the time interval may be 3 seconds, 5 seconds, 10 seconds, and the like, and a second time point of the video currently played by the video playing master device is obtained according to the set time interval, where a process of obtaining the second time point of the video currently played by the video playing master device is the same as the process of obtaining the first time point of the video currently played by the video playing master device described in the foregoing embodiment. And after the video playing slave device acquires the second time point, determining a downloading address of each second video subfile corresponding to each playing angle containing the second time point according to the name of the MPD file and the information such as playing time, downloading address and the like of the video subfiles recorded in the MPD file, and then downloading each second video subfile according to the downloading address.
For example, the second time point when the video playing slave device acquires the video currently played by the video playing master device is 00: 00: 05, the download time range is 00: 00: 00 to 00: 00: 55 for each play angle. At 00: 00: 00 to 00: 00: within the time range of 55, when a video playing angle switching instruction is received, in the time range of 00: 00: 00 to 00: 00: and in each second video subfile within the time range of 55, determining the first video subfile according to the information of the playing angle and playing the first video subfile. Therefore, the second video subfiles of each playing angle containing the second time point are downloaded in advance, when a video playing angle switching instruction is received in the playing time range corresponding to the second video subfile, the first video subfile to be played can be directly determined from the downloaded second video subfiles to be played, downloading is not needed, and therefore the problem that certain time delay occurs when the video playing slave device plays the first video subfile is avoided.
In addition, when the time point of the current video playing of the video playing master device exceeds the time range of the downloaded second video subfile, it is described that the video playing time of the second video subfile is already played, the video playing slave device receives the video playing angle switching instruction, and the second video subfile cannot be played any more, so that the second video subfile can be deleted, and the memory occupation of the video playing slave device is reduced.
Example 4:
in order to enable a user to more flexibly send a video playing angle switching instruction, on the basis of the foregoing embodiments, in an embodiment of the present invention, the method further includes:
and updating the angle switching instruction button displayed on the display interface of the angle switching instruction button according to the number and the name of the playing angles corresponding to the currently downloaded second video subfile.
In the whole video playing process, sometimes, a better viewing effect is not necessarily achieved from a rear view angle, for example, when a host man is attacked by an enemy into a room, the scene of the front door enemy, the scene of the doorway tree enemy and the scene of the roof enemy can be displayed at the same time. For example, the mother and the father can show what is on the shore and what is crocodile behind the mother and the father when the mother and the father dive. As the scenario progresses, the angle changes continuously, and the angle is sometimes large and sometimes small.
Therefore, in the embodiment of the present invention, a database is stored in the HBBTV application, where the database uses time as a keyword, records several angles at each time point, names of each angle, and MPD files corresponding to each angle, and the video playback slave device obtains data at a current time point from the video playback master device in real time, and updates a display interface in the slave device in real time, where for example, buttons displayed at 30 seconds are "indoor", "door", "on tree", and buttons displayed at 50 seconds are "shore" and "behind".
The database format may be, as shown in fig. 4, a time point (in seconds), a number of angles, an angle 1 name, an angle 1 corresponding to an MPD file, an angle 2 name, an angle 2 corresponding to an MPD file, an angle n name, and an angle n corresponding to an MPD file. A maximum number of angles can be specified, and if the number of angles is less than the maximum number, the following data is empty, assuming that the maximum number of angles is 3.
In the embodiment of the invention, the number and the name of different playing angles can be set at different time, so that for a user, a video playing angle switching instruction can be more flexibly sent at different time, and the film watching experience of the user is further improved.
Fig. 5 is a view of the viewing effect provided by the embodiment of the present invention, where the video playing master device is a television, and is playing a video, and at this time, a user selects a front view angle, a rear view angle, or an overlook view, and can synchronously view videos at different angles.
Fig. 6 is an architecture diagram of a video playing system according to an embodiment of the present invention, and as shown in fig. 6, the system architecture is divided into three layers, which are a data collection end, a server end, and a client end. The data collection end is that a plurality of cameras gather video data from different angles. The collected data are stored in a server side in a fragment mp4 format, and an MPD file is generated at the same time. The client side is provided with two devices, namely a video playing main device and a video playing auxiliary device, wherein the video playing main device can be a television, the video playing main device and the video playing auxiliary device acquire video files from the server side, and meanwhile, time synchronization information is exchanged between the video playing main device and the video playing auxiliary device, so that videos from different angles can be automatically played in real time in the video playing auxiliary device.
Fig. 7 is a schematic view of a detailed video playing process provided in an embodiment of the present invention, where the process includes the following steps:
s201: the video playing main device starts the HBBTV application of the video playing main device and plays the video.
S202: the video playing master device starts the HBBTV application in the video playing slave device through the CS protocol.
S203: according to a set time interval, a second time point of the video currently played by the video playing main device is obtained, a download address of each second video subfile corresponding to each playing angle containing the second time point is determined according to the MPD file of each playing angle, and each second video subfile is downloaded according to the download address.
S204: the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a video currently played by a video playing master device connected with the video playing slave device.
S205: according to the information of the playing angle and the first time point, a first video subfile corresponding to the playing angle and containing the first time point is searched in a second video subfile downloaded by the player, and the first video subfile is played according to the first time point.
Example 5:
fig. 8 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present invention, where the apparatus includes:
the obtaining module 81 is configured to receive a video playing angle switching instruction, and obtain a first time point of a currently played video of a video playing master device connected to the obtaining module; the video playing angle switching instruction carries information of a playing angle to be switched;
the playing module 82 is configured to determine, according to the information of the playing angle, the first time point, and an MPD file corresponding to the file of the currently playing video stored by the playing module, a first video subfile corresponding to the playing angle and including the first time point, and play the first video subfile according to the first time point.
The device further comprises:
a connection module 83, configured to receive a television HBBTV application start command sent by the video playback master device; and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
The obtaining module 81 is further configured to obtain a second time point at which the video playing master device currently plays the video according to a set time interval, determine, according to the MPD file of each playing angle, a download address of each second video subfile corresponding to each playing angle including the second time point, and download each second video subfile according to the download address.
The device further comprises:
and the updating module 84 is configured to update the angle switching instruction button displayed on the display interface of the updating module according to the number and name of the playing angles corresponding to the currently downloaded second video subfile.
The obtaining module 81 is specifically configured to determine a time point of a video currently played by the video playing master device according to a time point recorded in a multimedia synchronizer in the video playing master device; and the time point recorded in the multimedia synchronizer is the time point when the video playing main equipment sends the video playing main equipment to play the video to the multimedia synchronizer in real time.
Example 6:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a video playback slave device, as shown in fig. 9, including: the system comprises a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 complete mutual communication through the communication bus 304;
the memory 303 has stored therein a computer program which, when executed by the processor 301, causes the processor 301 to perform the steps of:
the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched;
and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point.
Based on the same inventive concept, the embodiment of the present invention further provides a video playing slave device, and as the principle of the video playing slave device for solving the problem is similar to the video playing method, the implementation of the video playing slave device may refer to the implementation of the method, and repeated details are not repeated.
The video playing slave device provided by the embodiment of the invention can be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), a network side device and the like.
The communication bus mentioned in the above video playback slave device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface 302 is used for communication between the video playback slave device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a central processing unit, a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
When the processor executes the program stored in the memory in the embodiment of the invention, the video playing slave device receives the video playing angle switching instruction and acquires the first time point of the video currently played by the video playing master device connected with the processor; the video playing angle switching instruction carries information of a playing angle to be switched; and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point. In the embodiment of the present invention, a user sends a video playing angle switching instruction to a video playing slave device according to a requirement of a viewing angle, the video playing slave device obtains information of a playing angle to be switched, which is carried in the video playing angle switching instruction, and obtains a first time point of a video currently played by a video playing master device connected to the video playing slave device, and according to the information of the playing angle, the first time point and an MPD file corresponding to a file of the currently played video stored in the video playing slave device, determines a first video subfile corresponding to the playing angle and including the first time point, and plays the first video subfile according to the first time point. Therefore, the video playing slave equipment can adaptively play the video which is the same as the video playing master equipment in multiple angles according to the requirement of the user on the viewing angle, and the user viewing experience is improved.
Example 7:
on the basis of the foregoing embodiments, an embodiment of the present invention further provides a computer storage readable storage medium, in which a computer program executable by a video playback slave device is stored, and when the program runs on the video playback slave device, the video playback slave device is caused to execute the following steps:
the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched;
and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point.
Based on the same inventive concept, embodiments of the present invention further provide a computer-readable storage medium, and since a principle of solving a problem when a processor executes a computer program stored in the computer-readable storage medium is similar to that of a video playing method, implementation of the computer program stored in the computer-readable storage medium by the processor may refer to implementation of the method, and repeated details are not repeated.
The computer readable storage medium may be any available media or data storage device that the video playback can access from a processor in the device, including, but not limited to, magnetic memory such as floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc., optical memory such as CDs, DVDs, BDs, HVDs, etc., and semiconductor memory such as ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs), etc.
The computer program is stored in a computer readable storage medium provided in the embodiment of the present invention, and when executed by a processor, the computer program implements that a video playing slave device receives a video playing angle switching instruction, and acquires a first time point of a currently played video of a video playing master device connected to the computer program; the video playing angle switching instruction carries information of a playing angle to be switched; and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the MPD file, and playing the first video subfile according to the first time point.
In the embodiment of the present invention, a user sends a video playing angle switching instruction to a video playing slave device according to a requirement of a viewing angle, the video playing slave device obtains information of a playing angle to be switched, which is carried in the video playing angle switching instruction, and obtains a first time point of a video currently played by a video playing master device connected to the video playing slave device, and according to the information of the playing angle, the first time point and an MPD file corresponding to a file of the currently played video stored in the video playing slave device, determines a first video subfile corresponding to the playing angle and including the first time point, and plays the first video subfile according to the first time point. Therefore, the video playing slave equipment can adaptively play the video which is the same as the video playing master equipment in multiple angles according to the requirement of the user on the viewing angle, and the user viewing experience is improved.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A video playback method, the method comprising:
the video playing slave device receives a video playing angle switching instruction and acquires a first time point of a currently played video of a video playing master device connected with the video playing slave device; the video playing angle switching instruction carries information of a playing angle to be switched;
and determining a first video subfile corresponding to the playing angle and including the first time point according to the information of the playing angle, the first time point and a Multimedia Presentation Description (MPD) file corresponding to the file of the currently played video stored by the playing angle, and playing the first video subfile according to the first time point.
2. The method of claim 1, wherein before receiving the video playback angle switching instruction, the method further comprises:
receiving a television HBBTV application starting command sent by the video playing main equipment;
and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
3. The method of claim 1, wherein before receiving the video playback angle switching instruction, the method further comprises:
according to a set time interval, a second time point of the video currently played by the video playing main device is obtained, a download address of each second video subfile corresponding to each playing angle containing the second time point is determined according to the MPD file of each playing angle, and each second video subfile is downloaded according to the download address.
4. The method of claim 3, wherein the method further comprises:
and updating the angle switching instruction button displayed on the display interface of the angle switching instruction button according to the number and the name of the playing angles corresponding to the currently downloaded second video subfile.
5. The method of claim 1 or 3, wherein obtaining a point in time at which the video playing master device is currently playing a video comprises:
determining the current video playing time point of the video playing main equipment according to the time point recorded in a multimedia synchronizer of the video playing main equipment; and the time point recorded in the multimedia synchronizer is the time point when the video playing main equipment sends the video playing main equipment to play the video to the multimedia synchronizer in real time.
6. A video playback apparatus, comprising:
the acquisition module is used for receiving a video playing angle switching instruction and acquiring a first time point of a video currently played by a video playing main device connected with the acquisition module; the video playing angle switching instruction carries information of a playing angle to be switched;
and the playing module is used for determining a first video subfile corresponding to the playing angle and containing the first time point according to the information of the playing angle, the first time point and an MPD file corresponding to the file of the currently played video stored by the playing module, and playing the first video subfile according to the first time point.
7. The apparatus of claim 6, wherein the apparatus further comprises:
the connection module is used for receiving a television HBBTV application starting command sent by the video playing main equipment; and starting the HBBTV application of the video player, and establishing connection with the video playing main equipment through the HBBTV application.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the updating module is used for updating the angle switching instruction button displayed on the display interface of the updating module according to the number and the name of the playing angles corresponding to the currently downloaded second video subfile.
9. The video playing slave device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 5 when executing a program stored in the memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-5.
CN201910778958.6A 2019-08-22 2019-08-22 Video playing method, device, equipment and storage medium Pending CN112423071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910778958.6A CN112423071A (en) 2019-08-22 2019-08-22 Video playing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910778958.6A CN112423071A (en) 2019-08-22 2019-08-22 Video playing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112423071A true CN112423071A (en) 2021-02-26

Family

ID=74778950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910778958.6A Pending CN112423071A (en) 2019-08-22 2019-08-22 Video playing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112423071A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921864A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Video broadcasting method and device
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium
CN108632674A (en) * 2017-03-23 2018-10-09 华为技术有限公司 A kind of playback method and client of panoramic video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921864A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 Video broadcasting method and device
CN108632674A (en) * 2017-03-23 2018-10-09 华为技术有限公司 A kind of playback method and client of panoramic video
CN107547940A (en) * 2017-09-13 2018-01-05 广州酷狗计算机科技有限公司 Video playback processing method, equipment and computer-readable recording medium

Similar Documents

Publication Publication Date Title
CN109413483B (en) Live content preview method, device, equipment and medium
CN109089154B (en) Video extraction method, device, equipment and medium
KR101664754B1 (en) Method, device, program and recording medium for information acquisition
CN109309860B (en) Prompt message display method and device, storage medium and electronic device
KR101638276B1 (en) Method for providing episode selection of video and apparatus, program, and recording medium thereof
CN109089127B (en) Video splicing method, device, equipment and medium
US20170019715A1 (en) Media production system with scheduling feature
CN109274982B (en) Video carousel method and device, computer equipment and storage medium
CN110913241B (en) Video retrieval method and device, electronic equipment and storage medium
CN102843605A (en) Video play method and device thereof
US20170195614A1 (en) Method and electronic device for playing video
WO2018205833A1 (en) Method and apparatus for transmitting music file information, storage medium, and electronic apparatus
US10674183B2 (en) System and method for perspective switching during video access
CN110913135A (en) Video shooting method and device, electronic equipment and storage medium
WO2017181597A1 (en) Method and device for video playback
US9966110B2 (en) Video-production system with DVE feature
CN110708571B (en) Video clip playing control method and related product
CN104717542A (en) Method, device and system for obtaining synchronization information of intelligent television
CN108600853B (en) Bullet screen playing method, device and system and electronic equipment
CN204013943U (en) A kind of device that carries out video intercepting and process on OTT box
US9930412B2 (en) Network set-top box and its operating method
US20140372424A1 (en) Method and system for searching video scenes
CN102707914B (en) Messaging device and method
CN111541927A (en) Video playing method and device
US10028012B2 (en) Apparatus, systems and methods for audio content shuffling

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221025

Address after: 83 Intekte Street, Devon, Netherlands

Applicant after: VIDAA (Netherlands) International Holdings Ltd.

Address before: 266071, room 248, No. 131 East Hongkong Road, Laoshan District, Shandong, Qingdao

Applicant before: QINGDAO HISENSE MEDIA NETWORKS Ltd.