Video playing method and device, electronic equipment and readable storage medium

文档序号:1144534 发布日期:2020-09-11 浏览:8次 中文

阅读说明:本技术 视频播放方法、装置、电子设备及可读存储介质 (Video playing method and device, electronic equipment and readable storage medium ) 是由 刘晓丹 于 2020-04-22 设计创作,主要内容包括:本发明实施例提供了一种视频播放方法、装置、电子设备及可读存储介质,所述方法包括:在播放视频文件的过程中,显示与所述视频文件对应的索引信息,所述索引信息包括所述视频文件中所包括的多个视频片段各自对应的标题信息;响应于对所述索引信息中目标视频片段的播放指令,将当前播放进度跳转至目标视频片段在所述视频文件中的预设播放进度。采用本发明技术方案,提高了视频播放时的跳转精度,优化了现有的视频播放机制。(The embodiment of the invention provides a video playing method, a video playing device, electronic equipment and a readable storage medium, wherein the method comprises the following steps: in the process of playing a video file, displaying index information corresponding to the video file, wherein the index information comprises title information corresponding to a plurality of video clips included in the video file; and responding to a playing instruction of the target video clip in the index information, and jumping the current playing progress to a preset playing progress of the target video clip in the video file. By adopting the technical scheme of the invention, the skip precision during video playing is improved, and the existing video playing mechanism is optimized.)

1. A video playback method, the method comprising:

in the process of playing a video file, displaying index information corresponding to the video file, wherein the index information comprises title information corresponding to a plurality of video clips included in the video file;

and responding to a playing instruction of a target video clip in the index information, and jumping the current playing progress to a preset playing progress of the target video clip in the video file.

2. The method of claim 1, wherein displaying the index information corresponding to the video file during playing of the video file comprises:

displaying the index information when the distance between the current playing time point and a preset playing time point is within a preset time range; the preset playing time point is the starting playing time point or the ending playing time point of the plurality of video clips in the video file.

3. The method of claim 1, wherein jumping the current playing progress to the preset playing progress of the target video segment in the video file comprises:

and skipping the current playing time point to a preset starting playing time point of the target video clip in the video file.

4. The method of claim 1, wherein jumping the current playing progress to a preset playing progress of a target video clip in the video file in response to a playing instruction of the target video clip in the index information comprises:

in response to a batch selection operation on at least one target title information in the index information, determining at least one target video segment corresponding to the at least one target title information;

and jumping the current playing progress to the preset playing progress of the at least one target video clip in the video file according to a preset jumping sequence, and playing the at least one target video clip in sequence.

5. The method according to claim 4, wherein the predetermined skip sequence is a predetermined play sequence of each of the target video clips in the video file, or the predetermined skip sequence is a time sequence of the at least one target title information when each of the at least one target title information is selected.

6. The method according to claim 4, wherein before sequentially jumping the current playing progress to the preset playing progress of each of the at least one target video segment in the video file in a preset jumping order to sequentially play the at least one target video segment, the method further comprises:

generating a play sequence prompt message according to the preset jump sequence, wherein the play sequence prompt message comprises the at least one target title information arranged according to the preset jump sequence;

and displaying the playing sequence prompt message.

7. The method of claim 1, wherein after displaying the index information corresponding to the video file, the method further comprises:

and if the selection operation of the target title information in the index information is not received within the preset time, stopping displaying the index information.

8. The method according to any one of claims 1 to 7, wherein, while displaying the index information corresponding to the video file, the method further comprises:

pausing the playing of the video file.

9. A video playback apparatus, comprising:

the display module is used for displaying index information corresponding to a video file in the process of playing the video file, wherein the index information comprises title information corresponding to a plurality of video clips included in the video file;

and the skipping module is used for responding to a playing instruction of the target video clip in the index information and skipping the current playing progress to the preset playing progress of the target video clip in the video file.

10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the steps of the video playback method according to any one of claims 1 to 8.

11. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;

a memory for storing a computer program;

a processor for implementing the steps of the video playback method of any one of claims 1-8 when executing the program stored in the memory.

16页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种视频编辑方法及电子设备

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类