CN115543137A - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN115543137A
CN115543137A CN202211165881.3A CN202211165881A CN115543137A CN 115543137 A CN115543137 A CN 115543137A CN 202211165881 A CN202211165881 A CN 202211165881A CN 115543137 A CN115543137 A CN 115543137A
Authority
CN
China
Prior art keywords
video
input
target object
playing
target
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
CN202211165881.3A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211165881.3A priority Critical patent/CN115543137A/en
Publication of CN115543137A publication Critical patent/CN115543137A/en
Priority to PCT/CN2023/120135 priority patent/WO2024061285A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/46Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames

Abstract

The application discloses a video playing method and device, and belongs to the technical field of videos. The method comprises the following steps: receiving a first input of a user to a target object in a first video; in response to a first input, displaying an adjustment control in the event that a target object is detected to be included in a video frame of a first video; receiving a second input of the user to the adjusting control; and responding to the second input, adjusting the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and playing the first video according to the adjusted playing parameters.

Description

Video playing method and device
Technical Field
The application belongs to the technical field of videos, and particularly relates to a video playing method and device.
Background
At present, a user can watch a video through a video application program, and when the user is not interested in a certain segment in the video, the user can skip over the content which is not interested by the user by adjusting the playing parameters of the video.
However, in the process of watching a video, if there are a plurality of contents in the video that are not interesting to the user, the user needs to adjust each time, so that the user's operation is cumbersome and time-consuming, and thus, the flexibility of playing the video by the electronic device is poor.
Disclosure of Invention
An object of the embodiments of the present application is to provide a video playing method, an apparatus, an electronic device, and a storage medium, which can solve the problem of poor flexibility of playing a video by an electronic device.
In a first aspect, an embodiment of the present application provides a video playing method, where the video playing method includes: receiving a first input of a user to a target object in a first video; in response to the first input, displaying an adjustment control under the condition that a target object is detected to be contained in a video picture of the first video; receiving a second input of the user to the adjusting control; and responding to the second input, adjusting the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and playing the first video according to the adjusted playing parameters.
In a second aspect, an embodiment of the present application provides a video playback device, where the video playback device includes: the device comprises a receiving module, a display module and a playing module. The receiving module is used for receiving a first input of a user to a target object in the first video. And the display module is used for responding to the first input and displaying the adjusting control under the condition that the video picture of the first video contains the target object. And the receiving module is also used for receiving a second input of the user to the adjusting control. And the playing module is used for responding to the second input, adjusting the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and playing the first video according to the adjusted playing parameters.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this embodiment of the application, the electronic device may receive a first input of a user to a target object in the first video to determine the target object selected by the user, and thus, when the electronic device detects that a video frame of the first video includes the target object, the electronic device displays an adjustment control, so that the user may input the adjustment control to adjust a playing parameter of a video clip corresponding to the target object in the first video, and play the first video according to the adjusted playing parameter. In the scheme, the electronic equipment can record the target object selected by the user, and adjust the first video clip containing the target object in the first video through adjusting the independent playing parameter of the target object, so that the flexibility of corresponding playing adjustment of the electronic equipment in the process of playing the video is improved.
Drawings
Fig. 1 is a flowchart of a video playing method provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of a video playing apparatus according to an embodiment of the present application;
fig. 3 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The video playing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
With the development of communication technology, functions of electronic devices are increasing, for example, a user can watch videos through the electronic devices, as diversification of videos and continuous progress of society, the viewing quality requirements of the user are increasing, and when the user watches people or segments that are not interested in videos, the user can drag a progress bar below a video picture or press the video picture for a long time to enable the electronic devices to skip the people or segments that are not interested in the user.
In the embodiment of the application, the electronic device may receive a first input of a user to a target object in the first video to determine the target object selected by the user, and thus, when the electronic device detects that a video frame of the first video includes the target object, the electronic device displays an adjustment control, so that the user may input the adjustment control to adjust a playing parameter of a video clip corresponding to the target object in the first video, and play the first video according to the adjusted playing parameter. In the scheme, the electronic equipment can record the target object selected by the user, and adjust the first video clip containing the target object in the first video through adjusting the independent playing parameter of the target object, so that the flexibility of corresponding playing adjustment of the electronic equipment in the process of playing the video is improved.
The execution main body of the video playing method provided by the embodiment of the application can be a video playing device, and the video playing device can be electronic equipment or a functional module in the electronic equipment. The technical solutions provided in the embodiments of the present application are described below by taking an electronic device as an example.
An embodiment of the present application provides a video playing method, and fig. 1 shows a flowchart of the video playing method provided in the embodiment of the present application. As shown in fig. 1, a video playing method provided in this embodiment of the present application may include steps 201 to 204 described below.
Step 201, the electronic device receives a first input of a user to a target object in a first video.
In the implementation of the application, the electronic device may determine, by receiving a first input to the target object, which video segments need to be adjusted in the first video, that is, adjust the video segments including the target object.
In the embodiment of the present application, the target object may be an object displayed in a current video frame in the first video, and for example, the target object may be a person or an animal.
Optionally, in this embodiment of the present application, the first input may be an input received by the electronic device during the playing of the first video, or an input received by the electronic device when the first video is paused.
Optionally, in this embodiment of the present application, the first input may be a click input, a long-press input, a preset track input, and the like of the user on the target object. The specific details can be determined according to practical situations, and the embodiments of the present application are not limited.
Step 202, in response to the first input, the electronic device displays an adjustment control when it is detected that a video frame of the first video includes a target object.
In the embodiment of the application, after the electronic device responds to the first input, the electronic device can perform picture recognition on each frame of video in the process of playing the first video, so that the adjustment control is displayed under the condition that the target object is recognized.
Specifically, the electronic device may identify the target object by extracting image features in each frame of the video.
For example, the electronic device may identify the target object by extracting image features in each frame of video in a target manner.
Optionally, in this embodiment of the present application, the target mode may be any one of the following: a convolutional neural network, a Radial Basis Function (RBF) neural network, or a Back Propagation (BP) neural network.
Optionally, in this embodiment of the present application, the control area of the adjustment control includes at least one sub-area, and each sub-area in the at least one sub-area is used to indicate at least one play parameter. For example, the control area may contain 3 sub-areas for instructing 2 × speed, 3 × speed, and 5 × speed adjustments to the video.
Optionally, in this embodiment of the present application, the playing parameter may include at least one of the following: volume, sound, and playback speed.
Optionally, in this embodiment of the present application, the electronic device may display an adjustment control in a current video frame of the first video, or display the adjustment control in the target window.
Specifically, the target window may be overlaid on the current video frame, or the current video frame and the target window may be displayed in different screen areas.
Optionally, in this embodiment of the present application, the different screen regions may be different screen regions of a foldable screen, or different regions in one screen of an unfoldable screen (i.e., split screen display).
Optionally, in this embodiment of the application, after the electronic device responds to the first input, the electronic device may display an adjustment control corresponding to the target object.
For example, the electronic device may acquire a partial image (e.g., a face) of the target object and overlay and display the adjustment control on the partial image, so that the electronic device may display the adjustment control corresponding to the target object.
Optionally, in this embodiment of the application, "in step 202, in the case that it is detected that the video frame of the first video includes the target object," the adjustment control is displayed "may specifically be performed in step 202a or step 202b described below.
Step 202a, when it is detected that the video frame of the first video contains the target object, if the display proportion of the target object in the video frame of the first video is greater than a first threshold, the electronic device displays an adjustment control.
Illustratively, if the display proportion of the target object in the video frame of the first video is greater than 70%, the electronic device displays an adjustment control corresponding to the target object.
Step 202b, under the condition that the video frame of the first video contains the target object, if the number of the first objects contained in the video frame of the first video is smaller than a second threshold, the electronic device displays an adjustment control.
Alternatively, in the embodiment of the present application, the first object may be a human or an animal.
Specifically, the first object and the target object may be similar objects or dissimilar objects, for example, in the case where the first object and the target object are similar objects, if the target object is a person, the first object is also a person, and correspondingly, in the case where the first object and the target object are dissimilar objects, the target object is a person, and the first object may be an animal.
Optionally, in this embodiment of the application, after the user selects the target object, the electronic device may display the adjustment control only when the target object in the video picture satisfies that, when it is detected that the target object is included in the video picture of the first video, the display proportion of the target object in the video picture of the first video is greater than a first threshold, and/or when it is detected that the target object is included in the video picture of the first video, the number of first objects included in the video picture of the first video is less than a second threshold (hereinafter, referred to as a first condition).
It can be understood that, if the display proportion of the target object in the video picture is small, or the number of other objects in the current video picture is large, the target object in the picture is not important at this time. For example, in a television program, if a certain actor performs a poor skill and wants to skip a segment of the actor, the target object is the actor, and in this case, if the character display proportion of the actor in the video pictures is small or there are many other characters in the video pictures, the actor is considered to have fewer plays in the video pictures and does not need to skip. Therefore, the adjustment control cannot be displayed, and the influence on picture viewing caused by the display of the adjustment control is avoided.
In the embodiment of the application, the electronic equipment can display the adjustment control only when the target object in the video picture meets a certain condition, so that the electronic equipment still displays the adjustment control when the proportion of the target object in the video picture is smaller, and the accuracy of the electronic equipment for displaying the adjustment control is improved.
Optionally, in this embodiment of the present application, before the "display adjustment control" in the step 202, the video playing method provided in this embodiment of the present application further includes the following step 301, and the "display adjustment control" in the step 202 may be specifically implemented by the following step 202c and step 202 d.
Step 301, the electronic device displays the target identifier.
In the embodiment of the present application, the target identifier is used to indicate a target object.
Optionally, in this embodiment of the application, the target identifier may be any one of: image marks, numerical marks, letter marks, symbol marks and the like.
Optionally, in this embodiment of the application, after the electronic device receives the first input of the user, the electronic device may pause playing the first video, so that the electronic device may perform image processing (for example, matting) on the video object to obtain the target identifier of the video object. I.e. the target identification may be an image of the target object.
Step 202c, the electronic device receives a third input of the target identification from the user.
Optionally, in this embodiment of the application, the third input may be click input, long-press input, preset track input, and the like of the target identifier by the user. The specific details can be determined according to practical situations, and the embodiments of the present application are not limited.
Step 202d, the electronic device displays an adjustment control in response to the third input.
In the embodiment of the application, the display area of the target identifier is smaller than the display area of the adjustment control.
It should be noted that the display area of the target identifier does not include the adjustment child control. That is, the target identifier is not used to adjust the playing parameters, but is only used to indicate to the user what the selected target object in the video will be subjected to the playing parameter adjustment.
In the embodiment of the application, the electronic equipment can respond to the input of the target identification by the user on the basis of displaying the target object selected by the user through the target identification, and directly update the target identification into the adjustment control, so that the flexibility of displaying the adjustment control by the electronic equipment is improved, and the operation of the user is simplified.
Optionally, in this embodiment of the present application, after the step 301, the video playing method provided in this embodiment of the present application further includes the following steps 401 and 402.
Step 401, the electronic device receives a fourth input of the target identifier.
Optionally, in this embodiment of the application, the fourth input may be a click input, a long-press input, a preset trajectory input, and the like of the user on the target identifier. The specific situation can be determined according to practical situations, and the embodiment of the application is not limited.
And 402, the electronic equipment responds to the fourth input and performs target operation on the target object.
In an embodiment of the present application, the target operation includes at least one of: updating the target object and deselecting the target object.
Specifically, the update target object is a replacement target object that can be replaced by the electronic device according to an input of a user in a video screen.
Optionally, in this embodiment of the application, the electronic device may automatically update the target object according to the displayed video object in the current video screen, or the electronic device displays a prompt message in response to the fourth input to prompt the user to select the target object that needs to be replaced, and then updates the target object according to the input of the user.
In the embodiment of the application, after the user selects the target object, the user can know which object is selected through the target identification in the video playing process, so that the user can adjust in time in the playing process, and thus, the flexibility of playing videos by the electronic equipment is improved.
And step 203, the electronic equipment receives a second input of the user to the adjustment control.
In an embodiment of the present application, the second input includes: and inputting a target sub-area in the at least one sub-area.
Optionally, in this embodiment of the application, the second input may be click input, long-press input, preset trajectory input, and the like for the target adjustment control. The specific details can be determined according to practical situations, and the embodiments of the present application are not limited.
And step 204, the electronic equipment responds to the second input, adjusts the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and plays the first video according to the adjusted playing parameters.
Optionally, in this embodiment of the application, the electronic device may record the input parameter of the second input, and if the other video includes the target object, the electronic device may directly perform a playing parameter adjustment operation on a second video segment including the target object in the other video.
Optionally, in this embodiment of the application, the first video segment may be a video segment that satisfies the first condition.
Optionally, in this embodiment of the present application, before the electronic device performs the operation of adjusting the playing parameter of the second video segment that includes the target object in the other video, the electronic device may display a prompt message to the user to prompt the user whether to adjust the playing parameter according to the last input parameter.
Optionally, in this embodiment of the present application, the step 204 may be specifically implemented by the following steps 204a and 204 b.
Step 204a, in the input process of the second input, the electronic device adjusts the playing parameter corresponding to the first video segment containing the target object in the first video.
Illustratively, the user's finger slides up without leaving the screen. The electronic device determines to increase the volume of the target video object, range [0, 100], with a starting value of 50, and increase the corresponding volume for the upsliding length.
Illustratively, the user's finger slides down without leaving the screen. The electronic device determines to decrease the volume of the target video object, in the range [0, 100], with a start value of 50, and the downslide length is decreased by the corresponding volume.
Illustratively, the user's finger slides to the right without leaving the screen. The electronic equipment judges that the playing speed of the target video object is increased within the range [0.5,3], the initial value is 1, and the right slide length is increased corresponding to the fast forward speed.
Illustratively, the user's finger slides to the left without leaving the screen. The electronic equipment judges that the playing speed of the target video object is reduced, the range is [0.5,3], the initial value is 1, and the reduction of the left slide length corresponds to the fast forward speed.
And step 204b, at the ending time of the second input, the electronic equipment plays the first video according to the adjusted playing parameters.
Optionally, in this embodiment of the application, before the electronic device resumes playing the first video, the electronic device may display a prompt message to prompt the user that the first video is played according to the adjusted playing parameter during the subsequent video playing.
In the embodiment of the application, the electronic equipment can receive the input of the user to the target object, so that the playing parameters of the subsequent first video are adjusted, and thus, the operation of the user is simplified, and the flexibility of the electronic equipment for playing the video is improved.
In the embodiment of the present application, an electronic device may receive a first input of a user to a target object in a first video to determine the target object selected by the user, so that an adjustment control is displayed when the electronic device detects that a video frame of the first video includes the target object, so that the user may input the adjustment control to adjust a playing parameter of a video clip corresponding to the target object in the first video, and play the first video according to the adjusted playing parameter. In the scheme, the electronic equipment can record the target object selected by the user, and adjust the first video clip containing the target object in the first video by adjusting the independent playing parameter of the target object, so that the flexibility of the electronic equipment in the corresponding playing adjustment process in the video playing process is improved.
It should be noted that, in the video playing method provided in the embodiment of the present application, the execution main body may be a video playing apparatus, or an electronic device, or may also be a functional module or an entity in the electronic device. In the embodiment of the present application, a video playing method executed by a video playing device is taken as an example to describe the video playing device provided in the embodiment of the present application.
Fig. 2 shows a schematic diagram of a possible structure of a video playback apparatus according to an embodiment of the present application. As shown in fig. 2, the video playing apparatus 70 may include: a receiving module 71, a display module 72 and a playing module 73. A receiving module 71, configured to receive a first input of a target object in a first video from a user; a display module 72, configured to, in response to the first input, display an adjustment control in a case where it is detected that the video frame of the first video includes the target object; the receiving module 71 is further configured to receive a second input of the adjustment control by the user; the playing module 73 is configured to respond to the second input, adjust a playing parameter corresponding to a first video segment containing the target object in the first video according to the input parameter of the second input, and play the first video according to the adjusted playing parameter.
In a possible implementation manner, the display module 72 is specifically configured to, when it is detected that the video image of the first video includes the target object, display an adjustment control if a display proportion of the target object in the video image of the first video is greater than a first threshold; or, in the case that it is detected that the target object is included in the video frame of the first video, if the number of the first objects included in the video frame of the first video is smaller than the second threshold, the adjustment control is displayed.
In a possible implementation manner, the display module 72 is further configured to display a target identifier before displaying the adjustment control, where the target identifier is used to indicate the target object; a display module 72, specifically configured to receive a third input of the target identifier by the user; and in response to a third input, displaying an adjustment control; and the display area of the target identifier is smaller than that of the adjustment control.
In a possible implementation manner, the video playing apparatus provided in the embodiment of the present application further includes: and a processing module. The receiving module 71 is further configured to receive a third input to the target identifier after the target identifier is displayed. A processing module, configured to perform a target operation on the target object in response to a third input, where the target operation includes at least one of: updating the target object and deselecting the target object.
In a possible implementation manner, the playing module 73 is specifically configured to, in the input process of the second input, adjust a playing parameter corresponding to a first video segment that includes the target object in the first video; and playing the first video according to the adjusted playing parameter at the ending time of the second input.
The embodiment of the application provides a video playing device, and in the scheme, because the video playing device can record a target object selected by a user, and adjust a first video clip containing the target object in a first video by adjusting the independent playing parameter of the target object, the flexibility of corresponding playing adjustment of electronic equipment in the process of playing the video is improved.
The video playing apparatus in the embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. The Mobile electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, an in-vehicle electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The video playing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an IOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The video playing apparatus provided in this embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 3, an electronic device 90 is further provided in this embodiment of the present application, and includes a processor 91 and a memory 92, where the memory 92 stores a program or an instruction that can be executed on the processor 91, and when the program or the instruction is executed by the processor 91, the steps of the above-mentioned embodiment of the video playing method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 107 is configured to receive a first input of a target object in the first video from a user. And the display unit 106 is used for responding to the first input and displaying the adjusting control under the condition that the target object is detected to be contained in the video picture of the first video. The user input unit 107 is further configured to receive a second input to the adjustment control from the user. The processor 110 is configured to respond to the second input, adjust a playing parameter corresponding to a first video segment containing the target object in the first video according to the input parameter of the second input, and play the first video according to the adjusted playing parameter.
The embodiment of the application provides a video playing method, and as the electronic device can record a target object selected by a user, and adjust a first video clip containing the target object in a first video by adjusting a playing parameter of the target object alone, the flexibility of corresponding playing adjustment of the electronic device in a video playing process is improved.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, when it is detected that the video picture of the first video includes the target object, display the adjustment control if a display proportion of the target object in the video picture of the first video is greater than a first threshold; or, in the case that it is detected that the target object is included in the video frame of the first video, if the number of the first objects included in the video frame of the first video is smaller than the second threshold, the adjustment control is displayed.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display a target identifier before displaying the adjustment control, where the target identifier is used to indicate the target object. The display unit 106 is specifically configured to receive a third input of the target identifier by the user; and in response to a third input, displaying an adjustment control; and the display area of the target identifier is smaller than that of the adjustment control.
Optionally, in this embodiment, the user input unit 107 is further configured to receive a fourth input to the target identifier after the target identifier is displayed. The processor 110 is further configured to perform a target operation on the target object in response to the fourth input, where the target operation includes at least one of: updating the target object and deselecting the target object.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to, in an input process of the second input, adjust a playing parameter corresponding to a first video segment that includes the target object in the first video; and playing the first video at the ending time of the second input according to the adjusted playing parameters.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may comprise volatile memory or non-volatile memory, or memory 109 may comprise both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiments, and can achieve the same technical effect, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing video playing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (10)

1. A video playback method, the method comprising:
receiving a first input of a user to a target object in a first video;
in response to the first input, displaying an adjustment control in the event that the target object is detected to be included in a video frame of the first video;
receiving a second input of the adjusting control by the user;
responding to the second input, adjusting the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and playing the first video according to the adjusted playing parameters.
2. The method of claim 1, wherein in the event that the target object is detected to be included in the video frame of the first video, displaying an adjustment control comprises:
under the condition that the video picture of the first video contains the target object, if the display proportion of the target object in the video picture of the first video is larger than a first threshold value, displaying an adjusting control;
or, when it is detected that the target object is included in the video frame of the first video, if the number of the first objects included in the video frame of the first video is smaller than a second threshold, an adjustment control is displayed.
3. The method of claim 1 or 2, wherein prior to displaying the adjustment control, the method further comprises:
displaying a target identification, wherein the target identification is used for indicating the target object;
the display adjustment control comprises:
receiving a third input of the target identification by the user;
in response to the third input, displaying an adjustment control;
and the display area of the target identifier is smaller than that of the adjusting control.
4. The method of claim 3, after the displaying the target identification, the method further comprising:
receiving a fourth input to the target identification;
in response to the fourth input, performing a target operation on the target object, the target operation including at least one of: updating the target object and deselecting the target object.
5. The method according to claim 1, wherein the adjusting, in response to the second input, a playing parameter corresponding to a first video segment of the first video that includes the target object according to an input parameter of the second input, and playing the first video according to the adjusted playing parameter comprises:
in the input process of the second input, adjusting the playing parameters corresponding to a first video clip containing the target object in the first video;
and playing the first video according to the adjusted playing parameters at the ending time of the second input.
6. A video playback apparatus, comprising: the device comprises a receiving module, a display module and a playing module;
the receiving module is used for receiving a first input of a user to a target object in a first video;
the display module is used for responding to the first input, and displaying an adjusting control under the condition that the video picture of the first video contains the target object;
the receiving module is further configured to receive a second input of the adjustment control from the user;
and the playing module is used for responding to the second input, adjusting the playing parameters corresponding to the first video clip containing the target object in the first video according to the input parameters of the second input, and playing the first video according to the adjusted playing parameters.
7. The apparatus according to claim 6, wherein the display module is specifically configured to, when it is detected that the target object is included in the video frame of the first video, display an adjustment control if a display proportion of the target object in the video frame of the first video is greater than a first threshold; or, when it is detected that the target object is included in the video frame of the first video, if the number of the first objects included in the video frame of the first video is smaller than a second threshold, an adjustment control is displayed.
8. The apparatus according to claim 6 or 7, wherein the display module is further configured to, before the displaying of the adjustment control, display a target identifier, where the target identifier is used to indicate the target object;
the display module is specifically used for receiving a third input of the target identifier by the user; in response to the third input, displaying an adjustment control;
and the display area of the target identifier is smaller than that of the adjustment control.
9. The apparatus of claim 8, the video playback device further comprising: a processing module;
the receiving module is further configured to receive a third input to the target identifier after the target identifier is displayed;
the processing module is configured to perform a target operation on the target object in response to the third input, where the target operation includes at least one of: updating the target object and deselecting the target object.
10. The apparatus according to claim 6, wherein the playing module is specifically configured to, during the input process of the second input, adjust a playing parameter corresponding to a first video segment of the first video that includes the target object; and playing the first video according to the adjusted playing parameter at the ending time of the second input.
CN202211165881.3A 2022-09-23 2022-09-23 Video playing method and device Pending CN115543137A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211165881.3A CN115543137A (en) 2022-09-23 2022-09-23 Video playing method and device
PCT/CN2023/120135 WO2024061285A1 (en) 2022-09-23 2023-09-20 Video playback method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211165881.3A CN115543137A (en) 2022-09-23 2022-09-23 Video playing method and device

