CN115314755A - 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
- CN115314755A CN115314755A CN202210817311.1A CN202210817311A CN115314755A CN 115314755 A CN115314755 A CN 115314755A CN 202210817311 A CN202210817311 A CN 202210817311A CN 115314755 A CN115314755 A CN 115314755A
- Authority
- CN
- China
- Prior art keywords
- key content
- playing
- interval
- video
- content interval
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000009191 jumping Effects 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 10
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000007667 floating Methods 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 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/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4828—End-user interface for program selection for searching program descriptors
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a video playing method, a video playing device, electronic equipment and a storage medium, which are used for playing key contents in videos. In the application, if it is determined that the user starts a key content playing mode, at least one key content interval is obtained from a playing video; determining the initial position and the end position of each key content interval, and then determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval at the playing video; and according to the playing sequence, sequentially playing at least one key content interval in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position. In the method and the device, a key content playing mode is set, in the mode, the key content intervals of the video are firstly acquired, and the key content intervals are sequentially played according to the sequence of the key content intervals, so that the key content in the video is played, and the time of associating the video by a user is saved.
Description
Technical Field
The present application relates to the field of internet technologies, and in particular, to a video playing method and apparatus, an electronic device, and a storage medium.
Background
In the related art video player, multiple playing, such as 1.5 times faster playing, is generally possible, but content is not divided, and the selection of the playing mode is limited. For example: a video is very long, but the user only wants to watch important video segments; in some teaching videos, a user only wants to see a summary segment, but the video player in the related art cannot realize the playing of the key content in the video.
Disclosure of Invention
The application aims to provide a video playing method, a video playing device, electronic equipment and a storage medium, which are used for playing key contents in videos.
In a first aspect, an embodiment of the present application provides a video playing method, where the method includes:
responding to a key content playing mode starting instruction, and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing the playing video;
determining the initial position and the end position of each key content interval, and determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval in the played video;
and according to the playing sequence, sequentially playing the at least one key content interval in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
In the method, the key content playing mode is set, in the mode, the key content intervals of the video are firstly obtained, and the key content intervals are sequentially played according to the sequence of the key content intervals, so that the key content in the video is played, the time of associating the video by a user is saved, and the user experience is improved.
In some possible embodiments, after determining the start position and the end position of each key content interval, the method further includes:
determining the playing time length of each key content interval according to the starting position and the ending position;
and for each key content interval, marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video according to the proportional relation between the playing duration and the duration of the playing video.
In the method and the device, the key content interval is marked on the progress bar based on the proportional relation between the key content interval and the video playing time length, so that a user can know the key content of the playing video conveniently.
In some possible embodiments, the method further comprises:
analyzing the playing video to obtain a content description of the at least one key content interval; wherein, the content description is used for describing the playing content of the key content interval;
and if the duration of the at least one key content interval staying on the progress bar is detected to be longer than the first duration, displaying the content description of the at least one key content interval.
In the application, when it is detected that the duration of the user staying in the key content interval on the progress bar is longer than the first duration, the content description of the key content interval is displayed to the user, so that the user can know the content of the key content interval conveniently according to the content description.
In some possible embodiments, the method further comprises:
and responding to the selection operation of the user on any key content interval on the playing progress bar, determining the selected key content interval, jumping to the initial position of the selected key content interval, and starting to play the selected key content interval.
In the application, when a user selects any key content interval on the progress bar, the user jumps to the initial position of the selected key content interval and plays the key content interval, so that the experience of the user is further improved.
In some possible embodiments, the method further comprises:
and if it is determined that all the key content intervals are played completely and the operation triggered by the user is not detected within the second time period, closing the key content playing mode.
In the application, after the key content interval is played, and the user does not trigger the operation within the second time period, in order to save resources, the key content playing mode is closed.
In a second aspect, the present application further provides a video playing apparatus, including:
the starting module is used for responding to a key content playing mode starting instruction and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing the playing video;
the sequence determining module is used for determining the starting position and the ending position of each key content interval and determining the playing sequence of the at least one key content interval according to the starting position of each key content interval at the position of playing the video;
and the playing module is used for sequentially playing the at least one key content interval according to the playing sequence in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
In some possible embodiments, after determining the start position and the end position of each key content interval, the order determination module is further configured to:
determining the playing time length of each key content interval according to the starting position and the ending position;
and for each key content interval, marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video according to the proportional relation between the playing time length and the video playing time length.
In some possible embodiments, the opening module is further configured to:
analyzing the playing video to obtain a content description of the at least one key content interval; wherein, the content description is used for describing the playing content of the key content interval;
and if the duration of the at least one key content interval staying on the progress bar is detected to be longer than the first duration, displaying the content description of the at least one key content interval.
In some possible embodiments, the enabling module is further configured to:
and responding to the selection operation of the user on any key content interval on the playing progress bar, determining the selected key content interval, jumping to the initial position of the selected key content interval, and starting to play the selected key content interval.
In some possible embodiments, the playback module is further configured to:
and if it is determined that all the key content intervals are played completely and the operation triggered by the user is not detected within the second time period, closing the key content playing mode.
In a third aspect, another embodiment of the present application further provides an electronic device, including 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, and the instructions are executed by the at least one processor to enable the at least one processor to perform any one of the methods provided by the embodiments of the first aspect of the present application.
In a fourth aspect, another embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program is configured to cause a computer to execute any one of the methods provided in the first aspect of the present application.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the embodiments of the present application will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a video playing method according to an embodiment of the present application;
fig. 2 is a schematic overall flowchart of a video playing method according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a key content interval marking process of a video playing method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a key content interval marker of a video playing method according to an embodiment of the present application;
fig. 5 is a schematic content illustration diagram of a video playing method according to an embodiment of the present application;
fig. 6 is another schematic diagram illustrating content of a video playing method according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a key content section of a video playing method according to an embodiment of the present application;
fig. 8 is a schematic device diagram illustrating a video playing method according to an embodiment of the present application;
fig. 9 is a schematic view of an electronic device of a video playing method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof, which are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The term "a plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
The inventor researches and finds that in the video player in the related art, multiple playing, such as 1.5 times faster playing, can be generally performed, but content is not divided, and the selection of the playing mode is limited. For example: a video is very long, but the user only wants to watch important video segments; in some teaching videos, a user only wants to see a summary segment, but the video player in the related art cannot realize the playing of the key content in the video.
In view of the above, the present application provides a video playing method, an apparatus, an electronic device, and a storage medium, which are used to solve the above problems. The inventive concept of the present application can be summarized as follows: setting at least one key content interval in a playing video, and if determining that a user starts a key content playing mode, acquiring at least one key content interval from the playing video; determining the initial position and the end position of each key content interval, and then determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval at the playing video; and according to the playing sequence, sequentially playing at least one key content interval in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
In order to facilitate understanding of the video playing method provided in the embodiments of the present application, the following describes in detail the video playing method provided in the embodiments of the present application with reference to the accompanying drawings:
fig. 1 is a view of an application scenario of a video playing method in the embodiment of the present application. The figure includes: server 10, memory 20, terminal device 30;
the server 10 responds to a key content playing mode starting instruction triggered in the terminal device 30, and acquires at least one key content interval from a playing video; wherein, the playing video is stored in the memory 20, and the key content interval is obtained by analyzing the playing video; determining the initial position and the end position of each key content interval, and determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval at the playing video; according to the playing sequence, the terminal device 30 is controlled to play at least one key content interval in sequence in a manner of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
Only a single server 10, memory 20, terminal device 30 will be described in detail in the description of the present application, but it will be understood by those skilled in the art that the illustrated server 10, memory 20, terminal device 30 are intended to represent the operations of the server 10, memory 20, terminal device 30 to which the technical aspects of the present application relate. And does not imply a limitation on the number, type, or location of the server 10, memory 20, terminal device 30, or the like. It should be noted that the underlying concepts of the example embodiments of the present application may not be altered if additional modules are added or removed from the illustrated environments. In addition, as will be understood by those skilled in the art, the above data transmission and reception also need to be realized through a network.
It should be noted that the storage in the embodiment of the present application may be, for example, a cache system, or a hard disk storage, a memory storage, and the like. In addition, the video playing method provided by the application is not only suitable for the application scene shown in fig. 1, but also suitable for any device with video playing requirements.
In another embodiment, the operations executed by the server 10 in fig. 1 may also be executed by the terminal device 30, and the execution method is the same as that in fig. 1, which is not described herein again, and the execution main body in the specific implementation is not limited in this application.
The video playing method provided by the application is suitable for various terminal devices, such as but not limited to computers, notebook computers, smart phones, tablet computers, smart watches, smart bracelets, vehicle-mounted terminals and other devices with video playing functions, or other types of terminals.
To facilitate further understanding of the video playing method provided in the embodiment of the present application, the following describes in detail an overall flow of the video playing method provided in the embodiment of the present application, as shown in fig. 2:
in step 201: responding to a key content playing mode starting instruction, and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing a playing video;
in step 202: determining the initial position and the end position of each key content interval, and determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval in the playing video;
in step 203: and according to the playing sequence, sequentially playing at least one key content interval in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
In the method, the key content playing mode is set, in the mode, the key content intervals of the video are firstly obtained, and the key content intervals are sequentially played according to the sequence of the key content intervals, so that the key content in the video is played, the time of associating the video by a user is saved, and the user experience is improved.
For ease of understanding, the steps in FIG. 2 are described in detail below:
in some possible embodiments, before step 201 is executed, the playing video uploaded by the user needs to be received, in this application, in order to determine the key content intervals, therefore, when the playing video is uploaded by the user, the start position and the end position corresponding to each key content interval and the content description corresponding to each key content interval need to be uploaded at the same time, where the content description is used for describing the playing content of the key content interval in text. For example: receiving a video A uploaded by a user, wherein the user sets a key content interval 1, a key content interval 2 and a key content interval 3 for the video A, the starting position of the key content interval 1 is 00; the start position of the key content interval 2 is 00, the end position is 00:30, the corresponding content is specified as yyyyy; the starting position of the key content interval 3 is 00, the ending position is 00.
It should be noted that the key content interval in step 201 may be obtained by analyzing the played video in real time, or the played video may be analyzed after the user uploads the played video, so as to obtain the key content interval of the played video and store the key content interval in the database.
In some possible embodiments, the user may start the key content play mode after opening the application for video playing, or may start the key content play mode in the background rights management of the terminal device, which is not limited in this application.
In the present application, in order to facilitate a user to know a key content section from a progress bar for playing a video, after determining a start position and an end position of the key content section in the present application, the steps shown in fig. 3 may be implemented:
in step 301: determining the playing time length of each key content interval according to the initial position and the end position;
in step 302: determining a proportional relation between the playing time length and the video playing time length aiming at each key content interval;
in step 303: and marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video.
For example: playing a key content interval 1, a key content interval 2 and a key content interval 3 in a video, wherein the playing time of the video is 1 hour, and the initial position 00 of the key content interval 1 is as follows: 10, the ending position is 00; the starting position of the key content interval 2 is 00, the ending position is 00, and the playing time of the key content interval 2 is determined to be 10 minutes, and the ratio on the progress bar is 1/6; the starting position of the key content interval 3 is 00, the ending position is 00, and it is determined that the playing time of the key content interval 3 is 10 minutes, and the ratio on the progress bar is 1/6, then the mark on the progress bar is as shown in fig. 4. In fig. 4, the start position of the key content section is marked as a solid dot, and the end position of the key content section is marked as an open dot. However, it should be understood that the specific mark form is not limited in this application, and fig. 4 is only an embodiment, and a technician may set the mark form of the key content interval on the play progress bar according to the requirement.
In some possible embodiments, since a playing video may have a plurality of key content intervals, in order to facilitate a user to know the rough content of the key content intervals before the video is played, a corresponding content description is set for each key content interval in the present application, and the content description is used for describing the playing content of the key content interval in text. The method can be specifically implemented as follows: and if the duration of the at least one key content interval staying on the progress bar is detected to be longer than the first duration, displaying the content description of the at least one key content interval.
For example: as shown in fig. 5, the first time duration is 1 second, and when it is detected that the time duration that the mouse pointer of the user stays on the key content interval 2 on the progress bar exceeds 1 second, the content description corresponding to the key content interval 2 is displayed on the progress bar in a floating window manner. Or, as shown in fig. 6, the first time duration is 1 second, and if it is detected that the time duration that the finger of the user stays on the key content interval 2 on the progress bar exceeds 1 second, the content description corresponding to the key content interval 2 is displayed on the progress bar in a floating window manner.
In the present application, the content of fig. 5 and fig. 6 is shown in only one embodiment, and other contents that can show words are also applicable to the present application, and the present application does not limit this and is determined according to the length of stay.
In some embodiments, the user may not want to view all the key content after selecting the key content playing mode, so for this case, it can be implemented in this application as: and responding to the selection operation of the user on any key content interval on the playing progress bar, determining the selected key content interval, jumping to the initial position of the selected key content interval, and starting to play the selected key content interval.
For example: as shown in fig. 7, for the playing video 1, if the user determines to view only the key content section 2 by playing the content description corresponding to the key content section in the video 1, the key content section 2 can be directly selected on the playing progress bar, and then the key content section 2 can be directly played. After the content of the key content interval 2 is played, if the operation of the user is not detected within the preset time, the key content intervals 3 are played in sequence.
In other embodiments, if it is determined that all the key content intervals are played completely and no operation triggered by the user is detected within the second time period, the key content playing mode is closed.
For example: the second time is 2 seconds, the playing video 1 comprises a key content interval 1, a key content interval 2 and a key content interval 3, if the user selects a key content playing mode, the key content interval 1, the key content interval 2 and the key content interval 3 are sequentially played, and after the key content interval 3 is played, if the user is determined that other operations are not triggered within 2 seconds, the key content playing mode exits.
In summary, in the embodiment of the application, a key content playing mode is set for a user to select, in this mode, the key content intervals of the video are firstly obtained, and the key content intervals are sequentially played according to the sequence of the key content intervals, so that the playing of the key content in the video is realized, the time for the user to associate with the video is saved, and the user experience is improved.
As shown in fig. 8, based on the same inventive concept, a video playing apparatus 800 is proposed, the apparatus comprising:
the starting module 8001 is used for responding to a key content playing mode starting instruction and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing the playing video;
a sequence determining module 8002, configured to determine a start position and an end position of each key content interval, and determine a playing sequence of the at least one key content interval according to the start position of each key content interval at the position where the video is played;
and the playing module 8003 is configured to sequentially play the at least one key content section according to the playing sequence and in a manner of jumping to the starting position of the next key content section after playing from the starting position to the ending position.
In some possible embodiments, after determining the start position and the end position of each key content interval, the order determination module is further configured to:
determining the playing time length of each key content interval according to the starting position and the ending position;
and for each key content interval, marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video according to the proportional relation between the playing time length and the video playing time length.
In some possible embodiments, the opening module is further configured to:
analyzing the played video to obtain a content description of the at least one key content interval; the content description is used for describing the playing content of the key content interval in a text mode;
and if the duration of the at least one key content interval staying on the progress bar is detected to be longer than the first duration, displaying the content description of the at least one key content interval.
In some possible embodiments, the enabling module is further configured to:
and responding to the selection operation of the user on any key content interval on the playing progress bar, determining the selected key content interval, jumping to the initial position of the selected key content interval, and starting to play the selected key content interval.
In some possible embodiments, the playback module is further configured to:
and if it is determined that all the key content intervals are played completely and the operation triggered by the user is not detected within the second time period, closing the key content playing mode.
Having described the video playback method and apparatus of the exemplary embodiments of the present application, an electronic device according to another exemplary embodiment of the present application is described next.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, an electronic device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of the video playing method according to various exemplary embodiments of the present application described above in this specification.
The electronic device 130 according to this embodiment of the present application is described below with reference to fig. 9. The electronic device 130 shown in fig. 9 is only an example, and should not bring any limitation to the functions and the application range of the embodiments of the present application.
As shown in fig. 9, the electronic device 130 is represented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that couples various system components including the memory 132 and the processor 131.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other electronic devices. Such communication may occur through input/output (I/O) interfaces 135. Also, the electronic device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 136. As shown, the network adapter 136 communicates with other modules for the electronic device 130 over the bus 133. It should be understood that although not shown in FIG. 9, other hardware and/or software modules may be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, aspects of a video playing method provided by the present application may also be implemented in the form of a program product, which includes program code for causing a computer device to perform the steps of a video playing method according to various exemplary embodiments of the present application described above in this specification, when the program product is run on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
The program product for video playback of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer electronic device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (10)
1. A video playback method, the method comprising:
responding to a key content playing mode starting instruction, and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing the playing video;
determining the initial position and the end position of each key content interval, and determining the playing sequence of at least one key content interval according to the position of the initial position of each key content interval in the played video;
and according to the playing sequence, sequentially playing the at least one key content interval in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
2. The method of claim 1, wherein after determining the start and end positions of each key content interval, the method further comprises:
determining the playing time length of each key content interval according to the starting position and the ending position;
and for each key content interval, marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video according to the proportional relation between the playing duration and the duration of the playing video.
3. The method of claim 2, further comprising:
analyzing the played video to obtain a content description of the at least one key content interval; wherein, the content description is used for describing the playing content of the key content interval;
and if the duration of the at least one key content interval staying on the progress bar is detected to be greater than the first duration, displaying the content description of the at least one key content interval.
4. The method of claim 2, further comprising:
and responding to the selection operation of the user on any key content interval on the playing progress bar, determining the selected key content interval, jumping to the initial position of the selected key content interval, and starting to play the selected key content interval.
5. The method of claim 1, further comprising:
and if it is determined that all the key content intervals are played completely and the operation triggered by the user is not detected within the second time period, closing the key content playing mode.
6. A video playback apparatus, the apparatus further comprising:
the starting module is used for responding to a key content playing mode starting instruction and acquiring at least one key content interval from a playing video; the key content interval is obtained by analyzing the playing video;
the sequence determining module is used for determining the starting position and the ending position of each key content interval and determining the playing sequence of the at least one key content interval according to the starting position of each key content interval at the position of playing the video;
and the playing module is used for sequentially playing the at least one key content interval according to the playing sequence in a mode of jumping to the starting position of the next key content interval after playing from the starting position to the ending position.
7. The apparatus of claim 6, wherein after the determining the start position and the end position of each key content interval, the order determining module is further configured to:
determining the playing time length of each key content interval according to the starting position and the ending position;
and for each key content interval, marking the starting position and the ending position corresponding to the key content interval on the playing progress bar of the playing video according to the proportional relation between the playing time length and the video playing time length.
8. The apparatus of claim 7, wherein the opening module is further configured to:
analyzing the played video to obtain a content description of the at least one key content interval; the content description is used for describing the playing content of the key content interval in a text mode;
and if the duration of the at least one key content interval staying on the progress bar is detected to be longer than the first duration, displaying the content description of the at least one key content interval.
9. 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 implement the method of any one of claims 1 to 5.
10. A computer storage medium, characterized in that the computer storage medium stores a computer program for enabling a computer to perform the method according to any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210817311.1A CN115314755A (en) | 2022-07-12 | 2022-07-12 | Video playing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210817311.1A CN115314755A (en) | 2022-07-12 | 2022-07-12 | Video playing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115314755A true CN115314755A (en) | 2022-11-08 |
Family
ID=83856725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210817311.1A Pending CN115314755A (en) | 2022-07-12 | 2022-07-12 | Video playing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115314755A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102054510A (en) * | 2010-11-08 | 2011-05-11 | 武汉大学 | Video preprocessing and playing method and system |
CN105763960A (en) * | 2016-03-01 | 2016-07-13 | 青岛海信传媒网络技术有限公司 | Method and apparatus for network video playing |
CN107333182A (en) * | 2017-06-19 | 2017-11-07 | 北京小米移动软件有限公司 | The player method and device of multimedia file |
CN110719524A (en) * | 2019-10-16 | 2020-01-21 | 腾讯科技(深圳)有限公司 | Video playing method and device, intelligent playing equipment and storage medium |
CN112740713A (en) * | 2018-09-21 | 2021-04-30 | 三星电子株式会社 | Method for providing key moments in multimedia content and electronic device thereof |
CN114268847A (en) * | 2021-12-15 | 2022-04-01 | 北京百度网讯科技有限公司 | Video playing method and device, electronic equipment and storage medium |
-
2022
- 2022-07-12 CN CN202210817311.1A patent/CN115314755A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102054510A (en) * | 2010-11-08 | 2011-05-11 | 武汉大学 | Video preprocessing and playing method and system |
CN105763960A (en) * | 2016-03-01 | 2016-07-13 | 青岛海信传媒网络技术有限公司 | Method and apparatus for network video playing |
CN107333182A (en) * | 2017-06-19 | 2017-11-07 | 北京小米移动软件有限公司 | The player method and device of multimedia file |
CN112740713A (en) * | 2018-09-21 | 2021-04-30 | 三星电子株式会社 | Method for providing key moments in multimedia content and electronic device thereof |
CN110719524A (en) * | 2019-10-16 | 2020-01-21 | 腾讯科技(深圳)有限公司 | Video playing method and device, intelligent playing equipment and storage medium |
CN114268847A (en) * | 2021-12-15 | 2022-04-01 | 北京百度网讯科技有限公司 | Video playing method and device, electronic equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
百度网友 画双刘: "爱奇艺只看ta怎么设置", Retrieved from the Internet <URL:https://jingyan.baidu.com/article/19020a0aeae4df129c284207.html> * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111090756B (en) | Artificial intelligence-based multi-target recommendation model training method and device | |
US11483264B2 (en) | Information interaction method, apparatus, device, storage medium and program product | |
CN109348254B (en) | Message pushing method, device, computer equipment and storage medium | |
CN106484848B (en) | Application recommendation method and device | |
US10375437B2 (en) | Signal strength bookmarking for media content | |
CN111273986A (en) | Page jump method and device of application program, electronic equipment and storage medium | |
CN112306447A (en) | Interface navigation method, device, terminal and storage medium | |
CN109948059A (en) | Recommended method, device, equipment and the storage medium of content | |
CN114449327A (en) | Video clip sharing method and device, electronic equipment and readable storage medium | |
CN114510305B (en) | Model training method and device, storage medium and electronic equipment | |
CN109829117B (en) | Method and device for pushing information | |
US20190297473A1 (en) | Data usage recommendation generator | |
CN110059064B (en) | Log file processing method and device and computer readable storage medium | |
CN117171406A (en) | Application program function recommendation method, device, equipment and storage medium | |
CN113766321A (en) | Video playing method, device, equipment and storage medium | |
CN115314755A (en) | Video playing method and device, electronic equipment and storage medium | |
CN110536077B (en) | Video synthesis and playing method, device and equipment | |
US12026524B2 (en) | Method and apparatus for processing listening resuming of music application, and device | |
US20220351633A1 (en) | Learner engagement engine | |
CN114860559A (en) | User operation recording method, user operation reproduction device, readable medium and equipment | |
CN110674839B (en) | Abnormal user identification method and device, storage medium and electronic equipment | |
CN110413800B (en) | Method and equipment for providing novel information | |
CN114189750A (en) | Playing method of multi-format file and related device | |
CN113778370A (en) | Voice message playing method and device, electronic equipment and storage medium | |
CN111723234A (en) | Audio providing 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20221108 |