CN111526426A - Video playing method, terminal equipment and storage medium - Google Patents

Video playing method, terminal equipment and storage medium Download PDF

Info

Publication number
CN111526426A
CN111526426A CN202010332198.9A CN202010332198A CN111526426A CN 111526426 A CN111526426 A CN 111526426A CN 202010332198 A CN202010332198 A CN 202010332198A CN 111526426 A CN111526426 A CN 111526426A
Authority
CN
China
Prior art keywords
video
input
interface
video clip
playing
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
CN202010332198.9A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010332198.9A priority Critical patent/CN111526426A/en
Publication of CN111526426A publication Critical patent/CN111526426A/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/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • 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/47202End-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 requesting content on demand, e.g. video on demand
    • 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/47205End-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 manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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

Abstract

The embodiment of the invention discloses a video playing method and terminal equipment, which are applied to the technical field of terminals and can solve the problems of low efficiency and poor man-machine interaction performance of the terminal equipment when the switching between the sequential playing and the reverse playing of videos is realized. The method comprises the following steps: receiving a first input of a user for a video clip selection control in a first interface, wherein the first interface is a display interface of a first video; responding to the first input, if the first input meets a preset input condition, playing the first video clips in a target playing sequence, wherein the target playing sequence is a playing sequence opposite to the current default playing sequence of the first video clips, and the first video clips are video clips selected by the video clip selection control from the first video. The method is applied to the scene of video playing.

Description