Publications (1)

Publication Number Publication Date
CN115543137A true CN115543137A (en) 2022-12-30

Family

ID=84729562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211165881.3A Pending CN115543137A (en) 2022-09-23 2022-09-23 Video playing method and device

Country Status (2)

Country Link
CN (1) CN115543137A (en)
WO (1) WO2024061285A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061285A1 (en) * 2022-09-23 2024-03-28 维沃移动通信有限公司 Video playback method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113475092B (en) * 2019-02-27 2022-10-04 华为技术有限公司 Video processing method and mobile device
CN110475148A (en) * 2019-08-13 2019-11-19 北京奇艺世纪科技有限公司 Video broadcasting method, device and electronic equipment
CN112004117B (en) * 2020-09-02 2023-03-24 维沃移动通信有限公司 Video playing method and device
CN115543137A (en) * 2022-09-23 2022-12-30 维沃移动通信有限公司 Video playing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024061285A1 (en) * 2022-09-23 2024-03-28 维沃移动通信有限公司 Video playback method and device

Also Published As

Publication number Publication date
WO2024061285A1 (en) 2024-03-28

Similar Documents

Publication Publication Date Title
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN112565868A (en) Video playing method and device and electronic equipment
CN112383817A (en) Volume adjusting method and device
CN113259743A (en) Video playing method and device and electronic equipment
CN111770374B (en) Video playing method and device
WO2024061285A1 (en) Video playback method and device
CN115065874A (en) Video playing method and device, electronic equipment and readable storage medium
CN113596555B (en) Video playing method and device and electronic equipment
CN112181252A (en) Screen capturing method and device and electronic equipment
CN112306320A (en) Page display method, device, equipment and medium
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN112399238B (en) Video playing method and device and electronic equipment
CN112565909B (en) Video playing method and device, electronic equipment and readable storage medium
CN114827737A (en) Image generation method and device and electronic equipment
CN113923392A (en) Video recording method, video recording device and electronic equipment
CN113852774A (en) Screen recording method and device
CN114125149A (en) Video playing method, device, system, electronic equipment and storage medium
CN114025237A (en) Video generation method and device and electronic equipment
CN113283220A (en) Note recording method, device and equipment and readable storage medium
CN113271494A (en) Video frame processing method and device and electronic equipment
CN114390205B (en) Shooting method and device and electronic equipment
CN117676256A (en) Video playing method and device, electronic equipment and readable storage medium
CN117294888A (en) Video playing method and terminal
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN113840100A (en) Video processing method and device and electronic 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