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

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

Info

Publication number
CN114268847A
CN114268847A CN202111534771.5A CN202111534771A CN114268847A CN 114268847 A CN114268847 A CN 114268847A CN 202111534771 A CN202111534771 A CN 202111534771A CN 114268847 A CN114268847 A CN 114268847A
Authority
CN
China
Prior art keywords
playing
video
rule
target video
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111534771.5A
Other languages
Chinese (zh)
Inventor
陈都
祖明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202111534771.5A priority Critical patent/CN114268847A/en
Publication of CN114268847A publication Critical patent/CN114268847A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The disclosure provides a video playing method and device, electronic equipment and a storage medium, and relates to the technical field of video processing, in particular to the technical field of video playing. The specific implementation scheme is as follows: acquiring a user-defined operation rule set by a user on a target video; segmenting the target video based on the user-defined operation rule to generate a playing rule for playing the target video; and playing the target video according to the playing rule. By the method and the device, the playing rule of the video can be customized, and the experience and watching efficiency of a user on the player are improved.

Description

Video playing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of video processing technologies, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of networks, the way of transmitting information is changing, especially the media types, and the transition from graphics to video is gradually carried out. And the content distribution of some applications is carried by video, and the content distribution mode is higher and higher. And users demand more and more efficiency in watching videos.
Disclosure of Invention
The disclosure provides a video playing method, a video playing device, electronic equipment and a storage medium.
According to a first aspect of the present disclosure, there is provided a video playing method applied to a video player, the method including:
acquiring a user-defined operation rule set by a user on a target video; segmenting the target video based on the user-defined operation rule to generate a playing rule for playing the target video; and playing the target video according to the playing rule.
According to a second aspect of the present disclosure, there is provided a video playing method applied to a video server, the method including:
acquiring a playing rule, wherein the playing rule is generated by segmenting a target video according to an acquired user-defined operation rule by a video player, and the playing rule is used for playing the target video; and saving the playing rule.
According to a third aspect of the present disclosure, there is provided an apparatus for video playing, which is applied to a video player, the apparatus including:
the acquisition module is used for acquiring a user-defined operation rule set by a user on a target video; the processing module is used for segmenting the target video based on the user-defined operation rule and generating a playing rule for playing the target video; and the playing module is used for playing the target video according to the playing rule. .
According to a fourth aspect of the present disclosure, there is provided a video playing apparatus applied to a video server, the apparatus including:
the acquisition module is used for acquiring a playing rule, wherein the playing rule is generated by segmenting a target video according to an acquired user-defined operation rule by a video player, and the playing rule is used for playing the target video; and the storage module is used for storing the playing rule. .
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of the first aspect or to enable the at least one processor to perform the method of the second aspect.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method according to the first aspect or the second aspect.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method according to the first aspect, or which, when executed by a processor, implements the method according to the second aspect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flowchart illustrating a video playing method provided by an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a process of generating a video playing rule in a video playing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a process of generating a video playing rule in a video playing method according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart illustrating a video playing method provided by an embodiment of the present disclosure;
fig. 5 is a schematic flowchart illustrating a video playing method provided by an embodiment of the present disclosure;
fig. 6 is a schematic flowchart illustrating a video playing method according to an embodiment of the present disclosure;
fig. 7 is a schematic flowchart illustrating a storage of a playing rule in a video playing method according to an embodiment of the present disclosure;
fig. 8 is a schematic flowchart illustrating a video playing method provided by an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram illustrating a video playing provided by an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram illustrating a video playing provided by an embodiment of the present disclosure;
fig. 11 is a block diagram of an electronic device for implementing a method of video playback of an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
With the rapid development of networks, the way of transmitting information is changing, especially the media types, and the transition from graphics to video is gradually carried out. And the content distribution ratio of some applications is higher and higher, even reaching 75%, by carrying the content distribution mode by the video. And users demand more and more efficiency in watching videos.
In the related art, in order to improve the efficiency of watching videos by users, a function of playing video multiples, and a function of fast rewinding or fast forwarding and the like are arranged on a player. The fast-backward or fast-forward functions are based on the time axis to jump videos, and the understanding of key contents of the videos is lacked, so that suggestions on whether the video contents need to be fast-forward or fast-backward cannot be provided for users, the users can only manually adjust the video contents, and the experience and the efficiency are relatively poor. And the playing rules cannot be redefined by the user, and the personalization and the playability are lacked.
Based on the above, the present disclosure provides a video playing method, which marks the key content of a video based on the understanding of a user on the video, performs effective segmentation, and forms a corresponding new playing mode for each video. The method is particularly applied to User-generated Content (UGC), and the playing mode aiming at the target video is obtained through the User-defined operation of the User, so that the efficiency of obtaining the key Content of the video playing Content by the User is improved, the experience, the playability and the watching efficiency of the video player are improved, and the stickiness of the User to the video playing is increased.
The following embodiments will explain a video playing method provided by the present disclosure with reference to the drawings.
Fig. 1 shows a schematic flowchart of a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 1, the method applied in a video player may include:
in step S110, a custom operation rule set by the user for the target video is obtained.
In the embodiment of the disclosure, an interface for customizing the operation rule can be provided for a user, and the user can define the operation rule for playing the target video according to the interface. The video player can be pre-configured with a custom operation rule set, and a user can determine the custom operation rule for the target video in the custom operation rule set. For example, an interface of a custom operation rule may be provided for a user, in the interface, the user sets the custom operation rule for a target video based on a custom operation rule set, and after the user sets the target video to complete the custom operation rule, the video player loads the custom operation rule set by the user, that is, the video player may obtain the custom operation rule set by the user for the target video.
In step S120, the target video is segmented based on the customized operation rule, and a playing rule for playing the target video is generated.
In the embodiment of the disclosure, the video player segments the target video according to the obtained custom operation rule, and then generates a playing rule for playing the target video according to the custom operation rule on the segmented target video. And the video player plays the segmented target video in a preview playing mode according to a playing rule. In the process of previewing and playing, the user-defined operation rule can be finely adjusted, and a final playing rule is generated based on the finely adjusted user-defined operation rule.
In step S130, the target video is played according to the playing rule.
In the embodiment of the present disclosure, the video player plays the target video according to the generated play rule. When watching the target video, the user can play the target video in sequence or jump to play the target video according to the playing rule of the target video.
By the video playing method provided by the disclosure, the corresponding playing rule can be defined for each video in an individualized way, and different playing rules are defined for different videos, so that the experience and the playability of a user on the videos are improved.
The following embodiments will describe obtaining custom operation rules for a target video.
In the embodiment of the disclosure, the user-defined operation rule may be determined by a user-defined operation rule set. The custom operation rules can comprise video key content operation rules, video content identification area rules and video content segmentation rules.
The video key content operation rule may define a video key frame, and the video key frame is used for identifying a scene of a target video. The video content identification area is a part of content in a video key frame, such as a key image, a key word and the like, but is not limited to the key image, the key word and the like.
A user can define a video key frame in a screen capture mode, and a scene used for identifying the target video is determined in the video key frame.
Illustratively, the target video is a movie, a user acquires a frame image containing a target person from the movie video, and captures the frame image to obtain the frame image, and the user defines the acquired frame image as a video key frame based on an interface of a video key content operation rule. Further, a region including a target person partial image may be selected in the frame image as a region for identifying the target video scene; and defining the partial image containing the target character selected from the video key frame as a video content identification area based on the interface of the video content identification area rule. And traversing the target video through the partial images containing the target person, and finding out all video frames containing the target person images. Marking all video frames containing the target character image, and defining the segmentation position based on the interface of the video content segmentation rule. For example, the target video is sliced at a position 10s before and after each video frame containing the image of the target person, and a plurality of video segments including the target person are obtained. Triggering to enable the video player to load the video key content operation rule, the video content identification area rule and the video content segmentation rule which are defined and completed by the user.
Illustratively, the target video is a game video in which the user acquires a frame image containing the point change, and acquires the frame image. And defining the acquired image containing the integral change frame as a video key frame by the user based on the interface of the video key content operation rule. Further, a partial image area including an integral layout may be selected in the frame image as an area for identifying a target video scene; and defining a partial image area containing an integral page selected from the video key frame as a video content identification area based on the interface of the video content identification area rule. And traversing the target video through the partial images containing the integral layouts, and finding out video frames with integral transmission changes in all the integral layouts. And marking the video frames with the changed integral transmission, and setting the segmentation position based on the video content segmentation rule. For example, the target video is sliced at a position 5s before and after each video frame containing the image of the target person, and a plurality of video segments including integral change are obtained. Triggering to enable the video player to load the video key content operation rule, the video content identification area rule and the video content segmentation rule which are defined and completed by the user.
Illustratively, advertisements in the target video may also be segmented. For example, an advertisement video frame image of a target video play is obtained, and the frame image is defined as a video key frame by a user based on an interface of a video key content operation rule. And selecting a certain advertisement statement from the video key, and defining the selected advertisement statement as a video content identification area based on an interface of a video content identification area rule. And similarly, traversing the target video according to the defined advertisement statement, finding out all video frames comprising the advertisement statement, and marking the video frames comprising the advertisement statement. And defining a target video to be segmented in 10s before and after the video frame including the advertisement statement based on the video content segmentation rule. After the user finishes defining the video key frame, the video content identification area and the video content segmentation rule, the video player is triggered to load the video key content operation rule, the video content identification area rule and the video content segmentation rule which are defined by the user.
And in response to the detection of the user-defined operation instruction of the target video, determining a user-defined operation rule corresponding to the user-defined operation instruction from a predefined user-defined operation rule set through a video loading inlet, and loading the target video.
The following embodiments will explain the generation of a playing rule for playing a target video by segmenting the target video based on a custom operation rule.
Fig. 2 is a schematic flowchart illustrating a process of generating a video playing rule in a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 2, the method applied in a video player may include:
in step S210, the video key content operation rule is analyzed to obtain a video key frame, and the video content identification area rule is analyzed to obtain a custom video content identification area for identifying the video key frame.
In the embodiment of the disclosure, the video player analyzes the loaded custom video key content operation identification rule to obtain a user custom video key frame for the target video. And further analyzing the rule of the user-defined video content identification area to obtain a user-defined video content identification area for identifying the video key frame. For example, the custom video key frame is a game video score panel, and the custom video content identification area rule is a score of the game video score panel.
In step S220, the target video is traversed based on the user-defined video content identification area to obtain the position of the video key frame in the target video, and the position is identified.
In the embodiment of the disclosure, the video player traverses the target video according to the rule of the user-defined video content identification area in the parsed video key frame, and identifies the video frame related to the user-defined video content identification area. And acquiring the position of the video frame related to the user-defined video content identification area in the target video, and identifying the position.
In step S230, the video content segmentation rule is parsed to obtain a start position before the position and an end position after the position.
In the embodiment of the disclosure, the video player obtains the user-defined time period for segmenting the video according to the parsed user-defined video content segmentation rule. For example, the customized video content segmentation rule is that 10 seconds before the identification position is the starting position of the segmented video, and 10 seconds after the identification position is the ending position of the segmented video.
In step S240, the target video is segmented at the start position and the end position to obtain a video segment containing video key frames, and a playing rule based on the video segment is generated.
In the embodiment of the disclosure, the video player segments the target video according to the obtained start position and end position for segmenting the video, so as to obtain a video segment containing a video key frame. And generating a playing rule according to the obtained video segment, wherein the playing rule supports skip playing of the video segment.
Fig. 3 is a schematic flowchart illustrating a process of generating a video playing rule in a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 3, the method applied in a video player may include:
in step S310, the play target video is previewed based on the play rule.
In the embodiment of the present disclosure, the video player plays the segmented target video segment in a preview playing form according to the custom-generated playing rule. The preview playing can support fine adjustment of the playing rule of the target video.
In step S320, in response to detecting the adjustment operation on the target video and adjusting the customized operation rule based on the adjustment operation, the playing rule for playing the target video is regenerated.
In the embodiment of the present disclosure, if an adjustment operation on the target video is detected, for example, a start position of the segmentation target video and an end position of the target video are adjusted. And recording the adjusted offset by taking the initial position and the end position of the segmentation target video obtained by analyzing the user-defined video content segmentation rule as the reference. And re-determining the starting position and the ending position of the segmentation target video according to the recorded offset, and further re-generating the playing rule aiming at the target video.
In the disclosure, the target video of the finally generated playing rule may be saved to the local device, or may be uploaded to the video server through the video player, or may be shared to a corresponding social channel through a third-party social application.
In the embodiment of the present disclosure, after the video player generates the playing rule, the video player may send the generated playing rule to the video server, and the video server may store the playing rule, mark timestamp information on the target video based on the playing rule, and send the marked timestamp information to the video player. And the timestamp information is timestamp identification of the video server for marking the target video based on the playing rule.
And after receiving the timestamp information sent by the video server, the video player plays the target video according to the playing rule and the timestamp information.
Fig. 4 shows a flowchart of a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 4, the method applied in a video player may include:
in step S410, the timestamp information is added to the target video, so as to obtain the target video including the timestamp information and the playing rule.
In the embodiment of the present disclosure, the video server may store a playing rule stored in the video player, determine a target video content timestamp identifier according to a custom video content segmentation rule in the playing rule, and send content corresponding to timestamp information when the video player plays a corresponding target video, for example, send a video segment that can be skipped to.
In step S420, the target video is played according to the generated playing rule and the timestamp information.
In the embodiment of the present disclosure, when playing a target video, a video player plays the target video according to a playing rule corresponding to the target video, receives corresponding content sent by a video server at a position identified with timestamp information, and can play the target video according to a watching requirement or skip to play the target video.
Fig. 5 shows a flowchart of a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 5, the method applied in a video player may include:
in step S510, a plurality of playing rules stored by the video server and a hotness ranking of the plurality of playing rules are obtained.
In the embodiment of the present disclosure, the video server may store a plurality of play rules uploaded by the video player, and obtain the usage heat of each play rule in the plurality of play rules. The video server carries out heat processing sequencing on the heat used by each playing rule to obtain the heat sequencing of the plurality of playing rules. The video player obtains a plurality of playing rules stored by the video server and the hot sequencing of the playing rules.
In step S520, at least one playing rule with the highest hot ranking is displayed according to the hot ranking of the plurality of playing rules.
In the disclosed embodiment, the video player provides an entrance for adding custom operation and provides the generated playing rule. And at least one playing rule with the highest display popularity ranking is used for directly selecting the playing rule.
In the present disclosure, by displaying at least one play rule with the highest ranking of popularity, the intelligence and convenience of the video player can be improved.
Based on the same/similar concept, the present disclosure also provides a video playing method.
Fig. 6 shows a flowchart of a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 6, the method applied in a video server may include:
in step S610, a playback rule is acquired.
In the embodiment of the present disclosure, the playing rule is used for the video player to play the target video, and the playing rule is generated by segmenting the target video according to the obtained user-defined operation rule by the video player.
In the disclosure, a video server receives a playing rule uploaded by a video player, and performs timestamp information identification on a target video corresponding to the playing rule to obtain timestamp information corresponding to the target video.
In step S620, the playback rule is saved.
In the embodiment of the present disclosure, the video server may store the received play rule so as to provide the play rule to other users.
By the video playing method, the corresponding video playing rule can be provided for a single target video, the personalized definition of video playing is realized, and the video watching efficiency is improved.
Fig. 7 is a schematic flowchart illustrating a flow of storing a playing rule in a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 7, the method applied in a video server may include:
in step S710, the playing rule sent by the video player is saved, and the popularity of using the playing rule is obtained.
In the embodiment of the present disclosure, the video player receives the plurality of playing rules uploaded by the video player, stores the received plurality of playing rules, and further can obtain the usage heat of each playing rule in the plurality of playing rules.
In step S720, according to the popularity of the playing rules, a popularity ranking process is performed on the plurality of stored playing rules to obtain a popularity ranking of the plurality of playing rules.
In the present disclosure, according to the popularity of the obtained play rule, popularity ranking processing is performed on the plurality of stored play rules to obtain popularity ranking of the plurality of play rules. And provided to the video player.
The following embodiment will explain the interactive process of video playback.
Fig. 8 is a flowchart illustrating a video playing method provided by an embodiment of the present disclosure, and as shown in fig. 8, a set of customized operation rules that can be defined is preset in a video player. And the display interface operates the user-defined operation set and marks the target video. The user-defined operation rules comprise user-defined video key content operation rules, user-defined video content identification area rules and user-defined video content segmentation rules. And the video player loads a custom operation rule and divides the video. And previewing and playing the segmented target video by the video player, supporting adjustment based on a previewing and playing mode, and then recording an adjustment result. And uploading the generated playing rules to a video server based on the video player, and sharing or uploading the playing rules to a social channel. And the video server stores the received playing rules and carries out content timestamp identification according to the playing rules of each video. And then the video player acquires the playing rules stored by the video server and the corresponding use heat thereof, and displays at least one generated playing rule based on the sequence from high to low of the heat so as to directly select the playing rules, thereby improving the learning intelligence of the video player, improving the video watching efficiency of the user and increasing the user viscosity.
Based on the same principle as the method shown in fig. 1, fig. 9 shows a schematic structural diagram of video playing provided by the embodiment of the present disclosure, as shown in fig. 9, the video playing apparatus 100 may include:
the acquisition module 101 is used for acquiring a user-defined operation rule set by a user on a target video; the processing module 102 is configured to segment the target video based on the customized operation rule, and generate a playing rule for playing the target video; and the playing module 103 is configured to play the target video according to the playing rule.
An obtaining module 101, configured to determine a predefined user-defined operation rule set, where the user-defined operation rule set is used for a user to define an operation rule; acquiring a user-defined operation rule set for the target video by the user based on the user-defined operation rule set; the user-defined operation rules comprise video key content operation rules, video content identification area rules and video content segmentation rules.
The playing module 103 is configured to analyze the video key content operation rule to obtain a video key frame, and analyze the video content identification area rule to obtain a custom video content identification area for identifying the video key frame; traversing the target video based on the user-defined video content identification area to obtain the position of the video key frame in the target video, and identifying the position;
analyzing the video content segmentation rule to obtain a starting position before the position and an ending position after the position; and segmenting the target video at the starting position and the ending position to obtain a video segment containing the video key frame, and generating a playing rule based on the video segment.
The playing module 103 is further configured to preview and play the target video based on the playing rule;
and responding to the detected adjustment operation on the target video, adjusting the self-defined operation rule based on the adjustment operation, and regenerating the playing rule for playing the target video.
The playing module 103 is configured to send the playing rule to a video server; responding to the received timestamp information sent by the video server, and playing the target video according to the playing rule and the timestamp information; the timestamp information is a timestamp identification of the video server for marking the target video based on the playing rule.
The playing module 103 is configured to obtain timestamp information, add the timestamp information to the target video, and obtain a target video including the timestamp information and a playing rule; and playing the target video according to the generated playing rule and the timestamp information.
The obtaining module 101 is further configured to obtain a plurality of playing rules stored by the video server, and a heat rank of the plurality of playing rules; and displaying at least one playing rule with the highest hot ranking according to the hot ranking of the plurality of playing rules.
Based on the same principle as the method shown in fig. 6, fig. 10 shows a schematic structural diagram of video playing provided by the embodiment of the present disclosure, as shown in fig. 10, the video playing apparatus 200 may include:
an obtaining module 201, configured to obtain a playing rule, where the playing rule is generated by segmenting a target video according to an obtained user-defined operation rule, and the playing rule is used for playing the target video; a saving module 202, configured to save the playing rule.
The storage module 202 is further configured to store the playing rule sent by the video player, and obtain the heat of using the playing rule; and according to the popularity of the playing rules, carrying out popularity sorting processing on the plurality of stored playing rules to obtain the popularity sorting of the plurality of playing rules.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 11 shows a schematic block diagram of an example electronic device 300 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 11, the apparatus 300 includes a computing unit 301 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)302 or a computer program loaded from a storage unit 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the device 300 can also be stored. The calculation unit 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Various components in device 300 are connected to I/O interface 305, including: an input unit 306 such as a keyboard, a mouse, or the like; an output unit 307 such as various types of displays, speakers, and the like; a storage unit 308 such as a magnetic disk, optical disk, or the like; and a communication unit 309 such as a network card, modem, wireless communication transceiver, etc. The communication unit 309 allows the device 300 to exchange information/data with other devices via a computer network such as the internet and/or various telecommunication networks.
The computing unit 301 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 301 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 301 performs the respective methods and processes described above, such as the method video playback. For example, in some embodiments, the method video playback may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 308. In some embodiments, part or all of the computer program may be loaded and/or installed onto device 300 via ROM 302 and/or communication unit 309. When the computer program is loaded into RAM 303 and executed by the computing unit 301, one or more steps of the method video playback described above may be performed. Alternatively, in other embodiments, the computing unit 301 may be configured to perform the method video playback by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (14)

1. A video playing method is applied to a video player, and comprises the following steps:
acquiring a user-defined operation rule set by a user on a target video;
segmenting the target video based on the user-defined operation rule to generate a playing rule for playing the target video;
and playing the target video according to the playing rule.
2. The method of claim 1, wherein the obtaining the custom operation rule for the target video comprises:
determining a predefined user-defined operation rule set, wherein the user-defined operation rule set is used for a user to define operation rules;
acquiring a user-defined operation rule set for the target video by the user based on the user-defined operation rule set;
the user-defined operation rules comprise video key content operation rules, video content identification area rules and video content segmentation rules.
3. The method of claim 2, wherein the segmenting the target video based on the custom operation rule to generate a playing rule for playing the target video comprises:
analyzing the video key content operation rule to obtain a video key frame, and analyzing the video content identification area rule to obtain a user-defined video content identification area for identifying the video key frame;
traversing the target video based on the user-defined video content identification area to obtain the position of the video key frame in the target video, and identifying the position;
analyzing the video content segmentation rule to obtain a starting position before the position and an ending position after the position;
and segmenting the target video at the starting position and the ending position to obtain a video segment containing the video key frame, and generating a playing rule based on the video segment.
4. The method of claim 1, after the segmenting the target video based on the custom operation rule and generating the playing rule for playing the target video, the method further comprises:
previewing and playing the target video based on the playing rule;
and responding to the detected adjustment operation on the target video, adjusting the self-defined operation rule based on the adjustment operation, and regenerating the playing rule for playing the target video.
5. The method of claim 1, wherein said playing the target video according to the playing rule comprises:
sending the playing rule to a video server;
responding to the received timestamp information sent by the video server, and playing the target video according to the playing rule and the timestamp information;
the timestamp information is a timestamp identification of the video server for marking the target video based on the playing rule.
6. The method of claim 5, wherein the playing the target video according to the playing rule and the timestamp information in response to receiving the timestamp information sent by the video server comprises:
adding the timestamp information into the target video to obtain a target video containing the timestamp information and a playing rule;
and playing the target video according to the generated playing rule and the timestamp information.
7. The method of claim 1, further comprising:
acquiring a plurality of playing rules stored by a video server and the heat sequencing of the playing rules;
and displaying at least one playing rule with the highest hot ranking according to the hot ranking of the plurality of playing rules.
8. A video playing method is applied to a video server, and comprises the following steps:
acquiring a playing rule, wherein the playing rule is generated by segmenting a target video according to an acquired user-defined operation rule by a video player, and the playing rule is used for playing the target video;
and saving the playing rule.
9. The method of claim 8, the saving the playback rules comprising:
storing the playing rule sent by the video player and acquiring the heat of using the playing rule;
and according to the popularity of the playing rules, carrying out popularity sorting processing on the plurality of stored playing rules to obtain the popularity sorting of the plurality of playing rules.
10. A video playing device applied to a video player comprises:
the acquisition module is used for acquiring a user-defined operation rule set by a user on a target video;
the processing module is used for segmenting the target video based on the user-defined operation rule and generating a playing rule for playing the target video;
and the playing module is used for playing the target video according to the playing rule.
11. A video playing device applied to a video server comprises:
the acquisition module is used for acquiring a playing rule, wherein the playing rule is generated by segmenting a target video according to an acquired user-defined operation rule by a video player, and the playing rule is used for playing the target video;
and the storage module is used for storing the playing rule.
12. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7 or to enable the at least one processor to perform the method of any one of claims 8-9.
13. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7 or the method of any one of claims 8-9.
14. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7, or which, when executed by a processor, implements the method according to any one of claims 8-9.
CN202111534771.5A 2021-12-15 2021-12-15 Video playing method and device, electronic equipment and storage medium Pending CN114268847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111534771.5A CN114268847A (en) 2021-12-15 2021-12-15 Video playing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111534771.5A CN114268847A (en) 2021-12-15 2021-12-15 Video playing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114268847A true CN114268847A (en) 2022-04-01

