CN111010608B - Video playing method and electronic equipment - Google Patents
Video playing method and electronic equipment Download PDFInfo
- Publication number
- CN111010608B CN111010608B CN201911328612.2A CN201911328612A CN111010608B CN 111010608 B CN111010608 B CN 111010608B CN 201911328612 A CN201911328612 A CN 201911328612A CN 111010608 B CN111010608 B CN 111010608B
- Authority
- CN
- China
- Prior art keywords
- video
- sound
- input
- interface
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/454—Content or additional data filtering, e.g. blocking advertisements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4396—Processing of audio elementary streams by muting the audio signal
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a video playing method and electronic equipment. Wherein, the method comprises the following steps: receiving a first input under the condition that a first interface corresponding to a first video is displayed on the electronic equipment; responding to the first input, displaying a second interface, and displaying at least a first identifier corresponding to the target sound production object in the first video and a first control corresponding to the first identifier on the second interface; and responding to a second input of the target first control in the second interface, and playing the first video with the target sound production object sound shielded, wherein the first input is an input of a second identifier on the first interface or the first input is an input of the target sound production object in the first interface. According to the embodiment of the invention, when the video is played, the specific sound can be shielded, so that the video watching experience of a user is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a video playing method and electronic equipment.
Background
At present, when an electronic device plays a video, the same video plays the same content for all users. If the user feels a certain sound in the video, the playing volume of the video can be adjusted only by manually dragging the volume sliding rod, and all the sounds in the video are shielded.
However, the above method may cause some sounds that are not objectionable to users to be shielded, and therefore, the conventional technology cannot personally shield the sounds of the target sound-emitting objects that the users do not like, thereby affecting the user's experience of watching videos.
Disclosure of Invention
The embodiment of the invention provides a video playing method and electronic equipment, which can shield specific sound when a video is played, and can shield the sound of a target sound production object in a personalized manner.
In a first aspect, an embodiment of the present invention provides a method for playing a video, which is applied to an electronic device, and includes:
receiving a first input under the condition that a first interface corresponding to a first video is displayed on the electronic equipment;
responding to the first input, displaying a second interface, and displaying at least a first identifier corresponding to the target sound production object in the first video and a first control corresponding to the first identifier on the second interface;
responding to a second input of a target first control in a second interface, and playing a first video with the target sound production object sound shielded;
and the first input is input to the second identification on the first interface or the first input is input to the target sound-emitting object in the first interface.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the receiving module is used for receiving a first input under the condition that a first interface corresponding to a first video is displayed on the electronic equipment, wherein the first input is input to a second identifier on the first interface or the first input is input to a target sound production object in the first interface;
the display module is used for responding to the first input and displaying a second interface, and at least a first identification corresponding to the target sound production object in the first video and a first control corresponding to the first identification are displayed on the second interface;
and the playing module is used for responding to a second input of the target first control in the second interface and playing the first video with the target sound production object sound shielded.
As some realizations of the second aspect, in a case that the first input is an input for a second identifier on the first interface, first identifiers corresponding to M sound-producing objects in the first video and a first control corresponding to each first identifier are respectively displayed on the second interface, where M is a positive integer.
As some implementation manners of the second aspect, in a case that the first input is an input to a second identifier on the first interface, the playing module is configured to, in response to the second input to the target first control, use a playing time point corresponding to the first interface as a starting point, perform shielding processing on a sound of a target sound-emitting object corresponding to the target first control, and play a first video in which the sound of the target sound-emitting object is shielded.
As some realizations of the second aspect, in a case that the first input is an input to a target sound-emitting object in the first interface, first identifications corresponding to the target sound-emitting object for N preset time periods and first controls corresponding to the first identifications for the N preset time periods are respectively displayed on the second interface, where N is a positive integer.
As some realizations of the second aspect, in a case that the first input is an input to a target sound-generating object in the first interface, the playing module is configured to, in response to a second input to the target first control, mask a sound of the target sound-generating object within a preset time period corresponding to the target first control, and play a first video in which the sound of the target sound-generating object is masked.
As some realizations of the second aspect, the electronic device further includes:
the third display sub-module is used for displaying a prompt identifier for starting the target function on the first interface under the condition that the first interface corresponding to the first video is displayed on the electronic equipment and before the first input is received and under the condition that the target function is not started by the first video;
and the starting submodule is used for responding to a fifth input of the prompt identifier for starting the target function and starting the target function of the first video.
As some realizations of the second aspect, the electronic device further includes:
the obtaining submodule is used for obtaining the voiceprint information of at least one sound producing object in the first video under the condition that a voiceprint database corresponding to the first video does not exist after the target function of the first video is started and before the first input is received;
and the construction submodule is used for constructing a voiceprint database corresponding to the first video based on the corresponding relation between the voiceprint information and the sound production object.
As some realizations of the second aspect, the electronic device further includes:
the fourth display submodule is used for displaying and storing prompt information of the current shielding setting information of the first video after the first video which shields the sound of the target sound production object is played;
and the saving submodule is used for responding to the sixth input of the prompt message for saving the current shielding setting information of the first video and saving the current shielding setting information of the first video.
Optionally, in some embodiments of the present invention, in a case that the mask setting information of the first video is already stored, the second identifier is displayed according to a preset display manner.
As some realizations of the second aspect, during the playing of the first video, the sound information of the target sound production object after the masking processing is displayed in the form of characters.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program instructions, the steps of the method for playing back a video according to the first aspect are implemented.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for playing back video according to the first aspect.
In the embodiment of the invention, the user can shield the sound of the target sound-producing object when the electronic equipment plays the video by inputting the first control corresponding to the target sound-producing object, so that the user can selectively shield the sound of the sound-producing object when watching the video without influencing the normal playing of the sound of other sound-producing objects which are not subjected to shielding processing, and the experience of watching the video by the user is improved.
Drawings
The present invention will be better understood from the following description of specific embodiments thereof taken in conjunction with the accompanying drawings, in which like or similar reference characters designate like or similar features.
Fig. 1 is a schematic flowchart of a video playing method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a first interface provided in an embodiment of the invention;
FIG. 3 is a schematic view of a first interface provided by another embodiment of the present invention;
FIG. 4 is a schematic view of a second interface provided by an embodiment of the present invention;
FIG. 5 is a schematic view of a second interface provided by another embodiment of the present invention;
FIG. 6 is a schematic diagram of a prompt identifier for starting a target function provided in an embodiment of the present invention;
fig. 7 is a schematic diagram of a prompt identifier for storing mask setting information according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing 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.
When a user watches a video, if the user does not want to hear a certain section of sound, the user can only make all played sound of the certain section in a mute state by manually dragging the volume slide bar, and after the video is played, the user can restore the played sound of the video by dragging the volume slide bar again.
For example, if a user wants to block the sound of a character B that is talking to a character a while watching a movie, the user may manually drag the volume slider to adjust the sound to a mute state. At this time, the voice of the person a and the voice of the person B are all adjusted to be in a mute state, and the user cannot hear not only the voice of the user B but also the voice of the user a.
Therefore, the playing volume of the video is adjusted by continuously and manually adjusting the volume slide bar by the user, so that the specific sound cannot be specifically shielded in a mode of shielding off the sound which the user does not want to listen to, not only can all the sound in the mute video be shielded, but also the user needs to manually drag the volume slide bar again to recover the playing of the sound, and the experience of watching the video by the user is reduced.
In order to solve the above problem, embodiments of the present invention provide a video playing method and an electronic device, which can shield a specific sound and improve the experience of a user watching a video on the premise that the smooth experience of the user watching the video is not affected.
Fig. 1 is a flowchart illustrating a video playing method according to an embodiment of the present invention. As shown in fig. 1, the method for playing video applied to an electronic device includes:
s101, the electronic equipment receives a first input under the condition that a first interface corresponding to the first video is displayed on the electronic equipment.
And the first input is input to the second identification on the first interface or the first input is input to the target sound-emitting object in the first interface.
Optionally, in some embodiments of the present invention, as shown in fig. 2, fig. 2 is a schematic view of a first interface provided in the embodiments of the present invention, and the first interface may be an interface when the first video has not started to formally play the video.
Optionally, in some embodiments of the present invention, as shown in fig. 3, fig. 3 is a schematic diagram of a first interface provided in another embodiment of the present invention, where the first interface may be an interface when the first video has started to play a video frame.
Optionally, in some embodiments of the present invention, a second identifier may be further displayed on the first interface, where the second identifier may be a four-pointed star identifier or a five-pointed star identifier, and the second identifier is not limited herein.
Optionally, in some embodiments of the present invention, when the display of the screen of the first video formal play video frame has not started on the first interface, the first input may be a click input for the second identifier on the first interface, or may be a press input for the second identifier on the first interface.
Optionally, in some embodiments of the present invention, when the screen of the first video formally playing the video frame has been displayed on the first interface, the first input may be an input for the second identifier on the first interface, the first input may also be a click input for the target sound-emitting object in the first interface, and the first input may also be a press input for the target sound-emitting object in the first interface.
And S102, the electronic equipment responds to the first input and displays a second interface.
And at least displaying a first identifier corresponding to the target sound production object in the first video and a first control corresponding to the first identifier on the second interface.
Optionally, in some embodiments of the present invention, the first control may be a "mute" control, or may also be a "change sound" control, or the like.
Optionally, in some embodiments of the invention, the second interface is displayed in case the first input is an input to a second identifier on the first interface. The second interface displays first marks corresponding to M sound objects in the first video, where the M value may be the number of all sound objects in the first video, or the number of sound objects corresponding to a currently played video frame on the first interface.
For example, as shown in fig. 4, fig. 4 is a schematic diagram of a second interface provided in an embodiment of the present invention. As can be seen from the second interface shown in fig. 4, the first identifiers corresponding to the 3 sound objects in the first video are displayed on the second interface. The first identifier may be an identifier that enables the user to distinguish the sound emission object, and may be a thumbnail of the sound emission object, for example. In addition, each first identification corresponds to a first control.
In the embodiment of the invention, the first identification of the sound generating object of the first video is displayed on the second interface, so that the user can know the sound generating object in the first video through the second interface, the user can directly process the sound of the sound generating object in the first video, the setting efficiency of the user is improved, and the use experience of the user is improved.
Alternatively, in some embodiments of the present invention, in a case where the first input is an input to a target sound emission object in the first interface, the third interface may be displayed first in response to the first input. And third identifications corresponding to the Z sound-producing objects in the first video and second controls respectively corresponding to the third identifications are displayed on the third interface, wherein Z is a positive integer. The third identification may also be an identification that enables the user to distinguish the sound emitting object, such as a thumbnail of the sound emitting object.
Next, the electronic device receives a third input of a third identifier corresponding to the target sound-emitting object in a third interface from the user, and displays the third interface as shown in fig. 5. Fig. 5 is a schematic diagram of a third interface according to another embodiment of the invention. As can be seen from the third interface shown in fig. 5, the third interface displays the first identifier corresponding to the target sound-generating object in at least one preset time period, where the preset time period may be a time period that is divided according to the time when the target sound-generating object is in a sound-generating state in the entire first video. There is one first control corresponding to the target sound-emitting object at each preset time period.
For example, the electronic device may display the first identifier of the target sound-emitting object a corresponding to at least one preset time period, and each preset time period corresponds to one first control, when receiving a third input of a third identifier of the target sound-emitting object a in a third interface by the user.
In the embodiment of the invention, the electronic device can firstly display the first identifier of the sound object in the first video for the user by responding to the first input, so that the user can know the sound object in the first video through the third interface, the user can directly and completely shield the sound of the target sound object in the first video, and the electronic device can further display the first control of the target sound object in at least one preset time period by responding to the third identifier of the target sound object in the third interface, so that the user can conveniently shield the sound of the target sound object in a certain preset time period, and further the use experience of the user is improved.
Optionally, in some embodiments of the present invention, in a case that the first input is an input to a target sound emission object in the first interface, the electronic device may directly display a third interface shown in fig. 5 in response to the first input, so that a user may directly and subsequently mask a sound of a certain target sound emission object within a certain target preset time period, and the user experience is improved.
S103, the electronic equipment responds to a second input of the target first control in the second interface, and plays the first video with the target sound production object sound shielded.
Optionally, in some embodiments of the present invention, in a case that the first identifiers of the M sound objects in the first video are respectively displayed on the second interface, the electronic device, in response to the second input to the target first control in the second interface, may perform shielding processing on the sound of the target sound object corresponding to the target first control with a play time point corresponding to the first interface as a starting point, and play the first video in which the sound of the target sound object is shielded. The target first control may be represented in the selected state by a change in color, or may be represented in the selected state by a change in shape, which is not limited herein.
For example, when the first interface does not start playing the video frame of the first video at this time, the electronic device may perform masking processing on the sound of the target sound object corresponding to the target first control from the play start time point of the first video in response to a second input of the user to the target first control in the second interface, so that the sound of the target sound object is in a masked state from the start to the end of playing the first video.
If the playing time point currently corresponding to the first interface is the 10 th minute when the first interface has started to play the video frame of the first video at this time, the electronic device may perform shielding processing on the sound of the target sound-emitting object corresponding to the target first control from the playing time point (the 10 th minute) corresponding to the current first interface as a starting point in response to a second input of the target first control in the second interface by the user, so that the sound of the target sound-emitting object starts at the 10 th minute of the playing of the first video, and the sound of the target sound-emitting object is shielded until the playing of the first video is finished.
Optionally, in some embodiments of the present invention, the user may make a second input to the plurality of first controls, so that the electronic device performs a masking process on the sounds of the plurality of target sound-emitting objects. If the user performs second input on the plurality of first controls, the electronic device can enable the user to know whether to shield only one sound object or shield the sounds of at least two sound objects by changing the color of the second identifier. In addition, whether the first control is in the selected state or not may be indicated by a change in color of the first control, and the first control may also be indicated by a change in shape, which is not limited herein.
For example, with continued reference to fig. 5, if at least two sound objects are masked at this time, the color of the second indicator may be changed to gray, and the color of the selected control to the first control may also be changed from white to gray.
In the embodiment of the invention, the electronic equipment can shield the sound of the target sounding object by responding to the second input of the user to the target first control, so that the user can hear the sound of other sounding objects but cannot hear the sound of the shielded target sounding object when watching the video, and the experience of watching the video by the user is further improved.
Optionally, in some embodiments of the present invention, in a case that the target sound emission object is respectively displayed on the second interface for N preset time periods, in response to a second input to the target first control in the second interface, the electronic device may perform shielding processing on the sound of the target sound emission object in the preset time period corresponding to the target first control, so that the electronic device plays the first video after the shielding processing, where N is a positive integer.
For example, the preset time period corresponding to the target first control is 15 th to 20 th minutes, and in response to the second input to the target first control in the second interface, the electronic device may perform masking processing on the sound of the target sound-emitting object in the first video within the 15 th to 20 th minutes, so that the electronic device masks the sound of the target sound-emitting object in the 15 th to 20 th minutes when playing the first video.
In the embodiment of the invention, the electronic equipment shields the sound of the target sound-producing object in the preset time period, so that when a user watches the video, the user can hear the sound of the sound-producing object in the preset time period corresponding to other first controls, but cannot hear the sound of the shielded target sound-producing object in the preset time period corresponding to the target first control, and further the experience of the user in watching the video is improved.
Optionally, in some embodiments of the present invention, in a case that the electronic device displays a third interface, where third identifiers corresponding to Z sound objects in the first video and second controls respectively corresponding to the third identifiers are displayed on the third interface, the electronic device, in response to an input of a user to a target second control in the third interface, may perform a masking process on a sound of a target sound object corresponding to the target second control from a playing time point corresponding to the first interface, so that the sound of the target sound object is in a masked state from the beginning to the end of playing of the first video. Wherein Z is a positive integer.
Optionally, in some embodiments of the present invention, the target second control may be represented in the selected state by a change in color, or may be represented in the selected state by a change in shape, which is not limited herein.
In the embodiment of the invention, the electronic equipment responds to the input of the user to the target second control, so that the user can hear the sound of other sound-producing objects but cannot hear the sound of the shielded target sound-producing object when watching the video, and further, the experience of watching the video by the user is improved.
Optionally, in some embodiments of the present invention, in a case that the electronic device displays a first interface corresponding to the first video, before receiving the first input, it may be further detected whether the electronic device starts a target function.
Optionally, in some embodiments of the invention, the target function may be an intelligent volume adjustment function for the first video.
Optionally, in some embodiments of the present invention, if the detection result indicates that the target function is not started by the electronic device, a prompt identifier for starting the target function may be displayed on a first interface of the electronic device. As shown in fig. 6, fig. 6 is a schematic diagram of a prompt identifier for starting a target function provided in the embodiment of the present invention.
Next, the electronic device may receive a fifth input of the prompt identifier for starting the target function from the user, and start the target function of the first video.
Optionally, in some embodiments of the invention, whether the first video activates the target function may be indicated by a change in a shape of the second indicator on the first interface. For example, if the electronic device has activated the target function, the second identifier may be changed from a shape of a quadrangle star to a shape of a hexagon star. If the electronic device does not start the target function, the shape of the second identifier may still be the shape of a four-pointed star.
In the embodiment of the invention, the user can more intuitively know whether the first video starts the target function or not by changing the color of the second identification on the first interface, so that the use experience of the user is improved.
Optionally, in some embodiments of the present invention, after the electronic device starts a target function of the first video in response to an input of a user, it is detected whether a voiceprint database corresponding to the first video exists in the electronic device, and if the voiceprint database corresponding to the first video does not exist in the electronic device, the electronic device may first acquire voiceprint information of at least one sound generation object in the first video, and establish a correspondence between the voiceprint information and the sound generation object based on the acquired voiceprint information and the sound generation object.
Next, the electronic device constructs a voiceprint database corresponding to the first video based on the correspondence between the voiceprint information and the sound object. The voiceprint database is used for enabling the electronic equipment to match the sound production object in the first video with the matched sound information, and the subsequent electronic equipment can shield the sound of the target sound production object conveniently.
In the embodiment of the invention, the electronic device can associate the sound-producing object in the first video with the sound information of the sound-producing object by constructing the voiceprint database of the first video, so that the sound of the target sound-producing object can be shielded subsequently.
Optionally, in some embodiments of the present invention, after the first video with the target sound generating object sound masked off is finished playing, a prompt message for storing the current masking setting information of the first video may also be displayed on the electronic device. As shown in fig. 7, fig. 7 is a schematic diagram of a prompt identifier for storing mask setting information according to an embodiment of the present invention.
Next, the electronic device saves the current mask setting information of the first video in response to a sixth input of the prompt information for saving the mask setting information by the user.
In the embodiment of the invention, the electronic equipment can ensure that when the user plays the first video next time by storing the shielding setting information of the first video, if the user does not need to change the shielding setting information once, the electronic equipment can directly play the first video according to the stored shielding setting information, thereby avoiding the repeated setting of the user. If the user needs to readjust the mask setting information of the first video when playing the first video next time, the first video can still be played according to the readjusted mask setting information by using the video playing method described in the above embodiment.
Optionally, in some embodiments of the present invention, if the electronic device already stores the shielding setting information of the first video, the electronic device may further display the second identifier in a preset display manner, so that a user can timely determine whether the electronic device stores the shielding setting information of the first video, and the use experience of the user is improved. For example, in the case where the electronic device has saved the mask setting information for the first video, the color of the second indicator may change to orange, which has informed the user that the electronic device has successfully saved the current mask setting information for the first video.
Optionally, in some embodiments of the present invention, in order to prevent the user from viewing the video boring due to the fact that the sound is blocked in the process of viewing the first video after the masking processing, the electronic device may display the sound information of the target sound generating object after the masking processing in a text form; the electronic device may replace the sound information of the target sound emission object after the masking process with other music, for example, replace the sound information of the target sound emission object with light music. After the user cancels the masking operation, the playback of the sound of the target sound emission object can be resumed.
Optionally, in some embodiments of the present invention, the electronic device may further enable the electronic device to play the content to be expressed by the target sound-generating object according to another sound color by changing the sound frequency of the sound information of the target sound-generating object. Also, after the user cancels the masking operation, the playback of the sound of the target sound emission object can be resumed.
In the embodiment of the invention, the sound information of the shielded target sound production object is displayed in other modes, so that the situation that the first video is boring to watch due to the fact that the sound is shielded can be avoided, and the use experience of a user is improved.
Based on the specific implementation of the video playing method provided by the above embodiment, correspondingly, the invention also provides a specific implementation of the electronic device. Please refer to fig. 8.
Fig. 8 shows a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 8, the electronic apparatus includes:
the receiving module 810 is configured to receive a first input when a first interface corresponding to a first video is displayed on the electronic device, where the first input is an input to a second identifier on the first interface or an input to a target sound-generating object in the first interface;
a display module 820, configured to display, in response to the first input, a second interface, where at least a first identifier corresponding to the target sound object in the first video and a first control corresponding to the first identifier are displayed on the second interface;
the playing module 830 is configured to play the first video with the target sound object sound masked off in response to a second input to the target first control in the second interface.
Through the electronic equipment provided by the embodiment of the invention, the user can shield the sound of the target sound-producing object when the electronic equipment plays the video through inputting the first control corresponding to the target sound-producing object, so that the user can selectively shield the sound of the sound-producing object when watching the video without influencing the normal playing of the sound of other sound-producing objects which are not shielded, and the experience of watching the video by the user is improved.
Optionally, in some embodiments of the present invention, in a case that the first input is an input to a second identifier on the first interface, first identifiers corresponding to M sound-producing objects in the first video and a first control corresponding to each first identifier are respectively displayed on the second interface, where M is a positive integer.
Optionally, in some embodiments of the present invention, in a case that the first input is an input to a target sound-emitting object in the first interface, first identifications of the target sound-emitting object corresponding to N preset time periods and first controls corresponding to the first identifications of the N preset time periods are respectively displayed on the second interface, where N is a positive integer.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the first display sub-module is used for responding to the first input and displaying a third interface before displaying the second interface, wherein third identifications corresponding to Z sounding objects in the first video and second controls corresponding to the third identifications are respectively displayed on the third interface, and Z is a positive integer;
the display module 820 further includes:
the first receiving submodule is used for receiving third input of a third identification corresponding to a target sound production object in a third interface;
and the second display submodule is used for responding to the third input and displaying the second interface.
Optionally, in some embodiments of the present invention, the playing module 830 is specifically configured to, in response to the second input to the target first control, take a playing time point corresponding to the first interface as a starting point, perform shielding processing on the sound of the target sound-generating object corresponding to the target first control, and play the first video with the sound of the target sound-generating object shielded.
Optionally, in some embodiments of the present invention, the playing module 830 is specifically configured to, in response to the second input to the target first control, mask the sound of the target sound-generating object within a preset time period corresponding to the target first control, and play the first video with the sound of the target sound-generating object masked.
Optionally, in some embodiments of the present invention, in a case where the third interface is displayed, the electronic device further includes:
the second receiving submodule is used for receiving fourth input of a target second control in a third interface before the second interface is displayed;
and the first processing submodule is used for responding to the fourth input, taking the playing time point corresponding to the first interface as a starting point, shielding the sound of the target sound production object corresponding to the target second control, and playing the first video with the sound of the target sound production object shielded.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the third display sub-module is used for displaying a prompt identifier for starting the target function on the first interface under the condition that the first interface corresponding to the first video is displayed on the electronic equipment and before the first input is received and under the condition that the target function is not started by the first video;
and the starting submodule is used for responding to a fifth input of the prompt identifier for starting the target function and starting the target function of the first video.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the obtaining submodule is used for obtaining the voiceprint information of at least one sound producing object in the first video under the condition that a voiceprint database corresponding to the first video does not exist after the target function of the first video is started and before the first input is received;
and the construction submodule is used for constructing a voiceprint database corresponding to the first video based on the corresponding relation between the voiceprint information and the sound production object.
Optionally, in some embodiments of the present invention, the electronic device further includes:
the fourth display submodule is used for displaying and storing prompt information of the current shielding setting information of the first video after the first video which shields the sound of the target sound production object is played;
and the saving submodule is used for responding to the sixth input of the prompt message for saving the current shielding setting information of the first video and saving the current shielding setting information of the first video.
Optionally, in some embodiments of the present invention, in a case that the mask setting information of the first video is already stored, the second identifier is displayed according to a preset display manner.
Optionally, in some embodiments of the present invention, during the playing of the first video, the sound information of the target sound object after the masking processing is displayed in a text form.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present invention.
The electronic device 600 includes, but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 9 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to receive a first input when a first interface corresponding to a first video is displayed on the electronic device, where the first input is an input to a second identifier on the first interface or an input to a target sound object in the first interface, and play the first video with a sound of the target sound object masked off in response to a second input to a target first control in a second interface; the display unit 606 is configured to display, in response to the first input, a second interface, where at least a first identifier corresponding to the target sound object in the first video and a first control corresponding to the first identifier are displayed on the second interface.
In the embodiment of the invention, the user can shield the sound of the target sound-producing object when the electronic equipment plays the video by inputting the first control corresponding to the target sound-producing object, so that the user can selectively shield the sound of the sound-producing object when watching the video without influencing the normal playing of the sound of other sound-producing objects which are not subjected to shielding processing, and the experience of watching the video by the user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 601 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 601 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 602, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 603 may convert audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output as sound. Also, the audio output unit 603 may also provide audio output related to a specific function performed by the electronic apparatus 600 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
The input unit 604 is used to receive audio or video signals. The input Unit 604 may include a Graphics Processing Unit (GPU) 6041 and a microphone 6042, and the Graphics processor 6041 processes image data of a still picture or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 606. The image frames processed by the graphic processor 6041 may be stored in the memory 609 (or other storage medium) or transmitted via the radio frequency unit 601 or the network module 602. The microphone 6042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 601 in case of the phone call mode.
The electronic device 600 also includes at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 6061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 6061 and/or the backlight when the electronic apparatus 600 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 605 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 606 is used to display information input by the user or information provided to the user. The Display unit 606 may include a Display panel 6061, and the Display panel 6061 may be configured by a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 607 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 607 includes a touch panel 6071 and other input devices 6072. Touch panel 6071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 6071 using a finger, stylus, or any suitable object or accessory). The touch panel 6071 may include two parts of 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 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 6071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The user input unit 607 may include other input devices 6072 in addition to the touch panel 6071. Specifically, the other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 6071 can be overlaid on the display panel 6061, and when the touch panel 6071 detects a touch operation on or near the touch panel 6071, the touch operation is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event. In some embodiments, the touch panel 6071 and the display panel 6061 are two independent components to implement the input and output functions of the electronic device, but in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, and this is not limited herein.
The interface unit 608 is an interface for connecting an external device to the electronic apparatus 600. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 608 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and external devices.
The memory 609 may be used to store software programs as well as various data. The memory 609 may mainly include a program storage area and a data storage area, wherein the program storage 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 609 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 processor 610 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609, and calling data stored in the memory 609, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 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 into the processor 610.
The electronic device 600 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 may be logically connected to the processor 610 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
In addition, the electronic device 600 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 610, a memory 609, and a computer program stored in the memory 609 and capable of running on the processor 610, where the computer program is executed by the processor 610 to implement each process of the above-mentioned method for playing a video, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further 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 of the above-mentioned video playing method embodiment, 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 (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 (7)
1. A video playing method is applied to electronic equipment and is characterized by comprising the following steps:
receiving a first input under the condition that a first interface corresponding to a first video is displayed on the electronic equipment;
responding to the first input, displaying a second interface, wherein at least a first identification corresponding to a target sound production object in the first video and a first control corresponding to the first identification are displayed on the second interface;
in response to a second input to a target first control in the second interface, playing a first video with the target sound production object sound masked off;
the first input is input to a target sound-emitting object in the first interface, first identifications corresponding to the target sound-emitting object in N preset time periods and first controls corresponding to the first identifications of the N preset time periods are respectively displayed on the second interface, and N is a positive integer.
2. The method of claim 1, wherein playing the first video with the target sound object sound masked off in response to the second input to the target first control comprises:
and responding to a second input of the target first control, shielding the sound of the target sound production object in a preset time period corresponding to the target first control, and playing a first video with the sound of the target sound production object shielded.
3. The method of claim 1, wherein, prior to receiving the first input while displaying the first interface corresponding to the first video on the electronic device, further comprising:
under the condition that the target function is not started by the first video, displaying a prompt identifier for starting the target function on the first interface;
and responding to a fifth input of the prompt identification for starting the target function, and starting the target function of the first video.
4. The method of claim 3, wherein after the initiating the target function of the first video and before the receiving the first input, further comprising:
under the condition that a voiceprint database corresponding to the first video does not exist, acquiring voiceprint information of at least one sound-producing object in the first video;
and constructing a voiceprint database corresponding to the first video based on the corresponding relation between the voiceprint information and the sound production object.
5. The method of claim 1, wherein after playing the first video with the target sound object sound masked off, further comprising:
after the first video which shields the sound of the target sound production object is played, displaying and storing prompt information of the current shielding setting information of the first video;
and responding to a sixth input of prompt information for saving the current shielding setting information of the first video, and saving the current shielding setting information of the first video.
6. The method according to any one of claims 1 to 5, wherein the sound information of the target sound object after the masking processing is displayed in a text form during the first video playing.
7. An electronic device, comprising:
the receiving module is used for receiving a first input under the condition that a first interface corresponding to a first video is displayed on the electronic equipment;
the display module is used for responding to the first input and displaying a second interface, and at least a first identifier corresponding to a target sound production object in the first video and a first control corresponding to the first identifier are displayed on the second interface;
the playing module is used for responding to a second input of a target first control in the second interface and playing a first video with the target sound production object sound shielded;
the first input is input to a target sound-emitting object in the first interface, first identifications corresponding to the target sound-emitting object in N preset time periods and first controls corresponding to the first identifications of the N preset time periods are respectively displayed on the second interface, and N is a positive integer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911328612.2A CN111010608B (en) | 2019-12-20 | 2019-12-20 | Video playing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911328612.2A CN111010608B (en) | 2019-12-20 | 2019-12-20 | Video playing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111010608A CN111010608A (en) | 2020-04-14 |
CN111010608B true CN111010608B (en) | 2021-09-10 |
Family
ID=70117387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911328612.2A Active CN111010608B (en) | 2019-12-20 | 2019-12-20 | Video playing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111010608B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111526242B (en) * | 2020-04-30 | 2021-09-07 | 维沃移动通信有限公司 | Audio processing method and device and electronic equipment |
CN112423081B (en) * | 2020-11-09 | 2021-11-05 | 腾讯科技(深圳)有限公司 | Video data processing method, device and equipment and readable storage medium |
CN112383817B (en) * | 2020-11-13 | 2023-01-24 | 维沃移动通信有限公司 | Volume adjusting method and device |
CN113282769B (en) * | 2021-04-25 | 2024-08-20 | 维沃移动通信有限公司 | Multimedia file processing method and device and electronic equipment |
CN113573096A (en) * | 2021-07-05 | 2021-10-29 | 维沃移动通信(杭州)有限公司 | Video processing method, video processing device, electronic equipment and medium |
CN118283326A (en) * | 2023-03-17 | 2024-07-02 | 聚好看科技股份有限公司 | Display equipment and medium resource shielding method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105512348A (en) * | 2016-01-28 | 2016-04-20 | 北京旷视科技有限公司 | Method and device for processing videos and related audios and retrieving method and device |
CN105681897A (en) * | 2014-11-17 | 2016-06-15 | Tcl集团股份有限公司 | Advertisement detection method and system |
CN109005461A (en) * | 2018-08-01 | 2018-12-14 | 优视科技新加坡有限公司 | A kind of recommended method of the video object, device and equipment/terminal/server |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140114238A (en) * | 2013-03-18 | 2014-09-26 | 삼성전자주식회사 | Method for generating and displaying image coupled audio |
CN103986891A (en) * | 2014-04-30 | 2014-08-13 | 京东方科技集团股份有限公司 | Television volume control method and system |
KR20160099388A (en) * | 2015-02-12 | 2016-08-22 | 삼성전자주식회사 | Display apparatus and operation method of the same |
US20190068912A1 (en) * | 2017-08-28 | 2019-02-28 | Ron Johnson | Universal television remote control device with timer |
CN107396177B (en) * | 2017-08-28 | 2020-06-02 | 北京小米移动软件有限公司 | Video playing method, device and storage medium |
CN110097872B (en) * | 2019-04-30 | 2021-07-30 | 维沃移动通信有限公司 | Audio processing method and electronic equipment |
CN110177296A (en) * | 2019-06-27 | 2019-08-27 | 维沃移动通信有限公司 | A kind of video broadcasting method and mobile terminal |
CN110379428A (en) * | 2019-07-16 | 2019-10-25 | 维沃移动通信有限公司 | A kind of information processing method and terminal device |
CN110430475A (en) * | 2019-07-26 | 2019-11-08 | 腾讯科技(深圳)有限公司 | A kind of interactive approach and relevant apparatus |
-
2019
- 2019-12-20 CN CN201911328612.2A patent/CN111010608B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681897A (en) * | 2014-11-17 | 2016-06-15 | Tcl集团股份有限公司 | Advertisement detection method and system |
CN105512348A (en) * | 2016-01-28 | 2016-04-20 | 北京旷视科技有限公司 | Method and device for processing videos and related audios and retrieving method and device |
CN109005461A (en) * | 2018-08-01 | 2018-12-14 | 优视科技新加坡有限公司 | A kind of recommended method of the video object, device and equipment/terminal/server |
Also Published As
Publication number | Publication date |
---|---|
CN111010608A (en) | 2020-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111010608B (en) | Video playing method and electronic equipment | |
CN110855921B (en) | Video recording control method and electronic equipment | |
CN111459456A (en) | Audio control method and electronic equipment | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN109451158B (en) | Reminding method and device | |
CN111125800B (en) | Icon display method and electronic equipment | |
CN110933494A (en) | Picture sharing method and electronic equipment | |
CN107786751A (en) | A kind of method for broadcasting multimedia file and mobile terminal | |
CN111459447B (en) | Volume adjustment display method and electronic equipment | |
CN109949809B (en) | Voice control method and terminal equipment | |
CN111694536A (en) | Audio control method, electronic device and computer-readable storage medium | |
CN111683171A (en) | Audio output method and electronic equipment | |
CN111614329A (en) | Power amplifier, electronic equipment, voltage control method and device | |
CN110795188A (en) | Message interaction method and electronic equipment | |
CN110769303A (en) | Playing control method and device and mobile terminal | |
CN111261128B (en) | Screen brightness adjusting method and electronic equipment | |
CN111258531B (en) | Audio processing method and electronic equipment | |
CN110677770B (en) | Sound production control method, electronic device, and medium | |
CN110213439B (en) | Message processing method and terminal | |
CN109660657B (en) | Application program control method and device | |
CN109361939B (en) | Video playing method and terminal equipment | |
CN108418961B (en) | Audio playing method and mobile terminal | |
CN111445929A (en) | Voice information processing method and electronic equipment | |
CN110839108A (en) | Noise reduction method and electronic equipment | |
CN107835310B (en) | Mobile terminal setting method and mobile terminal |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |