CN114007122A - Video playing method and device, electronic equipment and storage medium - Google Patents
Video playing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114007122A CN114007122A CN202111193150.5A CN202111193150A CN114007122A CN 114007122 A CN114007122 A CN 114007122A CN 202111193150 A CN202111193150 A CN 202111193150A CN 114007122 A CN114007122 A CN 114007122A
- Authority
- CN
- China
- Prior art keywords
- playing
- video
- intelligent
- time point
- configuration information
- 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 64
- 238000013507 mapping Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 15
- 238000012549 training Methods 0.000 claims description 7
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000006870 function Effects 0.000 description 10
- 238000013473 artificial intelligence Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000002372 labelling Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 238000007418 data mining Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 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/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Life Sciences & Earth Sciences (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The embodiment of the application discloses a video playing method, a video playing device, electronic equipment and a storage medium; the method and the device can receive the video intelligent playing instruction, and the video intelligent playing instruction carries the intelligent playing type; determining an intelligent playing logic for playing the video according to the intelligent playing type; analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point; when the playing video is played to the marked time point, the playing adjustment is carried out on the playing video based on the playing configuration information, and the convenience of watching the video by a user is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.
Background
With the development of information technology and the rapid development and popularization of internet technology, the application in electronic equipment is prosperous, and the rapid development of the video industry is promoted. Nowadays, watching videos through electronic equipment also becomes daily for people.
In the prior art, video applications generally support the double-speed playing function, but all require the user to manually adjust the double speed according to the viewing intention. In actual scenes, users often use fast forward, multi-speed play, etc. to skip pictures that are not of interest or carefully watch contents that are of interest. The existing solutions basically provide a function of setting a double speed or fast forwarding to perform manual operation when a user needs, and the user needs to judge whether the watched content is interested and then decide whether to set the double speed for playing, or fast forward and skip the current segment, which will reduce the convenience of the user in watching the video.
Disclosure of Invention
The embodiment of the application provides a video playing method and device, electronic equipment and a storage medium, and can improve the convenience of watching videos by a user.
The embodiment of the application provides a video playing method, which comprises the following steps:
receiving a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type;
determining an intelligent playing logic for playing the video according to the intelligent playing type;
analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and when the playing video is played at the marked time point, carrying out playing adjustment on the playing video based on the playing configuration information.
Correspondingly, an embodiment of the present application further provides a video playing apparatus, including:
the receiving unit is used for receiving a video intelligent playing instruction, and the video intelligent playing instruction carries an intelligent playing type;
the determining unit is used for determining the intelligent playing logic for playing the video according to the intelligent playing type;
the analysis unit is used for analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and the playing adjustment unit is used for adjusting the playing of the playing video based on the playing configuration information when the playing of the playing video is at the marked time point.
In an embodiment, the play adjusting unit includes:
the analysis subunit is used for analyzing the playing configuration information when the playing video is played at the marked time point to obtain a video playing grade;
a first determining subunit, configured to determine, based on the video playing level, a video playing speed of the marked time point;
and the playing adjusting subunit is used for adjusting and playing the marked video based on the video playing speed.
In one embodiment, the first determining subunit includes:
the first matching module is used for matching the video playing grade with a preset playing threshold value;
and the first determining module is used for determining the video playing speed of the video playing grade according to a preset grade mapping table when the video playing grade is matched with the preset playing threshold value.
In an embodiment, the first determining subunit further includes:
a second determining module, configured to determine a next marking time point of the marking time points when the video playing level is not matched with the preset playing threshold;
and the calling module is used for calling a preset video adjusting interface to move the playing process of the playing video from the marking time point to the next marking time point.
In one embodiment, the determining unit includes:
the second determining subunit is used for matching the intelligent playing type with a preset logic mapping table to obtain a matching result;
and the first mapping subunit is used for mapping the intelligent playing type to the corresponding intelligent playing logic according to the matching result.
In one embodiment, the video playing apparatus further includes:
the acquisition unit is used for acquiring the user-defined marking time points and user-defined playing configuration information corresponding to each user-defined marking time point;
the dividing unit is used for dividing the playing video into a plurality of video segments according to the user-defined marking time points;
and the segment adjusting unit is used for carrying out video adjustment processing on the video segments based on the user-defined playing configuration information to obtain adjusted videos.
In one embodiment, the video playing apparatus further includes:
the acquisition unit is used for acquiring a plurality of video samples and video playing data corresponding to each video sample;
the data processing unit is used for carrying out data processing on the video playing data to obtain the playing characteristics of the video sample;
the training unit is used for training a preset video marking model by using the video sample and the video playing characteristics to obtain a trained video marking model;
and the marking unit is used for marking the video by utilizing the trained video marking model to obtain the played video.
Correspondingly, the embodiment of the application also provides an electronic device, which comprises a memory and a processor; the memory stores a computer program, and the processor is configured to run the computer program in the memory to execute the video playing method provided by any one of the embodiments of the present application.
Correspondingly, an embodiment of the present application further provides a storage medium, where the storage medium stores a computer program, and the computer program, when executed by a processor, implements the video playing method provided in any embodiment of the present application.
The method and the device can receive the video intelligent playing instruction, and the video intelligent playing instruction carries the intelligent playing type; determining an intelligent playing logic for playing the video according to the intelligent playing type; analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point; when the playing video is played to the marked time point, the playing adjustment is carried out on the playing video based on the playing configuration information, and the convenience of watching the video by a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a scene schematic diagram of a video playing method provided in an embodiment of the present application;
fig. 2 is a schematic flowchart of a video playing method provided in an embodiment of the present application;
fig. 3 is a schematic view of another scene of a video playing method provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of a video playing method provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a video playback device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
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, however, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments of the present application. 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.
The embodiment of the application provides a video playing method, which can be executed by a video playing device, and the video playing device can be integrated in an electronic device. The electronic device may include at least one of a terminal and a server. Namely, the video playing method can be executed by the terminal or the server.
Wherein, this terminal can include personal computer, panel computer, smart television, smart mobile phone, intelligent house, wearable electronic equipment, VR/AR equipment, on-vehicle computer etc..
The server may be an interworking server or a background server among a plurality of heterogeneous systems, an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, big data, an artificial intelligence platform and the like, and the like.
In an embodiment, as shown in fig. 1, the video playing apparatus may be integrated on an electronic device such as a terminal or a server, so as to implement the video playing method provided in the embodiment of the present application. Specifically, the electronic device may receive a video smart play instruction, where the video smart play instruction carries a smart play type; determining an intelligent playing logic for playing the video according to the intelligent playing type; analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point; and when the playing video is played at the marked time point, carrying out playing adjustment on the playing video based on the playing configuration information.
The following are detailed below, and it should be noted that the order of description of the following examples is not intended to limit the preferred order of the examples.
In the embodiment of the present application, the video playing method provided in the embodiment of the present application will be described from the perspective of integrating a video playing device in a terminal.
As shown in fig. 2, a video playing method is provided, and the specific flow includes:
101. and receiving a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type.
The video intelligent playing instruction comprises an instruction which can enable the video to be played intelligently.
The smart playing may include that the video may be played at different speeds according to the content of the video. For example, when the video playing device receives a video smart play instruction, the video playing device may cause the video to play slowly in a highlight portion and play quickly in a non-highlight portion.
In an embodiment, since different people do not have the same definition for highlights and highlights, the intelligent playing type is provided in the embodiment of the application, so that different video viewers can obtain an intelligent video playing mode suitable for themselves by selecting the intelligent playing type.
The smart play type may include a general term for a certain video smart play mode. For example, the smart play types may include a fast tempo type, a slow tempo type, a relaxed type, a stimulus type, a perceptual type, and so on.
And the intelligent playing logics corresponding to each intelligent playing type are different. For example, for the fast tempo type, the playing speed of the video as a whole will exhibit a faster tempo, and so on. For example, for a slow tempo genre, the playing speed of the video as a whole programs a slower tempo, and so on. For example, for an easy genre, the video may be played normally in the easy part of the scenario, played fast or skipped in the annoying part of the scenario, and so on. For example, for the stimulus type, the video will be played slowly in the stimulated part of the scenario, and quickly in the drier part of the scenario, and so on.
In an embodiment, when a user wants to watch a video intelligently, the user can start playing the video for intelligent playing through the video playing interface, and select the intelligent playing type through the video playing interface. Then, the video playing device receives the video smart playing command carrying the smart playing type.
For example, a video smart play trigger control can be included on the video playing interface. When the user triggers the video intelligent playing triggering control, an intelligent playing type selection interface is displayed on the video playing interface. When the user selects the intelligent playing type, the video playing device receives a video intelligent playing instruction carrying the intelligent playing type.
In one embodiment, before receiving the video smart play instruction, the video is marked, so that the played video is obtained. For example, a marking time point is marked for the video, and the playing configuration information corresponding to the marking time point is configured, so that the playing video can be intelligently played.
Wherein the video may be marked in a variety of ways. For example, the video may be manually marked, and the playing configuration information corresponding to the marking time point may be configured to obtain the playing video. For another example, the video may be marked in an artificial intelligence manner, and the playing configuration information may be generated in an artificial intelligence manner to obtain the playing video.
In an embodiment, when the video is marked in an artificial intelligence manner, the method provided in the embodiment of the present application may further include:
collecting a plurality of video samples and video playing data corresponding to each video sample;
performing data processing on video playing data to obtain playing characteristics of a video sample;
training a preset video marking model by using a video sample and video playing characteristics to obtain a trained video marking model;
and marking the video by using the trained video marking model to obtain the played video.
The video sample can include videos required for training the preset video mark model. Wherein the video sample may be a video comprising a plurality of different types. For example, the video sample may include action, love, drama, horror, and police, among others. Wherein, different types of videos have different type labels, so that the preset video mark model can be learned through the type labels of the video samples.
The preset video mark model can be any machine learning model. For example, the preset videomark model may be a Convolutional Neural Network (CNN) or a Deep Neural Network (DNN), and so on.
The video playing data may include operation data of the video during the process of watching the video by the user. For example, video playback data may include where the user is watching the video at an accelerated rate, where the user is watching the video at a slower rate, where the user is skipping away, and so forth.
In an embodiment, before the preset video tagging model is trained, a plurality of video samples and video playing data corresponding to each video sample may be acquired. The data playing data may include many redundant data, so that the data processing may be performed on the video playing data to obtain the playing characteristics of the video sample. For example, data cleaning and data mining can be performed on video playing data, so as to obtain playing characteristics of the video sample.
In an embodiment, a preset video tagging model may be trained by using a video sample and video playing characteristics, so as to obtain a trained video tagging model.
For example, the preset video labeling model may be made to learn the labels and video playing characteristics of the video samples, so as to know how to associate the labels and the video playing characteristics of the video samples together, thereby obtaining the trained labeling model.
In an embodiment, after the trained video tagging model is obtained, the trained video tagging model may be utilized to tag a video, so as to obtain a played video. For example, a video may be input to the trained marker model to obtain a played video.
The method for marking the video can be improved by using the artificial intelligence method to mark the video, so that the played video with the marking information can be efficiently obtained, and the efficiency of the video playing method is improved.
102. And determining the intelligent playing logic for playing the video according to the intelligent playing type.
In an embodiment, after the video playing apparatus receives the video smart play instruction carrying the smart play type, the video playing apparatus may determine the smart play logic for playing the video according to the smart play type.
Wherein the playing video may include the video being played.
The intelligent playing logic comprises logic which needs to be observed when playing and adjusting the playing video according to the intelligent playing type.
For example, the smart play logic may include where the video plays fast, where it plays slow, where it skips, etc. under the smart play type.
In one embodiment, the smart play logic for playing the video may be determined in a variety of ways depending on the smart play type.
For example, the same identification information may be added to the smart play type and the smart play logic, so that the smart play logic corresponding to the smart play type may be determined according to the identification information.
For another example, the developer may store the smart play type and the associated smart play logic in the preset logic mapping table, so that the video playing apparatus may determine the smart play logic corresponding to the smart play type according to the preset logic mapping table. Specifically, the step of determining the smart play logic for playing the video according to the smart play type may include:
matching the intelligent playing type with a preset logic mapping table to obtain a matching result;
and mapping the intelligent playing type to the corresponding intelligent playing logic according to the matching result.
The preset logic mapping table comprises a mapping relation between the intelligent playing type and the intelligent playing logic. For example, the preset logic mapping table may be as shown in table 1 below:
smart play type 1 | Intelligent playing logic 1 |
Smart play type 2 | Smart play logic 2 |
Smart play type 3 | Smart Play logic 3 |
…… | …… |
Smart play type n | Smart play logic n |
TABLE 1
For example, the smart play type may be matched with a smart play type in a preset logic table, so as to obtain a smart play logic corresponding to the smart play type.
103. And analyzing the intelligent playing logic to obtain a plurality of marked time points of the played video and playing configuration information corresponding to each marked time point.
In one embodiment, the smart play logic includes where the video is played fast, where it is played slow, where it is skipped, etc. under the smart play type, which can be presented via the marked time point and play configuration information in the smart play logic.
The marked time point can play the time point of the video needing to adjust the playing speed. For example, the playing time of the playing video is 120 minutes. Among these, 20 marked time points were included in the 120 minutes. When the playing video is played to the marked time point, the playing speed of the playing video can be changed.
The playing configuration information may include video playing configuration information corresponding to the marked time point. For example, the playback configuration information may include configuration information of video playback at a marked time point.
For example, the playback configuration information may include a video playback level, a content classification of the video, and the like.
The video playing level may include a level for dividing the video content according to the wonderful degree of the video content.
In an embodiment, the intelligent playing logic may be analyzed in multiple ways to obtain multiple marked time points of the playing video and playing configuration information corresponding to each marked time point.
For example, the smart play logic may be traversed to obtain a plurality of marked time points for playing the video and play configuration information corresponding to each marked time point.
104. And when the playing video is played to the mark time point, the playing adjustment is carried out on the playing video based on the playing configuration information.
In an embodiment, when the playing video is played to the marked time point, the playing adjustment of the playing video may be performed based on the playing configuration information.
For example, when the user triggers a video smart play trigger control on the video play interface, the video playing apparatus will make the playing video perform a smart play mode. When the playing video is played to the mark time point, the video playing device can perform playing adjustment on the playing video based on the playing configuration information.
In an embodiment, the step "performing play adjustment on the played video based on the play configuration information when the played video is played to the mark time point" may include:
when the playing video is played to the marking time point, analyzing the playing configuration information to obtain the video playing grade;
determining the video playing speed of the marked time point based on the video playing grade;
and adjusting and playing the marked video based on the video playing speed.
In an embodiment, when the playing video is played to the marked time point, the video processing device may obtain the playing configuration information corresponding to the marked time point, and analyze the playing configuration information to obtain the video playing level.
The video playing level may include a level for dividing the video content according to the wonderful degree of the video content.
For example, the video playing level may be classified into 0 level to 5 levels according to the degree of highlights of the video content. Where level 0 may be the least wonderful level and level 5 may be the most wonderful level.
In one embodiment, the video playback speed of the marked time point may be determined based on the video playback level. For example, when the video playing level is 0 level, the playing progress of playing the video can be directly moved from the current mark time point to the next mark time point. For another example, when the video play level is level 1, the video play speed of the marked time point may be 2 times fast forward play, and so on. For another example, when the video playback level is 5 levels, the video playback speed of the marked time point may be 0.75 times slow playback, and so on.
In one embodiment, the video playback speed of the marked time point can be determined in various ways based on the video playback level.
For example, the same flag information may be added to the video playback level and the video playback speed, so that the video playback speed corresponding to the video playback level may be determined based on the flag information.
For another example, the relationship between the video playing level and the video playing speed may be stored in a preset level mapping table, and the video playing speed corresponding to the video playing level may be determined by using the preset level mapping table.
In one embodiment, the adjustment of the playing video is different due to different video playing levels. For example, when the video playing level is 0 level, the playing progress of playing the video can be directly moved from the current mark time point to the next mark time point. For another example, when the video play level is level 1, the video play speed of the marked time point may be 2 times fast forward play, and so on. Therefore, when determining the video playing speed of the marked time point based on the video playing level, the video playing level may be first matched with the preset playing threshold. Specifically, the step "determining the video playing speed at the marked time point based on the video playing level" may include:
matching the video playing grade with a preset playing threshold value;
and when the video playing level is matched with the preset playing threshold value, determining the video playing speed of the video playing level according to the preset level mapping table.
The preset playing threshold may be a threshold for determining an adjustment mode for playing the video. For example, the preset play threshold may be 1. When the video playing level is less than 1, the video playing device adjusts the playing video in such a way that the playing progress of the playing video is moved from the current marking time point to the next marking time point. For another example, when the video playback level is greater than or equal to 1, the video playback device adjusts the playback speed of the video.
In an embodiment, when the video playing level matches the preset playing threshold, the video playing speed of the video playing level may be determined according to the preset level mapping table.
For example, when the preset level mapping table records that the video playing level is 1, the video playing speed of the marked time point is 2 times fast forward playing. Therefore, when the video playback level is 1, the video playback speed of the video clip between the marking time point and the next marking time point can be adjusted to 2-fold speed playback.
For another example, when the preset level mapping table records that the video playing level is 5, the video playing speed of the marked time point is 0.75 times that of slow-speed playing. Therefore, when the video playback level is 5, the video playback speed of the video segment between the marking time point and the next marking time point can be adjusted to 0.75 × playback.
In one embodiment, when the video playing level does not match the preset playing threshold, a next marking time point of the marking time points can be determined. Then, calling a preset video adjusting interface, and moving the playing process of playing the video from the marking time point to the next marking time point.
The preset video adjusting interface can be a preset interface which can move the playing process of playing the video from the marking time point to the next marking time point.
For example, the preset video adjustment interface may be a seekTo interface. The seekTo interface may be an interface for fast forwarding or rewinding the video. Through the seekTo interface, the playing process of playing the video can be moved from the marked time point to the next interface marked time point.
In an embodiment, the embodiment of the application also allows a user to perform custom setting on the played video. For example, a user can customize at which points in time a playing video is fast-forwarding, which points in time a playing video is slow-playing, and so on. Specifically, the method provided by the embodiment of the present application further includes:
acquiring user-defined marking time points and user-defined playing configuration information corresponding to each user-defined marking time point;
dividing a playing video into a plurality of video segments according to the self-defined marking time points;
and performing video adjustment processing on the video clip based on the user-defined playing configuration information to obtain an adjusted video.
In one embodiment, a custom trigger control is included on the video playing interface. And when the user triggers the self-defined trigger control, the marking time point of the playing video can be displayed on the video playing interface. Then, when the user wants to customize the playing configuration information of some marked time points, the user can select a self-defined marked time point from the plurality of marked time points and perform self-defined configuration on the playing configuration information of the self-defined marked time point to obtain the self-defined configuration information.
In an embodiment, after the user defines the video, the video playing device may receive the user-defined marking time point and the user-defined playing configuration information corresponding to the user-defined marking time point, and perform video adjustment processing on the video clip based on the user-defined playing configuration information to obtain an adjusted video.
For example, the video playing apparatus may update the original playing configuration information of the self-defined mark time point to the self-defined playing configuration information, and then when playing the adjusted video, the video playing apparatus may perform intelligent playing on the adjusted video according to the self-defined playing configuration information.
In an embodiment, in order to more clearly illustrate that the video playing method is proposed in the embodiment of the present application, a flow of the video playing method proposed in the embodiment of the present application may also be as shown in fig. 3 and fig. 4. Firstly, a developer can mark a video at a cloud server to obtain a played video. For example, the video can be marked by using an artificial intelligence method to obtain a played video. Then, when the user watches the play video, the video playing apparatus may acquire a play file of the play video. When the user triggers the video intelligent playing control, the video playing device can receive a video intelligent playing instruction, and the video intelligent playing instruction carries an intelligent playing type. Then, the video playing apparatus may determine the smart play logic for playing the video according to the smart play type. For example, the video smart play instruction carries a light play type, and then the video playing apparatus may determine a smart play logic corresponding to the light play type.
In an embodiment, after the smart play logic is determined, the smart play logic may be analyzed to obtain a plurality of marked time points for playing the video and play configuration information corresponding to each marked time point. When the playing video is played and the time point is marked, whether the current marked time point needs to be played at a double speed or not can be judged based on the playing configuration information. If the double-speed playing is needed, the video playing speed can be determined according to the video playing grade of the current marked time point, and the playing video is subjected to double-speed playing according to the video playing speed. Then, when the playing video is played to the next marked time point, whether the next marked time point needs to be played at double speed can be judged.
In one embodiment, during the playing of the video, the video playing apparatus may continuously detect whether the playing of the video is finished. If the playing is not finished, the video playing device can continuously detect that the user video starts the intelligent playing.
The embodiment of the application provides a video playing method, which can receive a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type; determining an intelligent playing logic for playing the video according to the intelligent playing type; analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point; and when the playing video is played to the mark time point, the playing adjustment is carried out on the playing video based on the playing configuration information. By the video playing method provided by the embodiment of the application, a user can enjoy immersive watching experience without manually operating the terminal to change the watching process of the video, so that the interestingness of watching the video by the user is improved. When the user intelligently watches the video, the user can also select the intelligent playing type, so that the user can select a watching model suitable for the user, and the immersive mode of watching the video by the user is further improved.
In addition, the embodiment of the application can also mark the video in an artificial intelligence mode. The method for marking the video can be improved by using the artificial intelligence method to mark the video, so that the played video with the marking information can be efficiently obtained, and the efficiency of the video playing method is improved.
In order to better implement the video playing method provided by the embodiment of the present application, in an embodiment, a video playing device is further provided, and the video playing device may be integrated in an electronic device. The meaning of the noun is the same as that in the video playing method, and specific implementation details can refer to the description in the method embodiment.
In an embodiment, a video playing apparatus is provided, and the video playing apparatus may be specifically integrated in an electronic device, as shown in fig. 5, the video playing apparatus includes: the receiving unit 301, the determining unit 302, the parsing unit 303, the adjusting unit 304, and the playing adjusting unit 305 are as follows:
a receiving unit 301, configured to receive a video smart play instruction, where the video smart play instruction carries a smart play type;
a determining unit 302, configured to determine an intelligent playing logic for playing a video according to the intelligent playing type;
an analyzing unit 303, configured to analyze the intelligent playing logic to obtain multiple marked time points of the played video and playing configuration information corresponding to each marked time point;
a playing adjusting unit 304, configured to perform playing adjustment on the playing video based on the playing configuration information when the playing video is played at the marked time point.
In an embodiment, the playing adjusting unit 304 includes:
the analysis subunit is used for analyzing the playing configuration information when the playing video is played at the marked time point to obtain a video playing grade;
a first determining subunit, configured to determine, based on the video playing level, a video playing speed of the marked time point;
and the playing adjusting subunit is used for adjusting and playing the marked video based on the video playing speed.
In one embodiment, the first determining subunit includes:
the first matching module is used for matching the video playing grade with a preset playing threshold value;
and the first determining module is used for determining the video playing speed of the video playing grade according to a preset grade mapping table when the video playing grade is matched with the preset playing threshold value.
In an embodiment, the first determining subunit further includes:
a second determining module, configured to determine a next marking time point of the marking time points when the video playing level is not matched with the preset playing threshold;
and the calling module is used for calling a preset video adjusting interface to move the playing process of the playing video from the marking time point to the next marking time point.
In an embodiment, the determining unit 302 includes:
the second determining subunit is used for matching the intelligent playing type with a preset logic mapping table to obtain a matching result;
and the first mapping subunit is used for mapping the intelligent playing type to the corresponding intelligent playing logic according to the matching result.
In one embodiment, the video playing apparatus further includes:
the acquisition unit is used for acquiring the user-defined marking time points and user-defined playing configuration information corresponding to each user-defined marking time point;
the dividing unit is used for dividing the playing video into a plurality of video segments according to the user-defined marking time points;
and the segment adjusting unit is used for carrying out video adjustment processing on the video segments based on the user-defined playing configuration information to obtain adjusted videos.
In one embodiment, the video playing apparatus further includes:
the acquisition unit is used for acquiring a plurality of video samples and video playing data corresponding to each video sample;
the data processing unit is used for carrying out data processing on the video playing data to obtain the playing characteristics of the video sample;
the training unit is used for training a preset video marking model by using the video sample and the video playing characteristics to obtain a trained video marking model;
and the marking unit is used for marking the video by utilizing the trained video marking model to obtain the played video.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The video playing device can improve the interestingness of watching videos by users.
The embodiment of the application also provides an electronic device, which can comprise a terminal or a server; for example, the electronic device may be a server, such as a video playing server. As shown in fig. 6, it shows a schematic structural diagram of a terminal according to an embodiment of the present application, specifically:
the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user pages, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the computer device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
receiving a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type;
determining an intelligent playing logic for playing the video according to the intelligent playing type;
analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and when the playing video is played at the marked time point, carrying out playing adjustment on the playing video based on the playing configuration information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
According to an aspect of the application, there is provided a computer program application or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations of the above embodiments.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, embodiments of the present application further provide a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute the steps in any one of the video playing methods provided in the embodiments of the present application. For example, the computer program may perform the steps of:
receiving a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type;
determining an intelligent playing logic for playing the video according to the intelligent playing type;
analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and when the playing video is played at the marked time point, carrying out playing adjustment on the playing video based on the playing configuration information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Since the computer program stored in the storage medium can execute the steps in any video playing method provided in the embodiments of the present application, beneficial effects that can be achieved by any video playing method provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The video playing method, the video playing apparatus, the electronic device, and the storage medium provided in the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (10)
1. A video playback method, comprising:
receiving a video intelligent playing instruction, wherein the video intelligent playing instruction carries an intelligent playing type;
determining an intelligent playing logic for playing the video according to the intelligent playing type;
analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and when the playing video is played to the marked time point, carrying out playing adjustment on the playing video based on the playing configuration information.
2. The method of claim 1, wherein the performing playback adjustment on the playback video based on the playback configuration information when the playback video is played back to the marked time point comprises:
when the playing video is played to the marked time point, analyzing the playing configuration information to obtain a video playing grade;
determining the video playing speed of the marked time point based on the video playing grade;
and adjusting and playing the marked video based on the video playing speed.
3. The method of claim 2, wherein said determining the video playback speed for the marked point in time based on the video playback level comprises:
matching the video playing grade with a preset playing threshold value;
and when the video playing level is matched with the preset playing threshold value, determining the video playing speed of the video playing level according to a preset level mapping table.
4. The method of claim 3, wherein the method further comprises:
when the video playing grade is not matched with the preset playing threshold value, determining a next marking time point of the marking time points;
and calling a preset video adjusting interface to move the playing process of the playing video from the marking time point to the next marking time point.
5. The method of claim 1, wherein determining smart play logic to play the video based on the smart play type comprises:
matching the intelligent playing type with a preset logic mapping table to obtain a matching result;
and mapping the intelligent playing type to a corresponding intelligent playing logic according to the matching result.
6. The method of claim 1, wherein the method further comprises:
acquiring user-defined marking time points and user-defined playing configuration information corresponding to each user-defined marking time point;
dividing the playing video into a plurality of video segments according to the user-defined marking time points;
and performing video adjustment processing on the video clip based on the user-defined playing configuration information to obtain an adjusted video.
7. The method of claim 1, wherein the receiving a video smart play instruction, the video smart play instruction carrying a smart play type, comprises:
collecting a plurality of video samples and video playing data corresponding to each video sample;
performing data processing on the video playing data to obtain the playing characteristics of the video sample;
training a preset video marking model by using the video sample and the video playing characteristics to obtain a trained video marking model;
and marking the video by using the trained video marking model to obtain the played video.
8. A video playback apparatus, comprising:
the receiving unit is used for receiving a video intelligent playing instruction, and the video intelligent playing instruction carries an intelligent playing type;
the determining unit is used for determining the intelligent playing logic for playing the video according to the intelligent playing type;
the analysis unit is used for analyzing the intelligent playing logic to obtain a plurality of marking time points of the playing video and playing configuration information corresponding to each marking time point;
and the playing adjustment unit is used for adjusting the playing of the playing video based on the playing configuration information when the playing of the playing video is at the marked time point.
9. An electronic device comprising a memory and a processor; the memory stores a computer program, and the processor is configured to execute the computer program in the memory to perform the video playing method according to any one of claims 1 to 7.
10. A storage medium storing a plurality of computer programs adapted to be loaded by a processor to perform the video playback method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111193150.5A CN114007122B (en) | 2021-10-13 | 2021-10-13 | Video playing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111193150.5A CN114007122B (en) | 2021-10-13 | 2021-10-13 | Video playing method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114007122A true CN114007122A (en) | 2022-02-01 |
CN114007122B CN114007122B (en) | 2024-03-15 |
Family
ID=79922703
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111193150.5A Active CN114007122B (en) | 2021-10-13 | 2021-10-13 | Video playing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114007122B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014176470A1 (en) * | 2013-04-26 | 2014-10-30 | Microsoft Corporation | Video service with automated video timeline curation |
WO2016127862A1 (en) * | 2015-02-13 | 2016-08-18 | 上海交通大学 | Method for implementing personalized presentation of associated multimedia content, and application |
US20170171270A1 (en) * | 2015-12-14 | 2017-06-15 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for controlling video playing |
CN108184169A (en) * | 2017-12-28 | 2018-06-19 | 广东欧珀移动通信有限公司 | Video broadcasting method, device, storage medium and electronic equipment |
WO2018108063A1 (en) * | 2016-12-15 | 2018-06-21 | 优视科技有限公司 | Video playing method, terminal device, server and storage medium |
CN110072146A (en) * | 2019-04-17 | 2019-07-30 | 长沙理工大学 | Power-saving method, device and the storage medium of mobile terminal playing Online Video |
CN110719524A (en) * | 2019-10-16 | 2020-01-21 | 腾讯科技(深圳)有限公司 | Video playing method and device, intelligent playing equipment and storage medium |
CN112866809A (en) * | 2020-12-31 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Video processing method and device, electronic equipment and readable storage medium |
CN112969100A (en) * | 2021-03-24 | 2021-06-15 | 西安闻泰信息技术有限公司 | Video playing control method, device, equipment and medium |
KR20210087096A (en) * | 2020-02-28 | 2021-07-09 | 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. | Video playback methods, devices, electronic devices, storage media and computer program products |
WO2021142035A1 (en) * | 2020-01-07 | 2021-07-15 | Dolby Laboratories Licensing Corporation | A computer implemented method, device and computer program product for setting a playback speed of media content comprising audio |
WO2021169458A1 (en) * | 2020-02-28 | 2021-09-02 | 北京百度网讯科技有限公司 | Video playback method and apparatus, electronic device, and storage medium |
-
2021
- 2021-10-13 CN CN202111193150.5A patent/CN114007122B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014176470A1 (en) * | 2013-04-26 | 2014-10-30 | Microsoft Corporation | Video service with automated video timeline curation |
WO2016127862A1 (en) * | 2015-02-13 | 2016-08-18 | 上海交通大学 | Method for implementing personalized presentation of associated multimedia content, and application |
US20170171270A1 (en) * | 2015-12-14 | 2017-06-15 | Le Holdings (Beijing) Co., Ltd. | Method and electronic device for controlling video playing |
WO2018108063A1 (en) * | 2016-12-15 | 2018-06-21 | 优视科技有限公司 | Video playing method, terminal device, server and storage medium |
CN108184169A (en) * | 2017-12-28 | 2018-06-19 | 广东欧珀移动通信有限公司 | Video broadcasting method, device, storage medium and electronic equipment |
CN110072146A (en) * | 2019-04-17 | 2019-07-30 | 长沙理工大学 | Power-saving method, device and the storage medium of mobile terminal playing Online Video |
CN110719524A (en) * | 2019-10-16 | 2020-01-21 | 腾讯科技(深圳)有限公司 | Video playing method and device, intelligent playing equipment and storage medium |
WO2021142035A1 (en) * | 2020-01-07 | 2021-07-15 | Dolby Laboratories Licensing Corporation | A computer implemented method, device and computer program product for setting a playback speed of media content comprising audio |
KR20210087096A (en) * | 2020-02-28 | 2021-07-09 | 베이징 바이두 넷컴 사이언스 앤 테크놀로지 코., 엘티디. | Video playback methods, devices, electronic devices, storage media and computer program products |
WO2021169458A1 (en) * | 2020-02-28 | 2021-09-02 | 北京百度网讯科技有限公司 | Video playback method and apparatus, electronic device, and storage medium |
CN112866809A (en) * | 2020-12-31 | 2021-05-28 | 百度在线网络技术(北京)有限公司 | Video processing method and device, electronic equipment and readable storage medium |
CN112969100A (en) * | 2021-03-24 | 2021-06-15 | 西安闻泰信息技术有限公司 | Video playing control method, device, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN114007122B (en) | 2024-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110209843B (en) | Multimedia resource playing method, device, equipment and storage medium | |
CN110149558B (en) | Video playing real-time recommendation method and system based on content identification | |
US10341461B2 (en) | System and method for automatically recreating personal media through fusion of multimodal features | |
US9374411B1 (en) | Content recommendations using deep data | |
CN108184169B (en) | Video playing method and device, storage medium and electronic equipment | |
CN111368141B (en) | Video tag expansion method, device, computer equipment and storage medium | |
CN101444092A (en) | Video reproduction device, video reproduction method, and video reproduction program | |
CN109600643A (en) | Video providing method, playback method, device and storage medium | |
CN111416995A (en) | Content pushing method and system based on scene recognition and intelligent terminal | |
CN114339285A (en) | Knowledge point processing method, video processing method and device and electronic equipment | |
CN111930974A (en) | Audio and video type recommendation method, device, equipment and storage medium | |
CN108268644B (en) | Video searching method, server and video searching system | |
CN113411674A (en) | Video playing control method and device, electronic equipment and storage medium | |
CN106815284A (en) | The recommendation method and recommendation apparatus of news video | |
CN112579935A (en) | Page display method, device and equipment | |
CN106131587B (en) | Audio/video carousel method and system and server side with system | |
CN110569447A (en) | network resource recommendation method and device and storage medium | |
CN111274449A (en) | Video playing method and device, electronic equipment and storage medium | |
CN114007122B (en) | Video playing method and device, electronic equipment and storage medium | |
CN112328152B (en) | Method and device for controlling playing of media file, electronic equipment and storage medium | |
CN112153478B (en) | Video processing method and video playing method | |
CN111225250B (en) | Video extended information processing method and device | |
CN113965806A (en) | Video recommendation method and device and computer-readable storage medium | |
CN113688260A (en) | Video recommendation method and device | |
CN112989102A (en) | Audio playing control method and device, storage medium and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |