CN109587549B - Video recording method, device, terminal and storage medium - Google Patents
Video recording method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109587549B CN109587549B CN201811482172.1A CN201811482172A CN109587549B CN 109587549 B CN109587549 B CN 109587549B CN 201811482172 A CN201811482172 A CN 201811482172A CN 109587549 B CN109587549 B CN 109587549B
- Authority
- CN
- China
- Prior art keywords
- mode
- video
- recording
- audio
- control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000006870 function Effects 0.000 claims abstract description 100
- 230000000694 effects Effects 0.000 claims description 51
- 238000012545 processing Methods 0.000 claims description 36
- 238000012790 confirmation Methods 0.000 claims description 23
- 230000001960 triggered effect Effects 0.000 claims description 18
- 238000004806 packaging method and process Methods 0.000 claims description 10
- 230000003213 activating effect Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 description 14
- 230000002093 peripheral effect Effects 0.000 description 10
- 230000001755 vocal effect Effects 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 6
- 230000033001 locomotion Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000033764 rhythmic process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 239000012634 fragment Substances 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000008921 facial expression Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Reverberation, Karaoke And Other Acoustics (AREA)
Abstract
The invention discloses a video recording method, a video recording device, a video recording terminal and a video recording storage medium, and belongs to the technical field of multimedia. The invention provides two modes of the singing mode and the performance mode for video recording, the functions of the singing mode and the performance mode are different, the requirement of singing of a user can be met when the video is recorded according to the singing mode, the requirement of performance of the user can be met when the video is recorded according to the performance mode, the video recording function is more diversified, and the flexibility of video recording is improved.
Description
Technical Field
The present invention relates to the field of multimedia technologies, and in particular, to a video recording method, apparatus, terminal, and storage medium.
Background
With the development of multimedia technology and the diversification of terminal functions, the terminal can provide a function of recording videos for users.
Specifically, the video recording method generally includes: the user sets a certain mode as a recording mode on the terminal, and the terminal can record the video according to the mode set by the user. For example, the user may set the original singing mode as the recording mode, and the terminal may record the video according to the original singing mode every time the terminal records the video.
When the method is adopted to record the video, the provided mode is single and the flexibility is poor.
Disclosure of Invention
The embodiment of the invention provides a video recording method, a video recording device, a video recording terminal and a video recording storage medium, which can solve the problems of single mode and poor flexibility in video recording in the related art. The technical scheme is as follows:
in one aspect, a video recording method is provided, and the method includes:
receiving a recording mode selection instruction;
selecting a singing mode and a target mode in the playing mode according to the recording mode selection instruction;
recording a video according to the target mode;
wherein the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state, wherein the camera is used for recording the video and the microphone is used for collecting the audio;
the demonstration mode is as follows: and recording the video when the microphone is in the off state.
Optionally, when the target mode is the singing mode, the recording a video according to the target mode includes:
playing the accompaniment audio of the first song;
collecting voice and audio, and shooting a first video;
mixing the human voice audio and the accompaniment audio to obtain a target audio;
and packaging the first video and the target audio to obtain a second video.
Optionally, the singing mode is a singing climax mode, and accordingly, the accompanying audio is in a playing state, including: the climax section of the accompaniment audio is in a playing state.
Optionally, when the target mode is the presentation mode, the recording a video according to the target mode includes:
playing the original singing audio of the second song;
keeping the microphone in a closed state, and shooting a third video;
and packaging the third video and the original audio to obtain a fourth video.
Optionally, the selecting a target mode of the singing mode and the playing mode according to the recording mode selection instruction includes:
selecting the singing mode as a target mode according to a first recording mode selection instruction, wherein the first recording mode selection instruction is triggered by a confirmation operation of a first control in a video recording interface; and/or the presence of a gas in the gas,
and selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of a second control in the video recording interface.
Optionally, before receiving the recording mode selection instruction, the method further includes:
displaying at least one of the first control and the second control in a video recording interface.
Optionally, the displaying at least one of the first control and the second control in a video recording interface includes:
displaying a popup in a video recording interface, wherein the popup comprises at least one of the first control and the second control; or,
and displaying at least one of the first control and the second control in a preset area of a video recording interface.
Optionally, when the target mode is the singing mode, before recording the video according to the target mode, the method further includes:
the original audio of the first song is played.
Optionally, after recording the video according to the target mode, the method further includes:
when the target mode is the singing mode, processing a video according to a first editing function corresponding to the singing mode; or,
and when the target mode is the demonstration mode, processing the video according to a second editing function corresponding to the demonstration mode.
Optionally, after recording the video according to the target mode, the method further includes:
when the target mode is the singing mode, displaying a third control in a video editing interface, wherein the third control is used for providing a first editing function corresponding to the singing mode; or,
and when the target mode is the demonstration mode, displaying a fourth control in a video editing interface, wherein the fourth control is used for providing a second editing function corresponding to the demonstration mode.
After the video is recorded according to the target mode, the method further comprises:
when the target mode is the singing mode, displaying a fourth control in a video editing interface, wherein the fourth control is in a forbidden state; or,
and when the target mode is the demonstration mode, displaying a third control in a video editing interface, wherein the third control is in a forbidden state.
Optionally, the processing the video according to the first editing function corresponding to the sing mode includes:
adjusting the sound effect of human voice in the video; and/or the presence of a gas in the gas,
and adjusting the volume of the human voice in the video.
Optionally, the processing the video according to the second editing function corresponding to the presentation mode includes:
adding a disk jockey DJ effect to original audio in the video;
replacing the original audio in the video.
Optionally, the method further comprises:
and when a recording starting instruction is received, disabling the recording mode selection instruction.
Optionally, after disabling the recording mode selection instruction, the method further includes:
and when the recorded video is deleted, activating the recording mode selection instruction.
In another aspect, there is provided a video recording apparatus, the apparatus comprising:
the receiving module is used for receiving a recording mode selection instruction;
the selection module is used for selecting a singing mode and a target mode in a playing mode according to the recording mode selection instruction;
the recording module is used for recording videos according to the target mode;
wherein the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state, wherein the camera is used for recording the video and the microphone is used for recording the audio;
the demonstration mode is as follows: and recording the video when the microphone is in the off state.
Optionally, when the target mode is the singing mode, the recording module is configured to:
playing the accompaniment audio of the first song;
collecting voice and audio, and shooting a first video;
mixing the human voice audio and the accompaniment audio to obtain a target audio;
and packaging the first video and the target audio to obtain a second video.
Optionally, the singing mode is a singing climax mode, and accordingly, the accompanying audio is a climax segment of the first song.
Optionally, when the target mode is the presentation mode, the recording module is configured to: playing the original singing audio of the second song;
keeping the microphone in a closed state, and shooting a third video;
and packaging the third video and the original audio to obtain a fourth video.
Optionally, the selecting module is configured to: selecting the singing mode as a target mode according to a first recording mode selection instruction, wherein the first recording mode selection instruction is triggered by a confirmation operation of a first control in a video recording interface; and/or selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of a second control in the video recording interface.
Optionally, the apparatus further comprises:
and the display module is used for displaying at least one of the first control and the second control in a video recording interface.
Optionally, the display module is configured to: displaying a popup in a video recording interface, wherein the popup comprises at least one of the first control and the second control; or at least one of the first control and the second control is displayed in a preset area of a video recording interface.
Optionally, the apparatus further comprises:
and the playing module is used for playing the original singing audio of the first song.
Optionally, the apparatus further comprises:
the processing module is used for processing a video according to a first editing function corresponding to the singing mode when the target mode is the singing mode; or when the target mode is the presentation mode, processing the video according to a second editing function corresponding to the presentation mode.
Optionally, the apparatus further comprises:
a display module to: when the target mode is the singing mode, displaying a third control in a video editing interface, wherein the third control is used for providing a first editing function corresponding to the singing mode; or when the target mode is the presentation mode, displaying a fourth control in a video editing interface, wherein the fourth control is used for providing a second editing function corresponding to the presentation mode.
Optionally, the apparatus further comprises:
a display module to: when the target mode is the singing mode, displaying a fourth control in a video editing interface, wherein the fourth control is in a forbidden state; or,
and when the target mode is the demonstration mode, displaying a third control in a video editing interface, wherein the third control is in a forbidden state.
Optionally, the processing module is configured to: adjusting the sound effect of human voice in the video; and/or adjusting the volume of the human voice audio in the video.
Optionally, the processing module is configured to: adding a disk jockey DJ effect to original audio in the video; and/or replace the original audio in the video.
Optionally, the apparatus further comprises:
and the disabling module is used for disabling the recording mode selection instruction when receiving the recording starting instruction.
Optionally, the apparatus further comprises:
and the activation module is used for activating the recording mode selection instruction when the recorded video is deleted.
In another aspect, a terminal is provided, where the terminal includes a processor and a memory, where the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operations performed by the video recording method.
In another aspect, a computer-readable storage medium is provided, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed by the above-mentioned video recording method.
The method, the device, the terminal and the storage medium provided by the embodiment of the invention provide two modes of a singing mode and a performance mode for video recording, wherein the functions of the singing mode and the performance mode are different, the requirement of singing of a user can be met when the video is recorded according to the singing mode, and the requirement of performance of the user can be met when the video is recorded according to the performance mode, so that the video recording function is more diversified, and the flexibility is stronger.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 video recording method according to an embodiment of the present invention;
fig. 2 is a flowchart of a video recording method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a popup for switching a recording mode according to an embodiment of the present invention;
fig. 4 is a flowchart of recording a video according to a singing mode according to an embodiment of the present invention;
fig. 5 is a flowchart of recording a video according to an exhibition mode according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a video recording method according to an embodiment of the present invention. The execution subject of the embodiment of the invention is a terminal, and referring to fig. 1, the method comprises the following steps:
101. receiving a recording mode selection instruction.
102. And selecting a target mode in the singing mode and the playing mode according to the recording mode selection instruction.
103. And recording the video according to the target mode.
Wherein, the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in the opening state, wherein the camera is used for recording the video and the microphone is used for collecting the audio;
the modeling mode is as follows: and recording the video when the microphone is in the off state.
The method provided by the embodiment of the invention provides two modes, namely the singing mode and the performance mode, for video recording, wherein the functions of the singing mode and the performance mode are different, the requirement of singing of a user can be met when the video is recorded according to the singing mode, and the requirement of performance of the user can be met when the video is recorded according to the performance mode, so that the video recording function is more diversified, and the flexibility is stronger.
Optionally, when the target mode is the singing mode, the recording a video according to the target mode includes:
playing the accompaniment audio of the first song;
collecting voice and audio, and shooting a first video;
mixing the human voice audio and the accompaniment audio to obtain a target audio;
and packaging the first video and the target audio to obtain a second video.
Optionally, the singing mode is a singing climax mode, and accordingly, the accompanying audio is in a playing state, including: the climax section of the accompaniment audio is in a playing state.
Optionally, when the target mode is the presentation mode, the recording a video according to the target mode includes:
playing the original singing audio of the second song;
keeping the microphone in a closed state, and shooting a third video;
and packaging the third video and the original audio to obtain a fourth video.
Optionally, the selecting a target mode of the singing mode and the playing mode according to the recording mode selection instruction includes:
selecting the singing mode as a target mode according to a first recording mode selection instruction, wherein the first recording mode selection instruction is triggered by a confirmation operation of a first control in a video recording interface; and/or the presence of a gas in the gas,
and selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of a second control in the video recording interface.
Optionally, before receiving the recording mode selection instruction, the method further includes:
displaying at least one of the first control and the second control in a video recording interface.
Optionally, the displaying at least one of the first control and the second control in the video recording interface includes:
displaying a popup in a video recording interface, wherein the popup comprises at least one of the first control and the second control; or,
and displaying at least one of the first control and the second control in a preset area of a video recording interface.
Optionally, when the target mode is the singing mode, before recording the video according to the target mode, the method further includes:
the original audio of the first song is played.
Optionally, after recording the video according to the target mode, the method further includes:
when the target mode is the singing mode, processing the video according to a first editing function corresponding to the singing mode; or,
and when the target mode is the demonstration mode, processing the video according to a second editing function corresponding to the demonstration mode.
Optionally, after recording the video according to the target mode, the method further includes:
when the target mode is the singing mode, displaying a third control in a video editing interface, wherein the third control is used for providing a first editing function corresponding to the singing mode; or,
and when the target mode is the demonstration mode, displaying a fourth control in the video editing interface, wherein the fourth control is used for providing a second editing function corresponding to the demonstration mode.
After recording the video according to the target mode, the method further comprises:
when the target mode is the singing mode, displaying a fourth control in a video editing interface, wherein the fourth control is in a forbidden state; or,
and when the target mode is the demonstration mode, displaying a third control in the video editing interface, wherein the third control is in a disabled state.
Optionally, the processing the video according to the first editing function corresponding to the vocal mode includes:
adjusting the sound effect of human voice in the video; and/or the presence of a gas in the gas,
and adjusting the volume of the human voice in the video.
Optionally, the processing the video according to the second editing function corresponding to the presentation mode includes:
adding a disk jockey DJ effect to original audio in the video;
replacing the original audio in the video.
Optionally, the method further comprises:
and when a recording starting instruction is received, disabling the recording mode selection instruction.
Optionally, after disabling the recording mode selection instruction, the method further includes:
when the recorded video has been deleted, the recording mode selection command is activated.
Fig. 2 is a flowchart of a video recording method according to an embodiment of the present invention. The execution subject of the embodiment of the present invention is a terminal, and referring to fig. 2, the method includes:
201. the terminal receives a recording mode selection instruction.
The recording mode refers to a mode in which the terminal records a video. In this embodiment, the recording mode may include at least one of a performance mode and a singing mode.
Singing mode: and recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state. The camera is used for recording videos and can be configured on the terminal. A microphone is used for recording audio, and the microphone may be provided on the terminal. The voice and the audio of the user can be collected and the picture of the user can be shot in the singing mode, so that the requirement of singing of the user during video recording is met. When the video obtained in the singing mode is played, the effects of playing the accompaniment audio and the voice audio and displaying the recorded user picture can be achieved.
An action mode: and recording the video when the microphone is in the off state. In the performance mode, the user can shoot the picture of the user without acquiring the voice and the audio of the user, so that the requirement of performing of the user during video recording is met. Optionally, in the performance mode, the original audio may be in a playing state, and when the video obtained in the performance mode is played, the effects of playing the original audio and displaying the recorded user's picture may be achieved.
Alternatively, the singing mode may be a singing climax mode, the singing climax mode being: the climax fragment at the accompaniment audio is in the broadcast state, the microphone is in the open mode and the camera is in the open mode, records the mode of video, when the video that the singing climax mode obtained is played, can reach the effect of broadcasting the climax fragment of the accompaniment audio, the voice audio, showing the video recorded.
Recording mode selection instruction: for indicating a target mode for recording the video. The recording mode selection instruction may carry an identification of the target mode. The target mode is a mode used for recording, and the target mode may be any one of a singing mode and a performance mode. The identification of the target pattern is used to indicate the target pattern, and may be, for example, the name, number, etc. of the target pattern. Optionally, the recording mode selection instruction may include a first recording mode selection instruction and a second recording mode selection instruction, where the first recording mode selection instruction is used to instruct to record a video according to a vocal mode, and the first recording mode selection instruction may carry an identifier of the vocal mode. The second recording mode selection instruction is used for instructing to record a video according to the performance mode, and the first recording mode selection instruction may carry an identifier of the performance mode.
Optionally, the terminal may display a control in the video recording interface, and the recording mode selection instruction may be triggered by a confirmation operation on the control in the video recording interface. The control may be an option, such as a recording mode option. The confirmation operation may include a click operation, a long press operation, and the like. Optionally, the terminal may display a first control in the video recording interface, and the first recording mode selection instruction may be triggered by a confirmation operation on the first control in the video recording interface. Wherein the first control is used for selecting a singing mode. The first control may be an option, such as a "sing" option. Optionally, the terminal may display a second control in the video recording interface, and the second recording mode selection instruction may be triggered by a confirmation operation on the second control in the video recording interface, where the second control is used to select the playing mode, and the second control may be an option, for example, a "playing" option.
Optionally, the receiving manner of the recording mode selection instruction may include: displaying at least one of the first control and the second control in a video recording interface. Optionally, the display modes of the first control and the second control may include the following modes one to two:
in the first mode, a popup is displayed in a video recording interface.
The pop-up window includes at least one of a first control and the second control. Illustratively, referring to FIG. 3, the pop-up may include a "whirlpool technique" option and a "singing climax" option. Of course, the "violent performing skill" option and the "singing climax" option are merely illustrations of the recording mode option, and the text of the recording mode option may be replaced by other texts. For example, the pop-up window may also include a "sing" option and a "show" option. Optionally, regarding the specific process of displaying the popup, the popup may be drawn when a display instruction for the video recording interface is received, and the popup is displayed in a superimposed manner in the video recording interface, so as to achieve an effect of automatically popping up the popup after entering the video recording interface.
Optionally, the pop may also have a lyric display function, and during the recording process, the pop may include lyrics of the song. Optionally, the popup may include a close option, and the terminal may close the popup when a confirmation operation of the close option in the popup is detected.
And displaying at least one of the first control and the second control in a preset area of a video recording interface.
The predetermined area may be any area in the video recording interface, such as a center position, a corner, and the like. The location of the preset area may be transmitted to the terminal by the server.
202. And the terminal selects a singing mode and a target mode in the playing mode according to the recording mode selection instruction.
Optionally, the terminal may analyze the recording mode selection instruction to obtain an identifier of the target mode, and determine the target mode according to the identifier of the target mode. For example, the first recording mode selection instruction may be analyzed to obtain an identifier of the singing mode, and then the singing mode is selected as the target mode; for another example, the second recording mode selection instruction may be analyzed to obtain an identifier of the performance mode, and the performance mode is selected as the target mode.
Optionally, when the singing mode is selected as the target mode, the terminal may detect a current state of the microphone, and if the microphone is in an off state, the terminal may turn on the microphone; if the microphone is in the open state, the terminal can keep the microphone in the open state, so that the audio can be collected through the microphone in the video recording process. Similarly, the terminal can detect the current state of the camera, and if the camera is in a closed state, the terminal can start the camera; if the camera is in the open state, the terminal can keep the camera in the open state, so that the video can be recorded through the camera in the video recording process.
Alternatively, when the presentation mode is selected as the target mode, the terminal may detect a current state of the microphone, and if the microphone is in an on state, the terminal may turn off the microphone, and if the microphone is in an off state, the terminal may keep the microphone in the off state. Similarly, if the camera is in the closed state, the terminal can open the camera, and if the camera is in the open state, the terminal can keep the camera in the open state.
Alternatively, if the recording mode selection instruction is triggered by a confirmation operation on the control, when the terminal detects the confirmation operation on the first control, the singing mode may be taken as the target mode. When a confirmation operation of the second control is detected, the presentation mode may be taken as the target mode.
Alternatively, the vocal mode may be used as a default recording mode, if a recording mode selection instruction is not received, the vocal mode is used as a target mode, and when the recording mode selection instruction is received and the recording mode selection instruction is a second recording mode selection instruction, the target mode may be updated from the vocal mode to the presentation mode.
Alternatively, the terminal may disable the recording mode selection instruction when receiving the recording start instruction. In a possible implementation, the terminal may set each recording mode option to be in an available state before receiving the recording start instruction, and switch each recording mode option from the available state to a disabled state when receiving the recording start instruction, so that, during the recording process, when a user triggers a confirmation operation on any recording mode option, the terminal may refuse to respond to the recording mode selection instruction, thereby achieving an effect of disabling the recording mode switching function. The recording starting instruction is used for indicating the starting of recording the video. The recording start instruction may be triggered by a confirmation operation of the start option.
The effect of disabling the recording mode switching function may include at least:
in the recording process, if the playback mode is suddenly switched to the singing mode or the singing mode is suddenly switched to the playback mode, the recording state cannot be quickly adjusted by a user due to the fact that no buffer time exists during switching, shy situations and tune forgetting situations are easy to occur, recording errors are caused, and therefore the recording efficiency of videos is poor.
When a recording starting instruction is received, the recording mode switching function is forbidden, so that the function of a single recording mode can be realized, the recording mode is refused to be selected in the recording process, the recording mode is kept unchanged and is always the target mode selected through the recording mode selection instruction, and the effect of forbidding the recording mode switching function is achieved. In an exemplary scenario, if the user clicks the "singing climax" option and then clicks the "start" option, the terminal disables the recording mode switching function during the recording process, and even if the user clicks the "violent performing" option, the terminal does not switch the recording mode from the singing mode to the playing mode, so that the recording mode is maintained as the singing mode. Therefore, the condition of recording errors caused by switching of the recording modes can be avoided, the recording accuracy of the video is improved, and the efficiency of recording the video is improved.
The terminal may perform the following steps 203 to 206 when the target mode is the vocal mode, and may perform the following steps 207 to 209 when the target mode is the vocal mode.
203. And when the target mode is the singing mode, the terminal plays the accompaniment audio of the first song.
A song used when recording a video according to the solo mode is referred to as a first song, and a song used when recording a video according to the performance mode is referred to as a second song. Alternatively, the first song may be regarded as background music for recording videos in the singing mode, and the second song may be regarded as background music for recording videos in the performance mode. It should be noted that "first" and "second" in the first song and the second song are used for distinguishing and describing different songs, and should not be understood as explicitly indicating or implying the sequence, number and logical relationship between the songs. The first song and the second song can be any songs, and the first song and the second song can be the same song or different songs.
Alternatively, regarding the determination process of the first song, the terminal may display a song selection page for selecting a song to be used when recording a video, the song selection page including a plurality of song entries, and when a confirmation operation for any one of the song entries is detected, a song corresponding to the song entry may be taken as the first song.
It should be noted that the accompaniment audio played by the terminal may be a complete accompaniment audio or any segment of the accompaniment audio. If the complete accompaniment audio is to be played, the terminal can acquire the accompaniment file of the first song, the audio is played according to the accompaniment file of the first song, if any segment in the accompaniment audio is to be played, the terminal can acquire the starting time point and the ending time point of the segment, and the segment of the accompaniment audio is intercepted from the accompaniment file of the first song according to the starting time point and the ending time point. The starting time point and the ending time point may be determined by an input operation of a user, or may be determined according to experience or requirements.
Alternatively, if the target mode is the singing mode and the singing mode is the singing climax mode, accordingly, the played accompaniment audio may be a climax clip of the first song when the video is recorded. Specifically, the terminal may acquire a climax section of the accompaniment audio of the first song and play the climax section of the accompaniment audio of the first song. Specifically, the terminal can acquire a starting time point and an ending time point of a climax clip of the first song, intercept the climax clip of the accompaniment audio from the accompaniment file of the first song according to the starting time point and the ending time point, and play the climax clip of the accompaniment audio.
Alternatively, if the target mode is a singing mode, the original singing audio of the first song may be played. And then recording the video according to the singing mode. Specifically, the original audio may be played first, and when a recording start instruction is received or when the original audio is played, the currently played audio is switched to the accompaniment audio of the first song. Further, if the target mode is a singing climax mode, a climax segment of the original audio of the first song may be played. And then, recording the video according to the singing climax mode. Specifically, the climax part of the original audio may be played first, and when the recording start instruction is received or when the original audio is played, the currently played audio is switched to the climax part of the accompaniment audio of the first song.
Therefore, a recorder can remember the melody of the video back and forth by listening to the original song in advance to help the recorder prepare for recording, and the recorder can simulate the original song listened to before to sing in the recording process, so that the recorder is helped to master the melody and the condition of running the melody is avoided. Meanwhile, the played accompaniment audio has the same rhythm as the original singing audio played before, and after the original singing audio is played, a recorder can quickly follow the rhythm. By combining the two aspects, the recording difficulty can be reduced, and the recording efficiency of the video can be improved. The accuracy of the rhythm and the tone recorded by a recorder is improved, so that the recording efficiency of the video is improved.
204. The terminal collects voice and audio and shoots a first video.
For the purpose of distinguishing descriptions, a video photographed in the singing mode is referred to as a first video, and a video packaged by the first video is referred to as a second video. The terminal can gather the audio frequency through being in the microphone of open mode, and the user can sing, then the terminal can gather and obtain the voice audio frequency. In addition, the terminal can shoot pictures through the camera in the open state, the user can perform, and then the terminal can shoot a video, namely the first video. Wherein, the terminal may execute step 204 during playing the accompaniment audio of the first song, so that the user may sing while listening to the accompaniment audio of the first song.
205. And the terminal carries out sound mixing on the voice audio and the accompaniment audio to obtain a target audio.
The target audio is audio obtained by mixing human voice audio and accompaniment audio, and when the target audio is played, the effect of simultaneously playing the sound of a user and the accompaniment audio of a song can be achieved. In this embodiment, the target audio may be audio obtained by mixing human audio and accompaniment audio of the first song.
206. And the terminal packages the first video and the target audio to obtain a second video.
By encapsulating the first video and the target audio, the effect of synthesizing the picture and the audio can be achieved. After the terminal obtains the second video, the second video can be played, the picture shot by the user can be displayed, and the voice audio and the accompaniment audio are played at the same time.
Optionally, after the terminal records the second video, the second video may be processed according to the first editing function corresponding to the singing mode. The first editing function is an editing function corresponding to the vocal mode. Alternatively, the first editing function may be a human voice audio editing function, which may be used to edit human voice audio in a video. Optionally, the first editing function may include at least one of a prominence adjustment function and a volume adjustment function. Accordingly, the video processing mode may include at least one of the following modes (1) to (2):
the method (1) adjusts the sound effect of human voice in the video.
Optionally, the terminal may obtain the input sound effect adjustment parameter according to the input operation on the editing interface; and adjusting the sound effect of the human voice audio of the first video according to the sound effect adjusting parameter to obtain a second video. Wherein, the sound effect adjusting parameter is used for adjusting the sound effect of the human voice audio of the video, and the sound effect adjusting parameter may include at least one of a dry-wet ratio, a reverberation delay, an Equalizer (EQ), and a tone value. By adjusting the sound effect of the human voice audio of the first video, the sound effect of the human voice audio of the second video is different from the sound effect of the human voice audio of the first video, for example, different reverberation effects, and for example, different sound variation effects are provided.
The mode (2) adjusts the volume of the human voice in the video.
Optionally, the terminal may obtain the input volume adjustment parameter according to an input operation on the editing interface, and adjust the volume of the human voice audio of the first video according to the volume adjustment parameter to obtain the second video. The volume adjusting parameter is used for adjusting the volume of the human voice and the audio of the video. By adjusting the volume of the human voice audio of the first video, the volume of the human voice audio of the second video is different from the volume of the human voice audio of the first video.
Optionally, when the target mode is the sing mode, a third control may be displayed in the video editing interface. The video editing interface is used for providing an editing function, and videos can be edited through input operation of the video editing function. In one possible implementation, the video editing interface may include a control, and by triggering an input operation on the control, an input parameter may be received, and the video may be processed based on the parameter.
The third control element is used for providing a first editing function corresponding to the vocal mode. For example, the third control may include at least one of a prominence adjustment control and a volume adjustment control. For example, in the actual interface, the sound effect adjustment control may be a sound effect adjustment dial/sound effect adjustment progress bar, and the volume adjustment control may be a volume adjustment dial/volume adjustment progress bar.
Optionally, when the target mode is the sing mode, displaying a fourth control in the video editing interface, where the fourth control is in a disabled state, and the fourth control is used to provide a second editing function corresponding to the acting mode. And the fourth control is used for providing a second editing function corresponding to the demonstration mode. For example, the first controls may include an original audio replacement control, a DJ effect addition control. For example, in a practical interface, the original audio replacement control may be a "cut music" option and the DJ effect addition control may be a "DJ mode" option. The disabled state refers to a state in which a response input operation is rejected.
In one exemplary scenario, when the target mode is the singing mode, the terminal may display a fourth control in the video editing interface, the fourth control being in a disabled state. Optionally, when the target mode is the singing mode, a third control in the video editing interface is in an available state, and a fourth control is in a forbidden state, the user can trigger an input operation on the third control, but cannot trigger an input operation on the fourth control, for example, only the third control can be clicked, and no response exists after the fourth control is clicked, so that after the video is recorded in the selected singing mode, the video is allowed to be edited according to the editing function corresponding to the singing mode, and the video is edited by disabling the editing function corresponding to the playing mode, so that the situations of conflict of user requirements and disorder of operation logic are avoided when the video is recorded in the singing mode by using the editing function corresponding to the playing mode.
Alternatively, the styles of the controls in the available state and the controls in the disabled state in the video editing interface may be different. The pattern may include color, shape, etc. For example, the color of the control in the available state may be colored or white, while the color of the control in the disabled state may be gray. For another example, the shape of the control in the usable state may be solid, and the shape of the control in the forbidden state may be hollow, so that the user can determine the corresponding control through the style of the control, thereby distinguishing the controls in different states. Accordingly, when the target mode is the sing mode, styles of a third control and a fourth control in the video editing interface can be different.
Optionally, according to the singing mode, a third control corresponding to the singing mode is obtained from a corresponding relationship between the modes and the controls, where the corresponding relationship between the modes and the controls includes an identifier of at least one mode and an identifier of at least one control. For example, the correspondence between the modes and the controls can be as shown in table 1 below.
TABLE 1
207. And when the target mode is the playing mode, the terminal plays the original singing audio of the second song.
208. The terminal keeps the microphone in a closed state and shoots a third video.
The terminal can aim at the user to shoot through the camera in the opening state, the user can perform, and then the terminal can shoot to obtain a video, namely a third video. Wherein the third video may be considered as a muted video since the microphone is in an off state. Wherein, the terminal may execute step 204 during playing the original audio of the second song, so that the user can perform while listening to the original audio of the first song.
209. And the terminal packages the third video and the original audio to obtain a fourth video.
For the purpose of distinguishing descriptions, a video captured in the play mode is referred to as a third video, and a video encapsulated by the third video is referred to as a fourth video. By keeping the microphone in a closed state, the third video is shot, so that the interference of environmental audio and noise signals in the recording process can be avoided, the third video and the original audio are packaged, and the obtained audio of the fourth video is the original audio of the song, so that the playing effect of the fourth video is ensured.
In one exemplary scenario, the terminal may capture the user while playing the original audio of the song, and the user may perform while listening to the original audio of the song. And when the recording is finished, the terminal can obtain a third video. For example, the user may listen to the original audio of the song while taking a self-timer, and use the original audio as the background music of the self-timer. For example, the user can listen to the original audio while dancing, making a ghost face, speaking a chapter or making other body movements or facial expressions, thereby improving the playing effect of the self-portrait video.
Optionally, when the target mode is the action mode, the terminal may display a third control in the video editing interface, where the third control is in a disabled state. Optionally, when the target mode is the performance mode, a fourth control in the video editing interface is in an available state, and a third control is in a disabled state, the user can trigger an input operation on the fourth control, but cannot trigger an input operation on the third control, for example, only the fourth control can be clicked, and no response exists after the third control is clicked, so that after the performance mode is selected to record a video, the video is allowed to be edited according to an editing function corresponding to the performance mode, and the video is edited by disabling the editing function corresponding to the performance mode, so that the situations of user requirement conflict and operation logic disorder are avoided when the video recorded by the performance mode is edited by using the editing function corresponding to the performance mode.
Optionally, after the terminal records the fourth video, the fourth video may be processed according to a second editing function corresponding to the presentation mode. The second editing function is an editing function corresponding to the presentation mode. Alternatively, the second editing function may be an original audio editing function, and may be used to edit original audio in the video. The original audio editing function may include at least one of an original audio replacement function and a Jockey (english: Disc Jockey, abbreviation: DJ) effect addition function. Accordingly, the video processing mode may include at least one of the following modes (1) to (2):
mode (1) replaces the original audio in the second video.
Specifically, the original audio in the second video may be replaced by another audio, for example, the another audio may be another segment in the second song, and the another segment refers to a segment other than the segment of the second song used when the video is recorded, for example, if the original audio of song a is played from 03:00 to 04:00 when the video is recorded, when the video is edited, the original audio of song a in the video from 03:00 to 04:00 may be replaced by the original audio of song a from 05:00 to 06: 00. In addition, the other audio may be audio in other songs than the second song. For example, assuming that the original audio of song a is played from 03:00 to 04:00 when recording a video, the original audio of song a in the video may be replaced with the original audio of song B from 03:00 to 04: 00. Of course, the original audio in the second video may be replaced by default audio, audio set by the user in a customized manner, or the like. Alternatively, the terminal may receive the input audio, which the terminal uses to replace the original audio of the second song in the first video.
Mode (2) adds the DJ effect to the original audio in the video.
Optionally, the terminal receives a DJ effect adding instruction according to the input operation of the editing interface; adding a DJ effect to a second original singing audio in the first video by the terminal to obtain a second video; wherein the DJ effect adding instruction is used for indicating that the DJ effect is added to the original audio in the video.
Optionally, the terminal may further provide other editing functions, and the recorder may edit the first video using the other editing functions. Wherein the other editing functions may include at least one of a special effect adding function, a lyric switch function, a title adding function, and a topic selecting function.
Optionally, the terminal may receive the sharing instruction, obtain the target sharing object according to the sharing instruction, and share the second video to the target sharing object. The sharing instruction is used for indicating to share the second video and can be triggered by clicking on a sharing option. The target sharing object may include at least one of a friend of the recorder, a multimedia application, and a social platform.
In summary, referring to fig. 4, assuming that the target mode is the singing climax mode, the video recording process may include the following steps (1) to (5) as shown in fig. 4:
and (1) automatically triggering the original singing.
When the user selects the singing climax mode, the terminal can immediately play the climax segment of the original singing audio.
And (2) starting recording.
The terminal may start recording the video by the user clicking a record button, or pressing a record button for a long time, or using a countdown function.
And (3) switching the background music into an accompaniment mode.
Specifically, if the terminal is playing any audio before starting recording, the played audio can be switched to the accompaniment audio after starting recording, and if the terminal is not playing the audio before starting recording, the player can be started to play the accompaniment audio.
And (4) finishing recording.
And when the user clicks the record ending button, the terminal ends the recording.
And (5) adding sound effect to the recorded audio or adjusting the volume of the voice and the accompaniment.
The user can add the audio through the terminal to the audio frequency of recording, and the audio frequency can contain effects such as reverberation, change voice, and the user can also adjust the volume of voice audio frequency and accompaniment audio frequency through the terminal.
And (6) triggering other editing operations on the video.
For example, the user may trigger editing operations such as adding special effects, switching lyrics on and off, adding video titles, selecting topics, and so forth.
And (7) issuing the video.
And the user clicks a release button, and the terminal can release the edited video.
Referring to fig. 5, assuming that the target mode is a "biantery" mode, the video recording process may be as shown in fig. 5, and includes the following steps (1) to (5):
and (1) starting recording.
The terminal may start recording the video by the user clicking a record button, or pressing a record button for a long time, or using a countdown function.
And (2) finishing recording.
And when the user clicks the record ending button, the terminal ends the recording.
And (3) replacing the background audio segment or adding DJ effect to the recorded video.
The user can cut out other segments of the background audio again through the terminal, and the other segments are used for replacing the segments of the background audio used in the video recording. In addition, the DJ mode may be turned on, i.e. the DJ effect is added to the background audio.
And (4) triggering other editing operations on the video.
For example, the user may trigger editing operations such as adding special effects, switching lyrics on and off, adding video titles, selecting topics, and so forth.
And (5) issuing the video.
And the user clicks a release button, and the terminal can release the edited video.
As can be seen from fig. 4 and 5, the terminal can use different editing functions to execute different operation logics in different recording modes.
Optionally, the present embodiment may be applied to a scene of recording short videos, and then the above-mentioned "first video", "second video", "third video", and "fourth video" may all be short videos. The short video is a short video, and the duration of the short video is less than a duration threshold, which may be within 1 minute.
The method provided by the embodiment of the invention provides two modes, namely the singing mode and the performance mode, for video recording, wherein the functions of the singing mode and the performance mode are different, the requirement of singing of a user can be met when the video is recorded according to the singing mode, and the requirement of performance of the user can be met when the video is recorded according to the performance mode, so that the video recording function is more diversified, and the flexibility is stronger.
Fig. 6 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present invention. Referring to fig. 6, the apparatus includes:
a receiving module 601, configured to receive a recording mode selection instruction;
a selecting module 602, configured to select a target mode from a singing mode and a playing mode according to the recording mode selection instruction;
a recording module 603, configured to record a video according to the target mode;
wherein, the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state, wherein the camera is used for recording the video and the microphone is used for recording the audio;
the modeling mode is as follows: and recording the video when the microphone is in the off state.
The device provided by the embodiment of the invention provides two modes, namely the singing mode and the performance mode, for video recording, the functions of the singing mode and the performance mode are different, the requirement of singing of a user can be met when the video is recorded according to the singing mode, and the requirement of performance of the user can be met when the video is recorded according to the performance mode, so that the video recording function is more diversified, and the flexibility is stronger.
Optionally, when the target mode is the singing mode, the recording module 603 is configured to:
playing the accompaniment audio of the first song;
collecting voice and audio, and shooting a first video;
mixing the human voice audio and the accompaniment audio to obtain a target audio;
and packaging the first video and the target audio to obtain a second video.
Optionally, the singing mode is a singing climax mode, and accordingly, the accompanying audio is in a playing state, including: the climax section of the accompaniment audio is in a playing state.
Optionally, when the target mode is the presentation mode, the recording module 603 is configured to: playing the original singing audio of the second song;
keeping the microphone in a closed state, and shooting a third video;
and packaging the third video and the original audio to obtain a fourth video.
Optionally, the selecting module is configured to: selecting the singing mode as a target mode according to a first recording mode selection instruction, wherein the first recording mode selection instruction is triggered by a confirmation operation of a first control in a video recording interface; and/or selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of a second control in the video recording interface.
Optionally, the apparatus further comprises:
and the display module is used for displaying at least one of the first control and the second control in a video recording interface.
Optionally, the display module is configured to: displaying a popup in a video recording interface, wherein the popup comprises at least one of the first control and the second control; or displaying at least one of the first control and the second control in a preset area of a video recording interface.
Optionally, the apparatus further comprises:
and the playing module is used for playing the original singing audio of the first song.
Optionally, the apparatus further comprises:
the processing module is used for processing the video according to a first editing function corresponding to the singing mode when the target mode is the singing mode; or when the target mode is the presentation mode, processing the video according to a second editing function corresponding to the presentation mode.
Optionally, the apparatus further comprises:
a display module to: when the target mode is the singing mode, displaying a third control in a video editing interface, wherein the third control is used for providing a first editing function corresponding to the singing mode; or when the target mode is the presentation mode, displaying a fourth control in the video editing interface, wherein the fourth control is used for providing a second editing function corresponding to the presentation mode.
Optionally, the apparatus further comprises:
a display module to: when the target mode is the singing mode, displaying a fourth control in a video editing interface, wherein the fourth control is in a forbidden state; or,
and when the target mode is the demonstration mode, displaying a third control in the video editing interface, wherein the third control is in a disabled state.
Optionally, the processing module is configured to: adjusting the sound effect of human voice in the video; and/or adjusting the volume of the human voice audio in the video.
Optionally, the processing module is configured to: adding a disk jockey DJ effect to original audio in the video; and/or replace the original audio in the video.
Optionally, the apparatus further comprises:
and the disabling module is used for disabling the recording mode selection instruction when receiving the recording starting instruction.
Optionally, the apparatus further comprises:
and the activation module is used for activating the recording mode selection instruction when the recorded video is deleted.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It should be noted that: in the video recording apparatus provided in the foregoing embodiment, when recording a video, only the division of the functional modules is described as an example, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the video recording apparatus and the video recording method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments in detail and are not described herein again.
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 700 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. Terminal 700 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, and so on.
In general, terminal 700 includes: a processor 701 and a memory 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, touch screen display 705, camera 706, audio circuitry 707, positioning components 708, and power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the terminal 700; in other embodiments, the display 705 can be at least two, respectively disposed on different surfaces of the terminal 700 or in a folded design; in still other embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the terminal 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is used to locate the current geographic Location of the terminal 700 for navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
In some embodiments, terminal 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 713, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 can detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the touch screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the terminal 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the terminal 700 by the user. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 713 may be disposed on a side bezel of terminal 700 and/or an underlying layer of touch display 705. When the pressure sensor 713 is disposed on a side frame of the terminal 700, a user's grip signal on the terminal 700 may be detected, and the processor 701 performs right-left hand recognition or shortcut operation according to the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed at a lower layer of the touch display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the touch display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the terminal 700. When a physical button or a vendor Logo is provided on the terminal 700, the fingerprint sensor 714 may be integrated with the physical button or the vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the touch display 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 705 is increased; when the ambient light intensity is low, the display brightness of the touch display 705 is turned down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on a front panel of the terminal 700. The proximity sensor 716 is used to collect the distance between the user and the front surface of the terminal 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually decreases, the processor 701 controls the touch display 705 to switch from the bright screen state to the dark screen state; when the proximity sensor 716 detects that the distance between the user and the front surface of the terminal 700 gradually becomes larger, the processor 701 controls the touch display 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 is not intended to be limiting of terminal 700 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer-readable storage medium, such as a memory, including instructions executable by a processor in a terminal to perform the video recording method in the above embodiments is also provided. For example, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
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.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (12)
1. A method for video recording, the method comprising:
displaying a popup window in a video recording interface, wherein the popup window comprises at least one of a first control and a second control; or,
displaying at least one of the first control and the second control in a preset area of a video recording interface;
receiving a recording mode selection instruction;
selecting a singing mode as a target mode according to a first recording mode selection instruction, wherein the first recording mode selection instruction is triggered by a confirmation operation of a first control in a video recording interface; and/or the presence of a gas in the gas,
selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of the second control in the video recording interface;
recording a video according to the target mode;
when the target mode is the singing mode, processing a video according to a first editing function corresponding to the singing mode, wherein the first editing function is a human voice audio editing function which is used for editing human voice audio in the video; or,
when the target mode is the presentation mode, processing the video according to a second editing function corresponding to the presentation mode, wherein the second editing function is an original audio editing function, and the original audio editing function is used for editing original audio in the video;
wherein the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state, wherein the camera is used for recording the video and the microphone is used for collecting the audio;
the demonstration mode is as follows: recording a video mode when the microphone is in a closed state;
when a recording starting instruction is received, disabling the recording mode selection instruction;
and when the recorded video is deleted, activating the recording mode selection instruction.
2. The method of claim 1, wherein when the target mode is the singing mode, the recording video according to the target mode comprises:
playing the accompaniment audio of the first song;
collecting voice and audio, and shooting a first video;
mixing the human voice audio and the accompaniment audio to obtain a target audio;
and packaging the first video and the target audio to obtain a second video.
3. The method of claim 1 or 2, wherein the singing mode is a singing climax mode, and accordingly the accompanying audio is in a playing state, comprising: the climax section of the accompaniment audio is in a playing state.
4. The method of claim 1, wherein when the target mode is the presentation mode, the recording video according to the target mode comprises:
playing the original singing audio of the second song;
keeping the microphone in a closed state, and shooting a third video;
and packaging the third video and the original audio to obtain a fourth video.
5. The method of claim 1, wherein when the target mode is the singing mode, prior to recording video in the target mode, the method further comprises:
the original audio of the first song is played.
6. The method of claim 1, wherein after recording the video in the target mode, the method further comprises:
when the target mode is the singing mode, displaying a third control in a video editing interface, wherein the third control is used for providing a first editing function corresponding to the singing mode; or,
and when the target mode is the demonstration mode, displaying a fourth control in a video editing interface, wherein the fourth control is used for providing a second editing function corresponding to the demonstration mode.
7. The method of claim 1, wherein after recording the video in the target mode, the method further comprises:
when the target mode is the singing mode, displaying a fourth control in a video editing interface, wherein the fourth control is in a forbidden state; or,
and when the target mode is the demonstration mode, displaying a third control in a video editing interface, wherein the third control is in a forbidden state.
8. The method according to claim 1, wherein the processing the video according to the first editing function corresponding to the singing mode comprises:
adjusting the sound effect of human voice in the video; and/or the presence of a gas in the gas,
and adjusting the volume of the human voice in the video.
9. The method according to claim 1, wherein the processing the video according to the second editing function corresponding to the presentation mode comprises:
adding a disk jockey DJ effect to original audio in the video;
replacing the original audio in the video.
10. A video recording apparatus, characterized in that the apparatus comprises:
the display module is used for displaying a popup in a video recording interface, wherein the popup comprises at least one of a first control and a second control; or at least one of the first control and the second control is displayed in a preset area of a video recording interface;
the receiving module is used for receiving a recording mode selection instruction;
the selection module is used for selecting a singing mode as a target mode according to a first recording mode selection instruction, and the first recording mode selection instruction is triggered by a confirmation operation of the first control in a video recording interface; and/or selecting the demonstration mode as a target mode according to a second recording mode selection instruction, wherein the second recording mode selection instruction is triggered by the confirmation operation of the second control in the video recording interface;
the recording module is used for recording videos according to the target mode;
the device is used for processing the video according to a first editing function corresponding to the singing mode when the target mode is the singing mode, wherein the first editing function is a voice and audio editing function which is used for editing voice and audio in the video; or when the target mode is the performance mode, processing the video according to a second editing function corresponding to the performance mode, wherein the second editing function is an original audio editing function, and the original audio editing function is used for editing original audio in the video; when a recording starting instruction is received, disabling the recording mode selection instruction; activating the recording mode selection instruction when the recorded video is deleted;
wherein the singing mode is as follows: recording a video mode when the accompaniment audio is in a playing state, the microphone is in an opening state and the camera is in an opening state, wherein the camera is used for recording the video and the microphone is used for recording the audio;
the demonstration mode is as follows: and recording the video when the microphone is in the off state.
11. A terminal, characterized in that the terminal comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the operations performed by the video recording method according to any one of claims 1 to 9.
12. A computer-readable storage medium having stored therein at least one instruction which is loaded and executed by a processor to perform operations performed by a video recording method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811482172.1A CN109587549B (en) | 2018-12-05 | 2018-12-05 | Video recording method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811482172.1A CN109587549B (en) | 2018-12-05 | 2018-12-05 | Video recording method, device, terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109587549A CN109587549A (en) | 2019-04-05 |
CN109587549B true CN109587549B (en) | 2021-08-13 |
Family
ID=65927559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811482172.1A Active CN109587549B (en) | 2018-12-05 | 2018-12-05 | Video recording method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109587549B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109618116B (en) * | 2018-12-25 | 2020-07-28 | 北京微播视界科技有限公司 | Multimedia information processing method, electronic equipment and computer storage medium |
CN110265067B (en) * | 2019-06-27 | 2021-11-16 | 北京字节跳动网络技术有限公司 | Method and device for recording hot segments, electronic equipment and readable medium |
CN110944214B (en) * | 2019-12-06 | 2021-09-14 | 广州酷狗计算机科技有限公司 | Method, device, equipment, system and storage medium for intercepting high-tide video segments of songs |
CN112019923B (en) * | 2020-09-02 | 2021-05-07 | 深圳爱卓软科技有限公司 | Video cutting processing method |
CN112153288B (en) * | 2020-09-25 | 2023-10-13 | 北京字跳网络技术有限公司 | Method, apparatus, device and medium for distributing video or image |
CN113590076B (en) * | 2021-07-12 | 2024-03-29 | 杭州网易云音乐科技有限公司 | Audio processing method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103338345A (en) * | 2013-06-09 | 2013-10-02 | 福建星网视易信息系统有限公司 | Method for shooting images or videos in singing and device applying same |
CN104883516A (en) * | 2015-06-05 | 2015-09-02 | 福建星网视易信息系统有限公司 | Method and system for producing real-time singing video |
CN105379254A (en) * | 2013-05-07 | 2016-03-02 | 石哲 | Recording medium recorded with multi-track media file, method for editing multi-track media file, and apparatus for editing multi-track media file |
CN108345489A (en) * | 2018-03-07 | 2018-07-31 | 北京唱吧科技股份有限公司 | A kind of program request system |
CN108922506A (en) * | 2018-06-29 | 2018-11-30 | 广州酷狗计算机科技有限公司 | Song audio generation method, device and computer readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010002921A1 (en) * | 2008-07-01 | 2010-01-07 | Yoostar Entertainment Group, Inc. | Interactive systems and methods for video compositing |
WO2014178463A1 (en) * | 2013-05-03 | 2014-11-06 | Seok Cheol | Method for producing media contents in duet mode and apparatus used therein |
CN104967900B (en) * | 2015-05-04 | 2018-08-07 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus generating video |
CN106468987B (en) * | 2015-08-18 | 2020-05-12 | 腾讯科技(深圳)有限公司 | Information processing method and client |
CN108111789A (en) * | 2016-11-24 | 2018-06-01 | 摩托罗拉移动有限责任公司 | Logging mode is selected based on free memory |
CN106847246A (en) * | 2017-03-01 | 2017-06-13 | 华东交通大学 | A kind of song chorus method, apparatus and system |
CN107509021B (en) * | 2017-07-18 | 2020-08-07 | 咪咕文化科技有限公司 | Shooting method, shooting device and storage medium |
CN108055490B (en) * | 2017-10-25 | 2021-04-13 | 北京密境和风科技有限公司 | Video processing method and device, mobile terminal and storage medium |
CN108259989B (en) * | 2018-01-19 | 2021-09-17 | 广州方硅信息技术有限公司 | Video live broadcast method, computer readable storage medium and terminal equipment |
CN108597484A (en) * | 2018-03-19 | 2018-09-28 | 潍坊学院 | A kind of multi-mode singing system |
-
2018
- 2018-12-05 CN CN201811482172.1A patent/CN109587549B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105379254A (en) * | 2013-05-07 | 2016-03-02 | 石哲 | Recording medium recorded with multi-track media file, method for editing multi-track media file, and apparatus for editing multi-track media file |
CN103338345A (en) * | 2013-06-09 | 2013-10-02 | 福建星网视易信息系统有限公司 | Method for shooting images or videos in singing and device applying same |
CN104883516A (en) * | 2015-06-05 | 2015-09-02 | 福建星网视易信息系统有限公司 | Method and system for producing real-time singing video |
CN108345489A (en) * | 2018-03-07 | 2018-07-31 | 北京唱吧科技股份有限公司 | A kind of program request system |
CN108922506A (en) * | 2018-06-29 | 2018-11-30 | 广州酷狗计算机科技有限公司 | Song audio generation method, device and computer readable storage medium |
Non-Patent Citations (2)
Title |
---|
"Android平台下K歌软件的设计与实现";胡为楚;《中国优秀硕士学位论文全文数据库》;20160215;全文 * |
"Design and implementation of karaoke system based on Android platform";Juanjuan Cai等;《2017 3rd IEEE International Conference on Computer and Communications (ICCC)》;20180326;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109587549A (en) | 2019-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110336960B (en) | Video synthesis method, device, terminal and storage medium | |
CN108769561B (en) | Video recording method and device | |
CN109587549B (en) | Video recording method, device, terminal and storage medium | |
CN109302538B (en) | Music playing method, device, terminal and storage medium | |
CN109756784B (en) | Music playing method, device, terminal and storage medium | |
CN109033335B (en) | Audio recording method, device, terminal and storage medium | |
CN107908929B (en) | Method and device for playing audio data | |
CN108538302B (en) | Method and apparatus for synthesizing audio | |
CN109168073B (en) | Method and device for displaying cover of live broadcast room | |
CN110688082B (en) | Method, device, equipment and storage medium for determining adjustment proportion information of volume | |
CN111061405B (en) | Method, device and equipment for recording song audio and storage medium | |
CN109448761B (en) | Method and device for playing songs | |
CN109346111B (en) | Data processing method, device, terminal and storage medium | |
CN108897597B (en) | Method and device for guiding configuration of live broadcast template | |
CN110290392B (en) | Live broadcast information display method, device, equipment and storage medium | |
CN109192218B (en) | Method and apparatus for audio processing | |
CN108922506A (en) | Song audio generation method, device and computer readable storage medium | |
CN111711838B (en) | Video switching method, device, terminal, server and storage medium | |
CN109743461B (en) | Audio data processing method, device, terminal and storage medium | |
CN110266982B (en) | Method and system for providing songs while recording video | |
CN111741366A (en) | Audio playing method, device, terminal and storage medium | |
CN113596516B (en) | Method, system, equipment and storage medium for chorus of microphone and microphone | |
CN112165628A (en) | Live broadcast interaction method, device, equipment and storage medium | |
CN111402844A (en) | Song chorusing method, device and system | |
CN110808021B (en) | Audio playing method, device, terminal and storage medium |
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 |