CN111580780A - Sound control method, device, terminal and storage medium for video playing - Google Patents

Sound control method, device, terminal and storage medium for video playing Download PDF

Info

Publication number
CN111580780A
CN111580780A CN202010434265.8A CN202010434265A CN111580780A CN 111580780 A CN111580780 A CN 111580780A CN 202010434265 A CN202010434265 A CN 202010434265A CN 111580780 A CN111580780 A CN 111580780A
Authority
CN
China
Prior art keywords
information
video
volume
played
sound
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
CN202010434265.8A
Other languages
Chinese (zh)
Inventor
胡焱华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010434265.8A priority Critical patent/CN111580780A/en
Publication of CN111580780A publication Critical patent/CN111580780A/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/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Circuit For Audible Band Transducer (AREA)
  • Television Receiver Circuits (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses a sound control method for video playing, which comprises the following steps: responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode; the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing. The application also discloses a sound control device, a terminal and a computer storage medium for video playing. The sound control method for video playing adopts a gradual change mode, sound cannot be very big or very small at a time, and small impact can be generated on hearing, so that the sound can be better adjusted in the process of playing video by the terminal equipment, and the sound adjustment is more accurate and reasonable.

Description

Sound control method, device, terminal and storage medium for video playing
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a method and an apparatus for controlling sound in video playing, a terminal, and a storage medium.
Background
With the popularization of smart phones, various social software, tool software and the like are filled in mobile phones of users, the users access some application programs more and more frequently through mobile terminals with touch screens, and clicking playing videos when entering the application programs or entering some public numbers through the application programs needs to adjust the sound of the played videos. The currently adopted mode is to adjust the volume by using a physical key, adjust the volume of the mobile phone and then adjust the volume of the played video, or display a mute virtual key in the video, and adjust the sound by turning on or off the mute through the mute virtual key. However, the above-mentioned volume adjustment method is complicated to operate, or brings great contrast to the user from auditory impact (mute or not), which results in poor convenience of the audio adjustment operation for playing the video, and poor accuracy of the audio adjustment, thereby making the video playing effect poor.
Disclosure of Invention
The embodiment of the application provides a sound control method, a device terminal and a storage medium for video playing, and aims to solve the technical problems that the operation convenience of sound adjustment for playing a video is poor, the accuracy of sound adjustment is poor and further the video playing effect is poor due to the existing sound adjustment mode for video playing.
In order to achieve the above object, an aspect of the present application provides a sound control method for video playing, where the sound control method for video playing includes:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
In order to achieve the above object, another aspect of the present application further provides a sound control apparatus for video playback, the apparatus comprising: the adjustment module is used for adjusting the position of the optical fiber,
the adjusting module is used for responding to the video playing action executed by the terminal equipment and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
In order to achieve the above object, another aspect of the present application further provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the following steps:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
To achieve the above object, another aspect of the present application further provides a computer-readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
Whether there is the action of video broadcast in the first monitoring terminal equipment of this application, when there is the broadcast action, respond to the action of the video broadcast of execution, adjust the video volume of broadcast through gradual change mode, rather than adopting the mode of physics button or a virtual silence button, the sound of video broadcast is adjusted in the operation that only can open or close the silence, take gradual change mode, sound can not be very big or very little at a time, can produce less impact to the sense of hearing, and then make terminal equipment be in the regulation sound that the video in-process of broadcast can be better, make the sound adjustment more accurate reasonable.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present application;
FIG. 2 is a schematic operational flow chart illustrating a sound control method for video playback according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a process of adjusting volume information of a played video in a gradual change manner according to an embodiment of the present application;
FIG. 4 is a schematic operational flow chart illustrating a sound control method for video playback according to another embodiment of the present application;
FIG. 5 is a flowchart illustrating operation of a sound control method for video playback according to another embodiment of the present application;
FIG. 6 is a flowchart illustrating operation of a sound control method for video playback according to another embodiment of the present application;
FIG. 7 is a flowchart illustrating operation of a sound control method for video playback according to another embodiment of the present application;
FIG. 8 is a flowchart illustrating operation of a sound control method for video playback according to another embodiment of the present application;
fig. 9 is a schematic flow chart illustrating a process of adjusting volume information of a played video in a gradual change manner according to another embodiment of the present application;
FIG. 10 is a block diagram illustrating an architecture of a voice control apparatus for video playback according to an embodiment of the present application;
FIG. 11 is a schematic diagram illustrating an architecture of a voice control apparatus for video playback according to another embodiment of the present application;
fig. 12 is a schematic diagram illustrating an architecture of a sound control apparatus for video playback according to another embodiment of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Embodiments of the present application are: responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode; the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
The terminal described herein may be implemented in various forms. For example, the terminal may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palm top computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
While the following description will be given taking a mobile phone in a terminal as an example, those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal such as a desktop, a television, or a kiosk, etc., in addition to elements particularly used in a mobile terminal.
Referring to fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment related to a method according to an embodiment of the present application
As shown in fig. 1, the mobile terminal may include: a processor 1001 such as a CPU, a memory 1003, a communication bus 1004, a user input unit 1002, a display unit 1005. The communication bus 1004 is used for realizing connection and communication between the processor 1001 and the memory 1003. The memory 1003 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1003 may alternatively be a storage device separate from the processor 1001.
Optionally, the mobile terminal further comprises at least one sensor, such as a light sensor, a motion sensor, and other sensors. The accelerometer sensor is used as one of the motion sensors, can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile phone is static, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking) and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Alternatively, the display unit 1005 is used to display a message input by the user or a message provided to the user. The Display unit 1005 may include a Display panel, and the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Alternatively, the user input unit 1002 may be used to receive input numeric or character messages and generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 1002 may include a touch panel and other input devices. The touch panel, also called a touch screen, may collect touch operations of a user (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. The user input unit 1002 may include other input devices in addition to a touch panel. In particular, the other input devices may include, but are not limited to, one or more of a physical keyboard, a function key (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like, which are not limited herein.
Alternatively, the processor 1001 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 1003 and calling data stored in the memory 1003, thereby performing overall monitoring of the mobile terminal. Processor 1001 may include one or more processing units; optionally, the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1001.
Alternatively, the memory 1003 may be used to store software programs as well as various data. The memory 1003 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, and the like), 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 1003 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.
Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
In the mobile terminal shown in fig. 1, the processor 1001 is configured to execute an application program for controlling the sound of video playing in the memory 1003, and implement the following steps:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
Referring to fig. 2, fig. 2 is a schematic operation flow chart of the sound control method for video playing of the present application; the sound control method for video playing comprises the following steps:
step S10, responding to the terminal device executing video playing action, adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
The terminal device is exemplified by a mobile phone, and may also be a pad or a palm computer, and the like, and the mobile phone is provided with a monitoring program for monitoring whether the terminal device enters video playing, or exits video playing, or the video is playing, and the like; after the terminal equipment is started, starting the monitoring program, and monitoring whether the terminal equipment executes video playing action or not through the monitoring program; the executing the video playing action comprises: executing the action of starting the video or ending the video playing; for example, when a certain application program is opened by the mobile phone, the mobile phone enters a video flashing screen to play a video, which is to say, a video playing starting action is executed; or in the video playing process, the user ends the video playing action in a virtual key mode, namely the video playing ending action in the video playing action is executed.
In other embodiments of the present application, it is also possible to execute a video playing action by a processor of the mobile phone without running a monitoring program.
When the mobile phone detects that the terminal equipment executes the video playing action, the volume information of the played video is adjusted in a software mode in response to the execution of the video playing action, and the volume information of the played video is adjusted in a gradual change mode. Adjusting the volume information of the played video comprises turning up the volume of the played video or turning down the volume of the played video.
The gradual change mode is gradually turning up the volume or gradually turning down the volume, for example, gradually turning up the volume with a preset adjustment value or gradually turning down the volume with a preset adjustment value, where the preset adjustment value may be a gradually increasing or fixed value, for example, a fixed value of 5 db or 10 db, or a gradually increasing change value of first 5 db, then 8 db, and then 10 db, and gradually adjusting the volume. The preset adjusting value can determine whether a fixed value or a variable value is adopted for gradual change according to the time required by the video to be played, wherein the fixed value is adopted for shorter required time, the variable value is adopted for longer required time which exceeds the set time, for example, more than 8s or 10s, and the like, and more variable values are adopted for longer time.
This embodiment is through monitoring the action whether there is video broadcast in the terminal equipment earlier, when there is the broadcast action, respond to the action of the video broadcast of execution, adjust the video volume of broadcast through gradual change mode, rather than adopting the mode of physical button or a virtual silence button, the sound of video broadcast is adjusted in the operation that only can open or close the silence, take gradual change mode, sound can not be very big or very little at a time, can produce less impact to the sense of hearing, and then make terminal equipment be in the regulation sound that the video in-process of broadcast can be better, make the sound adjustment more accurate reasonable.
In an embodiment of the present application, referring to fig. 3, the step of adjusting the volume information of the played video in a gradual change manner includes:
step S11, starting a camera to acquire distance information between the face of the user and the mobile phone;
step S12, determining the adjustment range of the gradual change mode according to the distance information;
and step S13, adjusting the volume information of the played video according to the adjustment range gradient corresponding to each distance information.
The mobile phone is provided with a camera, images of a user are shot through the camera, and distance information between the face of the user and the mobile phone, such as the distance between the mobile phone and the camera, is obtained according to the shot images of the user. The distance information may be obtained from the captured image and layout information of the room, for example, the position of the user currently standing in the room, the distance information of the user from the mobile phone by the items in the layout of the room, the items in the captured image and the layout of the room, and the current position of the user.
After the distance information is obtained, the adjustment range of the gradual change mode can be determined according to different distances from the user to the mobile phone, and different adjustment ranges of the gradual change mode can be determined according to different distances from the user to the mobile phone. And for the adjustment amplitude, the closer the distance is, the smaller the adjustment amplitude is, and the larger the distance is, the larger the adjustment amplitude is, that is, the gradually-changed adjustment amplitude is.
In other embodiments of the present application, the different adjustment amplitudes at different distances make the sounds actually heard by the user at different positions be the same volume, that is, the sounds of the video played at this time are different in size, and the farther the distance is, the larger the sound is, the closer the distance is, the smaller the sound is.
The embodiment of the application finishes the adjustment of the sound under different distances through different adjustment ranges through the difference of the distance between the user and the mobile phone, so that the sound output of the played video is different in adjustment range along with the difference of the distance, the sound adjustment is related to the distance between the user, the sound output is more reasonable, the accuracy of the sound adjustment is improved, and the video playing effect is better.
In an embodiment of the present application, referring to fig. 4, the method further includes:
step S20, in the video playing process, starting a camera to acquire the distance information between the face of the user and the mobile phone;
step S30, determining the volume adjustment information of the played video according to the distance information;
and step S40, adjusting the volume information of the sound in the played video according to the volume adjustment information, wherein after adjusting the volume information of the sound in the played video, the sound in the played video is adjusted to the target volume.
The difference between the embodiment of the present application and the previous embodiment is that the previous embodiment has different adjustment ranges according to different distances, but the present embodiment has different volume adjustments according to different distances, and how much volume adjustment is adjusted is not the adjustment range.
After the terminal equipment starts video playing, in the video playing process, a camera is started to acquire distance information between the face of a user and a mobile phone, the distance between the user and the mobile phone is detected, volume adjustment information of the played video is determined according to different distance information, different adjustment information exists at different distances, different adjustment amplitudes need to be output at different positions, and therefore the user can hear the same sound at different positions. Optionally, adjusting volume information of sound in the played video according to the volume adjustment information, wherein after adjusting the volume information of the sound in the played video, the sound in the played video is adjusted to a target volume; that is, a target volume is set for a user, volume information that the terminal device needs to output is defined by the target volume when different distances are defined, and the target volume is kept to be heard at different positions by adjusting the sound of the played video.
In other embodiments of the present application, the target volume may be set for different user types, the target volumes of users of different types are different, or the target volume is set according to different audios, and when the target volume is set, along with the difference in distance, according to the difference in audios, a weight coefficient needs to be added to adjust the target volume or to weight the target volume to the volume information that needs to be adjusted, so as to meet different requirements, improve the accuracy of volume output adjustment, and improve the effect of played video.
This application adopts different regulation volume information through different distances for volume control can keep the user to hear the sound of the same volume size in different positions, makes volume control more accurate, can not export the sound of a volume size always, improves the broadcast effect.
In an embodiment of the present application, referring to fig. 5, before the step of adjusting the volume information of the played video in a gradual change manner, the method further includes:
step S01, acquiring the current scene information of the terminal device;
and step S02, determining a gradual change mode according to the scene information.
In the embodiment of the application, the scene information includes a work scene, a life scene, an outgoing scene, a mountain scene, a multi-person scene, a guest-meeting scene, and the like. When a video is played, scene information where the terminal device is located is obtained, different gradual change modes are determined according to different scene information, for example, a gradual change mode with a fixed value is adopted for a working scene, a gradual change mode with a change value is adopted for a life scene, a mode with a fixed value is adopted for a mountain scene, or a gradual change mode with a change value smaller than the change value of the life scene is adopted for the mountain scene.
According to the embodiment of the application, different gradual change modes are adopted in different scenes through setting scene information, so that the sound adjustment is more detailed and more accurate, the accuracy of sound adjustment is better improved, the sound playing is more reasonable, and the video playing effect is improved.
In an embodiment of the present application, referring to fig. 6, before the step of adjusting the volume information of the played video in a gradual change manner, the method further includes:
step S03, determining the environment volume information of the terminal device;
and step S04, determining a gradual change mode according to the environment volume information, wherein the larger the environment volume information is, the larger the gradual change adjustment amplitude of the gradual change mode is.
In the embodiment of the application, when the played video has sound, a user can influence the heard sound due to the interference of the sound in the environment, and the sound of the played video is different along with the difference of the sound of the environment, so that the gradual change mode needs to be adjusted according to the volume information of the environment, the user can quickly hear the sound of the video with the required size, and when the environment volume is larger, the gradual change mode can adopt the gradual change mode with the larger gradual change adjustment range to adjust the sound of the played video; if the ambient volume is smaller, the gradual change mode can adopt a gradual change mode with smaller gradual adjustment amplitude to adjust the sound of the played video.
In other embodiments of the present application, after determining the ambient volume information, determining a fade mode according to whether there is a sound in the ambient volume that is the same as or the same as the sound in the played video, and if there is a sound that is the same as or the same as the sound in the played video, adopting a fade mode of a fixed value; if there is no sound of the same or the same type, a gradual manner of changing values may be taken.
The embodiment of the application adopts different gradual change modes to adjust the sound of the played video through the difference of the environmental sound, and the influence of the environment is considered through the mode, so that the sound adjustment can cover the influence of the environment, the rationality and the accuracy of the sound adjustment in the played video are improved, and the sound effect of the played video is further improved.
In an embodiment of the present application, referring to fig. 7, before the step of adjusting the volume information of the played video in a gradual change manner, the method further includes:
step S05, determining the environment information of the terminal device;
step S06, determining the volume information played by other devices in the environment information;
step S07, determining a gradual change mode according to the volume information played by the other device, wherein the larger the volume information played by the other device is, the larger the gradual change adjustment amplitude of the gradual change mode is.
The difference between the embodiment of the present application and the previous embodiment is that the previous embodiment needs to consider the information of the sounds in all environments, and the present embodiment only considers the volume information played by other devices, that is, considers the sound played by a single device. Determining environmental information through camera shooting or large data mode through room layout in advance, thereby obtaining information of other equipment in the environment; or determining which devices start playing according to the connection condition of the internet of things or the access condition of WiFi, so as to obtain the volume information played by other devices, where the other devices may be a television, a notebook computer, a sound, a game machine, or a desktop. And determining a gradual change mode according to the volume information played by other equipment, wherein the larger the volume information played by other equipment is, the larger the gradual change adjustment amplitude of the gradual change mode is.
According to the embodiment, the sound of the video played by the terminal equipment needs to be adjusted by combining the volume information played by other equipment in the terminal equipment environment, the influence of the playing of other equipment on the sound of the video played by the terminal equipment is considered, the sound of the video played by the terminal equipment is adjusted according to the played sound in a targeted manner, the sound can be adjusted more accurately, and the precision and accuracy of sound adjustment of video playing are improved.
In an embodiment of the present application, referring to fig. 8, the method further includes:
step S101, receiving long-time pressing operation based on a touch screen of terminal equipment;
step S102, after long-time pressing operation, determining volume adjustment information of a played video based on finger sliding track information of the long-time pressing operation, wherein the volume adjustment information is larger as the sliding track is longer;
and step S103, adjusting the volume information of the played video according to the volume adjusting information.
In this embodiment, the user can adjust the volume information of the played video in a software manner, rather than in a physical key manner, and the user can adjust the volume in a touch adjustment manner, so that the user can perceive how large the volume is adjusted according to touch operation, and the user can accurately control the adjustment range without causing discomfort influence caused by too large or too small sound. Optionally, when the user needs to manually adjust the sound volume, the user can directly use a finger to press the full screen interface for a long time to adjust the sound volume by moving up and down, and the adjusted sound volume is determined by the length of the sliding track, so that the user can control the volume by operating the length of the sliding track, and the sound volume of the played video can be accurately controlled.
Optionally, in an embodiment, the step of determining the volume adjustment information of the played video based on the finger sliding track information of the long-press operation includes; determining the volume adjustment amplitude and the volume adjustment direction according to the sliding track information of the long press operation; adjusting the volume information of the played video according to the volume adjustment information comprises: and adjusting the volume information of the played video according to the adjustment direction and the adjustment amplitude. For example, when the user slides upwards, the volume is increased, and when the user slides upwards, the volume is increased according to the length of the sliding track; when sliding downwards, the volume is turned down according to the length of the sliding track. It is understood that when there are multiple sliding, some sliding of the multiple sliding can be selected as the touch operation of the sound volume to be finally adjusted according to the length of the interval time, if the interval time is too long (exceeds a preset interval, such as 1s or 0.5s), the adjustment is divided into several times, and each adjustment is adjusted according to the direction of the first adjustment, and if the detection time is longer (exceeds 2s or 3s), the direction of each adjustment is determined according to the actual sliding direction.
The embodiment provides a mode of adjusting the volume by a user with software through sliding touch operation, and the mode is finished in a mode of no longer adopting physical keys, and the adjusted volume can be known according to the sliding operation, so that the volume adjustment is more accurate and reasonable, and the condition of mistakenly adjusting or increasing or decreasing can not be caused.
In an embodiment of the present application, referring to fig. 9, the step of adjusting the volume information of the played video in a gradual change manner includes:
step S14, determining the type of the sound to be played in the played video;
step S15, determining the gradient mode of each sound according to the type;
step S16, adjusting the volume information of the corresponding type of sound according to the determined gradient mode.
In this embodiment, the difference from the above determination of the gradual change mode is that in the present application, the gradual change mode of each sound is made according to different sounds or different types of sounds in the played video, for example, the sounds of animals are gradually changed to a fixed value mode, the human voice is adjusted by a change value, the types of different sounds are determined, then the gradual change modes of different types of sounds are determined, and the sounds of the played video are adjusted according to the respective gradual change modes.
In other embodiments of the application, feedback sounds of a user in video playing are received, sounds related to sounds of the played video are extracted according to the feedback sounds, if the sounds are related, the adjustment range of the gradual change mode of the related sounds is increased, so that the sounds of the part interested by the user are adjusted in place more quickly, the accuracy of targeted sound adjustment is improved, and the sound adjustment of the played video is more reasonable and accurate.
Different gradual change adjustment modes are provided through the difference of the types of the sound in the video, so that different adjustments can be made for different sounds, and the accuracy of sound adjustment is improved.
The present application also proposes a sound control apparatus for video playback, referring to fig. 10, the apparatus including: the adjustment module (10) is provided with a plurality of adjusting modules,
the adjusting module 10 is configured to adjust volume information of a played video in a gradual change manner in response to a video playing action executed by the terminal device;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
Further, the adjusting module 10 is further configured to enable a camera to obtain distance information between the face of the user and the mobile phone; determining the adjustment amplitude of the gradual change mode according to the distance information; and gradually adjusting the volume information of the played video according to the adjustment amplitude corresponding to each distance information.
Further, the adjusting module 10 is further configured to enable a camera to obtain distance information between the face of the user and the mobile phone in the video playing process; determining volume adjustment information of the played video according to the distance information; and adjusting the volume information of the sound in the played video according to the volume adjustment information, wherein after the volume information of the sound in the played video is adjusted, the sound in the played video is adjusted to the target volume.
Further, referring to fig. 11, the apparatus further includes: the acquisition module 20 and the determination module 30,
the obtaining module 20 is configured to obtain scene information where the terminal device is currently located;
the determining module 30 is configured to determine a gradual change mode according to the scene information.
Further, the determining module 30 is further configured to determine the ambient volume information where the terminal device is located; and determining a gradual change mode according to the environment volume information, wherein the larger the environment volume information is, the larger the gradual change adjustment amplitude of the gradual change mode is.
Further, the determining module 30 is further configured to determine environment information where the terminal device is located; determining volume information played by other equipment in the environment information; and determining a gradual change mode according to the volume information played by other equipment, wherein the larger the volume information played by other equipment is, the larger the gradual change adjustment amplitude of the gradual change mode is.
Further, referring to fig. 12, the apparatus further includes: the reception means (40) is provided with a receiving means,
the receiving module 40 is configured to receive a long-press operation based on a touch screen of a terminal device;
the determining module 30 is further configured to determine, after the long-press operation, volume adjustment information of the played video based on the finger sliding track information of the long-press operation, where the volume adjustment information is larger as the sliding track is longer;
the adjusting module 10 is further configured to adjust the volume information of the played video according to the volume adjusting information.
Further, the determining module 30 is further configured to determine a volume adjusting amplitude and a volume adjusting direction according to the sliding track information of the long press operation; adjusting the volume information of the played video according to the volume adjustment information comprises: and adjusting the volume information of the played video according to the adjustment direction and the adjustment amplitude.
Further, the adjusting module 10 is further configured to determine a type of a sound to be played in the played video; determining a gradual change mode of each sound according to the category; and correspondingly adjusting the volume information of the corresponding type of sound according to the determined gradual change mode.
The present application also proposes a terminal, where the terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the following steps:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
The terminal is provided with a display device and a sound device, and the display device calls a computer program through a processor to complete the adjustment of the gradual change mode of the sound device when displaying the video to be played. The terminal of this application is through monitoring the action whether there is video broadcast in the terminal equipment earlier, when having the broadcast action, the video volume of broadcast is adjusted through gradual change mode, rather than adopting the mode of physical button or a virtual silence button, the sound of video broadcast is adjusted to the operation that only can open or close the silence, take gradual change mode, sound can not be very big once or very little once, can produce less impact to the sense of hearing, and then make terminal equipment regulation sound that can be better at the video in-process of broadcast, make the sound adjustment more accurate reasonable.
Other embodiments of this application still provide other terminals, other terminals and the terminal communication connection of above-mentioned embodiment, other terminals carry out corresponding action under the control of above-mentioned terminal, promptly, other terminals can be regarded as the sub terminal of terminal, when having monitored video broadcast, the terminal carries out video broadcast action in response to other terminals, controls other terminals and adjusts the volume information of the video of broadcast according to the mode of gradual change, perhaps the terminal has confirmed the gradual change mode, and other terminals are controlled and are accomplished the regulation of sound according to the mode of gradual change. The other terminal may be one or more.
In an embodiment, the terminal may receive a gradual change mode sent by another terminal, and adjust volume information of a played video, so that sound adjustment is completed in an interactive mode, and adjustment of sound of videos played in different modes is provided.
The present application also proposes a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, realizes the steps of:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While alternative embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (12)

1. A method for controlling sound in video playback, the method comprising the steps of:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
2. The method of claim 1, wherein the step of adjusting the volume information of the played video in a gradual manner comprises:
starting a camera to acquire distance information between the face of a user and a mobile phone;
determining the adjustment amplitude of the gradual change mode according to the distance information;
and gradually adjusting the volume information of the played video according to the adjustment amplitude corresponding to each distance information.
3. The method of claim 1, further comprising:
in the video playing process, starting a camera to acquire distance information between the face of a user and a mobile phone;
determining volume adjustment information of the played video according to the distance information;
and adjusting the volume information of the sound in the played video according to the volume adjustment information, wherein after the volume information of the sound in the played video is adjusted, the sound in the played video is adjusted to the target volume.
4. The method of claim 1, wherein the step of adjusting the volume information of the played video in a gradual manner is preceded by the step of:
acquiring scene information of a terminal device at present;
and determining a gradual change mode according to the scene information.
5. The method of claim 1, wherein the step of adjusting the volume information of the played video in a gradual manner is preceded by the step of:
determining the environmental volume information of the terminal equipment;
and determining a gradual change mode according to the environment volume information, wherein the larger the environment volume information is, the larger the gradual change adjustment amplitude of the gradual change mode is.
6. The method of claim 1, wherein the step of adjusting the volume information of the played video in a gradual manner is preceded by the step of:
determining the environmental information of the terminal equipment;
determining volume information played by other equipment in the environment information;
and determining a gradual change mode according to the volume information played by other equipment, wherein the larger the volume information played by other equipment is, the larger the gradual change adjustment amplitude of the gradual change mode is.
7. The method of any of claims 1 to 6, further comprising:
receiving long-time pressing operation based on a touch screen of the terminal equipment;
after the long-press operation, determining volume adjustment information of the played video based on finger sliding track information of the long-press operation, wherein the volume adjustment information is larger as the sliding track is longer;
and adjusting the volume information of the played video according to the volume adjustment information.
8. The sound control method for video playback according to claim 7, wherein the step of determining the volume adjustment information of the played video based on the finger sliding trajectory information of the long press operation includes;
determining the volume adjustment amplitude and the volume adjustment direction according to the sliding track information of the long press operation;
adjusting the volume information of the played video according to the volume adjustment information comprises:
and adjusting the volume information of the played video according to the adjustment direction and the adjustment amplitude.
9. The method of claim 1, wherein the step of adjusting the volume information of the played video in a gradual manner comprises:
determining the type of sound to be played in the played video;
determining a gradual change mode of each sound according to the category;
and correspondingly adjusting the volume information of the corresponding type of sound according to the determined gradual change mode.
10. A sound control apparatus for video playback, the apparatus comprising: the adjustment module is used for adjusting the position of the optical fiber,
the adjusting module is used for responding to the video playing action executed by the terminal equipment and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
11. A terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
12. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of:
responding to the terminal equipment to execute the video playing action, and adjusting the volume information of the played video in a gradual change mode;
the executing the play action comprises: and executing the action of starting video playing or executing the action of ending video playing.
CN202010434265.8A 2020-05-20 2020-05-20 Sound control method, device, terminal and storage medium for video playing Pending CN111580780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010434265.8A CN111580780A (en) 2020-05-20 2020-05-20 Sound control method, device, terminal and storage medium for video playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010434265.8A CN111580780A (en) 2020-05-20 2020-05-20 Sound control method, device, terminal and storage medium for video playing

Publications (1)

Publication Number Publication Date
CN111580780A true CN111580780A (en) 2020-08-25

Family

ID=72123219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010434265.8A Pending CN111580780A (en) 2020-05-20 2020-05-20 Sound control method, device, terminal and storage medium for video playing

Country Status (1)

Country Link
CN (1) CN111580780A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131749A1 (en) * 2008-11-27 2010-05-27 Samsung Electronics Co., Ltd Apparatus and method for controlling operating mode of mobile terminal
CN107231471A (en) * 2017-05-15 2017-10-03 努比亚技术有限公司 In Call method of adjustment, mobile terminal and storage medium
CN107371102A (en) * 2017-08-18 2017-11-21 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN108647005A (en) * 2018-05-15 2018-10-12 努比亚技术有限公司 Audio frequency playing method, mobile terminal and computer readable storage medium
CN109144466A (en) * 2018-08-31 2019-01-04 广州三星通信技术研究有限公司 audio device control method and device
CN109471608A (en) * 2018-10-31 2019-03-15 北京羽扇智信息科技有限公司 A kind of method of adjustment and device of volume
US10514888B1 (en) * 2018-10-05 2019-12-24 Oracle International Corporation User-adaptive volume selection
CN111104090A (en) * 2019-12-31 2020-05-05 云知声智能科技股份有限公司 Volume adjustment method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131749A1 (en) * 2008-11-27 2010-05-27 Samsung Electronics Co., Ltd Apparatus and method for controlling operating mode of mobile terminal
CN107231471A (en) * 2017-05-15 2017-10-03 努比亚技术有限公司 In Call method of adjustment, mobile terminal and storage medium
CN107371102A (en) * 2017-08-18 2017-11-21 广东欧珀移动通信有限公司 Control method, device and the storage medium and mobile terminal of audio broadcast sound volume
CN108647005A (en) * 2018-05-15 2018-10-12 努比亚技术有限公司 Audio frequency playing method, mobile terminal and computer readable storage medium
CN109144466A (en) * 2018-08-31 2019-01-04 广州三星通信技术研究有限公司 audio device control method and device
US10514888B1 (en) * 2018-10-05 2019-12-24 Oracle International Corporation User-adaptive volume selection
CN109471608A (en) * 2018-10-31 2019-03-15 北京羽扇智信息科技有限公司 A kind of method of adjustment and device of volume
CN111104090A (en) * 2019-12-31 2020-05-05 云知声智能科技股份有限公司 Volume adjustment method and device

Similar Documents

Publication Publication Date Title
CN108235086B (en) Video playing control method and device and corresponding terminal
CN110248251B (en) Multimedia playing method and terminal equipment
US20220159323A1 (en) Method for pre-loading content data, and electronic device
CN106412706B (en) Control method, device and its equipment of video playing
CN106921791B (en) Multimedia file storage and viewing method and device and mobile terminal
US20180039403A1 (en) Terminal control method, terminal, and storage medium
CN106303733B (en) Method and device for playing live special effect information
CN107831989A (en) A kind of Application Parameters method of adjustment and mobile terminal
US10949462B2 (en) Audio identification method and apparatus, and computer storage medium
CN108848313B (en) Multi-person photographing method, terminal and storage medium
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
US20140075315A1 (en) Media reproduction control arrangement and method
CN107423063A (en) Multiwindow processing method, device and equipment
CN106802808A (en) Suspension button control method and device
US20190370584A1 (en) Collecting fingerprints
CN107515669A (en) Display methods and device
EP3428790A1 (en) Method and device for displaying application interface
CN111770374B (en) Video playing method and device
CN113672303A (en) Application program starting method, electronic equipment and storage medium
CN108920266B (en) Program switching method, intelligent terminal and computer readable storage medium
CN110737784A (en) Application program control method and electronic equipment
CN108073291B (en) Input method and device and input device
CN112346571A (en) Equipment control method and device and storage medium
CN111049977B (en) Alarm clock reminding method and electronic equipment
EP4125274A1 (en) Method and apparatus for playing videos

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