CN113079332A - Mobile terminal and screen recording method thereof - Google Patents

Mobile terminal and screen recording method thereof Download PDF

Info

Publication number
CN113079332A
CN113079332A CN202110282002.4A CN202110282002A CN113079332A CN 113079332 A CN113079332 A CN 113079332A CN 202110282002 A CN202110282002 A CN 202110282002A CN 113079332 A CN113079332 A CN 113079332A
Authority
CN
China
Prior art keywords
volume
audio stream
mobile terminal
acquired
microphone
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.)
Granted
Application number
CN202110282002.4A
Other languages
Chinese (zh)
Other versions
CN113079332B (en
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202110282002.4A priority Critical patent/CN113079332B/en
Publication of CN113079332A publication Critical patent/CN113079332A/en
Application granted granted Critical
Publication of CN113079332B publication Critical patent/CN113079332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application discloses a mobile terminal and a screen recording method thereof, and relates to the technical field of audio processing. The mobile terminal can adjust the volume of the collected audio stream to the initial volume in the screen recording process, and can also adjust the volume of the collected audio stream to the target volume in response to the volume adjusting instruction. The mobile terminal provided by the application supports adjustment of the volume of the acquired audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.

Description

Mobile terminal and screen recording method thereof
Technical Field
The application relates to the technical field of audio processing, in particular to a mobile terminal and a screen recording method thereof.
Background
The mobile terminal may record (i.e., record) the screen to obtain a screen recording file.
In the related art, after receiving a screen recording instruction, the mobile terminal may acquire image data of a screen of the mobile terminal, and may acquire an audio stream with a fixed volume through a microphone of the mobile terminal. Thereafter, the mobile terminal may synthesize the image data and the audio stream to obtain a screen-recorded file. Wherein the fixed volume is a default volume pre-stored in the mobile terminal.
However, the flexibility of the screen recording mode is low.
Disclosure of Invention
The application provides a mobile terminal and a screen recording method thereof, which can solve the problem of low flexibility of screen recording modes of the mobile terminal in the related art. The technical scheme is as follows:
in one aspect, a mobile terminal is provided, and the mobile terminal includes: a processor; the processor is configured to:
in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to initial volume;
receiving a volume adjustment instruction for instructing to adjust the volume to a target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream acquired after receiving the volume adjustment instruction to the target volume;
and synthesizing the acquired audio stream with the image data acquired by recording the screen.
Optionally, the audio stream collected by the mobile terminal includes: and the audio stream is collected through a microphone of the mobile terminal, and/or the audio stream in a playing state in the mobile terminal.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by the microphone and the audio stream in the playing state; the processor is configured to:
adjusting the volume of an audio stream collected by the microphone to a first initial volume;
adjusting the volume of the audio stream in the playing state to a second initial volume;
wherein the second initial volume is different from the first initial volume.
Optionally, the audio stream collected by the mobile terminal includes: the volume adjusting instruction is used for indicating that the volume of the audio stream collected by the microphone is adjusted to a first target volume and the volume of the audio stream in the playing state is adjusted to a second target volume; the processor is configured to:
adjusting the volume of an audio stream collected by the microphone after receiving the volume adjustment instruction to the first target volume in response to the volume adjustment instruction;
in response to the volume adjustment instruction, adjusting the volume of the audio stream in the playing state, which is acquired after the volume adjustment instruction is received, to the second target volume;
wherein the second target volume is different from the first target volume.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by the microphone and the audio stream in the playing state; the processor is configured to:
synthesizing the audio stream collected by the microphone and the audio stream in the playing state to obtain a mixed audio stream;
and synthesizing the mixed audio stream with image data obtained by recording the screen.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by the microphone and the audio stream in the playing state; the processor is further configured to:
in the process of recording the screen, if a first acquisition stopping instruction aiming at the microphone is received, stopping acquiring the audio stream through the microphone;
and if a second acquisition stopping instruction aiming at the audio stream in the playing state is received, stopping acquiring the audio stream in the playing state.
Optionally, the mobile terminal further includes a display screen; the processor is configured to:
responding to a volume setting instruction, controlling the display screen to display a volume adjusting control, wherein the volume adjusting control comprises a sliding bar and a sliding block positioned on the sliding bar, and the position of the sliding block on the sliding bar is used for indicating the volume;
and receiving a volume adjusting instruction triggered by touch operation aiming at the volume adjusting control, wherein the volume corresponding to the action position of the touch operation is the target volume.
In another aspect, a mobile terminal is provided, which includes: a processor and a microphone; the processor is configured to:
responding to a screen recording instruction, acquiring a first audio stream through the microphone, and acquiring a second audio stream in a playing state in the mobile terminal;
if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream acquired after the first volume adjustment instruction is received to the first target volume;
if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to a second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume;
and synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
In another aspect, a screen recording method of a mobile terminal is provided, where the method includes:
in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to initial volume;
receiving a volume adjustment instruction for instructing to adjust the volume to a target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream acquired after receiving the volume adjustment instruction to the target volume;
and synthesizing the acquired audio stream with the image data acquired by recording the screen.
Optionally, the audio stream collected by the mobile terminal includes: and the audio stream is collected through a microphone of the mobile terminal, and/or the audio stream in a playing state in the mobile terminal.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by the microphone and the audio stream in the playing state; the adjusting the volume of the acquired audio stream to the initial volume comprises:
adjusting the volume of an audio stream collected by the microphone to a first initial volume;
adjusting the volume of the audio stream in the playing state to a second initial volume;
wherein the second initial volume is different from the first initial volume.
In still another aspect, a screen recording method for a mobile terminal is provided, where the mobile terminal includes a microphone; the method comprises the following steps:
responding to a screen recording instruction, acquiring a first audio stream through the microphone, and acquiring a second audio stream in a playing state in the mobile terminal;
if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream acquired after the first volume adjustment instruction is received to the first target volume;
if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to a second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume;
and synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
In still another aspect, a mobile terminal is provided, which includes: the mobile terminal comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the screen recording method of the mobile terminal.
In still another aspect, a computer-readable storage medium is provided, in which a computer program is stored, the computer program being loaded and executed by a processor to implement the screen recording method of the mobile terminal according to the above aspect.
In still another aspect, a computer program product containing instructions is provided, which when run on the computer, causes the computer to execute the screen recording method of the mobile terminal according to the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the application provides a mobile terminal and a screen recording method thereof, wherein the mobile terminal can adjust the volume of a collected audio stream to initial volume in the screen recording process, and can also respond to a volume adjustment instruction to adjust the volume of the collected audio stream to target volume. The mobile terminal provided by the application supports adjustment of the volume of the acquired audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a screen recording method of a mobile terminal according to an embodiment of the present application;
fig. 2 is a flowchart of another screen recording method of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic interface diagram of a screen recording of a mobile terminal according to an embodiment of the present application;
fig. 4 is a schematic interface diagram of adjusting a volume of a mobile terminal according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of an interface for stopping audio stream collection via a microphone according to an embodiment of the present disclosure;
fig. 6 is a schematic interface diagram of stopping collecting an audio stream in a playing state according to an embodiment of the present application;
fig. 7 is a flowchart of a screen recording method of another mobile terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 9 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a screen recording method of a mobile terminal, which can be applied to the mobile terminal. Optionally, the mobile terminal may be: the mobile terminal may be a mobile phone, a tablet computer or a notebook computer, for example. Referring to fig. 1, the method may include:
step 101, in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to the initial volume.
In the process of recording (namely recording) the screen of the mobile terminal, the mobile terminal can adjust the volume of the acquired audio stream to the initial volume in real time.
Step 102, receiving a volume adjustment instruction for instructing to adjust the volume to the target volume.
In the screen recording process, the mobile terminal can receive a volume adjusting instruction. The volume adjustment instruction may be used to instruct adjustment of the volume of the captured audio stream to a target volume.
And 103, responding to the volume adjusting instruction, and adjusting the volume of the audio stream acquired after the volume adjusting instruction is received to the target volume.
After receiving the volume adjusting instruction, the mobile terminal can respond to the volume adjusting instruction and adjust the volume of the acquired audio stream to the target volume in real time.
And 104, synthesizing the acquired audio stream with image data acquired by recording the screen.
The mobile terminal can synthesize the acquired audio stream and the image data acquired by recording the screen in real time, so that a screen recording file is obtained. Wherein the audio stream for synthesizing with the image data is a volume-adjusted audio stream.
In summary, the embodiment of the present application provides a screen recording method for a mobile terminal, where the mobile terminal may adjust the volume of a collected audio stream to an initial volume in a screen recording process, and may also adjust the volume of the collected audio stream to a target volume in response to a volume adjustment instruction. The mobile terminal provided by the embodiment of the application supports adjustment of the volume of the acquired audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
Fig. 2 is a flowchart of another screen recording method of a mobile terminal according to an embodiment of the present application, where the method may be applied to a mobile terminal. Referring to fig. 2, the method may include:
step 201, in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to the initial volume.
In the process of recording the screen of the mobile terminal, the mobile terminal can adjust the volume of the collected audio stream to the initial volume in real time.
The initial volume may be determined by the mobile terminal in response to a volume setting operation of the user before screen recording, or may be a default volume pre-stored in the mobile terminal. The volume of the collected audio stream may be a system volume of the mobile terminal, and the system volume may refer to a current volume of a speaker of the mobile terminal. That is, the mobile terminal may adjust the volume of the acquired audio stream from the system volume to the initial volume.
The audio stream collected by the mobile terminal may include: an audio stream captured by a microphone of the mobile terminal, and/or an audio stream in a play state in the mobile terminal (may also be referred to as a system audio stream). That is, in the process of recording the screen, the mobile terminal may collect the audio stream through the microphone, and/or collect the audio stream in the playing state in the mobile terminal.
For example, the audio stream captured by the mobile terminal may include: the audio stream collected by the microphone and the audio stream which is stored in the mobile terminal in advance and is in a playing state. In the process of recording the screen, the mobile terminal can acquire the audio stream through the microphone and can acquire the audio stream in the playing state in the mobile terminal.
Optionally, the audio stream in the playing state may include at least one audio stream.
In this embodiment of the present application, if the audio stream collected by the mobile terminal includes: through the audio stream collected by the microphone and the audio stream in the playing state, the process of the mobile terminal adjusting the volume of the collected audio stream to the initial volume may include:
the mobile terminal adjusts the volume of the audio stream collected by the microphone to a first initial volume, and adjusts the volume of the collected audio stream in the playing state to a second initial volume. Wherein the second initial volume may be different from the first initial volume.
Therefore, the mobile terminal provided by the embodiment of the application supports adjusting the volume of the audio stream collected by the microphone and the volume of the collected audio stream in the playing state to different volumes. Therefore, the screen recording flexibility of the mobile terminal is further improved, the playing effect of the subsequently synthesized screen recording file can be ensured, and the user experience is effectively improved.
For a scene in which the audio stream in the playing state includes a plurality of audio streams, the mobile terminal may adjust the volumes of the plurality of audio streams to the second initial volume. I.e. the adjusted volume of the plurality of audio streams in the playing state is the same.
In the embodiment of the present application, the volume is determined by the amplitude (i.e., amplitude) of the vibration of the object, and the larger the amplitude is, the larger the volume is; the smaller the amplitude, the smaller the volume. Based on this, the process of the mobile terminal adjusting the audio collected by the microphone to the first initial volume and adjusting the volume of the collected audio stream in the playing state to the second initial volume may include:
the mobile terminal determines a first initial amplitude corresponding to the first initial volume and determines a second initial amplitude corresponding to the second initial volume based on a relationship between the volume and the amplitude which is stored in advance. Then, the mobile terminal may adjust the amplitude of the audio stream collected by the microphone to a first initial amplitude during the screen recording process, and may adjust the amplitude of the collected audio stream in the playing state to a second initial amplitude.
In the embodiment of the application, a screen recording application can be installed in the mobile terminal. After the mobile terminal runs the screen recording application, a first selection control for acquiring the audio stream through the microphone and a second selection control for acquiring the system audio stream can be displayed. Optionally, the first selection control and the second selection control may be switch controls.
If the user selects the first selection control, the mobile terminal may load audio parameters (such as a sampling rate, a bit rate, and the like) for a process of acquiring an audio stream by using a microphone after a screen recording is started (i.e., a screen recording instruction is received) in response to a selection operation of the user for the first selection control, that is, the process of acquiring an audio stream by using a microphone is initialized, and an audio stream is acquired by using a microphone after the initialization is completed. If the user selects the second selection control, the mobile terminal may respond to a selection operation of the user for the second selection control, initialize a process of acquiring the audio stream in the playing state after the screen recording is started, and acquire the audio stream in the playing state after the initialization is completed. If the mobile terminal selects the first selection control and the second selection control, the mobile terminal may respond to the selection operation of the user for the first selection control and the second selection control, initialize the process of acquiring the audio stream through the microphone and the process of acquiring the audio stream in the playing state after the screen recording is started, acquire the audio stream through the microphone after the initialization is completed, and acquire the audio stream in the playing state.
In this embodiment, after the screen recording starts, the mobile terminal may collect an audio stream collected by the microphone from a first buffer (also referred to as a first buffer queue), and adjust the volume of the audio stream collected from the first transfer area to a first initial volume. And, the mobile terminal may further collect an audio stream in a playing state from a second buffer (also referred to as a second buffer queue), and adjust a volume of the audio stream collected from the second buffer to a second initial volume.
For example, it is assumed that the first selection control and the second selection control are both switch controls, and the first initial volume and the second initial volume are both default volumes. Referring to fig. 3, the user touches the application identifier of the screen recording application in the mobile terminal. Correspondingly, the mobile terminal can respond to the touch operation of the user for the application identifier, and the floating window is displayed on the desktop of the mobile terminal. A screen recording control 01 and a setting control 02 may be displayed in the floating window.
The user touches the setting control 02, and accordingly, the mobile terminal can respond to the selection operation of the user for the setting control 02, and display the first switch control 03 acquired by the microphone and the second switch control 04 for acquiring the system audio stream.
The user touches the first switch control 03 and the second switch control 04. Correspondingly, the mobile terminal may determine to acquire the audio stream through the microphone after the screen recording starts in response to the touch operation of the user on the first switch control 03 and the second switch control 04, and acquire the audio stream in the playing state in the mobile terminal.
After completing the setting of the sound source (i.e., the above-mentioned collecting by the microphone and the system audio stream collecting), the user can touch the screen recording control 01 in the floating window. Correspondingly, the mobile terminal can respond to a screen recording instruction triggered by the touch operation of the user on the screen recording control 01 to start screen recording, adjust the volume of the audio stream acquired by the microphone to a first initial volume in real time in the screen recording process, and adjust the volume of the acquired system audio stream to a second initial volume.
After the screen recording is started, the mobile terminal can display an interface in the screen recording process in the floating window. Referring to fig. 3, the interface during the screen recording process displays a setting control 02, a pause control 05, and a current recording duration T (in this case, T is 00:00:10, i.e., 10 seconds).
In addition, as can be seen from fig. 3, applications for users to enjoy leisure, such as reading applications, music applications, chat applications, video applications, game applications, and applications for providing basic services to users, such as applications for calls, short messages, address books, browsers, clocks, cameras, galleries, and settings, may be installed in the mobile terminal. Also, the mobile terminal 110 may display the current time, the current weather, and the temperature.
Step 202, receiving a volume adjustment instruction for instructing to adjust the volume to the target volume.
In the screen recording process, the mobile terminal can receive a volume adjusting instruction. The volume adjustment instruction may be used to instruct real-time adjustment of the volume of the captured audio stream to a target volume.
Optionally, the process of the mobile terminal receiving the volume adjustment instruction for instructing to adjust the volume to the target volume may include:
the mobile terminal receives the volume setting instruction firstly and responds to the volume setting instruction to display the volume adjusting control. The volume adjustment control may include a slider and a slider located on the slider, and a position of the slider on the slider may be used to indicate a volume level.
Then, the user can touch the volume adjustment control, and correspondingly, the mobile terminal receives a volume adjustment instruction triggered by the touch operation of the user on the volume adjustment control. And the volume corresponding to the action position of the touch operation is the target volume.
In the embodiment of the application, a user can touch any position on the slider of the volume adjustment control. Accordingly, the mobile terminal may receive a volume adjustment instruction triggered by the touch operation. Alternatively, the user may drag the slider to move on the slider bar. After stopping moving the slider, the mobile terminal may receive a volume adjustment command triggered by the moving operation.
Optionally, for a scene in which the captured audio stream includes the audio stream captured by the microphone and the system audio stream, the mobile terminal may display, in response to the volume setting instruction, a first volume adjustment control for adjusting the volume of the audio stream captured by the microphone and a second volume adjustment control for adjusting the volume of the system audio stream.
And step 203, responding to the volume adjusting instruction, and adjusting the volume of the audio stream acquired after receiving the volume adjusting instruction to the target volume.
After receiving the volume adjusting instruction, the mobile terminal can respond to the volume adjusting instruction and adjust the volume of the audio stream acquired after receiving the volume instruction to the target volume in real time. That is, the mobile terminal may adjust the volume of the audio stream collected after receiving the volume instruction to the target volume from the system volume.
In this embodiment of the present application, if the audio stream collected by the mobile terminal includes: through the audio stream collected by the microphone and the audio stream in the playing state, the process of the mobile terminal adjusting the volume of the collected audio stream to the target volume may include:
the mobile terminal may adjust, in response to the volume adjustment instruction, the volume of the audio stream collected through the microphone after receiving the volume adjustment instruction to a first target volume, and may adjust, in response to the volume adjustment instruction, the volume of the audio stream in the play state collected after receiving the volume adjustment instruction to a second target volume. Wherein the second target volume may be different from the first target volume.
Therefore, the mobile terminal provided by the embodiment of the application can adjust the volume of the audio stream acquired by the microphone in the screen recording process, adjust the volume of the acquired audio stream in the playing state, and adjust the volume of the audio stream and the volume of the audio stream in the playing state to different volumes. Therefore, the screen recording flexibility of the mobile terminal is effectively improved, and the user experience can be improved.
Optionally, for a scene in which the audio stream in the playing state includes multiple audio streams, the mobile terminal may adjust the volumes of the multiple audio streams collected after receiving the volume adjustment instruction to the second target volume.
In this embodiment of the application, the process of adjusting the volume of the audio stream collected by the microphone to the first target volume and adjusting the volume of the audio stream in the playing state to the second target volume by the mobile terminal may include:
the mobile terminal may determine a first target amplitude corresponding to the first target volume and determine a second target amplitude corresponding to the second target volume based on a relationship between the volume and the amplitude stored in advance. After that, the mobile terminal may adjust the amplitude of the audio stream collected by the microphone to a first target amplitude after receiving the volume adjustment instruction, and may adjust the amplitude of the collected audio stream in the playing state to a second target amplitude.
For example, the mobile terminal may store a correspondence relationship between the system volume, the target volume, and the amplitude scaling factor in advance. The mobile terminal may determine a first scaling factor corresponding to the first target volume from the corresponding relationship based on the first target volume and the current system volume of the mobile terminal, and may determine a second scaling factor corresponding to the second target volume from the corresponding relationship based on the second target volume and the current system volume.
Thereafter, the mobile terminal may multiply the amplitude of the audio stream collected by the microphone by the first scaling factor, thereby adjusting the volume of the audio stream collected by the microphone to a first target volume. And the mobile terminal may multiply the amplitude of the collected audio stream in the playing state by the second scaling factor, so as to adjust the volume of the collected audio stream in the playing state to a second target volume.
Optionally, for a scene in which the volume adjustment instruction is triggered by a touch operation for the volume adjustment control, before adjusting the volume of the acquired audio stream to the target volume, the mobile terminal may further determine, in response to the volume adjustment instruction, the volume corresponding to the action position of the touch operation as the target volume.
In addition, in this scenario, if the volume adjustment instruction is triggered by a touch operation on a slider of the volume adjustment control, the mobile terminal may further move the slider from the previous position to the action position in response to the volume adjustment instruction.
For example, assuming that the volume adjustment instruction received by the mobile terminal is triggered by the user touching any position on the slider bar, referring to fig. 4, in the screen recording process, the user touches the setting control 02. Accordingly, the mobile terminal may receive a volume setting instruction triggered by a touch operation of the user on the setting control 02, and may display the first volume adjustment control 06 and the second volume adjustment control 07 in response to the volume setting instruction. The first volume adjustment control 06 may include a first slider 061 and a first slider 062 disposed on the first slider 061. The second volume adjustment control 07 may include a second slider bar 071 and a second slider 072 located on the second slider bar 071.
As can be seen from fig. 3, the first slider 062 is now located at position x1 on the first slider bar 061, and the second slider 072 is located at position y1 on the second slider bar 071.
The user touches the second slider 071 of the second volume adjustment control 07, and the active position of the touch operation is position y2 shown in fig. 3. Accordingly, the mobile terminal receives a volume adjustment instruction triggered by the user for the touch operation, and may move the second slider 072 from the position y1 to the position y2 of the second slider 071 in response to the volume adjustment instruction. And, the mobile terminal may further determine the volume corresponding to the position y2 as a second target volume, and may adjust the volume of the audio stream in the playing state, which is acquired after receiving the volume adjustment instruction, to the second target volume.
In the same operation as for the second volume adjustment control 07, as shown in fig. 3, the touch position of the user with respect to the first slider 061 of the first volume adjustment control 06 is position x 2. Accordingly, the mobile terminal may receive a volume adjustment instruction by a touch operation of the user, and may move the first slider 062 from the position x1 of the first slider bar 061 to the position x2 in response to the volume adjustment instruction. And, the mobile terminal may further determine the volume corresponding to the position x2 as the first target volume, and may adjust the volume of the audio stream captured by the microphone after receiving the volume adjustment instruction to the first target volume.
And step 204, synthesizing the acquired audio stream with image data acquired by recording the screen.
The mobile terminal can synthesize the acquired audio stream with the image data acquired by recording the screen in real time, so that a screen recording file is obtained. Wherein the audio stream for synthesizing with the image data is a volume-adjusted audio stream.
In this embodiment of the application, for a scene in which the acquired audio stream includes an audio stream acquired by a microphone and an audio stream in a playing state, the mobile terminal may synthesize the audio stream acquired by the microphone and the audio stream in the playing state in real time to obtain a mixed audio stream. And then, the mobile terminal can synthesize the mixed audio stream and the image data obtained by recording the screen to obtain a screen recording file.
Optionally, after obtaining the mixed audio stream, the mobile terminal may perform compression coding on the mixed audio stream by using an audio encoder in the mobile terminal. Then, the mobile terminal may use a media synthesizer therein to encapsulate the compressed and encoded mixed audio stream and the image data into a playable video file, thereby obtaining a screen recording file.
In the embodiment of the application, after the screen recording is started, the mobile terminal acquires the audio stream through the microphone and acquires the audio stream which is stored in advance and is in a playing state. That is, after the screen recording is started, the audio stream collected by the mobile terminal includes: audio streams collected by a microphone and audio streams in a play state. The mobile terminal may also perform the following steps during the recording process.
Step 205, in the process of recording the screen, if a first acquisition stopping instruction for the microphone is received, stopping acquiring the audio stream by the microphone.
In the process of recording the screen, if the mobile terminal receives a first acquisition stopping instruction for the microphone, the mobile terminal may stop acquiring the audio stream through the microphone in response to the first acquisition stopping instruction.
Alternatively, the mobile terminal may turn off the microphone in response to the first stop collecting instruction, thereby stopping collecting the audio stream through the microphone.
Optionally, the mobile terminal may display a first selection control acquired by the microphone in the screen recording process, and may detect whether a deselection operation for the first selection control is received. If the mobile terminal receives the deselection operation, a first acquisition stopping instruction triggered by the deselection operation may be received.
For example, assuming that the first selection control is a switch control, referring to fig. 5, the user touches a setting control 02 included in an interface displayed during the screen recording process. Accordingly, the mobile terminal may display the first switch control 03 in response to the touch operation for the setting control 02. As shown in fig. 5, the first switch control 03 is in an open state at this time.
Thereafter, the user can touch the first switch control 03 in the open state. Accordingly, the mobile terminal may receive a first acquisition stopping instruction triggered by a touch operation of the user on the first switch control 03, and may stop acquiring the audio stream through the microphone in response to the first acquisition stopping instruction.
Step 206, in the process of recording the screen, if a second acquisition stopping instruction for the audio stream in the playing state is received, stopping acquiring the audio stream in the playing state.
In the process of recording the screen, if the mobile terminal receives a second acquisition stopping instruction for the audio stream in the playing state, the acquisition of the audio stream in the playing state may be stopped in response to the second acquisition stopping instruction.
Optionally, the mobile terminal may display a second selection control for acquiring the audio stream of the system in the screen recording process, and may detect whether a deselection operation for the second selection control is received. If the mobile terminal receives the deselection operation, a second acquisition stopping instruction triggered by the deselection operation may be received.
For example, assuming that the second selection control is a switch control, referring to fig. 6, the user touches a setting control 02 included in the interface displayed in the screen recording process. Accordingly, the mobile terminal may display the second switch control 04 in response to the touch operation for the setting control 02. As shown in fig. 6, the second switch control 04 is in an open state at this time.
Thereafter, the user may touch the second switch control 04 in the open state. Correspondingly, the mobile terminal may receive a second acquisition stopping instruction triggered by the touch operation of the user on the second switch control 04, and may stop acquiring the audio stream in the playing state in the mobile terminal in response to the second acquisition stopping instruction.
According to the above description, in the screen recording process, the mobile terminal may flexibly stop collecting the audio stream through the microphone in response to the user operation, and/or stop collecting the audio stream in the playing state. Therefore, the flexibility of recording the screen by the mobile terminal can be effectively improved, and the user experience can be effectively improved.
In the related art, the mobile terminal can only acquire audio streams through a microphone or only acquire system audio streams in the screen recording process, and does not support the adjustment of the volume of the acquired audio streams in the screen recording process, so that the screen recording mode of the mobile terminal is single, the user requirements cannot be met, and the user experience is poor. For example, a user needs to record an operation instruction video of a certain device, and in the recording process, the user needs to add not only background music but also manual explanation audio. In this case, the mobile terminal in the related art cannot satisfy the recording requirement.
In the screen recording process of the mobile terminal provided by the embodiment of the application, the audio stream can be collected through the microphone, and the system audio stream of the mobile terminal can be collected. Therefore, the flexibility of screen recording of the mobile terminal is improved. In addition, the mobile terminal provided by the embodiment of the application can also receive a volume adjustment instruction in the screen recording process, so that the volume of the audio stream acquired after the volume adjustment instruction is received can be adjusted to be different from the volume of the audio stream acquired before the volume adjustment instruction is received. Namely, the mobile terminal provided by the embodiment of the application supports volume adjustment in the screen recording process.
In addition, in the screen recording process of the mobile terminal provided by the embodiment of the application, the acquisition of the system audio stream can be stopped by the microphone in response to the first acquisition stopping instruction, and/or the acquisition of the system audio stream can be stopped in response to the second acquisition stopping instruction. That is, the mobile terminal supports switching of an audio stream for synthesizing with image data acquired during recording. Therefore, the mobile terminal provided by the embodiment of the application has higher flexibility in screen recording, and can meet different requirements of users, so that the user experience is effectively improved.
It should be noted that, the order of the steps of the screen recording method of the mobile terminal provided in the embodiment of the present application may be appropriately adjusted, and the steps may also be increased or decreased according to the situation. For example, step 205 and step 206 may be deleted as appropriate. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the embodiment of the present application provides a screen recording method for a mobile terminal, where the mobile terminal may adjust the volume of a collected audio stream to an initial volume in a screen recording process, and may also adjust the volume of the collected audio stream to a target volume in response to a volume adjustment instruction. The mobile terminal provided by the embodiment of the application supports adjustment of the volume of the acquired audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
Fig. 7 is a flowchart of a screen recording method of a mobile terminal according to an embodiment of the present application, where the method may be applied to a mobile terminal, and the mobile terminal may include a microphone. Referring to fig. 7, the method may include:
step 301, in response to a screen recording instruction, acquiring a first audio stream through a microphone, and acquiring a second audio stream in a playing state in the mobile terminal.
The mobile terminal can respond to the screen recording instruction, start screen recording, acquire a first audio stream through the microphone in the screen recording process, and acquire a second audio stream in a playing state in the mobile terminal.
Step 302, if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream acquired after receiving the first volume adjustment instruction to the first target volume.
In the screen recording process, if the mobile terminal receives a first volume adjustment instruction, the volume of a first audio stream acquired after the first volume adjustment instruction is received can be adjusted to a first target volume from the system volume in response to the first volume adjustment instruction.
Step 303, if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to the second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume.
In the screen recording process, if the mobile terminal receives a second volume adjustment instruction, the volume of a second audio stream acquired after the second volume adjustment instruction is received can be adjusted to a second target volume from the system volume in response to the second volume adjustment instruction.
The second target volume may be the same as or different from the first target volume.
And step 304, synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
The mobile terminal can synthesize the acquired first audio stream and the acquired second audio stream with the image data acquired by recording the screen in real time, so that a screen recording file is obtained. Wherein the first audio stream and the second audio stream for synthesizing with the image data are both audio streams with adjusted volume.
In summary, the embodiment of the present application provides a screen recording method for a mobile terminal, where in a screen recording process, if a first volume adjustment instruction is received, a volume of a collected first audio stream is adjusted to a first target volume; and if a second volume adjusting instruction is received, adjusting the volume of the acquired second audio stream to a second target volume. The mobile terminal provided by the embodiment of the application supports adjustment of the volume of the collected first audio stream and/or the volume of the collected second audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal may be configured to execute the screen recording method of the mobile terminal provided in the foregoing method embodiment, for example, the method shown in fig. 1 or fig. 2. Referring to fig. 8, the mobile terminal 110 may include: a processor 1101. The processor 1101 may be configured to:
in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to initial volume;
receiving a volume adjustment instruction for instructing to adjust the volume to a target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream acquired after receiving the volume adjustment instruction to a target volume;
and synthesizing the acquired audio stream with image data acquired by recording the screen.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by a microphone of the mobile terminal, and/or the audio stream in a playing state in the mobile terminal.
Optionally, the audio stream collected by the mobile terminal includes: audio streams collected by a microphone and audio streams in a play state. The processor 1101 may be configured to:
adjusting the volume of an audio stream collected by a microphone to a first initial volume;
adjusting the volume of the audio stream in the playing state to a second initial volume;
wherein the second initial volume is different from the first initial volume.
Optionally, the audio stream collected by the mobile terminal includes: the audio stream collected by the microphone and the audio stream in the playing state are subjected to volume adjustment instructions, and the volume adjustment instructions are used for indicating that the volume of the audio stream collected by the microphone is adjusted to be a first target volume and the volume of the audio stream in the playing state is adjusted to be a second target volume; the processor 1101 may be configured to:
in response to a volume adjustment instruction, adjusting the volume of an audio stream collected by a microphone after receiving the volume adjustment instruction to a first target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream in the playing state acquired after the volume adjustment instruction is received to a second target volume;
wherein the second target volume is different from the first target volume.
Optionally, the audio stream collected by the mobile terminal includes: audio streams collected by a microphone and audio streams in a play state. The processor 1101 may be configured to:
synthesizing the audio stream collected by the microphone and the audio stream in a playing state to obtain a mixed audio stream;
and synthesizing the mixed audio stream with image data obtained by recording the screen.
Optionally, the audio stream collected by the mobile terminal includes: audio streams collected by a microphone and audio streams in a play state. The processor 1101 may be configured to:
in the process of recording the screen, if a first acquisition stopping instruction aiming at a microphone is received, stopping acquiring the audio stream through the microphone;
and if a second acquisition stopping instruction aiming at the audio stream in the playing state is received, stopping acquiring the audio stream in the playing state.
Optionally, as shown in fig. 8, the mobile terminal may further include a display screen 131. The processor 1101 may be configured to:
responding to a volume setting instruction, controlling a display screen to display a volume adjusting control, wherein the volume adjusting control comprises a sliding bar and a sliding block positioned on the sliding bar, and the position of the sliding block on the sliding bar is used for indicating the volume;
and receiving a volume adjusting instruction triggered by touch operation aiming at the volume adjusting control, wherein the volume corresponding to the action position of the touch operation is the target volume.
In summary, the embodiment of the present application provides a mobile terminal, which can adjust the volume of a collected audio stream to an initial volume in a screen recording process, and can also adjust the volume of the collected audio stream to a target volume in response to a volume adjustment instruction. The mobile terminal provided by the embodiment of the application supports adjustment of the volume of the acquired audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
The embodiment of the present application further provides a mobile terminal, where the mobile terminal may be configured to execute the screen recording method of the mobile terminal provided in the foregoing method embodiment, for example, the method shown in fig. 7. As shown in fig. 8, the mobile terminal may include a processor 1101 and a microphone 162. The processor 1101 may be configured to:
there is provided a mobile terminal including: a processor and a microphone; the processor is configured to:
responding to a screen recording instruction, acquiring a first audio stream through a microphone, and acquiring a second audio stream in a playing state in the mobile terminal;
if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream collected after the first volume adjustment instruction is received to the first target volume;
if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to a second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume;
and synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
To sum up, the embodiment of the present application provides a mobile terminal, where in a screen recording process, if a first volume adjustment instruction is received, the mobile terminal adjusts the volume of a collected first audio stream to a first target volume; and if a second volume adjusting instruction is received, adjusting the volume of the acquired second audio stream to a second target volume. The mobile terminal provided by the embodiment of the application supports adjustment of the volume of the collected first audio stream and/or the volume of the collected second audio stream in the screen recording process, so that the screen recording flexibility of the mobile terminal is effectively improved.
As shown in fig. 8, the mobile terminal 110 may further include: a display unit 130, a Radio Frequency (RF) circuit 150, an audio circuit 160, a wireless fidelity (Wi-Fi) module 170, a bluetooth module 180, a power supply 190, and a camera 121.
The camera 121 may be used to capture still pictures or video, among other things. The object generates an optical picture through the lens and projects the optical picture to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensitive elements convert the light signals into electrical signals which are then passed to the processor 1101 for conversion into digital picture signals.
The processor 1101 is a control center of the mobile terminal 110, connects various parts of the entire terminal using various interfaces and lines, and performs various functions of the mobile terminal 110 and processes data by running or executing software programs stored in the memory 140 and calling data stored in the memory 140. In some embodiments, processor 1101 may include one or more processing units; the processor 1101 may also integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a baseband processor, which mainly handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 1101. In the present application, the processor 1101 may run an operating system and an application program, may control a user interface to display, and may implement the screen recording method of the mobile terminal provided in the embodiment of the present application. Additionally, processor 1101 is coupled to input unit and display unit 130.
The display unit 130 may be used to receive input numeric or character information and generate signal inputs related to user settings and function control of the mobile terminal 110, and optionally, the display unit 130 may also be used to display information input by the user or information provided to the user and a Graphical User Interface (GUI) of various menus of the mobile terminal 110. The display unit 130 may include a display screen 131 disposed on the front surface of the mobile terminal 110. The display screen 131 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 130 may be used to display various graphical user interfaces described herein.
The display unit 130 includes: a display screen 131 and a touch screen 132 disposed on the front of the mobile terminal 110. The display screen 131 may be used to display preview pictures. Touch screen 132 may collect touch operations on or near by the user, such as clicking a button, dragging a scroll box, and the like. The touch screen 132 may be covered on the display screen 131, or the touch screen 132 and the display screen 131 may be integrated to implement the input and output functions of the mobile terminal 110, and after the integration, the touch screen may be referred to as a touch display screen for short.
Memory 140 may be used to store software programs and data. The processor 1101 executes various functions of the mobile terminal 110 and data processing by executing software programs or data stored in the memory 140. The memory 140 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. Memory 140 stores an operating system that enables mobile terminal 110 to operate. In the present application, the memory 140 may store an operating system and various application programs, and may also store codes for executing screen recording of the mobile terminal provided in the embodiment of the present application.
The RF circuit 150 may be used for receiving and transmitting signals during information transmission and reception or during a call, and may receive downlink data of a base station and then deliver the received downlink data to the processor 1101 for processing; the uplink data may be transmitted to the base station. Typically, the RF circuitry 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.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 110. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161. The mobile terminal 110 may also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 162 converts the collected sound signal into an electrical signal, converts the electrical signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the RF circuit 150 to be transmitted to, for example, another terminal or outputs the audio data to the memory 140 for further processing. In this application, the microphone 162 may capture the voice of the user.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 110 may help a user to send and receive e-mails, browse webpages, access streaming media, and the like through the Wi-Fi module 170, which provides a wireless broadband internet access for the user.
And the Bluetooth module 180 is used for performing information interaction with other Bluetooth devices with Bluetooth modules through a Bluetooth protocol. For example, the mobile terminal 110 may establish a bluetooth connection with a wearable electronic device (e.g., a smart watch) also equipped with a bluetooth module through the bluetooth module 180, so as to perform data interaction.
Mobile terminal 110 also includes a power supply 190 (e.g., a battery) that powers the various components. The power supply may be logically coupled to the processor 1101 through a power management system to manage charging, discharging, and power consumption functions through the power management system. The mobile terminal 110 may also be configured with a power button for powering on and off the terminal, and locking the screen.
The mobile terminal 110 may include at least one sensor 1110, such as a motion sensor 11101, a distance sensor 11102, a fingerprint sensor 11103, and a temperature sensor 11104. Mobile terminal 110 may also be configured with other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the mobile terminal and each device described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 9 is a block diagram of a software structure of a mobile terminal according to an embodiment of the present application. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, an application layer, an application framework layer, an Android Runtime (ART) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. As shown in fig. 9, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 9, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the mobile terminal 110. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, text information is prompted in the status bar, a prompt tone is given, the communication terminal vibrates, and an indicator light flashes.
The android runtime comprises a core library and a virtual machine. The android runtime is responsible for scheduling and management of the android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media libraries (media libraries), three-dimensional graphics processing libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still picture files, etc. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, picture rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The embodiment of the application provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and the computer program is loaded by a processor and executed, wherein the computer program is provided by the embodiment. A screen recording method of a mobile terminal, such as the method shown in fig. 1, fig. 2 or fig. 7.
Embodiments of the present application further provide a computer program product including instructions, which, when the computer program product runs on a computer, causes the computer to execute the screen recording method of the mobile terminal provided in the foregoing method embodiments, for example, the method shown in fig. 1, fig. 2, or fig. 7.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
It should be understood that reference herein to "and/or" means that there may be three relationships, for example, a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Also, the term "at least one" in the present application means one or more, and the term "a plurality" in the present application means two or more.
The terms "first," "second," and the like in this application are used for distinguishing between similar items and items that have substantially the same function or similar functionality, and it should be understood that "first," "second," and "nth" do not have any logical or temporal dependency or limitation on the number or order of execution. For example, a first initial volume may be referred to as a second initial volume, and similarly, a second initial volume may be referred to as a first initial volume, without departing from the scope of the various described examples.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A mobile terminal, characterized in that the mobile terminal comprises: a processor; the processor is configured to:
in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to initial volume;
receiving a volume adjustment instruction for instructing to adjust the volume to a target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream acquired after receiving the volume adjustment instruction to the target volume;
and synthesizing the acquired audio stream with the image data acquired by recording the screen.
2. The mobile terminal of claim 1, wherein the audio stream captured by the mobile terminal comprises: and the audio stream is collected through a microphone of the mobile terminal, and/or the audio stream in a playing state in the mobile terminal.
3. The mobile terminal of claim 2, wherein the audio stream captured by the mobile terminal comprises: the audio stream collected by the microphone and the audio stream in the playing state; the processor is configured to:
adjusting the volume of an audio stream collected by the microphone to a first initial volume;
adjusting the volume of the audio stream in the playing state to a second initial volume;
wherein the second initial volume is different from the first initial volume.
4. The mobile terminal of claim 2, wherein the audio stream captured by the mobile terminal comprises: the volume adjusting instruction is used for indicating that the volume of the audio stream collected by the microphone is adjusted to a first target volume and the volume of the audio stream in the playing state is adjusted to a second target volume; the processor is configured to:
adjusting the volume of an audio stream collected by the microphone after receiving the volume adjustment instruction to the first target volume in response to the volume adjustment instruction;
in response to the volume adjustment instruction, adjusting the volume of the audio stream in the playing state, which is acquired after the volume adjustment instruction is received, to the second target volume;
wherein the second target volume is different from the first target volume.
5. The mobile terminal of claim 2, wherein the audio stream captured by the mobile terminal comprises: the audio stream collected by the microphone and the audio stream in the playing state; the processor is configured to:
synthesizing the audio stream collected by the microphone and the audio stream in the playing state to obtain a mixed audio stream;
and synthesizing the mixed audio stream with image data obtained by recording the screen.
6. The mobile terminal of claim 2, wherein the audio stream captured by the mobile terminal comprises: the audio stream collected by the microphone and the audio stream in the playing state; the processor is further configured to:
in the process of recording the screen, if a first acquisition stopping instruction aiming at the microphone is received, stopping acquiring the audio stream through the microphone;
and if a second acquisition stopping instruction aiming at the audio stream in the playing state is received, stopping acquiring the audio stream in the playing state.
7. The mobile terminal according to any of claims 1 to 6, wherein the mobile terminal further comprises a display screen; the processor is configured to:
responding to a volume setting instruction, controlling the display screen to display a volume adjusting control, wherein the volume adjusting control comprises a sliding bar and a sliding block positioned on the sliding bar, and the position of the sliding block on the sliding bar is used for indicating the volume;
and receiving a volume adjusting instruction triggered by touch operation aiming at the volume adjusting control, wherein the volume corresponding to the action position of the touch operation is the target volume.
8. A mobile terminal, characterized in that the mobile terminal comprises: a processor and a microphone; the processor is configured to:
responding to a screen recording instruction, acquiring a first audio stream through the microphone, and acquiring a second audio stream in a playing state in the mobile terminal;
if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream acquired after the first volume adjustment instruction is received to the first target volume;
if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to a second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume;
and synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
9. A screen recording method of a mobile terminal is characterized by comprising the following steps:
in the process of recording the screen of the mobile terminal, adjusting the volume of the acquired audio stream to initial volume;
receiving a volume adjustment instruction for instructing to adjust the volume to a target volume;
in response to the volume adjustment instruction, adjusting the volume of the audio stream acquired after receiving the volume adjustment instruction to the target volume;
and synthesizing the acquired audio stream with the image data acquired by recording the screen.
10. A screen recording method of a mobile terminal is characterized in that the mobile terminal comprises a microphone; the method comprises the following steps:
responding to a screen recording instruction, acquiring a first audio stream through the microphone, and acquiring a second audio stream in a playing state in the mobile terminal;
if a first volume adjustment instruction for instructing to adjust the volume of the first audio stream to a first target volume is received, adjusting the volume of the first audio stream acquired after the first volume adjustment instruction is received to the first target volume;
if a second volume adjustment instruction for instructing to adjust the volume of the second audio stream to a second target volume is received, adjusting the volume of the second audio stream acquired after the second volume adjustment instruction is received to the second target volume;
and synthesizing the acquired first audio stream and the acquired second audio stream with image data acquired by recording the screen.
CN202110282002.4A 2021-03-16 2021-03-16 Mobile terminal and screen recording method thereof Active CN113079332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110282002.4A CN113079332B (en) 2021-03-16 2021-03-16 Mobile terminal and screen recording method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110282002.4A CN113079332B (en) 2021-03-16 2021-03-16 Mobile terminal and screen recording method thereof

Publications (2)

Publication Number Publication Date
CN113079332A true CN113079332A (en) 2021-07-06
CN113079332B CN113079332B (en) 2023-04-07

Family

ID=76612791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110282002.4A Active CN113079332B (en) 2021-03-16 2021-03-16 Mobile terminal and screen recording method thereof

Country Status (1)

Country Link
CN (1) CN113079332B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396723A (en) * 2022-08-23 2022-11-25 北京小米移动软件有限公司 Screen recording method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130148826A1 (en) * 2011-12-08 2013-06-13 Samsung Electronics Co., Ltd. Method and apparatus for processing audio in mobile terminal
CN105657310A (en) * 2015-12-31 2016-06-08 南京维睛视空信息科技有限公司 Real-time mobile phone screen recording method
WO2016177296A1 (en) * 2015-05-04 2016-11-10 腾讯科技(深圳)有限公司 Video generation method and apparatus
CN106843683A (en) * 2017-01-03 2017-06-13 奇酷互联网络科技(深圳)有限公司 Record screen method, device and terminal device
CN107957836A (en) * 2017-12-05 2018-04-24 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
CN108323239A (en) * 2016-11-29 2018-07-24 华为技术有限公司 Recording, playback method, record screen terminal and the playback terminal of film recording
CN108476256A (en) * 2016-09-27 2018-08-31 华为技术有限公司 A kind of volume adjusting method and terminal
CN109803104A (en) * 2018-12-19 2019-05-24 维沃移动通信有限公司 A kind of record screen method, device and mobile terminal
CN111402933A (en) * 2020-03-04 2020-07-10 Oppo广东移动通信有限公司 Audio recording method, device, storage medium and related equipment
CN112015365A (en) * 2020-08-27 2020-12-01 维沃移动通信有限公司 Volume adjustment method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130148826A1 (en) * 2011-12-08 2013-06-13 Samsung Electronics Co., Ltd. Method and apparatus for processing audio in mobile terminal
CN103219026A (en) * 2011-12-08 2013-07-24 三星电子株式会社 Method and apparatus for processing audio in mobile terminal
WO2016177296A1 (en) * 2015-05-04 2016-11-10 腾讯科技(深圳)有限公司 Video generation method and apparatus
CN105657310A (en) * 2015-12-31 2016-06-08 南京维睛视空信息科技有限公司 Real-time mobile phone screen recording method
CN108476256A (en) * 2016-09-27 2018-08-31 华为技术有限公司 A kind of volume adjusting method and terminal
CN108323239A (en) * 2016-11-29 2018-07-24 华为技术有限公司 Recording, playback method, record screen terminal and the playback terminal of film recording
CN106843683A (en) * 2017-01-03 2017-06-13 奇酷互联网络科技(深圳)有限公司 Record screen method, device and terminal device
CN107957836A (en) * 2017-12-05 2018-04-24 广东欧珀移动通信有限公司 Record screen method, apparatus and terminal
CN109803104A (en) * 2018-12-19 2019-05-24 维沃移动通信有限公司 A kind of record screen method, device and mobile terminal
CN111402933A (en) * 2020-03-04 2020-07-10 Oppo广东移动通信有限公司 Audio recording method, device, storage medium and related equipment
CN112015365A (en) * 2020-08-27 2020-12-01 维沃移动通信有限公司 Volume adjustment method and device and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115396723A (en) * 2022-08-23 2022-11-25 北京小米移动软件有限公司 Screen recording method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113079332B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN111597000B (en) Small window management method and terminal
CN112114733B (en) Screen capturing and recording method, mobile terminal and computer storage medium
CN114339332B (en) Mobile terminal, display device and cross-network screen projection method
CN111367456A (en) Communication terminal and display method in multi-window mode
CN114286165A (en) Display device, mobile terminal and screen projection data transmission method
CN111741502A (en) Mobile terminal and mobile communication network switching method thereof
CN113419452A (en) Vehicle, control method thereof and mobile terminal
CN113079332B (en) Mobile terminal and screen recording method thereof
CN113055585B (en) Thumbnail display method of shooting interface and mobile terminal
CN113014614A (en) Equipment control method, control equipment and controlled equipment
CN111324255B (en) Application processing method based on double-screen terminal and communication terminal
CN111163220B (en) Display method, communication terminal and computer storage medium
CN113507614A (en) Video playing progress adjusting method and display equipment
CN113760164A (en) Display device and response method of control operation thereof
CN113031903B (en) Electronic equipment and audio stream synthesis method thereof
CN113157092A (en) Visualization method, terminal device and storage medium
CN111782606A (en) Display device, server, and file management method
CN113642010A (en) Method for acquiring data of extended storage device and mobile terminal
CN111159734A (en) Communication terminal and multi-application data inter-access processing method
CN111381801B (en) Audio playing method based on double-screen terminal and communication terminal
CN113179362B (en) Electronic device and image display method thereof
CN112000411B (en) Mobile terminal and display method of recording channel occupation information thereof
CN113253905B (en) Touch method based on multi-finger operation and intelligent terminal
CN113255644B (en) Display device and image recognition method thereof
CN111182361B (en) Communication terminal and video previewing method

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Patentee before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.