CN115190363A - Video playing method, device and storage medium - Google Patents
Video playing method, device and storage medium Download PDFInfo
- Publication number
- CN115190363A CN115190363A CN202110360573.5A CN202110360573A CN115190363A CN 115190363 A CN115190363 A CN 115190363A CN 202110360573 A CN202110360573 A CN 202110360573A CN 115190363 A CN115190363 A CN 115190363A
- Authority
- CN
- China
- Prior art keywords
- video
- speed
- playing
- target object
- configuration
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 97
- 230000008569 process Effects 0.000 claims abstract description 35
- 238000009877 rendering Methods 0.000 claims description 183
- 230000002452 interceptive effect Effects 0.000 claims description 33
- 230000004044 response Effects 0.000 claims description 13
- 239000012634 fragment Substances 0.000 description 14
- 238000012545 processing Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 11
- 238000004891 communication Methods 0.000 description 10
- 238000013500 data storage Methods 0.000 description 8
- 241000282994 Cervidae Species 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 4
- 238000004590 computer program Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- 238000003825 pressing Methods 0.000 description 3
- 238000012935 Averaging Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 238000007405 data analysis Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 230000002829 reductive effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241001253206 Andrias Species 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000001936 parietal effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 235000019640 taste Nutrition 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-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/47217—End-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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/65—Transmission of management data between client and server
- H04N21/658—Transmission by the client directed to the server
- H04N21/6587—Control parameters, e.g. trick play commands, viewpoint selection
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the application discloses a video playing method, a video playing device and a storage medium, and belongs to the field of video playing. In the embodiment of the application, a double-speed configuration operation is received, wherein the double-speed configuration operation is used for selecting a target object and configuring a playing double-speed for the target object; and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object. The situation that the user likes the content easily or the user endures the disliked content for a long time due to the fact that the user plays at the default playing speed all the time is avoided, and the watching experience of the user is improved.
Description
Technical Field
The present application relates to the field of video playing technologies, and in particular, to a video playing method, apparatus and storage medium.
Background
When an application client (APP for short) is used for playing videos, if a user needs to watch the videos quickly, quick playing modes such as double-speed playing can be selected from the APP for playing, and after the quick playing mode is selected, the whole videos can be played at the same double speed. In the playing process, if a user wants to watch a certain part of content carefully, the playing speed needs to be modified manually, the progress bar is dragged to watch the content, if the user is not interested in the certain part, the progress bar needs to be adjusted manually, and the playing is fast-forwarded, so that the watching experience of the user is reduced due to the complexity in operation.
Disclosure of Invention
The embodiment of the application provides a video playing method, a video playing device and a storage medium, which can play according to the requirements of a user, and improve the watching experience of the user.
In a first aspect, the present application provides a video playing method, including: receiving a multiple speed configuration operation, wherein the multiple speed configuration operation is used for selecting a target object and configuring a playing multiple speed for the target object; and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
In one possible implementation manner, wherein the number of the target objects includes a plurality, playing the video segment including the target object according to the priority of the target object and the playing double speed of the target object during playing the target video corresponding to the double speed configuration operation includes: according to the priority of the target object, taking the target object with high priority as a first target object; and playing the video clip comprising the first target object according to the playing double speed corresponding to the first target object.
In one possible implementation manner, the taking, as the first target object, the target object with a high priority according to the priority of the target object includes: for each video frame of the target video, when only one target object is included in the video frame, taking the target object as a first target object with high priority; and for each video frame of the target video, when the video frame comprises a plurality of target objects, taking the target object with high priority in the video frame as a first target object.
In one possible implementation manner, when a plurality of the target objects are included in the video frame, the taking a target object with a high priority in the video frame as a first target object includes: acquiring the priority of the target object; when the video frame comprises a plurality of target objects, determining a target object with high priority in the video frame according to the priority of the target object; and taking the target object with high priority as a first target object.
In one possible implementation manner, where the number of the target objects includes one, playing the video segment including the target object according to the priority of the target object and the playing double speed of the target object during playing the target video corresponding to the double speed configuration operation includes: and taking the target object as a first target object, and playing the video clip comprising the first target object according to the playing double speed of the first target object.
In one possible implementation manner, the method further includes: receiving progress bar rendering operation; and responding to the progress bar rendering operation, and rendering the progress bar according to the playing speed.
In one possible implementation manner, the rendering the progress bar according to the playback double speed in response to the progress bar rendering operation includes: when the progress bar rendering operation indicates that rendering is carried out according to the playing double speed corresponding to the double-speed configuration operation, obtaining the playing double speed corresponding to the video clip in the target video; and rendering the progress bar according to the playing speed corresponding to the video clip.
In one possible implementation manner, the rendering the progress bar according to the playback double speed in response to the progress bar rendering operation includes: when the progress bar rendering operation instruction is rendered according to the playing speed set by other users, the playing speed data of other users are obtained, wherein the playing speed data of other users comprise the playing speed data of other users for playing the target video; and rendering a progress bar according to the playing speed data of the other users.
In one possible implementation, the type of the target object includes one or more of a position, a character, and an actor.
In one possible implementation, the double-speed configuration operation further includes configuring a configuration target, where the configuring of the configuration target includes a single-episode configuration for configuring a single-episode video, a single-episode configuration for configuring a single-episode, a global configuration for configuring a video client, and a default configuration for performing a system default configuration on the video client.
In a second aspect, the present application provides a video playing method, including: providing an interactive interface, wherein the interactive interface comprises a speed doubling configuration item; receiving a double-speed configuration operation input on the double-speed configuration item, wherein the double-speed configuration operation is used for selecting a target object and configuring a playing double speed for the target object; and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
In one possible implementation, the multiple speed configuration items include an object selectable item for selecting a target object and a multiple speed configuration item for configuring a multiple speed.
In one possible implementation manner, the interactive interface further comprises a progress bar rendering item; wherein the progress bar rendering item is used to initiate rendering of the progress bar.
In a third aspect, the present application provides a video playback device for performing the method as described in the first aspect and its extended embodiments or in the second aspect and its extended embodiments.
In a fourth aspect, the present application provides a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method according to the first aspect and its extended embodiments or the second aspect and its extended embodiments.
The technical effects obtained by the above second, third and fourth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described herein again.
The beneficial effect that technical scheme that this application provided brought includes at least:
in the embodiment of the application, the user can perform different playing times playing selection on different positions, roles or actors, so that the playing speed of the video clip can be adjusted according to whether the target object is included, the situation that the video clip is played at the default playing speed all the time, the favorite content of the user is easily missed or the user suffers from the disliked content for a long time is avoided, and the watching experience of the user is improved. The film watching quality and the film watching efficiency of the user are improved on the basis of ensuring the film watching integrity of the user
Drawings
Fig. 1 is a schematic view of an application scenario of a video playing method according to an embodiment of the present application;
fig. 2a is a schematic view of a video playing scene according to an embodiment of the present application;
fig. 2b is a schematic view of another video playing scene according to an embodiment of the present application;
fig. 2c is a schematic view of another video playing scene according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a computing device according to an embodiment of the present application;
fig. 5 is a schematic flowchart of a video playing method according to an embodiment of the present application;
fig. 6 is a schematic view of another video playing scene according to an embodiment of the present application;
fig. 7a is a schematic view of another video playing scene according to an embodiment of the present application;
fig. 7b is a schematic view of another video playing scene according to the embodiment of the present application;
fig. 7c is a schematic view of another video playing scene according to the embodiment of the present application;
fig. 7d is a schematic view of another video playing scene according to the embodiment of the present application;
fig. 8 is a schematic flowchart of another video playing method according to an embodiment of the present application;
fig. 9a is a schematic view of a progress bar rendering scene according to an embodiment of the present application;
fig. 9b is a schematic view of another progress bar rendering scene provided in the embodiment of the present application;
fig. 10 is a schematic flowchart of another video playing method according to an embodiment of the present application;
fig. 11 is a schematic diagram illustrating an interaction flow between a client and a server according to an embodiment of the present application;
fig. 12 is a flowchart illustrating a method for rendering a progress bar in units of shots according to an embodiment of the present application;
fig. 13 is a schematic flowchart of a method for rendering a progress bar in units of a preset time period according to an embodiment of the present application;
fig. 14 is a schematic flowchart of another video playing method according to an embodiment of the present application.
Description of the main elements
Terminal 102
Service end 104
Receiving module 301
Computing device 400
Memory 403
Communication interface 404
Progress bar rendering item 74
Multiple speed configuration item 76
Play sharpness item 77
Multiple speed configuration window 78
Single set configuration option 701
Single play configuration option 702
Default configuration switch item 704
Multiple speed optional frame 706
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
Before explaining the embodiments of the present application in detail, an application scenario related to the embodiments of the present application will be described.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a video playing method according to an embodiment of the present application. The scenario may include, for example, a user 101, a terminal 102, a network transport device 103, and a server 104.
The terminal 102 is configured to receive operations input by the user 101, such as playing a video, configuring a playing speed, configuring a playing definition, or configuring a playing set number, the terminal 102 is also configured to play a video, and the terminal 102 may be a multimedia device having multiple multimedia functions, including but not limited to a video processing function and a video playing function. The terminal 102 may be a mobile terminal (for example, a mobile device having a video playing function, such as a smart phone, a palmtop computer, a tablet computer, and the like, a wearable electronic device), a computer device (for example, a desktop computer, a notebook computer, an all-in-one machine, an intelligent home device, a video teaching device, and the like), and the like, and the specific product implementation of the terminal 102 is not specifically limited in this application.
In one possible implementation manner, various clients 112 capable of playing videos may be built in the terminal 102, and the clients 112 may be video application clients or browser clients. Such as video APP or including a web browser, etc., and the video APP includes huacheng video, etc. Illustratively, the user 101 may input an operation to the client 112 of the terminal 102, request the client 112 of the terminal 102 to play an online video, and the like.
The network transmission device 103 is used for data transmission, and may be a wireless network or a wired network, and the network includes but is not limited to: a wide area network, a metropolitan area network, or a local area network.
The server 104 is used for providing video data, such as for providing a desired service (e.g., video) to the terminal 102. The server 104 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a CDN, a big data and artificial intelligence platform, but is not limited thereto.
In one possible implementation, the server 104 manages cloud storage, which may also be integrated in the server 104. And storing the video data in a cloud memory. The server 104 may search the corresponding video data from the cloud storage according to the operation of the user, or the server 104 directly sends the video data to the terminal 102, or sends the storage address of the video data to the terminal 102, so that the terminal 102 plays the video according to the video data or the storage address.
Specifically, the terminal 102 and the server 104 are connected through a network transmission device 103. The user 101 operates the terminal 102, and inputs a request video playing operation (for example, clicking to open a certain video) to the terminal 102, the client 112 in the terminal 102 receives a video playing request of the user, the video playing request usually includes a plurality of parameters, such as playing set number, playing definition, playing speed, and the like, the client 112 responds to the video playing request of the user 101, the client 112 sends the video playing request to the server 104, the server 104 provides a corresponding video data or video data storage address to the client 112 according to the video playing request after receiving the video playing request, the client 112 receives the video data or video data storage address sent by the server 104, and presents the corresponding video to the user 101 according to the video data or video data storage address. If the user clicks to open the video A, the server 104 returns the video data or the video data storage address of the video A, and the client 112 plays the video A according to the video data or the video data storage address returned by the server 104. If the user further configures the playing speed of the video a to be 2.0X, the client 112 plays the video a according to the playing speed of 2.0X, and if the user does not configure the playing definition and also does not configure the playing speed, the client 112 plays the video a with default parameters, if the default playing speed is 1.0X, the default playing definition is super-definition.
In addition, it should be noted that the playback speed is a parameter configured by the user and related to the video playback speed, and the user can increase or decrease the video playback speed by configuring the playback speed, and the playback speed range is generally 0.5 times to 2.0 times. Generally, the playing speed value is small, and the corresponding video playing speed is slow. The playing speed value is large, and the corresponding video playing speed is high. If 1.0X is the original normal video playing rate, the playing speed less than 1.0X is 0.5X or 0.75X, and the corresponding video playing rate is slower than the normal video playing rate, and the video playing rate corresponding to 0.5X is slower than the video playing rate corresponding to 0.75X. The playing speed greater than 1.0X playing speed value, such as 1.5X or 2.0X, is faster than the normal video playing speed, and the video playing speed corresponding to 2.0X is faster than the video playing speed corresponding to 1.5X.
For example, the playback speed of 0.5X is 0.5 times of the original playback speed, and the playback speed of 2.0X is 2 times of the original playback speed, such as 40 minutes is required to play the video a at 1.0X speed, 80 minutes may be required to finish playing the video a at 0.5X playback speed, and 20 minutes may be required to finish playing the video a at 2.0X playback speed.
Taking a video APP as an example, please refer to fig. 2a, as shown in fig. 2a, the interface for playing a video shows fixed speed options, where the fixed speed options include 0.75X, 1.0X, 1.25X, 1.5X, 2.0X, and the like. After a user selects a certain fixed double-speed option, in the process of playing the video, the video can be played at the fixed double-speed corresponding to the fixed double-speed option, if the configured double-speed value is not suitable for too high playing speed, the content which the user is interested in can be missed, if the user wants to watch the content carefully, the playing double-speed needs to be modified manually, and the progress bar is dragged to return to watch the content, so that the watching experience of the user can be reduced due to the complexity in operation. If the configured speed doubling value is not suitable for the playing speed, the playing speed is too low to meet the play refreshing requirement of the user, and the user can hardly control the playing speed.
In order to provide contents which are interested by a user in video playing, an existing client opens a TA option for the user to select, and taking a video APP as an example, three choices of only watching a main male clip, only watching a main female clip and only watching both the main male and female clips are provided in an interface of the video playing. Referring to fig. 2b, three options of only seeing the small bright segment, only seeing the small red segment, and only seeing the small bright & small red segment are provided in the interface of video playing as shown in fig. 2 b. When the user selects to only watch the TA, other important plots in the plot story can be missed, so that the plot is not consistent, the user may need to return to watch the complete video after selecting the content which is interested by the user to watch, and the user selects to watch the complete video to know the complete plot.
In the video playing process of the existing client, the display on the progress bar can only distinguish the viewed state from the unviewed state, taking the video APP as an example, please refer to fig. 2c, as shown in fig. 2c, the progress bar line corresponding to the unviewed video content in the interface of the video playing is thicker than the progress bar line corresponding to the viewed video content, or the progress bar line corresponding to the unviewed video content is gray, and the progress bar line corresponding to the viewed video content is yellow. The player progress bar of the video APP cannot prompt the user for a highlight scenario.
Based on this, the present application provides a video playing method, where a user may determine a target object according to a requirement of the user, and configure a corresponding playing double speed for the target object, so that in a process of playing a target video corresponding to the double speed configuration operation, a video clip including the target object is played according to a priority of the target object and the playing double speed of the target object.
Wherein the type of object includes a position or a character or an actor. The target object is an object selected by a user, the target object may be an object that is interested by the user, or an object that is not interested by the user, for example, the target object may be an object that is preferred by the user, or an object that is disliked by the user, or an object that is not interested by the user, the number of the target objects may include a plurality of target objects, different target objects may correspond to different playback speeds, and different target objects may also correspond to the same playback speed.
The user can play the content which is interested in himself according to the playing double speed (such as the playing double speed with smaller value) which he wants, and can also play the content which is not interested in himself according to the playing double speed (such as the playing double speed with larger value) which he wants. Illustratively, a user selects a favorite position or role or actor as a target object, configures a corresponding play speed for the target object, and plays a video segment including the target object at the configured play speed during video playing. The video clip not including the target object can be played at the original playing speed, and also can be configured with a certain default playing speed for playing. Therefore, the user can conveniently watch the favorite positions or roles or actors on the video APP in detail, and play uninterested positions or roles or actors or plots quickly.
The embodiment of the application provides a video playing method, which is executed by a video playing device. The functions of the video playing device can be realized by a software system, or by hardware equipment, or by a combination of a software system and hardware equipment.
When the video playing device is a software device, please refer to fig. 3, and fig. 3 is a schematic structural diagram of a video playing device according to an embodiment of the present application. The video playback device 30 may be logically divided into a plurality of modules, each of which may have different functions, the functions of each module being implemented by a processor in a computing device reading and executing instructions in a memory, and the computing device structure may be as the computing device 400 shown in fig. 4 below. Illustratively, the video playing apparatus may include a receiving module 301 and a playing module 302. In one specific implementation, the video playback device 30 may execute the contents described in steps S501 to S502, steps S801 to S802, steps S10 to S109, steps S110 to S1119, steps S120 to S1201, and steps S130 to S1301 described below, or execute the contents described in steps S141 to S143 described below. It should be noted that, in the embodiment of the present application, only the structure and the functional modules of the video playback device 30 are exemplarily divided, but the specific division is not limited at all.
The receiving module 301 is configured to receive a multiple speed configuration operation, where the multiple speed configuration operation is used to select a target object and configure a playback multiple speed for the target object.
In the embodiment of the application, when a user watches a video, the user can select a target object according to the requirement of the user, wherein the target object can be an object which is interested by the user or an object which is not interested by the user. The object types include positions, roles, and actors, the target object may be selected from various types, such as positions, one, two, three, etc., from roles, the protagonist, the andrias, the gynecox, or the names of the characters in the respective videos, such as Wei Xiaobao, etc., may be selected, from the actors, and the names of the respective actors, such as Chen Xiaogong, wang Xiaoming, etc., may be selected. The target object is selected from a plurality of objects by the user, and the target object can be a favorite position or a favorite character or an actor of the user or a favorite position or a favorite character or an actor of the user.
In this embodiment of the present application, after determining a target object, a user may configure a play double speed for the target object, where the play double speed may be in a conventional double speed range, such as 0.75X, 1.0X, 1.25X, 1.5X, 2.0X, and the like, or may be a customized play double speed, such as 2.5X.
In the embodiment of the present application, the user configuring the playing multiple speed for the target object may configure the playing multiple speed for the content of interest, such as a favorite position or a favorite character or a favorite actor. The user configures the playing speed for the target object and also configures the playing speed for the contents which are not interested by the user, such as a disliked position or a disliked character or a disliked actor. The user configures the playing double speed for the target object, and can configure corresponding playing double speeds for the content which is interested in and the content which is not interested in, for example, configures the playing double speed a for the favorite position or favorite role or favorite actor, and configures the playing double speed B for the favorite position or favorite role or favorite actor, wherein the playing double speed a and the playing double speed B can be different. When the content of interest to the user includes a plurality of objects, for example, when the number of actors liked by the user includes a plurality of objects, corresponding playing speeds may be configured for different actors, where the playing speeds configured for different actors may be different or the same. Similarly, when the content that is not interested by the user includes a plurality of objects, for example, when the number of the characters that the user dislikes includes a plurality of objects, the corresponding playing speed multiples can be configured for different characters, wherein the playing speed multiples configured for different characters can be different or the same.
The playing module 302 is configured to play a video clip including the target object according to the priority of the target object and the playing double speed of the target object in the process of playing the target video corresponding to the double speed configuration operation.
In the embodiment of the present application, a target video is determined according to a configuration target corresponding to the double-speed configuration operation, and if a play double-speed configuration operation is performed on a certain video, the video is the target video corresponding to the double-speed configuration operation. The configuration targets comprise single episode configuration, single play configuration, global configuration and default configuration, wherein the configuration on the configuration targets comprises single episode configuration for configuring single episode video, single play configuration for configuring single play, global configuration for configuring video client and default configuration for performing system default configuration on the video client.
In one possible implementation manner, after the video is requested to be played, the double-speed configuration operation is received, and the video requested to be played is the target video corresponding to the double-speed configuration operation. If the user clicks the video a on the terminal, after watching the video a for a certain time, the user configures the playing speed of the video a, the video playing device 30 receives a speed-doubling configuration operation, a target video corresponding to the speed-doubling configuration operation is the video a currently watched by the user, and the server returns video data or a video data storage address to the client according to the speed-doubling configuration operation, which is related to the target video a currently watched by the user.
In one possible implementation manner, the speed doubling configuration operation may be performed when the user requests to play the video, for example, when the user clicks the video a on the terminal and requests to play the video and the speed doubling configuration operation is performed at the same time, the video data or the video data storage address returned by the server is related to the video a.
In this embodiment of the application, the playing module 302 plays the video clip including the target object according to the playing double speed corresponding to the target object, that is, the user can configure the playing speed of the content that the user is interested in or configure the playing speed of the content that the user is not interested in according to the user's requirement.
Illustratively, the user configures three target objects for a target video, the first target object appearing in a video segment a from the first minute to the tenth minute, the second target object appearing in a video segment B from the eleventh minute to the twentieth minute, the third target object appearing in a video segment C from the twenty-first minute to the twenty-fifth minute, and no target object being included in a video segment D from the twenty-sixth minute to the thirty minute. And playing the video clip A at the playing double speed of the first target object, playing the video clip B at the playing double speed of the second target object, and playing the video clip C at the playing double speed of the third target object. The video segment D can be played at a default playback speed, such as 1.0X speed.
Optionally, the video playing apparatus 30 may further include a rendering module 303, where the rendering module 303 is configured to receive a progress bar rendering operation, and render the progress bar according to the playing double speed in response to the progress bar rendering operation.
In this embodiment of the application, when the progress bar rendering operation indicates rendering according to the playing double speed corresponding to the double-speed configuration operation, the rendering module 303 obtains the playing double speed corresponding to each video clip in the target video, and renders the progress bar according to the playing double speed corresponding to the video clip. Illustratively, if the user sets a playback speed twice as high as 0.75X and a playback speed twice as high as 1.25X, the video clip including twice is rendered in the first rendering manner, and the video clip including twice is rendered in the second rendering manner different from the first rendering manner.
In the embodiment of the application, when the progress bar rendering operation instruction is rendered according to the playing double speed set by other users, the playing double speed data of other users are obtained, wherein the playing double speed data of other users comprise the playing double speed data of other users for playing the target video, and the progress bar is rendered according to the playing double speed data of other users. And acquiring the playing speed of the big data, and rendering in different rendering modes at different playing speeds.
In the embodiment of the present application, the video playing apparatus 30 described above can be flexibly deployed. The video playback device 30 may be deployed in the terminal 102, and in one possible implementation, the video playback device 30 may also be deployed in the client 112. When the video playing apparatus is a hardware device, the video playing apparatus may be a computing device in the video playing application scenario shown in fig. 1, and may be, for example, the terminal described above.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a computing device according to an embodiment of the present disclosure. The computing device 400 includes a processor 401, a communication bus 402, a memory 403, and at least one communication interface 404.
The processor 401 may be a general-purpose Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Graphics Processing Unit (GPU), or any combination thereof. The processor 401 may include one or more chips, and the processor 401 may include an AI accelerator, such as: a neural Network Processor (NPU).
The Memory 403 may be, but is not limited to, a Read-Only Memory (ROM) or other type of static storage device that can store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that can store information and instructions, an Electrically Erasable Programmable Read-Only Memory (EEPROM), a Compact Disc Read-Only Memory (CD-ROM) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 403 may be separate and coupled to the processor 401 through a communication bus 402. The memory 403 may also be integrated with the processor 401. The memory 403 may store computer instructions that, when executed by the processor 401, may implement the video playback method of the present application. In addition, the memory 403 may also store data required by the processor in performing the methods described below, as well as intermediate data and/or result data generated thereby.
Communication interface 404, using any transceiver or like device for communicating with other devices or communication Networks, such as ethernet, radio Access Network (RAN), wireless Local Area Network (WLAN), etc.
In particular implementations, processor 401 may include one or more CPUs, as one embodiment.
In particular implementations, a computer device may include multiple processors, as one embodiment. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
Next, a video playing method provided in the embodiment of the present application is described.
Flowcharts are used herein to illustrate operations performed by a video playback device according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously, as desired. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
Referring to fig. 5, fig. 5 is a schematic flowchart illustrating a video playing method according to an embodiment of the present disclosure. The video playing method can be executed by the video playing device, and the method comprises the following steps:
step S501: receiving a double-speed configuration operation, wherein the double-speed configuration operation is used for selecting a target object and configuring a playing double-speed for the target object.
In this embodiment of the present application, the video playing apparatus may provide an interactive interface, where the interactive interface includes a speed doubling configuration item, and when a user opens a video or is watching a video, the user operates the speed doubling configuration item on the interactive interface to select a target object and configure a corresponding playing speed for the target object, so that the video playing apparatus may receive a speed doubling configuration operation input by the user.
Taking the example that the video playing apparatus is deployed at the client, which is realized as a video APP, please refer to fig. 6, the desktop 600 may include a status bar 601, a Dock bar 602, and icons of a plurality of applications, such as an icon of a weather, an icon of a map, and an icon of a video APP. The status bar 601 may include time, signal strength (e.g., wi-Fi icon), current remaining power, and the like. In addition, it is understood that in other embodiments, a bluetooth icon, an alarm icon, an external device icon, and the like may be included in the status bar 601. The Dock column 602 may include icons of commonly used applications (apps), such as an icon of a dial, an icon of a short message, and an icon of a camera.
Illustratively, the user clicks an icon for a video APP, and the terminal displays a video application interface 603, as shown in fig. 6. The huashi video application interface 603 includes a video a, a video B, a video C, and a video D, when a user clicks the video a, the terminal sends a video playing request to the server, where the video playing request is used to request video content related to the video a, and the server returns the video of the video playing request to the terminal, for example, returns video data related to the video a to the terminal. The terminal plays the video a according to the received video data of the video a, as shown in fig. 7a, the terminal displays an interactive interface 71 for playing the video a, and the interactive interface 71 includes a video frame 72, a progress bar 73, a progress bar rendering item 74, an option item 75, a double-speed configuration item 76, and a play definition item 77. Wherein, the video frame 72 displayed on the interactive interface 71 is a video frame of the video a, and the progress bar 73 shows the current viewing condition and the duration of the video, for example, the duration of the video can be 44 minutes and 7 seconds through the progress bar 73, 5 minutes and 41 seconds on the progress bar 73 can indicate that the user has viewed 5 minutes and 41 seconds, or the video frame of the current frame is a video frame at the position of 41 seconds at 5 minutes in the whole video. The progress bar rendering item 74 is used for starting progress bar rendering, and after the progress bar rendering item 74 is opened, the progress bar rendering can be performed through the video playing method provided by the embodiment of the application. The album selection item 75 is used to select the number of albums to play, e.g., a first album, a second album, etc. The multiple speed configuration item 76 is used to select a target object and configure a playing multiple speed for the target object, and may be configured by the video playing multiple speed configuration method provided in the embodiment of the present application. The play definition item 77 is used to select video play definition, such as super definition. In one possible implementation manner, the system further comprises a playing control and a next set control, wherein the playing control is used for controlling video playing or pausing. The next set of controls is used to control the playing of the next set of videos. In other embodiments, the interactive interface 71 may further include other controls or configuration items, and the specific implementation forms of the video screen 72, the progress bar 73, the progress bar rendering item 74, the option item 75, the double speed configuration item 76, and the play definition item 77 on the interactive interface 71 may also be other forms, which is not specifically limited in this application.
Referring to fig. 7a, the user may operate the multiple speed configuration item 76, such as clicking or pressing the multiple speed configuration item 76, and further may present a multiple speed configuration window, and the multiple speed configuration window is operated to implement the multiple speed configuration operation. The user slides the interactive interface 71 in the angular directions such as left and right, up and down, and the double-speed configuration can be performed. Referring to fig. 7b, the user displays the terminal device horizontally, and slides from the right to the left, that is, slides along the direction "←", to pull out the double-speed configuration window 78, and presents the double-speed configuration window 78 on the interactive interface 71, and the user operates the double-speed configuration window 78 to implement the double-speed configuration operation.
Referring also to fig. 7c, a multiple speed configuration window 78 is presented on the interactive interface 71, where the multiple speed configuration window 78 includes a single set configuration selectable item 701, a single play configuration selectable item 702, a global configuration selectable item 703, a default configuration switch item 704, an object selectable item 705, and a progress bar rendering item 74.
The single-set configuration selectable item 701 is used for configuring a single-set video, for example, performing playback speed configuration on a currently played set number of videos, and it can be understood that operating the single-set configuration selectable item 701 results in configuration content of the single-set configuration, where the configuration content of the single-set configuration is only valid for the set number of videos. If the single episode configuration is performed on the third episode of the series B to obtain the configuration content a configured by the single episode, the configuration content a configured by the single episode is valid only for the third episode of the series B, is invalid for other episodes of the series B, and is also invalid for other episode videos of other episodes, such as the third episode.
Wherein the single play configuration selectable item 702 is for configuring a single play, wherein the single play may comprise, for example, a tv play, a fanny or a movie, etc. It will be appreciated that configuring the selectable item 701 for a single episode results in configuring content for a single-play configuration that is valid only for that episode number of videos. If the single-play configuration is performed when the third episode of the series B is played, to obtain the configuration content C of the single-play configuration, the configuration content C of the single-play configuration is only valid for the series B, that is, the configuration content C includes all the episode videos of the series B, such as the first episode or the last episode. But is not valid for plays other than tv play B.
The global configuration selectable item 703 is used for configuring the video client, the video client is the client described above, and may include a video APP, a web browser, and the like, taking hua as the video APP as an example, when using hua as the video APP to play the video a, the global configuration selectable item 703 is operated to perform global configuration, so as to obtain the configuration content D of global configuration, which is only valid for the current video client (hua as the video APP), i.e., valid for all videos, all dramas, movies, and the like in hua as the video APP, and invalid for video APPs other than hua as the video APP, i.e., the configuration content D of global configuration cannot be applied to other video APPs.
The default configuration switch item 704 is also a default configuration for the video client. The default configuration switch item 704 configures the video client as the global configuration selectable item 703, but the difference is that the default configuration switch item 704 configures the video client with the default configuration content of the system, and the global configuration selectable item 703 configures the video client with the user-defined configuration content. Illustratively, when playing the video a by using the huawei video APP, the default configuration switch item 704 is operated to perform default configuration, so as to obtain the configuration content E of the default configuration, where the configuration content E of the default configuration is default for the target object and the playback multiple speed configured for the target object. The configuration content E of the default configuration is only valid for the current video client (hua is a video APP), that is, valid for all videos, all dramas, fantasy, movies, and the like in hua is a video APP, and invalid for video APPs other than hua is a video APP, that is, the configuration content E of the full default configuration cannot be applied to other video APPs.
Wherein the object selectable item 705 is used to select the type of target object. The types of target objects include positions, characters, and actors. After the user operates the object selectable item 705, the corresponding object may be selected from the object selectable item 705, for example, the user selects two positions, each position may be represented by one, two, three, and the like, and the user may determine the target object from each position. The user selects a role, can show each role in the target video, such as Wei Xiaobao or longevity, and the user can determine the target object from each role. The user selects actors, and various actors in the target video, such as Chen Xiaogong, cheng Xiaoming, etc., may be presented, and the user may determine target objects from the various actors.
Wherein the progress bar rendering item 74 is used to initiate progress bar rendering. After the progress bar rendering item 74 is operated, rendering of the progress bar is started, and the progress bar may be rendered according to personal preference or big data.
Illustratively, referring also to FIG. 7d, the user operates an object selectable item 705 that shows the position, role, and actor, and clicks on the position to select the object type as the position. The user operates on the single set configuration selectable item 701 to perform single set configuration, the user clicks on the single set configuration selectable item 701 to reveal a double speed selectable box 706, the objects in the double speed selectable box 706 include one, two, and three, the double speed range of one includes 0.75X, 1.0X, 1.25X and custom, the double speed range of two includes 0.75X, 1.0X, 1.25X and custom, the double speed range of three includes 0.75X, 1.0X, 1.25X and custom, and further includes a "more" option. By operating the "more" option, more bits can be selected, such as four, five, etc. The playing speed, such as 2.5X, can be configured by the user in a customized manner. It is to be appreciated that upon determining that the object type is fanfold, the user can operate on the theatrical configuration selectable item 702, such as clicking on the theatrical configuration selectable item 702, to reveal a double speed selectable box 706, the object of which double speed selectable box 706 includes one, two, three, and the double speed range includes 0.75X, 1.0X, 1.25X, and custom.
It will be appreciated that the single episode configuration selectable item 701, the single drama configuration selectable item 702, and the global configuration selectable item 703 present double speed selectable boxes 706 of similar content upon determination of the object type. After the object type is changed to role, the objects in double speed selectable box 706 may include principal male, principal female, and second male, the double speed range of principal male includes 0.75X, 1.0X, 1.25X and self-definition, the double speed range of principal female includes 0.75X, 1.0X, 1.25X and self-definition, and the double speed range of second male includes 0.75X, 1.0X, 1.25X and self-definition, and further includes "more" option. By operating the "more" option, more digits, such as lady two, lady three, etc., can be selected. The playing speed, such as 2.5X, can be configured by the user in a customized manner.
In one possible implementation, the object selectable item 705 may not be deployed on the interactive interface 71, and the type of object may be defaulted. If the type of the default object is double-position, the user may click on the single-episode configuration option 701, the single-episode configuration option 702, the global configuration option 703, or the default configuration switch 704 when performing the playback multiple-speed setting, and further may select a target object that he wants to select from the selectable double-position, such as selecting one or two times. If the default object is a role, when the play double speed setting is performed, the user can click on the single set configuration selectable item 701, the single play configuration selectable item 702, the global configuration selectable item 703 or the default configuration switch item 704, and further can select a target object which the user wants to select from the selectable role list, such as Wei Xiaobao or kangxi. If the default object is an actor, when the playback multiple speed setting is performed, the user may click on the single episode configuration selectable item 701, the single episode configuration selectable item 702, the global configuration selectable item 703, or the default configuration switch item 704, and further may select a target object that the user wants to select from a list of selectable actors, such as selecting pinkish red or pinkish.
It will be appreciated that more selectable objects are provided in the single episode configuration than in the single episode configuration, as opposed to the single episode configuration of the first episode, which may also include positions or characters or actors not present in the first episode. The selectable objects provided in the global configuration are different from those provided in the single play or single episode configurations and typically will be more than those provided in the single play or single episode configurations, e.g., three of the other plays may also be provided in the global configuration relative to one single play configuration that includes one and two plays. The global configuration may also provide the role of second and third females of other television shows relative to a single show configuration that includes a master, a master and a second male television show. The global configuration may also provide the xiaoli, small south actors for other series, as opposed to a single series configuration that includes a minired, minibright, and small military actor series.
In the embodiment of the present application, the user selects a target object through a multiple speed configuration item 76 provided in the interactive interface 71 and configures a corresponding playback multiple speed for the target object. After the double-speed configuration item 76 is triggered, one or more of a single-episode configuration option 701, a single-episode configuration option 702, a global configuration option 703, a default configuration switch item 704 and an object option 705 can be specifically included. The type of the object is determined by the object selectable item 705, and further the target object is determined in cooperation with the singleton configuration selectable item 701, the singleton configuration selectable item 702, the global configuration selectable item 703, or the default configuration switch item 704 and the corresponding playback multiple speed is configured for the target object.
It should be noted that the specific implementation of the multiple speed configuration item 76 is not limited to the implementation of the single episode configuration option 701, the single episode configuration option 702, the global configuration option 703, the default configuration switch item 704, and the object option 705 described above, and this application is not limited in this respect.
Step S502: and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
In this embodiment of the present application, the speed doubling configuration operation input by the user is configured for a certain video or multiple videos, and the certain video or multiple videos are videos corresponding to the speed doubling configuration operation. It can be understood that the speed doubling configuration operation is valid for a certain video, and the video is the video corresponding to the speed doubling configuration operation.
In one possible implementation manner, the video corresponding to the double-speed configuration operation is related to a video requested to be played by a user, the user requests to play the video, and the double-speed configuration operation is performed on the video, so that the video requested to be played by the user is the video corresponding to the double-speed configuration operation.
An example of a video corresponding to the double speed configuration operation is given below:
in an example, a user opens a video a and performs a double-speed configuration operation at the same time, the double-speed configuration operation is configured for the video a, that is, the double-speed configuration operation is effective for the video a, and the video a is a video corresponding to the double-speed configuration operation.
In the second example, the user opens the video a, and performs the speed doubling configuration operation when watching the video a, where the speed doubling configuration operation is configured for the video a, that is, the speed doubling configuration is effective for the video a, and the video a is a video corresponding to the speed doubling configuration operation.
In the third example, if the user opens the video B and performs global configuration or default configuration, the global configuration or default configuration is the configuration performed for the video B, that is, the global configuration or default configuration is valid for the video B, and the video B is the video corresponding to the double-speed configuration operation.
Fourth, on the basis of the third example, the user turns off the video B and turns on the video C, and if the user does not change the playback double-speed configuration, the global configuration or the default configuration is also configured for the video C, that is, the global configuration or the default configuration is valid for the video C, and the video C is a video corresponding to the double-speed configuration operation.
Example five, on the basis of example three, when the user opens the video B, or after the user opens the video B, the user opens the video C again, and two videos are simultaneously opened on the video APP playing interface, the global configuration or the default configuration configures the video B and the video C, that is, the global configuration or the default configuration is effective for the video B and the video C, and the video B and the video C are both videos corresponding to the double-speed configuration operation.
Example six, when the user opens the video B, the single set configuration or the single play configuration is performed, the user opens the video C again, the user does not perform playback double-speed configuration on the video C, and two videos are played simultaneously on the video APP playback interface, the single set configuration or the single play configuration configures the video B, that is, the single set configuration or the single play configuration is valid for the video B, and the single set configuration or the single play configuration is invalid for the video C, and the video B is a video corresponding to the single set configuration or the single play configuration.
It can be understood that the target video is a video corresponding to the double-speed configuration operation, and the target video is a currently played video, that is, a video corresponding to the currently played double-speed configuration operation. Taking the fifth example as an example, the video B and the video C are both videos corresponding to the double-speed configuration operation, but the video currently watched by the user is the video B, and the video C runs in the background, so the video B is the target video.
In this embodiment, the priority of the target object may be set or defaulted by the user, and for the two positions, the priority of one time may be defaulted to be greater than two times, the priority of two times may be greater than three times, the priority of three times may be greater than four times, and the like. For roles, it may be default that the principal has a priority greater than the subordinate.
In this embodiment of the application, the interactive interface 71 further includes a priority configuration item, for example, after the user operates the object selectable item 705, for example, after the user selects a double position, the user configures the corresponding playback double speed for one, two, three, four, etc. according to the personal preference requirement, the user may configure the priority configuration item according to the personal preference requirement, for example, the priority configuration item includes four priority options of a highest priority option, a high priority option, a medium priority option, and a lowest priority option, the user clicks the highest priority option and then appears four objects of one, two, three, and four, and the user selects two, then the priority of two is the highest priority. After the user clicks the high-priority option, three objects, namely one object, three objects and four objects appear, and if the user selects one object, the priority of the one object is high. The priority of two is higher than the priority of one.
It is understood that the priority configuration items include, but are not limited to, four priority options of highest priority, high priority, medium priority, and lowest priority. In one possible implementation manner, the priority configuration item may be configured correspondingly according to the number of the target objects selected by the user, for example, if the user selects three target objects, and if the user configures a play double speed for hero, hero and hero, the priority configuration item may provide three priority options, such as a high priority option, a medium priority option and a low priority option. It will be appreciated that the number of options provided in the priority configuration item is not less than the number of target objects selected by the user.
It is understood that the number of objects provided by each priority option may not be less than the number of objects selected by the user, and if the user configures the playback speed for four target objects, the number of objects provided by each priority option is not less than four, and if four objects appear after the highest priority option, the user selects one object, and if the user has set the priority of one object to be the highest priority, three objects appear in the high priority option, the user selects three objects in the first object, the second object, the third object, and the fourth object.
In the embodiment of the present application, the video clip including the target object is played according to the playback speed of the target object, and the video clip not including the target object may be played according to a system default playback speed or a default playback speed set by a user. If the default playing speed is 1.0X when the user requests to play the video, the video clip not including the target object is played at 1.0X playing speed.
In the embodiment of the present application, a video segment includes a plurality of consecutive video frames, and when each video frame in a video segment includes the target object, the video segment includes the target object. Illustratively, one video includes 10N video frames, the 5N th to 6N video frames include the target object, and the video frames before the 5N th and after the 6N th video frames do not include the target object, so that the video segments corresponding to the 5N th to 6N video frames are the video segments including the target object.
In one possible implementation manner, in the process of playing the target video corresponding to the double-speed configuration operation, playing the video segment including the target object according to the priority of the target object and the playing double-speed of the target object includes: according to the priority of the target object, taking the target object with high priority as a first target object; and playing the video clip comprising the first target object according to the playing double speed corresponding to the first target object. Wherein, according to the priority of the target object, taking the target object with high priority as the first target object comprises: for each video frame of the target video, when only one target object is included in the video frame, taking the target object as a first target object with high priority; and for each video frame of the target video, when the video frame comprises a plurality of target objects, taking the target object with high priority in the video frame as a first target object.
In the embodiment of the present application, a user sets a plurality of target objects, and for each video frame of the target video, a plurality of objects are included in the video frame, but when only one target object is included in the plurality of objects, the target object is taken as a first target object with a high priority. Illustratively, if the user configures the playback speed for the hero, the hero is a target object, and three objects of the hero, the hero and the second hero are included in a certain video frame of the target video, but only one target object is included for the video frame, the hero is taken as a first target object with high priority, the video frame is played at the playback speed of the hero, a plurality of consecutive video frames only including the hero constitute a video clip including the hero, and the video clip is played at the playback speed of the hero.
In this embodiment of the application, for each video frame of the target video, when the video frame includes a plurality of target objects, the priorities of the plurality of target objects are compared according to the priorities of the target objects, and a target object with a higher priority in a comparison result is taken as a first target object. Illustratively, the user configures the playback speed for the leading role, the leading role and the leading role respectively, and among the priorities of the target objects set by the user, the priority of the leading role is greater than that of the leading role and the leading role, so that the target object with high priority can be obtained as the leading role, the leading role is taken as the first target object with high priority, the video frame is played at the playback speed of the leading role, a plurality of continuous video frames only including the leading role form a video clip including the leading role, and the video clip is played at the playback speed of the leading role.
In the present application, for a video frame in which a target object appears, the video frame is played according to the priority of the target object and the playback speed of the target object, and the standard based on movie projection is to project 24 video frames per second, and it can be understood that the number of video frames in a video per second includes a plurality. The number of video frames in the video clip including the target object includes a plurality. The length of the video segment including the target object may be divided according to actual situations, and may be one second or one minute, and the like, which is not specifically limited in the present application.
In one possible implementation manner, the number of the target objects includes one, and playing the video segment including the target object according to the priority of the target object and the playing double speed of the target object during playing the target video corresponding to the double speed configuration operation includes: and taking the target object as a first target object, and playing the video clip comprising the first target object according to the playing double speed of the first target object.
In the embodiment of the application, a user only sets one target object, directly uses the target object as a first target object, and plays a video clip including the first target object according to the play double speed of the first target object. Illustratively, for a certain episode of television, the user only selects the female hero as the target object and configures the playing double speed, the female hero is the first target object, and when playing the episode of television, the video segments including the female hero are played at the playing double speed corresponding to the female hero.
Illustratively, for the target video, the user configures the playing speed to be K for the target object a, configures the playing speed to be J for the target object B, configures the playing speed to be L for the target object C, and sets the priority of the target object to be a greater than B and B greater than C. The video clip O from the 1 st second to the nth second includes a target object a, the video clip P from the N +1 st second to the 2 nth second includes a target object a and a target object B, the video clip Q from the 2nth +1 st second to the 3 nth second includes a target object B and a target object C, and the video clip M from the 3n +1 st second to the 4 nth second does not include any target object, that is, the target object a, the target object B, and the target object C do not appear in each video frame of the video clip M. When playing the video segment O, the player plays according to the playing speed K, when playing the video segment P, the priority based on a is greater than B, the player plays according to the playing speed K, when playing the video segment Q, the priority based on B is greater than C, the player plays according to the playing speed J, when playing the video segment M, the player plays based on the default playing speed or the default playing speed set by the user based on that the video segment does not include the target object.
The following briefly describes an application scenario of the playback multiple speed configuration:
scene one, default double-speed configuration with double-bit as type, or user operation on the object selectable item 705 on the interactive interface 71 to select double-bit. The user clicks the single set configuration selectable item 701 to display selectable double bits and a corresponding selectable double speed range, as shown in fig. 7d, the selectable double bits include one, two, and three, and further, more selectable double bits may be obtained by clicking the "more" option to allow the user to perform double speed configuration on more double bits, for example, four or five double speed configurations may be performed on the playing of the double bits. The selectable multiple speed ranges include 0.75X, 1.0X, 1.25X and custom, each selectable double digit has its corresponding selectable multiple speed range, for example, a double speed range includes 0.75X, 1.0X, 1.25X and custom, and a triple speed range includes 0.75X, 1.0X, 1.25X and custom, wherein 0.75X is selected in a double speed range, i.e., video frames including an actor are played at 0.75 multiple speed. And selecting 1.0X within a speed range corresponding to one actor, namely playing the video frames comprising one actor at the speed of 1.0X. The user can input the playing speed value by self.
In scenario two, the role is defaulted to double-speed configuration, or the user operates the object selectable item 705 on the interactive interface 71 to select the role. The user clicks the single set configuration selectable item 701 to display selectable roles and corresponding selectable multiple speed ranges, wherein the selectable roles comprise Wei Xiaobao, kangxi and Jianning principals, and more selectable roles can be obtained by clicking the 'more' option to enable the user to perform playing multiple speed configuration on more roles, for example, playing multiple speed configuration can be performed on a double-child or a public sea. The selectable multiple speed ranges include 0.75X, 1.0X, 1.25X and custom, each selectable character has its corresponding selectable multiple speed range, for example, the multiple speed range of Wei Xiaobao includes 0.75X, 1.0X, 1.25X and custom, the multiple speed range of conxi includes 0.75X, 1.0X, 1.25X and custom, and the multiple speed range of jianing princess includes 0.75X, 1.0X, 1.25X and custom, wherein 0.75X is selected in the multiple speed range corresponding to Wei Xiaobao, that is, a video frame including Wei Xiaobao is played at 0.75 multiple speed. And 1.0X is selected in the double speed range corresponding to Wei Xiaobao, namely video frames comprising Wei Xiaobao are played at 1.0X speed. The user can input the playing speed multiplication value by himself.
Scene three, default to multiple speed configuration with the actor as a type, or the user selects the actor by operating on an object selectable item 705 on the interactive interface 71. The user clicks the single set configuration selectable item 701 to display a selectable actor list and a corresponding selectable multiple speed range, wherein the selectable actor list comprises Chen Xiaochun, ma Junwei and Chen Shaoxia, and can further obtain more selectable actors by clicking a 'more' option to enable the user to perform play multiple speed configuration on more actors, such as trabecular ice or Feng Xiaowen. The selectable multiple speed ranges include 0.75X, 1.0X, 1.25X and custom, each selectable actor has its corresponding selectable multiple speed range, e.g., chen Xiaochun has a multiple speed range including 0.75X, 1.0X, 1.25X and custom, ma Junwei has a multiple speed range including 0.75X, 1.0X, 1.25X and custom, chen Shaoxia has a multiple speed range including 0.75X, 1.0X, 1.25X and custom, wherein 0.75X is selected in the multiple speed range corresponding to Chen Xiaochun, i.e., a video frame including Chen Xiaochun is played at 0.75 multiple speed. And 1.0X is selected in the double speed range corresponding to Chen Xiaochun, namely video frames comprising Chen Xiaochun are played at 1.0X speed. The user can input the playing speed multiplication value by himself.
Scene four, when the user clicks the single play configuration selectable item 702, if the single play configuration selectable item is of type with double digits, double speed selectable ranges including 0.75X, 1.0X, 1.25X and customization can be presented, double speed selectable ranges including 0.75X, 1.0X, 1.25X and customization, and triple speed selectable ranges including 0.75X, 1.0X, 1.25X and customization. More bits may also be selected via the "more" option. If the role is taken as the type, the selectable speed ranges of Wei Xiaobao can be presented to comprise 0.75X, 1.0X, 1.25X and self-definition, the selectable speed range of Kangxi comprises 0.75X, 1.0X, 1.25X and self-definition, and the selectable speed range of Jianning princess comprises 0.75X, 1.0X, 1.25X and self-definition. More roles can also be selected via the "more" option. If the actor is a type, the multiple speed selectable range of Chen Xiaochun can be presented including 0.75X, 1.0X, 1.25X and custom, the multiple speed selectable range of Ma Junwei includes 0.75X, 1.0X, 1.25X and custom, and the multiple speed selectable range of Chen Shaoxia includes 0.75X, 1.0X, 1.25X and custom. More roles can also be selected via the "more" option. The content configured for the single-play configuration selectable item 702 is effective for the single-play, and for example, when the single-play configuration is performed when a certain episode of the 'luding ji' is played, the content configured for the single-play is applicable to the 'luding ji' whole tv play. That is, if 0.75X playback speed is allocated for Chen Xiaochun, 1.25X playback speed is allocated for Ma Junwei, and other characters are not set, the playback speed contents for the whole drama in luding ji are Chen Xiaochun 0.75.75X playback speed and Ma Junwei 1.25.25X playback speed.
In scenario five, when the user clicks the global configuration selectable item 703, if the dimension is two times, two times of speed selectable ranges including 0.75X, 1.0X, 1.25X, and customization can be presented, two times of speed selectable ranges including 0.75X, 1.0X, 1.25X, and customization, and three times of speed selectable ranges including 0.75X, 1.0X, 1.25X, and customization. More bits can also be selected by the "more" option. If the role is used as the dimension, the speed selectable range of the male owner comprises 0.75X, 1.0X, 1.25X and self-definition, the speed selectable range of the female owner comprises 0.75X, 1.0X, 1.25X and self-definition, and the speed selectable range of the male owner comprises 0.75X, 1.0X, 1.25X and self-definition. More roles may also be selected via the "more" option. If the actor is the dimension, the multiple speed selectable range of Chen Xiaochun can be presented including 0.75X, 1.0X, 1.25X and customization, the multiple speed selectable range of Ma Junwei includes 0.75X, 1.0X, 1.25X and customization, and the multiple speed selectable range of Chen Shaoxia includes 0.75X, 1.0X, 1.25X and customization. More roles can also be selected via the "more" option. If global configuration is performed when a certain set of 'Luding Ji' is played on Huawei video APP, the content of the global configuration is applicable to the client, namely only applicable to Huawei video APP and not applicable to other video APPs. If 0.75X playback speed is configured for Chen Xiaochun, 1.25X playback speed is configured for Ma Junwei, and other characters are not set, 0.75X playback speed is set for Chen Xiaochun video segments, 1.25X playback speed is set for Ma Junwei video segments, 0.75X playback speed is set for Chen Xiaochun video segments, and 1.25X playback speed is set for Ma Junwei video segments, such as Ma Junwei videos, except "luding ji" drama, and drama or a movie performed in little spring. If 0.75X playback speed is configured for one time, 1.25X playback speed is configured for two times, and the other positions are not set, 0.75X playback speed is set for the first time video segment, 1.25X playback speed is set for the second time video segment, 0.75X playback speed is set for the first time video segment of other dramas or movies except "ding lu ji" drama, and 1.25X playback speed is set for the second time video segment of other dramas or movies.
In scenario six, when the user clicks the default configuration switch item 704, if the dimensions of the two bits are used, the playing speed of all the two bits is fixed, such as one time fixed to 0.75X, and two times fixed to 1.0X. If the role is taken as the dimension, the playing speed of all the roles is fixed, for example, the principal angle is fixed to 0.75X, and the parietal angle is fixed to 1.0X. If the actor is taken as the dimension, actor information is read from the actor list, the actor with high heat is fixed to be 0.75X, and the actor with low heat is fixed to be 1.0X. The configuration content of the default configuration is valid only for the client currently receiving the default configuration operation.
The following briefly describes an application scenario for playing video:
and a seventh scenario, when the user plays the first album of the 'deer Ding Ji', configuring a single album, configuring a 0.75X playing double speed for one album, configuring a 1.25X playing double speed for two albums, and not setting other positions, wherein the content configured by the single album is the 0.75X playing double speed for one album, the 1.25X playing double speed for two albums is only effective for the first album of the 'deer Ding Ji', is ineffective for other albums of the 'deer Ding Ji', is ineffective for other videos such as other TV series, movies or fantasy series, and when the first album is played, the video segment including the one actor is played at the 0.75X playing double speed, the video segment including the two actors is played at the 1.25X playing speed, and the video segment not including the one album or two albums can be played at the default playing double speed, such as 1.0X playing double speed. If the priority of one video segment is set to be greater than that of two video segments, the video segments including one video segment and two video segments are played at 0.75X playing speed.
In a scene eight, when a user plays a first episode of the deer ancient character record, a single-episode configuration is performed, 0.75-X playing speed is configured for Wei Xiaobao, 1.25-X playing speed is configured for kangxi, and other roles are not set, so that the content configured for the single-episode is Wei Xiaobao 0.75.75-X playing speed, kangxi 1.25-X playing speed is only effective for the first episode of the deer ancient character record, is ineffective for the other episodes of the deer ancient character record, is ineffective for other videos such as other television series, movies or fantasy series, and when the first episode is played, a video clip including Wei Xiaobao is played at 0.75-X playing speed, a video clip including kangxi actor at 1.25-X playing speed, and a video clip not including Wei Xiaobao or kangxi actor at default playing speed, such as 1.0-X playing speed. And playing the video clips comprising Wei Xiaobao and the Kangxi according to the priority of the target object, and if the Kangxi priority is set to be higher than Wei Xiaobao, playing the video clips comprising Wei Xiaobao and the Kangxi at 1.25X playing speed.
In a ninth scenario, when a user plays a first episode of 'luding ji', a single episode configuration is performed, a playing double speed of 0.75X is configured for Chen Xiaochun, a playing double speed of 1.25X is configured for Ma Junwei, and other roles are not set, so that the content configured by the single episode, namely the playing double speed of Chen Xiaochun 0.75.75X is configured, ma Junwei 1.25X playing double speed is only effective for the first episode of 'luding ji', is ineffective for the other episodes of 'luding ji', is ineffective for other videos such as other television dramas, movies or fantasy dramas well, and when the first episode is played, a video clip including Chen Xiaochun is played at 0.75X playing double speed, a video clip including Ma Junwei is played at 1.25X playing double speed, and a video clip not including Chen Xiaochun or Ma Junwei can be played at a default double speed, such as a video clip of which can be played at a default double speed of 1.0. For the video clips comprising Chen Xiaochun and Ma Junwei, the video clips are played according to the priority of the target object, and if Chen Xiaochun is set to have the priority higher than Ma Junwei, the video clips comprising Chen Xiaochun and Ma Junwei are played at 0.75X playing speed.
And a tenth scene, wherein the user configures three target objects for the video a, a first target object appears from the first minute to the fifth minute of the video a, a second target object appears from the sixth minute to the tenth minute of the video a, a third target object appears from the eleventh minute to the twentieth minute of the video a, the first target object has a playback speed of 1.0X, the first target object has a playback speed of 1.25X, the first target object has a playback speed of 2.0X, when the video a is played, the video clips from the first minute to the fifth minute are played at the playback speed of 1.0X, the video clips from the sixth minute to the tenth minute are played at the playback speed of 1.25X, and the video clips from the eleventh minute to the twentieth minute are played at the playback speed of 2.0X.
In a eleventh scenario, the user configures a target object for the video B, where the target object appears only in the first minute to the fifth minute of the video B, the target object does not appear in the video frames of the sixth minute to the twentieth minute of the video B, and the playback speed of the target object is 0.75X, then when playing the video B, the video clip of the first minute to the fifth minute is played at the playback speed of 0.75X, and the video clip of the sixth minute to the tenth minute is played at the default playback speed, such as 1.0X.
And a twelfth scene, wherein the user configures two target objects for the video C, a first target object appears from the first minute to the fifth minute of the video C, a second target object appears from the sixth minute to the tenth minute of the video C, the first target object and the second target object appear from the eleventh minute to the twentieth minute of the video C, the first target object has a playback speed of 1.0X, the first target object has a playback speed of 1.25X, the first target object has a priority lower than the second target object, the video C is played at a playback speed of 1.0X for a video clip from the first minute to the fifth minute, the video clip from the sixth minute to the tenth minute is played at a playback speed of 1.25X, and the video clip from the eleventh minute to the twentieth minute is played at a playback speed of 1.25X.
Referring to fig. 8, fig. 8 is a schematic flow chart illustrating another video playing method according to an embodiment of the present application. The video playing method can be executed by the video playing device, and the method comprises the following steps:
step S801: a progress bar rendering operation is received.
In this embodiment of the application, the video playing apparatus may provide an interactive interface, where the interactive interface includes a progress bar rendering item, and when a user opens a video or is watching a video, the user operates the progress bar rendering item on the interactive interface to start progress bar rendering, and the video playing apparatus receives the progress bar rendering operation.
Referring to fig. 7a to 7d, the progress bar rendering item 74 may be set as a switch item, and when the progress bar rendering item 74 is clicked, the video playing apparatus receives a progress bar rendering operation to start the progress bar rendering.
Step S802: and responding to the progress bar rendering operation, and rendering the progress bar according to the playing speed.
In this embodiment of the application, in response to the progress bar rendering operation, the progress bar is rendered according to the playing speed, that is, the playing speed is different, rendering modes of the rendering progress bar are different, that is, presentation modes of the progress bar corresponding to different playing speeds are different, and if different identifiers are rendered for different playing speeds, the identifiers may include identifiers of colors or dot-shaped symbols, and the like. The dot symbol marks may include a dot mark (●), a triangle mark (a), a star mark (major), or other marks (e.g.,) and the like. If the video clip with the double speed of more than or equal to 1.75X is played, determining that the video clip corresponds to an area on the progress bar, and configuring the area to be green; if the video clip with the playing speed being more than or equal to 1.25X and less than 1.75X is played, determining that the video clip corresponds to an area on the progress bar, and configuring the area to be blue; if the video clip with the double speed of more than or equal to 1.0X and less than 1.25X is played, determining that the video clip corresponds to an area on the progress bar, and configuring the area to be red; and if the video clip with the playing speed less than 1.0X is played, determining that the video clip corresponds to an area on the progress bar, and configuring the area as purple.
Referring to fig. 9a, after the user opens the progress bar rendering item 74, the user can present two rendering manners, namely, the personal preference rendering item 731 and the big data rendering item 732 on the interactive interface 71 by pressing the progress bar 73 for a long time, and the final rendering results of the progress bars presented by different rendering manners may be different for the same target video. The user clicks the personal preference rendering item 731, and renders the progress bar according to the personal preference, and the user clicks the big data rendering item 732, and renders the progress bar according to the big data. The implementation forms of the progress bar rendering item 74, the personal preference rendering item 731 and the big data rendering item 732 are not particularly limited.
Referring to fig. 9b, after rendering the progress bar 73, the presentation manner of the progress bar is no longer just the viewed or unseen display manner, and different renderings are presented on the unseen progress bar, and the different renderings correspond to different playback speeds. For example, the wavy line represents 0.75 playing speed, the solid line represents 1.0 playing speed, and the dotted line represents 1.25 playing speed.
In the embodiment of the application, the rendering can be performed according to personal preferences, wherein the personal preferences rendering is to select the target object according to the personal requirements of a user, set the playing speed for the target object, obtain the playing speed of the video clip including the target object, and render the progress bar according to the playing speed of each video clip, wherein the rendering on the progress bar corresponding to the video clips with different playing speeds is different.
In one possible implementation manner, the rendering the progress bar according to the playback double speed in response to the progress bar rendering operation includes: when the progress bar rendering operation indicates that rendering is carried out according to the playing double speed corresponding to the double-speed configuration operation, obtaining the playing double speed corresponding to the video clip in the target video; and rendering the progress bar according to the playing speed corresponding to the video clip. For example, a user configures a play double speed for a plurality of target objects, obtains a play double speed of each video clip of the target video, and may obtain the play double speed of each video clip according to the priority of the target object and the play double speed of the target object, and further render the progress bar according to the play double speed of each video clip.
Illustratively, for the target video, the user configures the playing double speed for the target object a to be K, the user configures the playing double speed for the target object B to be J, the user configures the playing double speed for the target object C to be L, and the user sets the priority of the target object to be a greater than B and B greater than C. The color of the rendering progress bar is red when the playing double speed is K, the color of the rendering progress bar is blue when the playing double speed is J, the color of the rendering progress bar is green when the playing double speed is L, the color of the default rendering progress bar is yellow, the video segment O from the 1 st second to the Nth second comprises the target object A, the video segment P from the N +1 st second to the 2 Nth second comprises the target object A and the target object B, the video segment Q from the 2N +1 st second to the 3 Nth second comprises the target object B and the target object C, and the video segment M from the 3N +1 st second to the 4 Nth second does not comprise any target object, namely, the target object A does not appear in each video frame in the video segment M, the target object B does not appear, and the target object C does not appear.
When the video clip O is played, the player determines that the video clip O corresponds to the area on the progress bar, that is, the video clip O is rendered red from the 1 st second to the nth second on the progress bar, according to the playback speed K. When the video clip P is played, based on the fact that the priority of A is greater than that of B, the player plays according to the playing speed K, and determines that the video clip P corresponds to an area on the progress bar, namely the video clip P is rendered into red from the N +1 th second to the 2N th second on the progress bar. When playing the video segment Q, based on the priority of B being greater than C, the player plays according to the play speed J, and determines that the video segment Q corresponds to an area on the progress bar, i.e., the video segment Q is rendered blue from 2n +1 second to 3N second on the progress bar. When the video clip M is played, based on that the video clip does not include the target object, playing is performed based on a default playing double speed or a default playing double speed set by a user, and it is determined that the video clip M corresponds to an area on the progress bar, that is, the video clip M is rendered yellow from 2n +1 second to 3N second on the progress bar.
In the embodiment of the application, the rendering can be performed according to big data, that is, the playing speed of other users in the whole network when watching the target video is obtained, the playing speed of other users in the whole network when watching the target video is integrated, speed index data is generated, and different rendering modes of different playing speeds are generated.
In one possible implementation manner, the rendering the progress bar according to the playback double speed in response to the progress bar rendering operation includes: when the progress bar rendering operation instruction is rendered according to the playing speed set by other users, the playing speed data of other users are obtained, wherein the playing speed data of other users comprise the playing speed data of other users for playing the target video; and rendering a progress bar according to the playing speed data of the other users. For example, when the player plays the target video, dotting data is obtained, that is, the playing speed of each user when playing the target video is obtained, then the playing data of the users in the whole network are processed to obtain the playing speed of each video clip, and the progress bar is rendered according to the playing speed of each video clip.
In this embodiment of the present application, other users in the whole network perform playback speed doubling configuration when watching the target video, and may use the video playback method provided in this embodiment of the present application, and may also use other methods to perform playback speed doubling configuration, which is not specifically limited in this application.
According to the embodiment of the application, the cached video slicing data are correspondingly processed according to the user setting, the video is played according to the user setting, a solution is provided for important contents of a plot story while the vermicelli carefully tastes the development of the skill and emotion of a man and woman owner, and meanwhile, a color prompt is provided for the multiple data on the progress bar, so that the wonderful plot can be rapidly predicted for the user. The user can conveniently watch the favorite roles finely on the video APP, quickly play uninteresting roles and scenarios, and selectively play the wonderful scenarios according to the progress bar color of the video client APP player.
The following describes video playing performed by the client.
The client comprises a configuration center and a player, and the player can be realized as a video APP player Software Development Kit (SDK) and is explained by the video APP player Software Development Kit.
Referring to fig. 10, fig. 10 is a schematic flowchart of another video playing method according to an embodiment of the present disclosure. The method comprises the following steps, and it should be noted that the execution sequence of the following steps is not specifically limited in the present application.
Step S10: and the user configures the speed doubling configuration item of the target object.
Referring to fig. 7a to 7d, the configuration center of the video APP client provides a speed-doubling configuration item 76 for the user to configure the target object and configure the playing speed-doubling for the target object, where the speed-doubling configuration item 76 includes, but is not limited to, the following configurations for configuring the target object, taking the object type as an example. Single set configuration: the double speed includes: 0.75X, 1.0X, 1.25X, custom. The double speed comprises the following steps: 0.75X, 1.0X, 1.25X, custom. The first and second double speed includes 0.75X, 1.0X, 1.25X, self-defining. The double speed of dividing one and two times includes: 1.5X, 1.75X, 2.0X, custom. Single play configuration: the double speed includes: 0.75X, 1.0X, 1.25X, custom, two double speed includes: 0.75X, 1.0X1.25X, self-defining, wherein the first and second double speed comprises 0.75X, 1.0X, 1.25X, self-defining. The double speed of dividing one and two includes: 1.5X, 1.75X, 2.0X, custom. Global configuration: the double speed includes: 0.75X, 1.0X, 1.25X, custom, two double speed includes: 0.75X, 1.0X1.25X, self-defining, the first and second double speed includes 0.75X, 1.0X, 1.25X, self-defining. The double speed of dividing one and two includes: 1.5X, 1.75X, 2.0X, custom. And (3) default configuration: including two states, ON and OFF. The contents of the default configuration include: the first and second double speeds are 1.0X. The double speed of dividing one and two is 2.0X. Wherein the double digits are read from the cast and the specific double speed is set according to the default configuration.
Step S11: and reading the user list configuration.
After the video APP player software development tool reads the request information sent by the client, the user list set configuration is firstly read from the configuration center.
Step S12: whether it is empty.
And judging whether the content configured by the single set is empty or not.
Step S13: otherwise, saving the user list set configuration.
If the content configured by the single set is not empty, the content configured by the single set is stored, and the double-speed playing is carried out according to the single set configuration of the user when the local cache data is played.
Step S14: if yes, the user single play configuration is read.
After the video APP player software development tool judges that the user single play configuration is empty, whether the user single play configuration is empty or not is judged, and the user single play configuration is read.
Step S15: whether it is empty.
And judging whether the content configured by the single play is empty or not.
Step S16: otherwise, saving the single play configuration of the user.
If the single play configuration content is not empty, the single play configuration content is stored, and the double-speed playing is carried out according to the single play configuration of the user when the local cache data is played.
Step S17: yes, the user global configuration is read.
After the video APP player software development tool judges that the user single play configuration is empty, whether the user global configuration is empty or not is judged, and the user global configuration is read.
Step S18: whether it is empty.
And judging whether the content of the global configuration is empty or not.
Step S19: otherwise, saving the global configuration of the user.
If the globally configured content is not empty, the globally configured content is stored, and the double-speed playing is performed according to the user globally configured content when the local cache data are played.
Step S101, reading the default configuration.
After the video APP player software development tool judges that the user global configuration is empty, whether the user default configuration is empty or not is judged, and the user default configuration is read.
Step S102: and judging whether the switch is opened or not.
And judging whether the default configuration switch is turned on.
Step S103: yes, the default configuration is saved.
If the local cache data is opened, the content of the default configuration is stored, and the double-speed playing is carried out according to the default configuration of the system when the local cache data is played.
Step S104: and if not, generating the bottom pocket configuration.
If not, the bottom pocket configuration is generated. The video APP player software development tool generates bottom-pocketed configuration after judging that the default configuration of the system is null, and particularly presets bottom-pocketed configuration capability in the system in consideration of the possibility that part of users do not configure role double-speed options, the bottom-pocketed configuration does not change any double-speed, video is played at 1.0X-speed, and cached video data is played at double-speed according to the bottom-pocketed configuration.
Step S105: and performing double-speed playing on the cached video data according to bottom-pocket configuration.
Step S106: and performing double-speed playing according to the configuration data when the local cache data is played.
In the embodiment of the present application, in configuring a configuration target, a priority of a single episode configuration is set to be greater than a priority of a single drama configuration, a priority of a single drama is set to be greater than a priority of a global configuration, a priority of the global configuration is set to be greater than a priority of a default configuration, and a priority of the default configuration is set to be greater than a priority of a bibliography configuration. And after the contents configured in the single set are read, the contents configured in other configurations are not continuously read, and the double-speed playing is carried out according to the single set configuration. Similarly, if the single set is configured to be empty, after the content configured for the single play is read, the content configured for the single play is not read any more, and the content configured for the single play is played at double speed according to the configuration for the single play, and so on, so as to obtain the configuration data of the user. In configuring the configuration target, the configuration priority may also be readjusted, for example, the global configuration is greater than the single-set configuration, the single-set configuration is greater than the single-play configuration, and the like, which is not specifically limited in this application.
Step S107: and the user opens the progress bar rendering switch in the playing process.
When playing local cache data, the video APP player software development tool needs to judge whether a user opens a progress bar rendering switch.
Step S108: and in the playing process, the user selects the personal preference rendering or the big data rendering according to the progress bar.
After the progress bar rendering switch is turned on, the user can select personal preference rendering or big data rendering by long pressing the progress bar. And after the progress bar rendering switch is turned on, if the rendering mode is not selected, the large data is rendered by default or the personal preference is rendered by default. The individual preference rendering or the big data rendering is only after the progress bar rendering switch is turned on, i.e., the progress bar rendering item 74 in fig. 7a to 7d is turned on.
Step S109: and rendering the progress bar by the player according to the object tag data or the double-speed index data.
And when the progress bar rendering switch is closed, the player plays the cache video according to the playing speed of the user equipment. When the progress bar rendering switch is turned on, the player judges whether the user selects the rendering mode, if the user selects the personal favorite rendering, the player performs the progress bar rendering on the video clip with the corresponding target object in the video content according to the playing speed configured by the user, and particularly performs the progress bar rendering according to the object tag data. And if the user selects big data rendering, rendering the progress bar by the player according to the playing speed multiplying data of the target video played by other users in the whole network, and specifically rendering the progress bar according to the speed multiplying index data.
In the embodiment of the application, the object tag is a tag which is marked on a video frame of each object in a film when a server side puts a video in storage. For example, when a video is put in storage, the server processes and analyzes the video, and determines objects appearing in each video frame, for example, for a certain video frame, one or more of the positions, characters or actors appearing in the video frame may be labeled, and a leading actor appear in the video frame a, where the leading actor is one and the leading actor is two, the leading actor is Cheng Xiaoming and the leading actor is Cheng Xiaogong, the video frame a is labeled to include one and two, or the video frame a is labeled to include the leading actor and the leading actor, or the video frame a is labeled to include Cheng Xiaoming and Cheng Xiaogong, and in one possible implementation, the above labels may also be combined, for example, the video frame a is labeled to include one, two, 3536 zxft, 3936 and Cheng Xiaogong.
In one possible implementation manner, the object tag may further distinguish a start frame of the object appearing first from an end frame of the object appearing last, for example, for the object a, if the video appears in the video in the first second, and does not appear in the third minute, then appears in the fifth minute, and does not appear in the sixth minute, the video frame corresponding to the first minute is a start frame of the object a, the video frame corresponding to the third minute is an end frame of the object a, the video frame corresponding to the fifth minute is a start frame of the object a, and the video frame corresponding to the sixth minute is an end frame of the object a. The video clips including the object can be determined according to the time continuity and the adjacent start frame and the end frame, for example, the video clips of the first minute to the third minute include the object a, and the video clips of the fifth minute to the sixth minute include the object a.
In an embodiment of the present application, the object tag data includes a middle object tag for each video frame, such as each position or each character or each actor included. The object tag data may also include a start frame and an end frame of each object to determine a video clip including each object.
In one possible implementation, the video frames may be tagged according to the priority of the target object, such as priority processing according to one-double > two-double > argument, for example, if one-double, two-double, and argument occur simultaneously in a video frame, then the tag is processed according to one-double video frame; b video frames occur twice, at the same time, the corner, then the tag is processed according to two video frames.
In the embodiment of the application, different playing multiples are set for the roles in different sets by a user at a video APP client, and the video APP player SDK performs corresponding processing on the cached video fragment data according to the user setting and plays a video according to the user setting. After the user selects the role double option, the video APP player SDK can render the color of the progress bar according to the double option and present the progress bar to the end user. The video APP player SDK can also perform a player progress bar color rendering scheme on video content playing multiple data returned by the video server.
The following is illustrated in three scenarios:
scene thirteen: the user performs single set configuration, sets that one video is played by 0.75 times, performs progress bar rendering operation, starts a progress bar rendering switch, and selects personal preference rendering, so that the player performs color rendering on all video frames appearing in one time in the set of videos, and the user knows which video frames have one role, and if the default rendering color is one-color purple, two-color red and matchic blue.
A fourteen scene: the user performs single set configuration, sets the play of the film twice by 0.75 times, performs progress bar rendering operation, turns on a progress bar rendering switch, and selects big data rendering at the same time.
The scene is fourteen: the user performs single set configuration, sets the play of the film by 0.75 times, performs progress bar rendering operation, starts a progress bar rendering switch, and does not select to use personal preference rendering or big data rendering, so that the player defaults to realize progress bar rendering according to the play speed set by the user.
The following describes a process of interaction between a client and a server, where the client is a video APP client as an example.
Referring to fig. 11, fig. 11 is a schematic view illustrating an interaction flow between a client and a server according to an embodiment of the present disclosure. The method comprises the following steps, and it should be noted that the execution sequence of the following steps is not specifically limited in the present application.
Step S110: the user selects a movie to be played.
And the user selects the film to be played from the film provided by the video APP.
Step S111: the user clicks the play button.
And after the user selects the film to be played, clicking a play button to play the film.
Step S112: and acquiring a playing request of the client.
The client calls a playing interface provided by the server, and the server can obtain the playing request data.
Step S113: and generating a playing link, object tag data and double-speed index data according to the request and returning the playing link, the object tag data and the double-speed index data to the player.
The video APP server performs data preprocessing on the films in the video library, wherein the data preprocessing mainly comprises generating object labels of the films, storing the generated object label data in a database of the server, and associating the generated object label data with the video contents of the films. After receiving the play request, the server matches with a Content Delivery Network (CDN) of the video Content, generates a play link, and queries tag preprocessing data as play interface response data and returns the data to the player together.
Step S114: and acquiring the video fragment data to be played from the CDN according to the data returned by the server.
After the video APP server sends the playing link and the object tag data returned by the user playing request to the video APP player SDK, the video APP player SDK obtains the played video fragment data from the CDN according to the data returned by the server.
Step S115: and acquiring video fragment data, object tag data and speed index data and then caching the data to the local.
After obtaining the video fragment data, the object tag data, and the double-speed index data, the SDK of the video APP player may cache in the mobile phone memory, illustratively, the size of the video fragment of each fragment is 512K (which may be set), and may cache 200 seconds (which may be set) of video data.
Step S116: and the player plays the cached video fragment data.
Step S117: and the user configures a target object speed-doubling configuration item in the playing process.
The multiple speed configuration item is preset in a user configuration center of the video APP client, and provides multiple options for a user to select, and the user can operate the multiple speed configuration item at any time in the video playing process, which may specifically refer to fig. 7a to 7d, which are not described herein again.
Step S118: the user configuration is read.
The user configuration is a playing double-speed configuration manually selected by a user at the video APP client, and comprises a single set configuration, a single play configuration, a global configuration and a default configuration. And the video APP player SDK acquires the playing speed multiplying configuration sent by the client, needs to analyze the playing speed multiplying configuration and prepares for the next processing.
Step S119: whether it is empty.
Step S1110: and if not, performing double-speed playing on the cached video data according to the user configuration.
When the user configuration sent by the configuration center is not empty, the player performs double-speed playing on the cached video data according to the playing double-speed configured by the user.
Step S1111: then, the bottom pocket configuration is generated.
Considering that the possibility that part of users do not configure the playing speed is provided, the bottom pocket configuration capability is preset in the system, the bottom pocket configuration does not change any speed, and the video is played at the speed of 1.0X.
Step S1112: and performing double-speed playing on the cached video data according to bottom-pocket configuration.
When the user configuration is null, the player needs to play the cached video data according to the bottom pocket configuration after the system generates the bottom pocket configuration.
Step S1113: and the user opens a progress bar rendering switch in the playing process.
A user may turn on a progress bar rendering switch at any time during the video playing process, which may specifically refer to fig. 7a to 7d and fig. 9a to 9b, which are not described herein again. The progress bar of the video APP player SDK can prompt a user to see or not see the state, and can render the progress bar according to the playing double speed, for example, rendering the progress bar according to the playing double speed configured by the user or according to the double speed index data generated by the video APP server, so as to prompt the wonderful degree of the video content of the user.
Step S1114: and in the playing process, the user selects the personal preference rendering or the big data rendering according to the progress bar.
Under the condition that the progress bar rendering switch is turned on, the user can select whether the rendering mode is to render the progress bar according to personal preferences or to render the progress bar according to big data. And the personal preference rendering is that the user selects a target object and configures the playing speed for the target object to generate object label data, and the rendering is carried out according to the object label data. And (3) big data rendering, namely, generating speed index data according to the playing speed data of other users playing the target video in the whole network, and rendering according to the speed index data.
Step S1115: and the player renders the progress bar according to the object tag data and the double-speed index data.
The player can select one of the object tag data or the double speed index data for progress bar rendering.
Step S1116: and playing the video data to be played and dotting the video data in the playing process.
And in the video playing process, the video APP client performs dotting processing on the played double-speed data and transmits the dotting data to the server in time. And dotting can obtain the playing speed of each client when playing the video.
Step S1117: and acquiring the speed-multiplying selection data played by each frame of video content by a user and rendering the big data.
After the video APP server obtains the data selected by the user for the speed of playing each frame of content of the video, data analysis needs to be performed, and various algorithms are used for data analysis, which may specifically refer to fig. 12 and 13.
Step S1118: and generating double-speed index data.
And the video APP server generates speed index data according to speed selection data played by each frame of video content by other users in the whole network.
Step S1119: the double speed index data is stored in a large data table.
And after the video APP server generates video speed index data, storing the video speed index data in a large data table. When the client sends a video playing request, the speed index data can be sent to the client together, and when a user opens a progress bar rendering switch and renders big data, the player can render the progress bar according to the speed index data.
In the embodiment of the present application, the generating of the multiple speed index data may include two ways, one is in units of shots, and the other is in units of preset time periods.
Please refer to fig. 12, and fig. 12 is a schematic flowchart illustrating a method for rendering a progress bar in units of shots according to an embodiment of the present disclosure. The method comprises the following steps, and it should be noted that the execution sequence of the following steps is not specifically limited in the present application.
Step S120: and requesting video playing.
Step S121 obtains a client play request.
Step S122: and dotting the playing speed data in the playing process.
In the embodiment of the application, each client performs dotting to acquire playing double-speed data in the process of playing the video. For example, for video a, the first client detects that the playback speed is 1.0X for the first minute to the twentieth minute, and 2.0X for the twentieth minute to the thirty-third minute. The second client detects that the playing speed is 1.0X from the first minute to the tenth minute, and the playing speed is 2.0X from the tenth minute to the thirty minute. The dotting data may include the corresponding video, the start frame and the end frame of each video segment with different playing speeds, and the playing speed of each video segment, and may further include a user ID. Illustratively, the first client dotting data includes video a, a playback speed 1.0X for the first minute to the twentieth minute, and a playback speed 2.0X for the twentieth minute to the thirty-third minute.
Step S123: and acquiring the speed-doubling selection data played by each frame of video content by the user and carrying out big data processing.
And the video APP server side performs big data cleaning conversion by using an offline timing task every day according to the dotting data of the whole-network user client side, and processes the dotting data of the whole network on the previous day.
Step S124: and taking the shot as a unit, calculating the average number of playing double speeds of all video frames in each shot of the whole network user, and generating double speed index data of the shot.
In the embodiment of the application, a video APP server acquires double-speed selection data played by video content with a shot as a unit, processes data of the current day by using an offline timing task, and stores the data in a big data table, where the data processed by the offline timing task only includes data uploaded yesterday and historical processed data, so as to generate a video double-speed play setting data index, for example: the timing task of 01 in 10 days early in 2020, 12 and 9 days later is processed by the data uploaded in 12 and 9 days later in 2020 and the data processed by the timing task in 12 and 9 days later in 2020, so that the data volume processed by the large data task can be ensured to be within a processable range.
Exemplarily with K i Representing the average number of the speed setting of the whole network video of the ith frame, A representing a shot, and the calculation mode of the index of the speed setting data of the video generated by the server side is as follows: assuming that the shot A has n frame data, the playback speed of the shot A is set to K A The formula is as follows: k is A =avg(K 1 +…K i-1 +K i +…+K n ) Where avg is the avg function used for averaging. A shot is a continuous picture of a film taken from power on to power off, or a segment between two cropping points, which is a set of continuous video frames.
Step S125: and storing the shot multiple speed index data.
After the big data task processing is used for generating the lens speed index data of the previous day, the data need to be stored in a big data table.
Step S126: and generating a playing link, object tag data and double-speed index data according to the video playing request and returning the playing link, the object tag data and the double-speed index data to the player.
After receiving the playing request sent by the client, the server matches the playing CDN of the video content to generate a playing link, and queries the target tag data as playing interface response data and returns the data to the player.
Step S127: and acquiring the video fragment data to be played from the CDN according to the data returned by the server.
Step S128: and acquiring video fragment data, object tag data and speed index data and then caching the data to the local.
Step S129: and the player plays the cached video.
Step S1201: and rendering the progress bar by the player according to the speed index data.
In the embodiment of the application, the video APP player SDK obtains playing video fragment data from the CDN according to the server return data, obtains object tag data and speed index data from the server response message, and caches the object tag data and the speed index data locally. After a user opens a progress bar rendering switch and selects a big data rendering mode, the rendering module performs color rendering on the progress bar according to the following rules: if the play speed of this shot is K A >If =1.75X, the lens progress bar is set to green; if 1.25X<=K A <1.75X, setting the lens progress bar to be blue; if 1.0X<=K A <1.25X, setting the lens progress bar to be red; if K is A <1.0X, set the lens progress bar to purple. The rendering color of the progress bar is not specifically limited.
Illustratively, the shot a contains 1000 video frame data, the average multiple of the live users from frame 1 to frame 100 is set to be 1.25X, the average multiple of the live users from frame 101 to frame 500 is set to be 1.5X, the average multiple of the live users from frame 501 to frame 1000 is set to be 1.0X, and the play speed K of the shot a is set to be equal to the speed K A The calculation formula is as follows: k A = (100 + 1.25+400 +500 + 1)/1000 =1.225x. After a user opens a progress bar rendering switch and selects a big data rendering mode, the player performs progress bar rendering on the lenses according to the stored multiple playing setting data index for each lens, and the rendering is red when the A-th lens is used.
Please refer to fig. 13, and fig. 13 is a flowchart illustrating a method for rendering a progress bar in units of a preset time period according to an embodiment of the present disclosure. The method comprises the following steps, and it should be noted that the execution sequence of the following steps is not specifically limited in the present application.
Step S130: and requesting video playing.
Step S131: and acquiring a client playing request.
Step S132: and dotting the playing speed data in the playing process.
In the embodiment of the application, each client performs dotting to acquire playing double-speed data in the process of playing the video. For example, for video a, the first client detects that the playback speed is 1.0X for the first minute to the twentieth minute, and 2.0X for the twentieth minute to the thirty-third minute. The second client detects that the playing speed from the first minute to the tenth minute is 1.0X, and the playing speed from the tenth minute to the thirty-third minute is 2.0X. The dotting data may include the corresponding video, the start frame and the end frame of each video segment with different playing speed, and the playing speed of each video segment, and may further include a user ID. Illustratively, the first client dotting data includes video a, a playback speed 1.0X for the first minute to the twentieth minute, and a playback speed 2.0X for the twentieth minute to the thirty-third minute.
Step S133: and acquiring the speed-doubling selection data played by each frame of video content by the user and carrying out big data processing.
And the video APP server side performs big data cleaning conversion by using an offline timing task every day according to the dotting data of the whole network user client side, and processes the whole network dotting data of the previous day.
Step S134: and calculating the average number of playing double speeds of all video frames of the whole network user in a preset time period by taking time as a unit, and generating double speed index data of the preset time period.
In the embodiment of the application, the video APP server calculates the average number of the playing multiples in the preset time period by taking the preset time period as a unit to generate the video multiple playing setting data index, and stores the video multiple playing setting data index into the big data table. The data processed by the offline timing task only contains data uploaded yesterday and historical processed data, and a video double-speed playing setting data index is generated, for example: the timing task of 01 00 in the morning of 12 months and 10 days in 2020 and the processed data are the data uploaded in 12 months and 9 days in 2020 and the data processed by the timing task in 12 months and 9 days in 2020, so that the data volume processed by the big data task can be controlled within a processable range.
Illustratively, the predetermined time period is one minute, denoted by K i Representing all of the ith frameSetting average number of network video multiple speed, using X i Representing the ith minute playing multiple speed, after the server side obtains the data of selecting the playing multiple of each frame of content by the user, taking the minute as a unit, calculating the average number of the playing multiple in each minute to generate multiple speed index data, wherein the calculation formula is as follows: assuming n frames of data in the ith minute, the playing speed in the ith minute is X i =avg(K 1 +…K j-1 +K j +…+K n ) Where avg is the avg function used for averaging.
Step S135: and storing the speed index data of the preset time period.
After the big data task is used for processing and generating the double-speed index data in the preset time period of the previous day, the double-speed index data need to be stored in a big data table.
Step S136: and generating a playing link, object tag data and double-speed index data according to the video playing request and returning the playing link, the object tag data and the double-speed index data to the player.
After receiving the playing request sent by the client, the server matches the playing CDN of the video content to generate a playing link, and queries the target tag data as playing interface response data and returns the data to the player.
Step S137: and acquiring the video fragment data to be played from the CDN according to the data returned by the server.
Step S138: and acquiring video fragment data, object tag data and double-speed index data and then caching the data to the local.
Step S139: and the player plays the cached video.
Step S1301: and rendering the progress bar by the player according to the speed index data.
In the embodiment of the application, the video APP player SDK obtains playing video fragment data from the CDN according to the server return data, obtains object tag data and speed index data from the server response message, and caches the object tag data and the speed index data locally. After a user opens a progress bar rendering switch and selects a big data rendering mode, the rendering module performs color rendering on the progress bar according to the following rules: if the playing speed of the lens is K A >If =1.75X, the lens progress bar is set to green; if 1.25X<=K A <1.75X, setting the lens progress bar to be blue; if 1.0X<=K A <1.25X, setting the lens progress bar to be red; if K is A <1.0X, set the lens progress bar purple. The rendering color of the progress bar is not specifically limited.
Illustratively, the 6 th minute video clip comprises 1500 video frame data, 1 data of the video played by the full-network users is collected, the average multiple of the full-network users from the 1 st frame to the 500 th frame is calculated to be 1.0X, the average multiple of the current users from the 501 th frame to the 800 th frame is calculated to be 1.5X, the average multiple of the current users from the 801 th frame to the 1500 th frame is calculated to be 2.0X, and the multiple index X of the 6 th minute is calculated to be 6 The calculation formula is as follows: x 6 = (500 + 1.25+300 +700 + 2)/1500 =1.56x. And after the user opens the progress bar rendering switch, rendering the progress bar into blue at the 6 th minute when the big data rendering mode is selected.
The foregoing embodiment mainly describes an implementation process of video playing, and then describes an implementation flow of the video playing method from the perspective of user interaction with a video playing device, for example, please refer to fig. 14, the method can be executed by the foregoing video playing device, and the method includes the following steps:
step S141: providing an interactive interface, wherein the interactive interface comprises a double speed configuration item.
For example, the interactive interface may refer to fig. 7a to 7d, and the multiple speed configuration items include an object selectable item for selecting a target object and a multiple speed configuration item for configuring a multiple speed. The interactive interface further includes a progress bar rendering item, please refer to fig. 9a to 9b, wherein the progress bar rendering item is used for starting the rendering of the progress bar. And will not be described in detail herein. In the embodiment of the present application, forms of the interactive interface, the double-speed configuration item, the progress bar rendering item, and the object selectable item are not specifically limited.
Step S142: receiving a multiple speed configuration operation input to the multiple speed configuration item, wherein the multiple speed configuration operation is used for selecting a target object and configuring a playing multiple speed for the target object.
In the embodiment of the present application, the speed-doubling configuration operation may be a click, a long press, or the like on the speed-doubling configuration item.
Step S143: and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
In the embodiment of the application, the playing multiple speed control of a user on roles, positions or actors is added, the playing use experience of the user is improved, a progress bar of the player judges the video wonderful degree, the user is helped to quickly obtain the wonderful video content, the playing experience of the user is improved, a video APP server selects data according to the playing multiple of each frame of video content by the whole network user, and a multiple playing setting data index method is generated; and calculating the average number of playing multiples in each minute by taking time as a unit to generate a video multiple playing setting data index.
In the embodiment of the application, play speed configuration items of roles, roles and actors are provided for a user to freely select, and the user can perform different speed play selections on different roles, roles or actors. The user can set the common role to play in multiple, and important plots in the storyline story cannot be missed. The video APP server side generates multiple speed index data according to the multiple selection data of each frame of video content played by the whole network users, and the video APP client side performs matched acceptance rendering on the progress bar after receiving the multiple speed index data to generate different identifications and predict and prompt the wonderful scenario for the users.
The descriptions of the flows corresponding to the above-mentioned figures have respective emphasis, and for parts not described in detail in a certain flow, reference may be made to the related descriptions of other flows. May be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. A computer program product for enabling video playback includes one or more computer program instructions for video playback, which when loaded and executed on a computer, cause, in whole or in part, the processes or functions described in accordance with embodiments of the application in fig. 5, 8 and 10, 11, 12, 13 and 14.
The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a Digital Versatile Disk (DVD)), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
All or part of the steps of the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The above-mentioned embodiments are provided by way of example and should not be construed as limiting the present application, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (15)
1. A video playback method, the method comprising:
receiving a multiple speed configuration operation, wherein the multiple speed configuration operation is used for selecting a target object and configuring a playing multiple speed for the target object;
and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
2. The method of claim 1, wherein the number of the target objects comprises a plurality of objects, and playing the video segment including the target object according to the priority of the target object and the playing double speed of the target object during playing the target video corresponding to the double speed configuration operation comprises:
according to the priority of the target object, taking the target object with high priority as a first target object;
and playing the video clip comprising the first target object according to the playing double speed corresponding to the first target object.
3. The method of claim 2, wherein the regarding a target object with a high priority as a first target object according to the priority of the target object comprises:
for each video frame of the target video, when only one target object is included in the video frame, taking the target object as a first target object with high priority;
and for each video frame of the target video, when the video frame comprises a plurality of target objects, taking the target object with high priority in the video frame as a first target object.
4. The method of claim 3, wherein when the plurality of target objects are included in the video frame, the taking a target object of a higher priority in the video frame as a first target object comprises:
acquiring the priority of the target object;
when the video frame comprises a plurality of target objects, determining a target object with high priority in the video frame according to the priority of the target object;
and taking the target object with high priority as a first target object.
5. The method of claim 1, wherein the number of the target objects comprises one, and the playing the video segment including the target object according to the priority of the target object and the playing double speed of the target object during the playing of the target video corresponding to the double speed configuration operation comprises:
and taking the target object as a first target object, and playing the video clip comprising the first target object according to the playing double speed of the first target object.
6. The method of any of claims 1 to 5, wherein the method further comprises:
receiving progress bar rendering operation;
and responding to the progress bar rendering operation, and rendering the progress bar according to the playing speed.
7. The method of claim 6, wherein the rendering the progress bar according to the playback multiple speed in response to the progress bar rendering operation comprises:
when the progress bar rendering operation indicates that rendering is carried out according to the playing double speed corresponding to the double-speed configuration operation, obtaining the playing double speed corresponding to the video clip in the target video;
and rendering the progress bar according to the playing speed corresponding to the video clip.
8. The method of claim 6, wherein the rendering the progress bar according to the playback multiple speed in response to the progress bar rendering operation comprises:
when the progress bar rendering operation instruction is rendered according to the playing speed set by other users, the playing speed data of other users are obtained, wherein the playing speed data of other users comprise the playing speed data of other users for playing the target video;
and rendering a progress bar according to the playing speed data of the other users.
9. The method of any one of claims 1 to 8, wherein the type of target object includes one or more of a position, a character, and an actor.
10. The method of any of claims 1 to 9, wherein the double speed configuration operation further comprises a configuration of configuration targets, wherein the configuration of configuration targets comprises a single episode configuration for configuring a single episode video, a single episode configuration for configuring a single episode, a global configuration for configuring a video client, a default configuration for system default configuring a video client.
11. A video playback method, the method comprising:
providing an interactive interface, wherein the interactive interface comprises a speed doubling configuration item;
receiving a double-speed configuration operation input on the double-speed configuration item, wherein the double-speed configuration operation is used for selecting a target object and configuring a playing double speed for the target object;
and in the process of playing the target video corresponding to the double-speed configuration operation, playing the video clip comprising the target object according to the priority of the target object and the playing double-speed of the target object.
12. The method of claim 11, wherein the double speed configuration items include an object selectable item for selecting a target object and a double speed configuration item for configuring a double speed.
13. The method of claim 11 or 12, wherein the interactive interface further comprises a progress bar rendering item; wherein the progress bar rendering item is used to initiate rendering of the progress bar.
14. A video playback device, characterized in that the device is adapted to perform the method of any of claims 1 to 10 or 11 to 13.
15. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-10 or 11-13.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410579250.9A CN118433474A (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
CN202110360573.5A CN115190363B (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110360573.5A CN115190363B (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410579250.9A Division CN118433474A (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115190363A true CN115190363A (en) | 2022-10-14 |
CN115190363B CN115190363B (en) | 2024-05-17 |
Family
ID=83511713
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110360573.5A Active CN115190363B (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
CN202410579250.9A Pending CN118433474A (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410579250.9A Pending CN118433474A (en) | 2021-04-02 | 2021-04-02 | Video playing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN115190363B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955650A (en) * | 2011-08-25 | 2013-03-06 | 幻音科技(深圳)有限公司 | Cursor gesture input method and device |
US20140150026A1 (en) * | 2012-11-29 | 2014-05-29 | Eldon Technology Limited | Navigation techniques for electronic programming guides and video |
KR20150128456A (en) * | 2014-05-09 | 2015-11-18 | 엘지전자 주식회사 | Terminal and operating method thereof |
US20170347144A1 (en) * | 2016-05-27 | 2017-11-30 | Orange | Navigating a plurality of video content items |
CN110113666A (en) * | 2019-05-10 | 2019-08-09 | 腾讯科技(深圳)有限公司 | A kind of method for broadcasting multimedia file, device, equipment and storage medium |
JP2019179385A (en) * | 2018-03-30 | 2019-10-17 | ピーシーフェーズ株式会社 | Video playback control system |
CN110475148A (en) * | 2019-08-13 | 2019-11-19 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device and electronic equipment |
CN111327966A (en) * | 2020-03-27 | 2020-06-23 | 深圳市酷开网络科技有限公司 | Video double-speed playing method, system and storage medium |
WO2020172826A1 (en) * | 2019-02-27 | 2020-09-03 | 华为技术有限公司 | Video processing method and mobile device |
CN111787357A (en) * | 2020-07-28 | 2020-10-16 | 联想(北京)有限公司 | Video processing method and electronic equipment |
CN112004117A (en) * | 2020-09-02 | 2020-11-27 | 维沃移动通信有限公司 | Video playing method and device |
CN112565909A (en) * | 2020-11-30 | 2021-03-26 | 维沃移动通信有限公司 | Video playing method and device, electronic equipment and readable storage medium |
CN112887761A (en) * | 2021-01-19 | 2021-06-01 | 深圳聚果科技有限公司 | Video playing method, device, server and storage medium |
-
2021
- 2021-04-02 CN CN202110360573.5A patent/CN115190363B/en active Active
- 2021-04-02 CN CN202410579250.9A patent/CN118433474A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102955650A (en) * | 2011-08-25 | 2013-03-06 | 幻音科技(深圳)有限公司 | Cursor gesture input method and device |
US20140150026A1 (en) * | 2012-11-29 | 2014-05-29 | Eldon Technology Limited | Navigation techniques for electronic programming guides and video |
KR20150128456A (en) * | 2014-05-09 | 2015-11-18 | 엘지전자 주식회사 | Terminal and operating method thereof |
US20170347144A1 (en) * | 2016-05-27 | 2017-11-30 | Orange | Navigating a plurality of video content items |
JP2019179385A (en) * | 2018-03-30 | 2019-10-17 | ピーシーフェーズ株式会社 | Video playback control system |
WO2020172826A1 (en) * | 2019-02-27 | 2020-09-03 | 华为技术有限公司 | Video processing method and mobile device |
CN110113666A (en) * | 2019-05-10 | 2019-08-09 | 腾讯科技(深圳)有限公司 | A kind of method for broadcasting multimedia file, device, equipment and storage medium |
CN110475148A (en) * | 2019-08-13 | 2019-11-19 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device and electronic equipment |
CN111327966A (en) * | 2020-03-27 | 2020-06-23 | 深圳市酷开网络科技有限公司 | Video double-speed playing method, system and storage medium |
CN111787357A (en) * | 2020-07-28 | 2020-10-16 | 联想(北京)有限公司 | Video processing method and electronic equipment |
CN112004117A (en) * | 2020-09-02 | 2020-11-27 | 维沃移动通信有限公司 | Video playing method and device |
CN112565909A (en) * | 2020-11-30 | 2021-03-26 | 维沃移动通信有限公司 | Video playing method and device, electronic equipment and readable storage medium |
CN112887761A (en) * | 2021-01-19 | 2021-06-01 | 深圳聚果科技有限公司 | Video playing method, device, server and storage medium |
Non-Patent Citations (1)
Title |
---|
蒋文娟;苏喜红;孟丽珍;: "基于微信小程序的音乐播放器研究与实现", 软件导刊, no. 06 * |
Also Published As
Publication number | Publication date |
---|---|
CN118433474A (en) | 2024-08-02 |
CN115190363B (en) | 2024-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110519621B (en) | Video recommendation method and device, electronic equipment and computer readable medium | |
US12039776B2 (en) | Systems and methods for presenting supplemental content in augmented reality | |
US10909505B2 (en) | Systems and methods for delaying the start time of an event based on event attendee arrival times | |
CN112383566B (en) | Streaming media presentation system | |
US8245124B1 (en) | Content modification and metadata | |
US8554784B2 (en) | Discovering peer-to-peer content using metadata streams | |
CN113950687A (en) | Media presentation device control based on trained network model | |
US11627379B2 (en) | Systems and methods for navigating media assets | |
US10277669B1 (en) | Communication channel between device and CDN during playback | |
AU2016222632A1 (en) | Methods and systems for recommending media content | |
JP7019669B2 (en) | Systems and methods for disambiguating terms based on static and temporal knowledge graphs | |
CN110619063A (en) | Video pushing method and device based on video searching and electronic equipment | |
US20140172579A1 (en) | Systems and methods for monitoring users viewing media assets | |
CN104079999A (en) | Video screenshot preview method and system used on smart television | |
US11989225B2 (en) | Systems and methods for automatically generating supplemental content for a media asset based on a user's personal media collection | |
CN115474085B (en) | Media content playing method, device, equipment and storage medium | |
US20180288460A1 (en) | Systems and methods for navigating custom media presentations | |
CN106471819A (en) | System and method for improving the accuracy in media asset recommended models | |
WO2018174884A1 (en) | Systems and methods for calculating a predicted time when a user will be exposed to a spoiler of a media asset | |
CN111552875A (en) | Resource recommendation method and system and electronic equipment | |
CN105122829B (en) | The pertinent program information for being used for broadcast media content and streaming medium content is provided | |
CN115190363A (en) | Video playing method, device and storage medium | |
KR102492022B1 (en) | Method, Apparatus and System of managing contents in Multi-channel Network | |
US11540013B1 (en) | Systems and methods for increasing first user subscription | |
US20210074044A1 (en) | Method, server, and recording medium for creating composite image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |