CN114125564A - Video control method and device and terminal - Google Patents

Video control method and device and terminal Download PDF

Info

Publication number
CN114125564A
CN114125564A CN202010902955.1A CN202010902955A CN114125564A CN 114125564 A CN114125564 A CN 114125564A CN 202010902955 A CN202010902955 A CN 202010902955A CN 114125564 A CN114125564 A CN 114125564A
Authority
CN
China
Prior art keywords
preview
instruction
video
terminal
frame image
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
CN202010902955.1A
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN202010902955.1A priority Critical patent/CN114125564A/en
Publication of CN114125564A publication Critical patent/CN114125564A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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/47217End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a video control method, a video control device and a video control terminal, wherein the video control method comprises the following steps: when a video played by a video playing window of a terminal is played to an ith frame image, acquiring a preview instruction, wherein the ith frame image is any one frame image in the video; displaying a preview image corresponding to the preview instruction on a preview window of the terminal; acquiring a preview cancellation instruction; and switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction. According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.

Description

Video control method and device and terminal
Technical Field
The present application relates to the field of video technologies, and in particular, to a method, an apparatus, and a terminal for controlling a video.
Background
With the wide application of terminals with touch screens such as mobile phones and tablets and the increasing abundance of video resources, watching videos by using the terminals becomes essential entertainment activities in the lives of people.
In order to increase interactivity, a video player supports a user to drag a progress bar to preview a video, and it needs to be noted that after previewing based on an operation of dragging the progress bar by the user, the video directly jumps to a progress corresponding to the dragging operation to be played. If the user wants to return to the play position before the preview operation, it usually takes a lot of time to perform the operation.
Disclosure of Invention
The embodiment of the application provides a video control method, a video control device and a terminal. The played video can return to the playing position before the preview operation in time after the preview operation is executed.
In a first aspect, an embodiment of the present application provides a video control method, including the following steps:
when a video played by a video playing window of a terminal is played to an ith frame image, acquiring a preview instruction, wherein the ith frame image is any one frame image in the video;
displaying a preview image corresponding to the preview instruction on a preview window of the terminal;
acquiring a preview cancellation instruction;
and switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
In some possible embodiments of the first aspect, the preview cancellation instruction includes:
an instruction triggered when the sliding speed of the finger is detected to exceed a first preset speed; alternatively, the first and second electrodes may be,
an instruction triggered when the sliding direction of the finger is detected to be matched with a preset direction; alternatively, the first and second electrodes may be,
and triggering when the trend of the finger sliding is detected to be matched with the preset moving trend.
In some possible embodiments of the first aspect, the preview cancellation instruction includes: and the instruction is triggered when the number of fingers operating the terminal is detected to be matched with the number of fingers corresponding to the preset preview cancellation instruction.
Based on the first aspect, in some possible embodiments of the present application, after the preview instruction is obtained, a preview progress bar is displayed in a display window of the terminal;
the preview cancellation instruction includes: and the instruction is triggered when the condition that the operation on the preview progress bar is matched with the preset preview cancellation operation is detected.
In a second aspect, an embodiment of the present application provides a video control apparatus, including:
the terminal comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a preview instruction when a video played by a video playing window of the terminal is played to an ith frame image, and the ith frame image is any one frame image in the video;
a display unit, configured to display a preview image corresponding to the preview instruction on a preview window of the terminal;
a second obtaining unit configured to obtain a preview cancel instruction;
and the processing unit is used for switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
In some possible embodiments of the second aspect, the preview cancellation instruction includes:
an instruction triggered when the sliding speed of the finger is detected to exceed a first preset speed; alternatively, the first and second electrodes may be,
an instruction triggered when the sliding direction of the finger is detected to be matched with a preset direction; alternatively, the first and second electrodes may be,
and triggering when the trend of the finger sliding is detected to be matched with the preset moving trend.
In some possible embodiments of the second aspect, the preview cancellation instruction includes: and the instruction is triggered when the number of fingers operating the terminal is detected to be matched with the number of fingers corresponding to the preset preview cancellation instruction.
In some possible embodiments of the present application based on the second aspect,
after the preview instruction is obtained, displaying a preview progress bar in a display window of the terminal;
the preview cancellation instruction includes: and the instruction is triggered when the condition that the operation on the preview progress bar is matched with the preset preview cancellation operation is detected.
In a third aspect, an embodiment of the present application provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement part or all of the steps of the first aspect or any one of the possible methods of the first aspect.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, the computer program, when executed by a processor, implementing the first aspect or some or all of the steps of any one of the possible methods of the first aspect.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Drawings
Some drawings to which embodiments of the present application relate will be described below.
Fig. 1 is a schematic flowchart of a video control method according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 5 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a video playing window playing a video according to an embodiment of the present application.
Fig. 8 is a schematic diagram of a video playing window playing a video in an embodiment of the present application.
Fig. 9 is a schematic structural diagram of a video control device according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings.
The video control method provided by the embodiment of the application comprises the following steps: when a video played by a video playing window of a terminal is played to an ith frame image, acquiring a preview instruction, wherein the ith frame image is any one frame image in the video; displaying a preview image corresponding to the preview instruction on a preview window of the terminal; acquiring a preview cancellation instruction; and switching the video played in the video playing window of the terminal to the ith frame image.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video control method according to an embodiment of the present application, where the method includes the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the trigger of the preview cancel instruction may be obtained by triggering the instruction of the preview cancel trigger when the sliding speed of the finger is detected to exceed the first preset speed, as shown in fig. 3, the sliding direction may be a specified certain direction or any direction as long as the sliding speed is satisfied to exceed the first preset speed.
And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Example two
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video control method according to an embodiment of the present application, where the method includes the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the triggering of the preview cancelling command may be obtained by triggering the preview cancelling command when the sliding direction of the finger is detected to match the preset direction. For example, the preset direction may be an upward direction as shown in fig. 4, and after the preview instruction is obtained, if the finger does not leave the screen, if the finger continues to move upward, the preview cancel instruction is triggered. And canceling the preview according to the canceling instruction, and continuing to play the video from the image shown in the figure 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
EXAMPLE III
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video control method according to an embodiment of the present application, where the method includes the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the preview cancellation command may be triggered in a plurality of ways, where the preset direction is a backward arc as shown in fig. 5, and after the preview command is obtained, if the finger does not leave the screen, the preview cancellation command is triggered if the finger continues to move backward arc. The preview is undone and the video continues to be played from the image shown in fig. 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
Example four
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video control method according to an embodiment of the present application, where the method includes the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the preview cancellation instruction may be obtained by determining whether the preview can be cancelled according to the number of the sliding fingers at the time of the sliding operation. When a single finger executes a preview operation, the preview can be set to be undeniable, and when the slide preview operation is released, the video jumps to an image corresponding to a preview video frame. As shown in fig. 7, it may be set that when the preview operation is performed with two fingers or juice, the preview is revocable, and after the slide preview is released, the preview is revoked and the video continues to be played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
EXAMPLE five
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a video control method according to an embodiment of the present application, where the method includes the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
As shown in fig. 8, in this embodiment, after the preview instruction is acquired, a preview progress bar is displayed in a display window of the terminal; when the preview cancel instruction is triggered when the operation of the preview progress bar is detected to be matched with the preset preview cancel operation, the video can be continuously played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image of the video according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
EXAMPLE six
Referring to fig. 9, fig. 9 is a schematic structural diagram of a video control apparatus 900 according to an embodiment of the present application. The video control apparatus 900 includes: a first acquisition unit 901, a second acquisition unit 902, a processing unit 903, and a display unit 904. The first obtaining unit 901 is configured to obtain a preview instruction when a video played in a video playing window of a terminal is played to an i-th frame image, where the i-th frame image is any one frame image in the video. A display unit 904, configured to display a preview image corresponding to the preview instruction in a preview window of the terminal. A second obtaining unit 902, configured to obtain a preview revocation instruction. And the processing unit 903 is configured to switch the video played in the video playing window of the terminal to the ith frame image.
The preview cancellation instruction includes: and triggering when the sliding speed of the finger is detected to exceed a first preset speed.
As shown in fig. 3, the sliding direction may be a specific direction or any direction as long as the sliding speed exceeds the first preset speed.
And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
EXAMPLE seven
Referring to fig. 9, fig. 9 is a schematic structural diagram of a video control apparatus 900 according to an embodiment of the present application. The video control apparatus 900 includes: a first acquisition unit 901, a second acquisition unit 902, a processing unit 903, and a display unit 904. The first obtaining unit 901 is configured to obtain a preview instruction when a video played in a video playing window of a terminal is played to an i-th frame image, where the i-th frame image is any one frame image in the video. A display unit 904, configured to display a preview image corresponding to the preview instruction in a preview window of the terminal. A second obtaining unit 902, configured to obtain a preview revocation instruction. And the processing unit 903 is configured to switch the video played in the video playing window of the terminal to the ith frame image.
The preview cancellation instruction includes: and triggering when the sliding direction of the finger is detected to be matched with the preset direction.
For example, the preset direction may be an upward direction as shown in fig. 4, and after the preview instruction is obtained, if the finger does not leave the screen, if the finger continues to move upward, the preview cancel instruction is triggered. And canceling the preview according to the canceling instruction, and continuing to play the video from the image shown in the figure 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
Example eight
Referring to fig. 9, fig. 9 is a schematic structural diagram of a video control apparatus 900 according to an embodiment of the present application. The video control apparatus 900 includes: a first acquisition unit 901, a second acquisition unit 902, a processing unit 903, and a display unit 904. The first obtaining unit 901 is configured to obtain a preview instruction when a video played in a video playing window of a terminal is played to an i-th frame image, where the i-th frame image is any one frame image in the video. A display unit 904, configured to display a preview image corresponding to the preview instruction in a preview window of the terminal. A second obtaining unit 902, configured to obtain a preview revocation instruction. And the processing unit 903 is configured to switch the video played in the video playing window of the terminal to the ith frame image.
In some possible embodiments, the preview-cancelling instruction triggers an instruction when a trend of finger sliding is detected that matches a preset trend of movement. The preset trend is shown as a backward arc in fig. 5, and after the preview instruction is acquired, if the finger does not leave the screen, if the finger continues to move backward arc, the preview cancellation instruction is triggered. The preview is undone and the video continues to be played from the image shown in fig. 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
Example nine
Referring to fig. 9, fig. 9 is a schematic structural diagram of a video control apparatus 900 according to an embodiment of the present application. The video control apparatus 900 includes: a first acquisition unit 901, a second acquisition unit 902, a processing unit 903, and a display unit 904. The first obtaining unit 901 is configured to obtain a preview instruction when a video played in a video playing window of a terminal is played to an i-th frame image, where the i-th frame image is any one frame image in the video. A display unit 904, configured to display a preview image corresponding to the preview instruction in a preview window of the terminal. A second obtaining unit 902, configured to obtain a preview revocation instruction. And the processing unit 903 is configured to switch the video played in the video playing window of the terminal to the ith frame image.
The preview cancel instruction may be obtained by determining whether the preview can be canceled according to the number of the sliding fingers at the time of the sliding operation. When a single finger executes a preview operation, the preview can be set to be undeniable, and when the slide preview operation is released, the video jumps to an image corresponding to a preview video frame. As shown in fig. 7, it may be set that when the preview operation is performed with two fingers or juice, the preview is revocable, and after the slide preview is released, the preview is revoked and the video continues to be played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Example ten
Referring to fig. 9, fig. 9 is a schematic structural diagram of a video control apparatus 900 according to an embodiment of the present application. The video control apparatus 900 includes: a first acquisition unit 901, a second acquisition unit 902, a processing unit 903, and a display unit 904. The first obtaining unit 901 is configured to obtain a preview instruction when a video played in a video playing window of a terminal is played to an i-th frame image, where the i-th frame image is any one frame image in the video. A display unit 904, configured to display a preview image corresponding to the preview instruction in a preview window of the terminal. A second obtaining unit 902, configured to obtain a preview revocation instruction. And the processing unit 903 is configured to switch the video played in the video playing window of the terminal to the ith frame image.
As shown in fig. 8, in this embodiment, after the preview instruction is acquired, a preview progress bar is displayed in a display window of the terminal; when the preview cancel instruction is triggered when the operation of the preview progress bar is detected to be matched with the preset preview cancel operation, the video can be continuously played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image of the video according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
EXAMPLE eleven
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 1000 includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program operable on the processor 1002, and the processor 1002 executes the computer program to perform a control method of video, the method comprising the steps of:
101. when a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the preview revocation instruction includes: and triggering when the sliding speed of the finger is detected to exceed a first preset speed.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Example twelve
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 1000 includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program operable on the processor 1002, and the processor 1002 executes the computer program to perform a control method of video, the method comprising the steps of:
101. when a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the triggering of the preview cancellation instruction may be obtained by triggering the preview cancellation instruction when the sliding direction of the finger is detected to match the preset direction. For example, the preset direction may be an upward direction as shown in fig. 4, and after the preview instruction is obtained, if the finger does not leave the screen, if the finger continues to move upward, the preview cancel instruction is triggered. And canceling the preview according to the canceling instruction, and continuing to play the video from the image shown in the figure 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
EXAMPLE thirteen
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 1000 includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program operable on the processor 1002, and the processor 1002 executes the computer program to perform a control method of video, the method comprising the steps of:
101. when a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the preview cancellation instruction may be triggered in a plurality of ways, where the preset direction is a backward arc as shown in fig. 5, and after the preview instruction is obtained, if the finger does not leave the screen, the preview cancellation instruction is triggered if the finger continues to move backward arc. The preview is undone and the video continues to be played from the image shown in fig. 2.
According to the preview cancellation instruction, the video played in the video playing window of the terminal is switched to the ith frame image.
Example fourteen
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 1000 includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program operable on the processor 1002, and the processor 1002 executes the computer program to perform a control method of video, the method comprising the steps of:
101. when a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In this embodiment, the preview cancellation instruction may be obtained by determining whether the preview can be cancelled according to the number of the sliding fingers at the time of the sliding operation. When a single finger executes a preview operation, the preview can be set to be undeniable, and when the slide preview operation is released, the video jumps to an image corresponding to a preview video frame. As shown in fig. 7, it may be set that when the preview operation is performed with two fingers or juice, the preview is revocable, and after the slide preview is released, the preview is revoked and the video continues to be played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
Example fifteen
Fig. 10 is a schematic structural diagram of a terminal according to an embodiment of the present application, where the terminal 1000 includes: a memory 1001 and a processor 1002, wherein the memory 1001 stores a computer program operable on the processor 1002, and the processor 1002 executes the computer program to perform a control method of video, the method comprising the steps of:
101. when a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
102. And displaying a preview image corresponding to the preview instruction on a preview window of the terminal.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
As shown in fig. 8, in this embodiment, after the preview instruction is acquired, a preview progress bar is displayed in a display window of the terminal; when the preview cancel instruction is triggered when the operation of the preview progress bar is detected to be matched with the preset preview cancel operation, the video can be continuously played from the image shown in fig. 2. And switching the video played in the video playing window of the terminal to the ith frame image of the video according to the preview cancellation instruction.
According to the embodiment of the application, the video frame before the preview operation can be directly switched to after the preview cancellation instruction is obtained, so that the operation is simplified, and the user experience is improved.
The embodiment of the application also provides a computer readable storage medium, which stores a computer program, wherein the computer program is executed by hardware to realize a flow chart of a video control method, and the method comprises the following steps.
101. When a video played by a video playing window of a terminal is played to an ith frame image, a preview instruction is acquired, wherein the ith frame image is any one frame image in the video.
For example, as shown in fig. 2, an image being played on the interface is displayed for the terminal before the terminal acquires the preset instruction. The terminal can be a mobile phone with a touch screen or other equipment, and the user can trigger the preview instruction by sliding fingers left and right on the touch screen or other modes.
102 displaying a preview image corresponding to the preview instruction in a preview window of the terminal.
After the preview instruction is obtained, a preview window may be displayed in the display interface of the terminal, and a preview image corresponding to the preview instruction is displayed in the preview window, for example, an image displayed in a small window on the middle upper portion of the display interface in fig. 3 is a preview image.
103. And acquiring a preview revocation instruction.
104. And switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part.
In the foregoing embodiments, the descriptions of the embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is merely a logical division, and the actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the indirect coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, and may be electrical or in other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a terminal (which may be a device with a touch screen, such as a mobile phone) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage media may include, for example: read-only memory (ROM), Random Access Memory (RAM), and various other media that can store program code.