Video playing method, terminal equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of terminals, in particular to a video playing method, a terminal device and a storage medium.
Background
With the popularization of terminal technology, the application of terminal equipment is more and more extensive.
And the efficiency is not high because multiple clicks are needed when entering the setting page. At present, a terminal device can process a shot video through a third-party application program of some video clips, and in the process of processing the video, if the original playing sequence of the video is to be changed, the video is played in a reverse order, a user needs to click a control in a video clip interface to enter a setting option interface, and click a setting option for selecting reverse play in options in the setting option interface, or a sub-option (i.e. a sub-option under a certain option) in the sub-option to realize the reverse play of the video.
Disclosure of Invention
The embodiment of the invention provides a video playing method, a terminal device and a storage medium, which are used for solving the problems of low efficiency and poor man-machine interaction performance of the terminal device in the prior art when the switching between the sequential playing and the reverse playing of videos is realized.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a video shooting method is provided, which is applied to a terminal device, and includes: receiving a first input of a user for a video clip selection control in a first interface, wherein the first interface is a display interface of a first video;
responding to the first input, if the first input meets a preset input condition, playing the first video clips in a target playing sequence, wherein the target playing sequence is a playing sequence opposite to the current default playing sequence of the first video clips, and the first video clips are video clips selected by the video clip selection control from the first video.
Optionally, the first input is at least one of the following inputs:
touch input, voice input, gesture input and input of shaking the terminal device.
Optionally, the first input is a two-finger touch input;
the preset input condition is that the rotation angle corresponding to the double-finger touch input is greater than or equal to a preset angle;
the rotation angle is an included angle formed by a first connecting line and a second connecting line, the first connecting line is a connecting line of two initial touch control points of the double-finger touch control input, and the second connecting line is a connecting line of two termination touch control points of the double-finger touch control input.
Optionally, the first input is a single-finger sliding input;
the preset input condition is that the sliding track of the single-finger sliding input is matched with the preset sliding track.
Optionally, before receiving a first input of a user for selecting a control for a video clip in the target interface, the method further includes:
receiving a second input of the user in the process of shooting the video;
and in response to the second input, pausing shooting the video to obtain a second video, displaying a second interface, and acquiring a second video clip from the second video, wherein the second video is shot before the second input is received in the process of shooting the video, and the second interface is a paused shooting interface when the second input is received.
And combining the second video clip with the third video to form the first video.
Optionally, before the second video segment and the third video are combined into the first video, the method further includes:
receiving a third input of the user on the second interface;
and responding to a third input, continuing to shoot the video to obtain a third video.
Optionally, after the second video segment is synthesized with the third video to form the first video, before receiving a first input of a user for selecting a control for the video segment in the target interface, the method further includes:
displaying a first interface;
the video clip selection control is adjusted in the first interface such that the video clip selection control selects the first video clip.
In a second aspect, a terminal device is provided, which includes: the receiving module is used for receiving a first input of a user for a video clip selection control in a first interface, and the first interface is a display interface of a first video;
and the processing module is used for responding to the first input, and if the first input meets a preset input condition, playing the first video clip in a target playing sequence, wherein the target playing sequence is a playing sequence opposite to the current default playing sequence of the first video clip, and the first video clip is a video clip selected by the video clip selection control from the first video.
In a third aspect, a terminal device is provided, the terminal device comprising a processor, a memory and a computer program stored on the memory and operable on the processor, the computer program, when executed by the processor, implementing the steps of the video capturing method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored which, when being executed by a processor, carries out the steps of the video capturing method according to the first aspect.
In the embodiment of the present invention, a user may trigger the terminal device to determine whether the first input satisfies a preset input condition by pointing to the first input of the video clip selection control in the display interface (i.e., the first interface) of the first video, and if so, play the video clip selected by the video clip selection control in a play order opposite to the current default play order of the first video clip (for example, if the current default play order of the first video clip is sequential play, play the first video clip in a reverse order if it is determined that the first input satisfies the preset input condition). Therefore, the switching between the video sequence playing and the reverse sequence playing can be realized through one-time input meeting the preset input condition, so that the switching efficiency between the video sequence playing and the reverse sequence playing is improved, and the human-computer interaction performance of the terminal equipment is improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a first schematic view of a video playing method according to an embodiment of the present invention;
fig. 3 is a first schematic diagram of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 5 is a third schematic diagram of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 6 is a fourth schematic diagram of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a video playing method according to an embodiment of the present invention;
fig. 8 is a fifth schematic view of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 9 is a sixth schematic view of an interface displayed by a terminal device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Fig. 11 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or a damming operating system, and may also be other possible operating systems, which is not specifically limited in the embodiment of the present invention.
The following describes a software environment applied to the video playing method provided by the embodiment of the present invention, taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the video playing method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the video playing method may operate based on the android operating system shown in fig. 1. Namely, the processor or the terminal device can implement the video shooting method provided by the embodiment of the invention by running the software program in the android operating system.
In order to solve the problems of low efficiency and poor man-machine interaction performance of a terminal device when switching between sequential playing and reverse playing of videos is implemented, embodiments of the present invention provide a video playing method, a terminal device, and a storage medium, by which a user can trigger the terminal device to determine whether a first input satisfies a preset input condition by referring to a first input of a video clip selection control in a display interface (i.e., a first interface) of a first video, and play a video clip selected by the video clip selection control in a playing order opposite to a current default playing order of the first video clip if the first input satisfies the preset input condition (e.g., the current default playing order of the first video clip is sequential playing, and play the first video clip in the reverse order if the first input satisfies the preset input condition). Therefore, the switching between the video sequence playing and the reverse sequence playing can be realized through one-time input meeting the preset input condition, so that the switching efficiency between the video sequence playing and the reverse sequence playing is improved, and the human-computer interaction performance of the terminal equipment is improved.
The terminal device in the embodiment of the invention can be a mobile terminal device and can also be a non-mobile terminal device. The mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile terminal device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
The execution subject of the video playing method provided in the embodiment of the present invention may be the terminal device (including a mobile terminal device and a non-mobile terminal device), or may also be a functional module and/or a functional entity capable of implementing the video playing method in the terminal device, which may be determined specifically according to actual use requirements, and the embodiment of the present invention is not limited.
As shown in fig. 2, an embodiment of the present invention provides a video playing method, where the method includes:
101. a first input is received from a user selecting a control for a video clip in a first interface.
The first interface is a display interface of a first video.
Optionally, the first input may be at least one of a touch input (a touch input on a display screen of the terminal device, that is, a touch input on the display screen of the terminal device), a voice input, a gesture input (which may not touch the display screen of the terminal device), and an input of shaking the terminal device.
Illustratively, as shown in fig. 3, a schematic diagram of the first interface is shown, wherein the first interface 01 includes a time control 011 and a video clip selecting control 012, wherein the time selecting control represents a time axis of the first video, and the 012 can slide on the 011 to frame a video clip within a certain period of the time axis of the first video, so as to select the video clip (which may be the first video clip described below) from the first video.
102. And responding to the first input, and judging whether the first input meets a preset input condition.
Optionally, different preset input conditions may be set for different first inputs, and the following exemplary description is made for different first inputs and the preset input conditions corresponding to the different first inputs.
1. Touch input
Optionally, in the embodiment of the present invention, the first input may be implemented by different types of touch inputs. For example, the first input may be a single-finger sliding input, a two-finger touch input, a long-press input (i.e., a press duration is greater than a preset duration), or a re-press input (i.e., a press pressure value is greater than a preset pressure value), and the like. The single-finger slide input and the two-finger touch input are explained below by way of example.
1.1, the first input is a single-finger sliding input.
And the preset input condition is that the sliding track of the single-finger sliding input is matched with the preset sliding track.
For example, a clockwise sliding track or an anticlockwise sliding track on the video segment selection control may be preset as the preset sliding track, and when the first input is the single-finger sliding input, it may be detected whether the first input is the clockwise sliding track or the anticlockwise sliding track on the video segment selection control, and if so, it is indicated that the sliding track of the first input is matched with the preset sliding track.
For example, assuming that the preset slide track is a clockwise slide track on the video segment selection control, as shown in fig. 4, the single finger of the user slides on the video segment selection control 012 according to a track indicated by a dashed arrow, and the slide track is a clockwise slide track, and it can be considered that the track of the single-finger slide input of the user matches with the preset slide track.
1.2, the first input is a double-finger touch input.
Correspondingly, the preset input condition is that the rotation angle corresponding to the double-finger touch input is greater than or equal to the preset angle.
For example, the preset angle may be 45 degrees or 90 degrees, and the embodiment of the present invention is not particularly limited.
The rotation angle is an included angle formed by a first connecting line and a second connecting line, the first connecting line is a connecting line of two initial touch control points of the double-finger touch control input, and the second connecting line is a connecting line of two termination touch control points of the double-finger touch control input.
Optionally, the above-mentioned two-finger touch input may be input by two-finger sliding, may also be input by two-finger clicking (may be continuous multiple times of clicking), and may also be input by first using two-finger long-time pressing and then using two-finger sliding input or two-finger clicking.
For example, as shown in fig. 5, a user double-finger touches the video segment selection control 012, where two fingers slide on the video segment selection control 012 as shown by dotted arrows, and then two initial touch points of the user double-finger touch can be identified, a connection line of the two initial touch points can be determined, two terminal touch ends of the double-finger touch can be determined, a connection line of the two terminal touch points can be determined, and finally an included angle between the connection line of the two initial touch points and the two terminal touch points can be determined, that is, a rotation angle of the connection line of the two terminal touch points relative to the connection line of the two initial touch points can be determined. When the rotation angle is greater than the preset angle, the two-finger touch input may be considered to satisfy a preset input condition.
In the embodiment of the invention, a double-finger touch input mode is adopted, and a mode of rotating by sliding double fingers on the video segment selection control can embody the change of the playing sequence in an visualized mode, so that the method is more suitable for a user to operate a learning pot and more humanized.
2. Speech input
Accordingly, in the case where the first input is a voice input, the preset input condition may be whether the voice input matches a preset voice.
For example, the "reverse play" may be preset as a preset voice, and in the case that a voice input of the user is received, the content of the voice input may be recognized, and it may be determined whether it includes the reverse play or the content having the same meaning as the reverse play, and if such content exists, it may be determined that the voice input matches the preset voice, and otherwise, it does not match.
3. Gesture input
Correspondingly, in the case that the first input is a gesture input, the preset input condition may be whether the gesture input matches a preset gesture.
For example, a gesture of a user for drawing a circle with a middle finger in the air can be preset as a preset gesture, the gesture input of the user can be collected through a camera, and then whether the gesture is the gesture of drawing the circle with the middle finger or not is judged, if yes, the gesture input is considered to be matched with the preset gesture, and if not, the gesture input is not matched.
4. Input of shaking terminal device
Correspondingly, under the condition that the first input is the input of shaking the terminal equipment, the preset input condition can be the preset terminal equipment pose parameter.
For example, assuming that the first input is an input of shaking the terminal device, a change in pose of the terminal device may be detected by a sensor (e.g., a gravity sensor or a gyroscope sensor) in the terminal device, and a change in pitch angle of the terminal device before and after the first input is detected and compared with a preset change in pitch angle, and in a case where the detected change in pitch angle of the terminal device is greater than or equal to the preset change in pitch angle, the first input is considered to satisfy a preset input condition, and otherwise, the first input is not satisfied.
The pitch angle of the terminal equipment is an included angle formed by a plane where a rear shell of the terminal equipment is located and a horizontal plane.
Alternatively, the variation of the preset pitch angle may be set to 30 degrees, 45 degrees, or 90 degrees, and the like, and the embodiment of the present invention is not particularly limited.
In the embodiment of the present invention, if the first input satisfies the predetermined input condition, the following step is executed 103; and if the first input does not meet the preset input condition, returning to execute the step 101.
103. The first video segment is played in the target play order.
The target playing sequence is the playing sequence opposite to the current default playing sequence of the first video clip, and the first video clip is the video clip selected by the video clip selection control from the first video.
In the embodiment of the present invention, the default playing sequence may be sequential playing, and the target playing sequence may be reverse playing; or the default playing sequence may be reverse playing, and the target playing sequence may be sequential playing, that is, the video playing method provided in the embodiment of the present invention may be used to switch from sequential playing to reverse playing, or may be used to switch from reverse playing to sequential playing.
For example, assuming that the video segment selection control currently defaults to sequential playing from the video segment selected in the first video (i.e., the first video segment), for the case where the input shown in fig. 4 or 5 satisfies the preset input condition, an interface as shown in fig. 6 may be displayed, and a prompt information 013 ("set successful, video to be played in reverse order") may be displayed in the interface, and then the first video segment is played in reverse order.
In the video playing method and the video playing system provided by the embodiment of the present invention, the user may trigger the terminal device to determine whether the first input meets the preset input condition by pointing to the first input of the video clip selection control in the display interface (i.e. the first interface) of the first video, and play the video clip selected by the video clip selection control in the playing order opposite to the current default playing order of the first video clip if the first input meets the preset input condition (for example, if the current default playing order of the first video clip is sequential playing, the first video clip is played in the reverse order if the first input meets the preset input condition). Therefore, the switching between the video sequence playing and the reverse sequence playing can be realized through one-time input meeting the preset input condition, so that the switching efficiency between the video sequence playing and the reverse sequence playing is improved, and the human-computer interaction performance of the terminal equipment is improved.
As shown in fig. 7, an embodiment of the present invention further provides a video playing method, where the method includes:
201. during the capturing of the video, a second input is received from the user.
Optionally, the second input may be a click input on a display screen of the terminal device, or may be an input of a preset gesture on the display screen of the terminal device. The specific method can be determined according to actual use requirements, and the embodiment of the invention is not limited.
Alternatively, the second input may be a click input to a pause shooting button in a page where the video is shot during shooting of the video.
Illustratively, the click input may be a single click, a double click, or a preset number of consecutive clicks.
202. And responding to the second input, pausing shooting the video, shooting to obtain a second video, and displaying a second interface.
The second video is shot before the second input is received in the process of shooting the video, and the second interface is a shooting pause interface when the second input is received.
Optionally, the second interface includes a target image, where the target image is an image displayed by the terminal device when the second input is received, and the second video is a video captured before the second input is received in the process of capturing the video.
Optionally, the second interface may be a pause shooting interface displayed after shooting is paused when the video is shot, and usually, the last frame of image shot before pausing may be displayed on the pause shooting interface.
Illustratively, as shown in fig. 8, a third interface 02 for shooting a video is provided, wherein the third interface 02 includes a control 021 and a control 022, the control 021 is used for triggering the terminal device to start shooting the video/pause shooting the video, and the control 022 is used for triggering the terminal device to pause shooting the video/continue shooting the video.
Further, in the process of shooting the video, clicking a control 022 in the third interface 02 shown in fig. 8 may pause shooting the video, and update the third interface 02 to a second interface 03 shown in fig. 9, where the control 022 is in a shooting state as in fig. 8, and is used for triggering the terminal device to pause shooting the video, and the control 022 is in a pause state as in fig. 9, and is used for triggering the terminal device to continue shooting the video.
203. And acquiring a second video clip from the second video.
Optionally, after acquiring the second video segment from the second video, in the embodiment of the present invention, the terminal device may further delete the second video.
In the embodiment of the invention, after the second video clip is acquired, the second video is deleted, so that the storage space of the terminal equipment can be saved.
204. A third input from the user at the second interface is received.
Alternatively, the third input may be an input that triggers the continuation of the shooting of the video in the second interface after the shooting of the video is suspended.
This third input may be, for example, an input to click the control 012 in the second interface 02 shown in fig. 9 described above.
205. And responding to a third input, continuing to shoot the video to obtain a third video.
206. And combining the second video clip with the third video to form the first video.
In the embodiment of the present invention, after the terminal device receives the third input, an input for triggering the terminal device to end shooting the third video may be further received. That is, in the embodiment of the present invention, the third video may be obtained after the user receives the third input.
Further, the third video may be obtained in response to the input of the end of shooting the third video, and the second video segment may be synthesized with the third video into the first video.
Currently, a terminal device may trigger the terminal device to start/pause shooting of a video segment or trigger the terminal device to pause/continue shooting of a video segment through an input in a shooting page. When the user is dissatisfied with a part of content in the middle of the shot video, the user needs to shoot the whole video again, so that the efficiency of shooting the video is low.
In order to solve the above problem, in the embodiment of the present invention, during the process of shooting the video, the user may pause shooting the video, acquire a video segment (i.e., a second video segment) in the shot video, continue shooting the video, and combine the video obtained by continuing shooting (i.e., a third video) and the acquired second video segment into the first video. Therefore, when a user is dissatisfied with a part of content in the shot video, the user can acquire the video clips except the part of content in the shot video, shoot a new section of video again, and combine the video shot again and the acquired video clips into a new section of video, so that the user does not need to shoot the whole section of video again, and the video shooting method can improve the efficiency of shooting the video.
207. The first interface is displayed.
Optionally, after the first video is synthesized, the user may trigger a video clipping function of the terminal device, so that the terminal device displays a display interface of the first video, and clips the first video in the display interface.
208. In response to a user adjusting input of the video clip selection control in the first interface, the video clip selection control is caused to select the first video clip.
Optionally, the size of the video segment selection control may be adjusted to select video segments of different lengths, or the position of the video segment selection control may be adjusted to select video segments of different time periods.
In the embodiment of the invention, the time period of the selected video clip in the first video can be determined by adjusting the video clip selection control, so that a certain section in the video can be flexibly selected through the input of a user, and the method is more flexible and humanized.
209. A first input is received from a user selecting a control for a video clip in a first interface.
210. And responding to the first input, and judging whether the first input meets a preset input condition.
In the embodiment of the present invention, if the first input satisfies the predetermined input condition, the following 211 is executed; if the first input does not satisfy the preset input condition, the process returns to 209.
211. The first video segment is played in the target play order.
For the above descriptions of 209, 210, and 211, reference may be made to the above descriptions related to 101, 102, and 103, which are not repeated herein.
The target playing sequence is a playing sequence opposite to the current default playing sequence of the first video clip, and the first video clip is a video clip selected by the video clip selection control from the first video.
In the video playing method and the video playing system provided by the embodiment of the present invention, the user may trigger the terminal device to determine whether the first input meets the preset input condition by pointing to the first input of the video clip selection control in the display interface (i.e. the first interface) of the first video, and play the video clip selected by the video clip selection control in the playing order opposite to the current default playing order of the first video clip if the first input meets the preset input condition (for example, if the current default playing order of the first video clip is sequential playing, the first video clip is played in the reverse order if the first input meets the preset input condition). Therefore, the switching between the video sequence playing and the reverse sequence playing can be realized through one-time input meeting the preset input condition, so that the switching efficiency between the video sequence playing and the reverse sequence playing is improved, and the human-computer interaction performance of the terminal equipment is improved.
As shown in fig. 10, there is provided a terminal device including:
the receiving module 301 is configured to receive a first input of a user for a video clip selection control in a first interface, where the first interface is a display interface of a first video;
the processing module 302 is configured to respond to a first input, and if the first input meets a preset input condition, play a first video clip in a target play order, where the target play order is a play order opposite to a current default play order of the first video clip, and the first video clip is a video clip selected by the video clip selection control from the first video.
With the terminal device provided in the embodiment of the present invention, a user can trigger the terminal device to determine whether a first input satisfies a preset input condition by referring to a first input to the video clip selection control in a display interface (i.e., a first interface) of a first video, and play a video clip selected by the video clip selection control in a play order opposite to a current default play order of the first video clip if the first input satisfies the preset input condition (for example, if the current default play order of the first video clip is sequential play, the first video clip is played in a reverse order if it is determined that the first input satisfies the preset input condition). Therefore, the switching between the video sequence playing and the reverse sequence playing can be realized through one-time input meeting the preset input condition, so that the switching efficiency between the video sequence playing and the reverse sequence playing is improved, and the human-computer interaction performance of the terminal equipment is improved.
Optionally, the first input is at least one of the following inputs:
touch input, voice input, gesture input and input of shaking the terminal device.
Optionally, the first input is a two-finger touch input;
the preset input condition is that the rotation angle corresponding to the double-finger touch input is greater than or equal to a preset angle;
the rotation angle is an included angle formed by a first connecting line and a second connecting line, the first connecting line is a connecting line of two initial touch control points of the double-finger touch control input, and the second connecting line is a connecting line of two termination touch control points of the double-finger touch control input.
Optionally, the first input is a single-finger sliding input;
the preset input condition is that the sliding track of the single-finger sliding input is matched with the preset sliding track.
Optionally, the receiving module 301 is further configured to receive a second input of the user during the process of shooting the video before receiving the first input of the user for selecting the control for the video clip in the target interface;
the processing module 302 is further configured to, in response to a second input, suspend shooting of the video to obtain a second video, display a second interface, and obtain a second video segment from the second video, where the second video is a video that is shot before the second input is received in a process of shooting the video, and the second interface is a shooting suspension interface when the second input is received; and combining the second video clip with the third video to form the first video.
Optionally, the receiving module is further configured to receive a third input of the user on the second interface before the second video segment and the third video are combined into the first video;
and the processing module is also used for responding to a third input and continuing to shoot the video to obtain a third video.
Optionally, the terminal device further includes: the display module 303 is configured to, after the processing module 302 synthesizes the second video segment and the third video into the first video, display the first interface before the receiving module 301 receives the first input of the user for the video segment selection control in the target interface;
and the processing module is used for responding to the input of the video clip selection control adjusted by the user in the first interface, and the video clip selection control selects the first video clip.
In the embodiment of the invention, a user can pause video shooting and acquire a video segment (namely, a second video segment) in the shot video in the process of shooting the video, continue to shoot the video, and synthesize the video obtained by continuing to shoot (namely, a third video) and the acquired second video segment into the first video. Therefore, when a user is dissatisfied with a part of content in the shot video, the user can acquire the video clips except the part of content in the shot video, shoot a new section of video again, and combine the video shot again and the acquired video clips into a new section of video, so that the user does not need to shoot the whole section of video again, and the video shooting method can improve the efficiency of shooting the video.
As shown in fig. 11, the cellular phone may include: radio Frequency (RF) circuitry 1110, memory 1120, input unit 1130, display unit 1140, sensors 1150, audio circuitry 1160, wireless fidelity (WiFi) module 1170, processor 1180, and power supply 1190. The rf circuit 1110 includes a receiver 1111 and a transmitter 1112. Those skilled in the art will appreciate that the handset configuration shown in fig. 11 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
RF circuit 1110 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for receiving downlink messages from a base station and then processing the received downlink messages to processor 1180; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuitry 1110 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1120 may be used to store software programs and modules, and the processor 1180 may execute various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1120. The memory 1120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1130 may include a touch panel 1131 and other input devices 1132. Touch panel 1131, also referred to as a touch screen, can collect touch operations of a user on or near the touch panel 1131 (for example, operations of the user on or near touch panel 1131 by using any suitable object or accessory such as a finger or a stylus pen), and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1131 may include two parts, namely, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1180, and can receive and execute commands sent by the processor 1180. In addition, the touch panel 1131 can be implemented by using various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1130 may include other input devices 1132 in addition to the touch panel 1131. In particular, other input devices 1132 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1140 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The display unit 1140 may include a display panel 1141, and optionally, the display panel 1141 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 1131 can cover the display panel 1141, and when the touch panel 1131 detects a touch operation on or near the touch panel, the touch panel is transmitted to the processor 1180 to determine the type of the touch event, and then the processor 1180 provides a corresponding visual output on the display panel 1141 according to the type of the touch event. Although in fig. 11, the touch panel 1131 and the display panel 1141 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1131 and the display panel 1141 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1141 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1141 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 1160, speakers 1161, and microphone 1162 may provide an audio interface between a user and a cell phone. The audio circuit 1160 may transmit the electrical signal converted from the received audio data to the speaker 1161, and convert the electrical signal into a sound signal for output by the speaker 1161; on the other hand, the microphone 1162 converts the collected sound signals into electrical signals, which are received by the audio circuit 1160 and converted into audio data, which are then processed by the audio data output processor 1180, and then transmitted to, for example, another cellular phone via the RF circuit 1110, or output to the memory 1120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the cell phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1170, and provides wireless broadband internet access for the user. Although fig. 11 shows the WiFi module 1170, it is understood that it does not belong to the essential constitution of the handset, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1180 is a control center of the mobile phone, and is connected to various parts of the whole mobile phone through various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1120 and calling data stored in the memory 1120, thereby performing overall monitoring of the mobile phone. Optionally, processor 1180 may include one or more processing units; preferably, the processor 1180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1180.
The phone also includes a power supply 1190 (e.g., a battery) for powering the various components, and preferably, the power supply may be logically connected to the processor 1180 via a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In this embodiment of the present invention, the input unit 1130 is configured to receive a first input of a user for selecting a control for a video clip in a first interface, where the first interface is a display interface of a first video;
the processor 1180 is configured to respond to the first input, and if the first input meets a preset input condition, play the first video segment in a target play order, where the target play order is a play order opposite to a current default play order of the first video segment, and the first video segment is a video segment selected by the video segment selection control from the first video.
Optionally, the first input is at least one of the following inputs:
touch input, voice input, gesture input and input of shaking the terminal device.
Optionally, the first input is a two-finger touch input;
the preset input condition is that the rotation angle corresponding to the double-finger touch input is greater than or equal to a preset angle;
the rotation angle is an included angle formed by a first connecting line and a second connecting line, the first connecting line is a connecting line of two initial touch control points of the double-finger touch control input, and the second connecting line is a connecting line of two termination touch control points of the double-finger touch control input.
Optionally, the first input is a single-finger sliding input;
the preset input condition is that the sliding track of the single-finger sliding input is matched with the preset sliding track.
Optionally, the receiver is further configured to receive a second input of the user during the video shooting process before receiving the first input of the user for selecting the control for the video clip in the target interface;
the processor 1180 is further configured to, in response to a second input, suspend shooting of the video to obtain a second video, display a second interface, and obtain a second video segment from the second video, where the second video is a video shot before the second input is received in a process of shooting the video, and the second interface is a shooting suspension interface when the second input is received; and combining the second video clip with the third video to form the first video.
Optionally, the input unit 1130 is further configured to receive a third input of the user on the second interface before the second video segment is combined with the third video into the first video;
and the processing module is also used for responding to a third input and continuing to shoot the video to obtain a third video.
Optionally, the display unit 1140 is configured to, after the processing module 302 synthesizes the second video clip and the third video into the first video, display the first interface before the input unit 1130 receives the first input of the user for the video clip selection control in the target interface;
a processor 1180 configured to select the first video segment by the video segment selection control in response to an input from the user adjusting the video segment selection control in the first interface.
The embodiment of the present invention further provides a terminal device, where the terminal device may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor, and when the computer program is executed by the processor, each process executed by the terminal device in the foregoing method embodiments may be implemented, and the same technical effect may be achieved, and details are not repeated here to avoid repetition.
An embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process executed by a terminal device in the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A video playing method is applied to terminal equipment and is characterized by comprising the following steps:
receiving a first input of a user for a video clip selection control in a first interface, wherein the first interface is a display interface of a first video;
responding to the first input, if the first input meets a preset input condition, playing a first video clip in a target playing sequence, wherein the target playing sequence is a playing sequence opposite to a current default playing sequence of the first video clip, and the first video clip is a video clip selected by the video clip selection control from the first video.
2. The method of claim 1, wherein the first input is at least one of:
touch input, voice input, gesture input and input of shaking the terminal device.
3. The method of claim 1, wherein the first input is a two-finger touch input;
the preset input condition is that a rotation angle corresponding to the double-finger touch input is larger than or equal to a preset angle;
the rotation angle is an included angle formed by a first connecting line and a second connecting line, the first connecting line is a connecting line of two initial touch control points of the double-finger touch control input, and the second connecting line is a connecting line of two termination touch control points of the double-finger touch control input.
4. The method of claim 1, wherein the first input is a single-finger swipe input;
and the preset input condition is that the sliding track of the single-finger sliding input is matched with a preset sliding track.
5. The method of any of claims 1-4, wherein prior to receiving a first input from a user selecting a control for a video clip in a target interface, the method further comprises:
receiving a second input of the user in the process of shooting the video;
in response to the second input, pausing shooting of the video to obtain a second video, displaying a second interface, and obtaining a second video clip from the second video, wherein the second video is shot before the second input is received in the process of shooting the video, and the second interface is a paused shooting interface when the second input is received;
and synthesizing the second video clip and a third video into the first video.
6. The method of claim 5, wherein prior to compositing the second video segment with a third video, the method further comprises:
receiving a third input of the user on the second interface;
continuing to capture video in response to the third input to obtain the third video.
7. The method of claim 5, wherein after compositing the second video clip with a third video, and before receiving the first input from the user to select the control for the video clip in the target interface, the method further comprises:
displaying the first interface;
in response to a user adjusting input of the video clip selection control in the first interface, the video clip selection control selects the first video clip.
8. A terminal device, comprising:
the receiving module is used for receiving a first input of a user for a video clip selection control in a first interface, and the first interface is a display interface of a first video;
and the processing module is used for responding to the first input, and if the first input meets a preset input condition, playing the first video clip in a target playing sequence, wherein the target playing sequence is a playing sequence opposite to the current default playing sequence of the first video clip, and the first video clip is a video clip selected by the video clip selection control from the first video.
9. A terminal device, comprising: processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the video playback method according to any one of claims 1 to 7.
10. A computer-readable storage medium, comprising: the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the video playback method according to one of claims 1 to 7.
CN202010332198.9A 2020-04-24 2020-04-24 Video playing method, terminal equipment and storage medium Pending CN111526426A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010332198.9A CN111526426A (en) 2020-04-24 2020-04-24 Video playing method, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010332198.9A CN111526426A (en) 2020-04-24 2020-04-24 Video playing method, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111526426A true CN111526426A (en) 2020-08-11

