Video processing method, device and storage medium

文档序号:1448932 发布日期:2020-02-18 浏览:8次 中文

阅读说明:本技术 视频处理方法、装置及存储介质 (Video processing method, device and storage medium ) 是由 李巍山 于 2018-08-06 设计创作,主要内容包括:本公开是关于一种视频处理方法、装置及存储介质,该方法包括:接收用户对第一窗口所播放视频的触摸操作,所述触摸操作用于请求将视频播放位置定位到第一播放位置;根据所述第一播放位置确定所需播放的视频段;在第二窗口中显示与所述视频段中播放内容的相关信息,所述相关信息用于使所述用户选择快进或快退播放位置。实现了更加准确的选择快进或快退播放位置,从而提高了终端的可靠性。(The present disclosure relates to a video processing method, apparatus and storage medium, the method comprising: receiving touch operation of a user on a video played in a first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position; determining a video segment required to be played according to the first playing position; and displaying related information of the playing content in the video segment in a second window, wherein the related information is used for enabling the user to select a fast forward or fast backward playing position. The method and the device realize more accurate selection of the fast forward or fast backward playing position, thereby improving the reliability of the terminal.)

1. A video processing method, comprising:

receiving touch operation of a user on a video played in a first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position;

determining a video segment required to be played according to the first playing position;

and displaying related information of the playing content in the video segment in a second window, wherein the related information is used for enabling the user to select a fast forward or fast backward playing position.

2. The method according to claim 1, wherein before determining the video segment to be played according to the first playing position, further comprising:

determining whether the touch operation meets a preset execution condition;

and if the preset execution condition is met, executing the step of determining the video segment required to be played according to the first playing position.

3. The method according to claim 2, wherein the determining whether the touch operation satisfies a preset execution condition comprises:

determining whether the time length of the touch operation staying at the first playing position needing to be positioned exceeds a preset time length;

alternatively, the first and second electrodes may be,

and determining whether the touch operation is performed with a preset sliding operation at the first playing position needing to be positioned.

4. The method according to any of claims 1-3, wherein said determining a video segment to be played according to said first playing position comprises:

determining video playing time according to the first playing position;

and capturing a video with a period of time from the video by taking the video playing time as a center to serve as the video segment.

5. The method according to any of claims 1-3, wherein before displaying the information related to the content played in the video segment in the second window, further comprising:

and displaying a second window in a popup mode on the basis of the first window.

6. The method according to any of claims 1-3, wherein the displaying information related to the content played in the video segment in the second window comprises one or more of the following display modes:

playing the video segment in a second window;

alternatively, the first and second electrodes may be,

displaying at least two images in the video segment in parallel in a second window;

alternatively, the first and second electrodes may be,

and displaying at least two sections of video subsections in parallel in a second window, wherein the video subsections are intercepted from the video sections.

7. The method according to any of claims 1-3, wherein after displaying the information related to the content played in the video segment in the second window, further comprising:

receiving a selection operation of the user on the information related to the playing content in the video segment displayed in the second window;

determining a fast forward or fast backward playing position according to the selection operation;

closing the second window and playing video in the first window starting from the fast forward or fast reverse play position.

8. The method according to any one of claims 1 to 3, wherein the receiving of the touch operation of the user on the video played in the first window comprises:

receiving dragging operation of a user on a video played in a first window;

alternatively, the first and second electrodes may be,

and receiving the click operation of the user on the video played in the first window.

9. A video processing apparatus, comprising:

the receiving module is configured to receive touch operation of a user on a video played by the first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position;

a determining module configured to determine a video segment required to be played according to the first playing position;

a display module configured to display information related to the playing content in the video segment in a second window, wherein the related information is used for enabling the user to select a fast forward or fast reverse playing position.

10. The apparatus of claim 9, wherein the determining module further comprises:

a first determining sub-module configured to determine whether the touch operation satisfies a preset execution condition;

the first determining submodule is further configured to execute the step of determining the video segment to be played according to the first playing position if the preset execution condition is met.

11. The apparatus of claim 10, wherein the first determination submodule is further configured to:

determining whether the time length of the touch operation staying at the first playing position needing to be positioned exceeds a preset time length;

alternatively, the first and second electrodes may be,

and determining whether the touch operation is performed with a preset sliding operation at the first playing position needing to be positioned.

12. The apparatus of any of claims 9-11, wherein the determining module further comprises:

a second determining submodule configured to determine a video playing time according to the first playing position;

and the intercepting submodule is configured to intercept a video with a period of time from the video by taking the video playing time as a center as the video segment.

13. The device according to any one of claims 9 to 11, wherein the display module further comprises:

a display sub-module configured to display a second window in a pop-up mode on the basis of the first window.

14. The apparatus of any one of claims 9-11, wherein the display module is specifically configured to:

playing the video segment in a second window;

and/or the presence of a gas in the gas,

displaying at least two images in the video segment in parallel in a second window;

and/or the presence of a gas in the gas,

and displaying at least two sections of video subsections in parallel in a second window, wherein the video subsections are intercepted from the video sections.

15. The device according to any one of claims 9 to 11, wherein the display module further comprises:

a receiving submodule configured to receive a selection operation of the user on the information related to the playing content in the video segment displayed in the second window;

a second determination submodule configured to determine a fast-forward or fast-reverse play position according to the selection operation;

a processing submodule configured to close the second window and play video starting from the fast forward or fast reverse play position in the first window.

16. The apparatus of any of claims 9-11, wherein the receiving module is specifically configured to:

receiving dragging operation of a user on a video played in a first window;

alternatively, the first and second electrodes may be,

and receiving the click operation of the user on the video played in the first window.

17. A video processing apparatus, comprising:

a processor;

a memory for storing processor-executable instructions;

wherein the processor is configured to:

receiving touch operation of a user on a video played in a first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position;

determining a video segment required to be played according to the first playing position;

and displaying related information of the playing content in the video segment in a second window, wherein the related information is used for enabling the user to select a fast forward or fast backward playing position.

Technical Field

The present disclosure relates to a terminal with a video playing function, and in particular, to a video processing method and apparatus, and a storage medium.

Background

With the development of mobile terminals, the video watching is more convenient, and the selectable video amount is richer. In massive video resources, the requirement on the flexibility of video playing is higher and higher, so that the requirement that a user flexibly selects to play from a highlight part in a video or a position in which the user is interested is met.

Disclosure of Invention

To overcome the problems in the related art, the present disclosure provides a video processing method, apparatus, and storage medium.

According to a first aspect of embodiments of the present disclosure, there is provided a video processing method, including:

receiving touch operation of a user on a video played in a first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position; determining a video segment to be played according to the first playing position; and displaying related information of the playing content in the video segment in the second window, wherein the related information is used for enabling a user to select a fast forward or fast backward playing position.

According to the method and the device, the touch operation of a user on the video played in the first window is received, the video playing position is requested to be positioned to the first playing position, then the video segment required to be played is determined according to the first playing position, finally the related information of the playing content in the video segment is displayed in the second window, and the fast forward or fast backward playing position is selected, so that the fast forward or fast backward playing position can be selected more accurately, and the reliability of the terminal is improved.

Optionally, before determining the video segment to be played according to the first playing position, the method further includes:

determining whether the touch operation meets a preset execution condition; and if the preset execution condition is met, executing the step of determining the video segment required to be played according to the first playing position.

According to the method and the device, before the video segment needing to be played is determined according to the first playing position, whether the touch screen operation meets the preset execution condition is determined, and when the preset execution condition is met, the step of determining the video segment needing to be played according to the first playing position is executed, so that the reliability of the terminal is improved.

Optionally, determining whether the touch operation satisfies a preset execution condition includes:

determining whether the stay time of the touch operation at the first playing position to be positioned exceeds a preset time; or, whether the touch operation is performed at the first playing position needing to be positioned or not is determined.

In the disclosure, the preset execution condition is that the time length of the touch operation staying at the first playing position to be positioned exceeds the preset time length; or, the preset execution condition is that the touch operation is performed with a preset sliding operation at a first playing position to be positioned; the operation of the user is more convenient, and the reliability of the terminal is improved.

Optionally, determining a video segment to be played according to the first playing position includes:

determining video playing time according to the first playing position; and intercepting a video with a period of time from the video by taking the video playing time as a center to serve as a video segment.

According to the method and the device, the video playing time is determined at the first playing position, and the video with a period of time is captured as the video segment in the video by taking the video playing time as the center, so that the video selecting range is narrowed, and the accuracy of positioning the video playing position is improved.

Optionally, before displaying the information related to the content played in the video segment in the second window, the method further includes:

on the basis of the first window, a second window is displayed in a pop-up mode.

According to the method and the device, the efficiency of selecting the video playing position is improved by displaying the second window in the pop-up mode on the basis of the first window.

Optionally, the displaying information related to the content played in the video segment in the second window includes one or more of the following display modes:

playing the video segment in the second window; or, at least two images in the video segment are displayed in parallel in the second window; or at least two sections of video subsections are displayed in parallel in the second window, wherein the video subsections are intercepted from the video sections.

In the disclosure, the display effect of the terminal is enhanced by displaying the information related to the playing content in the video segment in the second window through playing the video segment in the second window or displaying at least two images in the video segment in parallel or displaying at least two video subsections in the video segment in parallel, or one or more combinations of the above disclosures.

Optionally, after displaying the information related to the content played in the video segment in the second window, the method further includes:

receiving a selection operation of a user on the information related to the playing content in the video segment displayed in the second window; determining a fast forward or fast backward playing position according to the selection operation; the second window is closed and the video is played in the first window starting from the fast forward or fast reverse play position.

According to the method and the device, the selection operation of the user on the information related to the playing content in the video segment displayed in the second window is received, the fast-forward or fast-backward playing position is determined according to the selection operation, finally the second window is closed, and the video is played from the fast-forward or fast-backward playing position in the first window, so that the video is played from the selected fast-forward or fast-backward playing position, and meanwhile, the flexibility of operation is improved.

Optionally, receiving a touch operation of a user on a video played in the first window includes:

receiving dragging operation of a user on a video played in a first window; or receiving the click operation of the user on the video played in the first window.

The following provides a video processing apparatus, a mobile device, a storage medium and a computer program product, and the contents and effects thereof can be referred to the method part, which is not described in detail below.

According to a second aspect of the embodiments of the present disclosure, there is provided a video processing apparatus, the apparatus including:

the receiving module is configured to receive touch operation of a user on a video played by the first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position; a determining module configured to determine a video segment required to be played according to the first playing position; and the display module is configured to display related information of the playing content in the video segment in the second window, and the related information is used for enabling a user to select a fast forward or fast backward playing position.

Optionally, the determining module further includes:

a first determination submodule configured to determine whether the touch operation satisfies a preset execution condition; the first determining submodule is further configured to execute the step of determining the video segment required to be played according to the first playing position if a preset execution condition is met.

Optionally, the first determining sub-module is further configured to:

determining whether the stay time of the touch operation at the first playing position to be positioned exceeds a preset time; or, whether the touch operation is performed at the first playing position needing to be positioned or not is determined.

Optionally, the determining module further includes:

the second determining submodule is configured to determine the video playing time according to the first playing position; and the intercepting submodule is configured to intercept a video with a period of time from the video by taking the video playing time as a center as a video segment.

Optionally, the display module further includes:

and the display sub-module is configured to display the second window in a popup mode on the basis of the first window.

Optionally, the display module is specifically configured to:

playing the video segment in the second window; and/or, displaying at least two images in the video segment in parallel in the second window; and/or, displaying at least two segments of the video sub-segments in parallel in the second window, wherein the video sub-segments are cut from the video segments.

Optionally, the display module further includes:

the receiving submodule is configured to receive a selection operation of a user on the information related to the playing content in the video segment and displayed in the second window; a second determination submodule configured to determine a fast-forward or fast-reverse play position according to the selection operation; and the processing submodule is configured to close the second window and start playing the video from the fast forward or fast backward playing position in the first window.

Optionally, the receiving module is specifically configured to:

receiving dragging operation of a user on a video played in a first window; or receiving the click operation of the user on the video played in the first window.

According to a third aspect of the embodiments of the present disclosure, there is provided a video processing apparatus including:

a processor;

a memory for storing processor-executable instructions;

wherein the processor is configured to:

receiving touch operation of a user on a video played in a first window, wherein the touch operation is used for requesting to position a video playing position to a first playing position; determining a video segment to be played according to the first playing position; and displaying related information of the playing content in the video segment in the second window, wherein the related information is used for enabling a user to select a fast forward or fast backward playing position.

The technical disclosure provided by the embodiment of the present disclosure may include the following beneficial effects: after a user requests that a video playing position is positioned to a first playing position, relevant information in a played video segment determined according to the first playing position is displayed in a second window, and the user selects a fast-forward or fast-backward playing position according to the relevant information; the method and the device realize more accurate selection of the fast forward or fast backward playing position, thereby improving the reliability of the terminal.

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.

Fig. 1A is a flow diagram illustrating a video processing method according to an example embodiment.

FIG. 1B is a schematic interface diagram of the exemplary embodiment of FIG. 1A as implemented.

Fig. 2 is a flow chart illustrating a video processing method according to another exemplary embodiment.

3A-3C are flow diagrams illustrating a method of video processing according to yet another exemplary embodiment

Fig. 4 is a flow chart illustrating a video processing method according to yet another exemplary embodiment.

Fig. 5 is a block diagram illustrating a video processing device according to an example embodiment.

Fig. 6 is a block diagram illustrating a video processing apparatus according to another exemplary embodiment.

Fig. 7 is a block diagram illustrating an apparatus 800 for video processing according to an example embodiment.

With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.

Detailed Description

Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

With the development of mobile terminals, the video watching is more convenient, and the selectable video amount is richer. In the process of watching videos, in order to meet the requirement of flexibly selecting the fast forward or fast backward playing time of the videos, the disclosure provides a video processing method, a video processing device and a storage medium, so that the fast forward or fast backward playing position can be more accurately selected, and the reliability of the terminal is improved.

24页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种智能电视基于Web化视频预览的主页呈现方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类