Family

ID=80827353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111534771.5A Pending CN114268847A (en) 2021-12-15 2021-12-15 Video playing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114268847A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314755A (en) * 2022-07-12 2022-11-08 天翼云科技有限公司 Video playing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796781A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Video clip extraction method and device
CN106385624A (en) * 2016-09-29 2017-02-08 乐视控股(北京)有限公司 Video playing method and device
CN106658199A (en) * 2016-12-28 2017-05-10 网易传媒科技(北京)有限公司 Video content display method and apparatus
CN108271069A (en) * 2017-12-11 2018-07-10 北京奇艺世纪科技有限公司 The segment filter method and device of a kind of video frequency program
CN109034115A (en) * 2018-08-22 2018-12-18 Oppo广东移动通信有限公司 Video knows drawing method, device, terminal and storage medium
CN110177296A (en) * 2019-06-27 2019-08-27 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal
CN110337009A (en) * 2019-07-01 2019-10-15 百度在线网络技术(北京)有限公司 Control method, device, equipment and the storage medium of video playing
CN110856042A (en) * 2019-11-18 2020-02-28 腾讯科技(深圳)有限公司 Video playing method and device, computer readable storage medium and computer equipment
CN110913241A (en) * 2019-11-01 2020-03-24 北京奇艺世纪科技有限公司 Video retrieval method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796781A (en) * 2015-03-31 2015-07-22 小米科技有限责任公司 Video clip extraction method and device
CN106385624A (en) * 2016-09-29 2017-02-08 乐视控股(北京)有限公司 Video playing method and device
CN106658199A (en) * 2016-12-28 2017-05-10 网易传媒科技(北京)有限公司 Video content display method and apparatus
CN108271069A (en) * 2017-12-11 2018-07-10 北京奇艺世纪科技有限公司 The segment filter method and device of a kind of video frequency program
CN109034115A (en) * 2018-08-22 2018-12-18 Oppo广东移动通信有限公司 Video knows drawing method, device, terminal and storage medium
CN110177296A (en) * 2019-06-27 2019-08-27 维沃移动通信有限公司 A kind of video broadcasting method and mobile terminal
CN110337009A (en) * 2019-07-01 2019-10-15 百度在线网络技术(北京)有限公司 Control method, device, equipment and the storage medium of video playing
CN110913241A (en) * 2019-11-01 2020-03-24 北京奇艺世纪科技有限公司 Video retrieval method and device, electronic equipment and storage medium
CN110856042A (en) * 2019-11-18 2020-02-28 腾讯科技(深圳)有限公司 Video playing method and device, computer readable storage medium and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314755A (en) * 2022-07-12 2022-11-08 天翼云科技有限公司 Video playing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US9374411B1 (en) Content recommendations using deep data
CA3004231C (en) Enhancing video content with extrinsic data
US9747951B2 (en) Timeline interface for video content
US11586345B2 (en) Method and apparatus for interaction control of display page
US9866887B2 (en) Auto video preview within a digital magazine
US8955021B1 (en) Providing extrinsic data for video content
US20190158934A1 (en) Video frame capturing method and device
JP2017055393A (en) Method and system for extracting and providing highlight video of moving picture content
US9635337B1 (en) Dynamically generated media trailers
US20210160553A1 (en) Method and system of displaying a video
KR20180125003A (en) Server-based conversion of autoplay content to click-to-play content
US10721519B2 (en) Automatic generation of network pages from extracted media content
US20190387287A1 (en) Automatically and programmatically generating crowdsourced trailers
CN113727170A (en) Video interaction method, device, equipment and medium
US20230421859A1 (en) Systems and methods for recommending content using progress bars
CN114268847A (en) Video playing method and device, electronic equipment and storage medium
CN114125498A (en) Video data processing method, device, equipment and storage medium
US9838740B1 (en) Enhancing video content with personalized extrinsic data
KR102137327B1 (en) System for providing live thumbnail of streaming video
CN113760162A (en) Method, apparatus, device and storage medium for displaying information
US11856245B1 (en) Smart automatic skip mode
US11729480B2 (en) Systems and methods to enhance interactive program watching
US11570523B1 (en) Systems and methods to enhance interactive program watching
CN113556576A (en) Video generation method and device
CN114173177A (en) Video processing method, device, equipment and storage medium

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