Family

ID=71910583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010332198.9A Pending CN111526426A (en) 2020-04-24 2020-04-24 Video playing method, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111526426A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738635A (en) * 2020-12-28 2021-04-30 上海掌门科技有限公司 Method and equipment for playing video information
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN115037872A (en) * 2021-11-30 2022-09-09 荣耀终端有限公司 Video processing method and related device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389863A (en) * 2013-07-29 2013-11-13 北京小米科技有限责任公司 Display control method and device
CN106803856A (en) * 2016-12-09 2017-06-06 重庆零度智控智能科技有限公司 video playing control method and device
US20180192146A1 (en) * 2015-08-29 2018-07-05 Huawei Technologies Co., Ltd. Method and Apparatus for Playing Video Content From Any Location and Any Time
US20190004605A1 (en) * 2015-03-08 2019-01-03 Apple Inc. Devices and Methods for Controlling Media Presentation
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device
CN110351553A (en) * 2018-04-08 2019-10-18 腾讯科技(深圳)有限公司 Video broadcasts, the video processing method of falling multicast data, device and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389863A (en) * 2013-07-29 2013-11-13 北京小米科技有限责任公司 Display control method and device
US20190004605A1 (en) * 2015-03-08 2019-01-03 Apple Inc. Devices and Methods for Controlling Media Presentation
US20180192146A1 (en) * 2015-08-29 2018-07-05 Huawei Technologies Co., Ltd. Method and Apparatus for Playing Video Content From Any Location and Any Time
CN106803856A (en) * 2016-12-09 2017-06-06 重庆零度智控智能科技有限公司 video playing control method and device
CN110351553A (en) * 2018-04-08 2019-10-18 腾讯科技(深圳)有限公司 Video broadcasts, the video processing method of falling multicast data, device and computer equipment
CN109922265A (en) * 2019-03-28 2019-06-21 维沃移动通信有限公司 Video capture method and terminal device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738635A (en) * 2020-12-28 2021-04-30 上海掌门科技有限公司 Method and equipment for playing video information
CN113596555A (en) * 2021-06-21 2021-11-02 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN113596555B (en) * 2021-06-21 2024-01-19 维沃移动通信(杭州)有限公司 Video playing method and device and electronic equipment
CN115037872A (en) * 2021-11-30 2022-09-09 荣耀终端有限公司 Video processing method and related device
CN115037872B (en) * 2021-11-30 2024-03-19 荣耀终端有限公司 Video processing method and related device

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
CN108845853B (en) Application program starting method and mobile terminal
CN108491133B (en) Application program control method and terminal
CN109525874B (en) Screen capturing method and terminal equipment
CN108737904B (en) Video data processing method and mobile terminal
CN109032486B (en) Display control method and terminal equipment
CN108334272B (en) Control method and mobile terminal
CN109922265B (en) Video shooting method and terminal equipment
CN111104029B (en) Shortcut identifier generation method, electronic device and medium
CN109710349B (en) Screen capturing method and mobile terminal
CN108958593B (en) Method for determining communication object and mobile terminal
CN108881719B (en) Method for switching shooting mode and terminal equipment
CN109407948B (en) Interface display method and mobile terminal
CN111526426A (en) Video playing method, terminal equipment and storage medium
CN111669664B (en) Video playing method, video playing device, electronic equipment and storage medium
CN109683768B (en) Application operation method and mobile terminal
CN110868633A (en) Video processing method and electronic equipment
CN108762613B (en) State icon display method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN110022445B (en) Content output method and terminal equipment
CN109766156B (en) Session creation method and terminal equipment
CN110769303A (en) Playing control method and device and mobile terminal
CN109445589B (en) Multimedia file playing control method and terminal equipment
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN108196699B (en) Page switching method and equipment

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

Application publication date: 20200811

RJ01 Rejection of invention patent application after publication