Claims (10)

1. A method for controlling video, comprising the steps of:
when a video played by a video playing window of a terminal is played to an ith frame image, acquiring a preview instruction, wherein the ith frame image is any one frame image in the video;
displaying a preview image corresponding to the preview instruction on a preview window of the terminal;
acquiring a preview cancellation instruction;
and switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
2. The method of claim 1, wherein the preview dismiss instruction comprises:
an instruction triggered when the sliding speed of the finger is detected to exceed a first preset speed; alternatively, the first and second electrodes may be,
an instruction triggered when the sliding direction of the finger is detected to be matched with a preset direction; alternatively, the first and second electrodes may be,
and triggering when the trend of the finger sliding is detected to be matched with the preset moving trend.
3. The method according to claim 1 or 2,
the preview cancellation instruction includes: and the instruction is triggered when the number of fingers operating the terminal is detected to be matched with the number of fingers corresponding to the preset preview cancellation instruction.
4. The method according to any one of claims 1 to 3,
after the preview instruction is obtained, displaying a preview progress bar in a display window of the terminal;
the preview cancellation instruction includes: and the instruction is triggered when the condition that the operation on the preview progress bar is matched with the preset preview cancellation operation is detected.
5. A video control apparatus, comprising:
the terminal comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring a preview instruction when a video played by a video playing window of the terminal is played to an ith frame image, and the ith frame image is any one frame image in the video;
a display unit, configured to display a preview image corresponding to the preview instruction on a preview window of the terminal;
a second obtaining unit configured to obtain a preview cancel instruction;
and the processing unit is used for switching the video played in the video playing window of the terminal to the ith frame image according to the preview cancellation instruction.
6. The apparatus of claim 5, wherein the preview dismiss instruction comprises:
an instruction triggered when the sliding speed of the finger is detected to exceed a first preset speed; alternatively, the first and second electrodes may be,
an instruction triggered when the sliding direction of the finger is detected to be matched with a preset direction; alternatively, the first and second electrodes may be,
and triggering when the trend of the finger sliding is detected to be matched with the preset moving trend.
7. The apparatus of claim 5 or 6,
the preview cancellation instruction includes: and the instruction is triggered when the number of fingers operating the terminal is detected to be matched with the number of fingers corresponding to the preset preview cancellation instruction.
8. The method according to any one of claims 5 to 7,
after the preview instruction is obtained, displaying a preview progress bar in a display window of the terminal;
the preview cancellation instruction includes: and the instruction is triggered when the condition that the operation on the preview progress bar is matched with the preset preview cancellation operation is detected.
9. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor,
the processor, when executing the computer program, implements the method of any of claims 1-4.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that,
the computer program, when executed by a processor, implements the method of any one of claims 1-4.
CN202010902955.1A 2020-08-31 2020-08-31 Video control method and device and terminal Pending CN114125564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010902955.1A CN114125564A (en) 2020-08-31 2020-08-31 Video control method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010902955.1A CN114125564A (en) 2020-08-31 2020-08-31 Video control method and device and terminal

Publications (1)

Publication Number Publication Date
CN114125564A true CN114125564A (en) 2022-03-01

Family

ID=80360665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010902955.1A Pending CN114125564A (en) 2020-08-31 2020-08-31 Video control method and device and terminal

Country Status (1)

Country Link
CN (1) CN114125564A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612588A (en) * 2022-03-11 2022-06-10 乐美科技股份私人有限公司 Picture editing method and device, electronic equipment and storage medium
CN114827675A (en) * 2022-04-18 2022-07-29 北京金山云网络技术有限公司 Video data processing method and device for application program
CN115314654A (en) * 2022-10-12 2022-11-08 飞狐信息技术(天津)有限公司 Video processing method, system, storage medium and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500070A (en) * 2013-10-23 2014-01-08 北京三星通信技术研究有限公司 Touch operation method and device and terminal unit
CN105898591A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play method and device and mobile terminal equipment
CN106454447A (en) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 Video playing and processing method and device, and television
CN106648426A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Method for adjusting video playing progress and mobile terminal
CN107707764A (en) * 2017-10-20 2018-02-16 维沃移动通信有限公司 The control method and mobile terminal of a kind of application
CN108762648A (en) * 2018-04-28 2018-11-06 维沃移动通信有限公司 Screen operator control method and mobile terminal
CN110493614A (en) * 2019-08-28 2019-11-22 百度在线网络技术(北京)有限公司 Video control method, device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500070A (en) * 2013-10-23 2014-01-08 北京三星通信技术研究有限公司 Touch operation method and device and terminal unit
CN105898591A (en) * 2015-12-14 2016-08-24 乐视网信息技术(北京)股份有限公司 Video play method and device and mobile terminal equipment
CN106454447A (en) * 2016-10-11 2017-02-22 青岛海信电器股份有限公司 Video playing and processing method and device, and television
CN106648426A (en) * 2016-11-29 2017-05-10 维沃移动通信有限公司 Method for adjusting video playing progress and mobile terminal
CN107707764A (en) * 2017-10-20 2018-02-16 维沃移动通信有限公司 The control method and mobile terminal of a kind of application
CN108762648A (en) * 2018-04-28 2018-11-06 维沃移动通信有限公司 Screen operator control method and mobile terminal
CN110493614A (en) * 2019-08-28 2019-11-22 百度在线网络技术(北京)有限公司 Video control method, device and equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612588A (en) * 2022-03-11 2022-06-10 乐美科技股份私人有限公司 Picture editing method and device, electronic equipment and storage medium
CN114827675A (en) * 2022-04-18 2022-07-29 北京金山云网络技术有限公司 Video data processing method and device for application program
CN115314654A (en) * 2022-10-12 2022-11-08 飞狐信息技术(天津)有限公司 Video processing method, system, storage medium and electronic equipment
CN115314654B (en) * 2022-10-12 2023-01-06 飞狐信息技术(天津)有限公司 Video processing method, system, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN114125564A (en) Video control method and device and terminal
CN110062271B (en) Scene switching method, device, terminal and storage medium
CN112370781B (en) Operation control method and device, storage medium and electronic equipment
WO2018113653A1 (en) Scene switching method based on mobile terminal, and mobile terminal
CN110559651A (en) Control method and device of cloud game, computer storage medium and electronic equipment
CN110109607B (en) Information processing method and device, electronic equipment and storage medium
CN107168616B (en) Game interaction interface display method and device, electronic equipment and storage medium
CN107096230B (en) message display processing method and device
CN104572322A (en) Method for operating terminal screen
EP3040840A1 (en) Interface processing method, device, terminal and computer storage medium
CN112957730B (en) Plot interaction method and device and electronic equipment
CN106873898B (en) Application program working mode switching method and device and electronic equipment
US10857463B2 (en) Storage medium and operation input scheme control method
CN105324160B (en) Electronic game machine, electronic game processing method, and non-volatile storage medium storing electronic game program
CN104793851B (en) A kind of suspension button control method of terminal screen
CN109358941B (en) Control method and electronic equipment
CN110134476A (en) A kind of method and apparatus that application is shown
CN111708471B (en) Control processing method and related device
CN111494935A (en) Method and device for controlling virtual object in game
CN105704540B (en) Switch the method and apparatus of live telecast channel
JP2024521888A (en) Method, device, terminal and program for controlling virtual objects
EP4287013A1 (en) Screen projection display method and apparatus, mobile terminal, storage medium, and program product
CN113885731A (en) Control method and device of virtual prop, electronic equipment and storage medium
CN112791403A (en) Method and device for controlling virtual character in game and terminal equipment
CN115802093A (en) Video playing method and device, electronic 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