WO2020010818A1 - Video capturing method and apparatus, terminal, server and storage medium - Google Patents

Video capturing method and apparatus, terminal, server and storage medium Download PDF

Info

Publication number
WO2020010818A1
WO2020010818A1 PCT/CN2018/124777 CN2018124777W WO2020010818A1 WO 2020010818 A1 WO2020010818 A1 WO 2020010818A1 CN 2018124777 W CN2018124777 W CN 2018124777W WO 2020010818 A1 WO2020010818 A1 WO 2020010818A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
original
audio
terminal
shooting
Prior art date
Application number
PCT/CN2018/124777
Other languages
French (fr)
Chinese (zh)
Inventor
廖智
Original Assignee
北京微播视界科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京微播视界科技有限公司 filed Critical 北京微播视界科技有限公司
Publication of WO2020010818A1 publication Critical patent/WO2020010818A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • Embodiments of the present disclosure relate to the field of Internet technologies, and for example, to a video shooting method, device, terminal, server, and storage medium.
  • Video interactive software provides users with a variety of operating experiences. Users can shoot different styles of video anytime, anywhere, add one or more special effects, and set different types of background music.
  • Embodiments of the present disclosure provide a method, a device, a terminal, a server, and a storage medium for video shooting, so as to achieve the effects of rich and relevant video shooting methods.
  • an embodiment of the present disclosure provides a video shooting method applied to a terminal.
  • the method includes:
  • an embodiment of the present disclosure further provides a video shooting method, which is applied to a server.
  • the method includes:
  • an embodiment of the present disclosure further provides a video shooting device configured on a terminal.
  • the device includes:
  • the obtaining module is configured to obtain the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, where the detailed interface of the original audio is triggered by a user to trigger an audio identifier in a playback interface for playing the original video. display;
  • the shooting module is configured to enter a video shooting interface based on the soundtrack audio, and use the soundtrack audio as background music for shooting a video.
  • an embodiment of the present disclosure further provides a video shooting device configured on a server.
  • the device includes:
  • An audio retrieval module configured to retrieve, from the original music library, original sound audio matching the original video played by the terminal in response to a video shooting request sent by the terminal;
  • the audio delivery module is configured to send the original audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original audio as background music for shooting a video.
  • an embodiment of the present disclosure further provides a terminal, including:
  • One or more processors are One or more processors;
  • a storage device configured to store one or more programs
  • the one or more processors are enabled to implement the video shooting method applied to the terminal according to any embodiment of the present disclosure.
  • an embodiment of the present disclosure further provides a server, including:
  • One or more processors are One or more processors;
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a video shooting method applied to a server according to any embodiment of the present disclosure.
  • an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the application is implemented in a terminal according to any embodiment of the present disclosure.
  • Video shooting method
  • the embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored.
  • the computer program When the computer program is executed by a processor, the computer program implements application to a server according to any embodiment of the present disclosure. Video shooting method.
  • FIG. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a client interface switching provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic flowchart of still another video shooting method according to an embodiment of the present disclosure.
  • 5a is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure.
  • 5b is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure.
  • FIG. 6a is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure.
  • 6b is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to a situation of shooting a video.
  • the method may be performed by a video shooting device, and the device may be implemented in software and / or hardware. It can be implemented and can be configured on any terminal with network communication functions, such as smart phones and tablet computers.
  • the video shooting method provided by the embodiment of the present disclosure may include S110 to S120.
  • the original audio is acquired in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user by triggering the audio identification in the playback interface of the original video.
  • the user can enter the detailed interface of the original audio in the current original video by triggering the audio identifier set on the video playback interface.
  • the user You can perform operations on the original audio.
  • the operation of the user to trigger the audio logo can be click or slide, and the audio logo can be set on the playback interface in the form of an icon of any shape, and the audio logo can be set on the screen without affecting the effect of the user watching the video normally. Anywhere on the playback interface.
  • the audio logo may be provided in the form of a circular icon at the lower right of the playback interface, and the audio logo may be provided with a rotating special effect for continuously playing notes.
  • the user can send a video capture request by clicking or sliding on the detailed interface.
  • the video capture request can include the name and unique identifier of the original audio
  • the terminal responds to the user's video shooting request, obtains the original audio in the original video, and can store the original audio in the system buffer area after obtaining the original audio, so that the user can perform video shooting based on the original audio.
  • the method for acquiring the original audio may be that when the terminal obtains the original video to be played, the terminal simultaneously acquires the original audio in the original video, and then stores the original video and the original audio in the terminal separately, so as to receive the video capture of the user in the future. Called on request by name or unique ID match.
  • the video shooting request is sent through a shooting identifier on the detailed interface of the original audio triggered by the user.
  • a shooting logo is set on the detailed interface of the original audio, and the user can send a video shooting request by clicking or sliding the shooting logo.
  • the shooting mark may also be displayed in the form of an icon of any shape, and its shape and setting position are not specifically limited in this embodiment.
  • the client switches from the current original video playback interface to the detailed interface of the original audio in the original video.
  • the audio identifier 201 is displayed in the form of a circular icon at the lower right of the playback interface.
  • the original video played on the playback interface is displayed in the form of a small window.
  • the shooting logo 202 is displayed at the bottom of the detailed interface.
  • the shooting logo 202 can display "shoot" or "shoot the same paragraph" And so on.
  • the terminal receives the video shooting request of the user, and obtains the original audio in the original video.
  • the video capture interface is entered based on the acquired original audio, and the original audio is used as the background music of the captured video.
  • the terminal After the original audio is obtained by the terminal, switch from the detailed interface of the original audio to the video shooting interface, and use the original audio as the background music of the video currently taken by the user to obtain the same video with the same original audio as the previously played original video. .
  • the user can usually only select an existing song as the background music video shooting method.
  • This embodiment can implement a video shooting effect based on the original audio in the currently playing original video, so that the background during the video shooting process Music is no longer limited to existing songs, enriches related video shooting elements, increases user selectivity to background music, further enriches video shooting methods, and improves user video shooting experience.
  • the client switches from the detailed interface of the original audio to the shooting interface.
  • the terminal will call the camera, and the user can start the shooting logo 203 for video shooting by long-pressing or clicking on the shooting interface.
  • the progress bar of the video shooting can be displayed in real time above the video shooting interface. Realize the effect of shooting the same video based on the existing original audio.
  • obtaining the original audio in response to a video shooting request sent by a user through a detailed interface of the original audio includes:
  • the terminal may also send the video capture request to the server after receiving the video capture request from the user, and the server may retrieve the matching original audio, and then send it to the terminal. .
  • the server may retrieve the matching original audio, and then send it to the terminal.
  • obtaining the original audio from the server can save the storage space of the terminal to a certain extent.
  • time, power, and the like are included in FIG. 2.
  • the time is before 12 noon (Ante Meridiem, AM).
  • the technical solution of the embodiment of the present disclosure solves the problem by obtaining the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, and then enters the video shooting interface based on the original audio, and uses the original audio as the background music of the video currently taken by the user. It solves the problem of a single video shooting method in the related technology, and can achieve the effect of shooting the same video based on the original audio in the currently playing original video, making the background music in the video shooting process no longer limited to existing songs, which enriches related videos.
  • the shooting element increases the user's selectivity for background music, which enriches the video shooting method and improves the user's video shooting experience.
  • FIG. 3 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure. As shown in FIG. 3, the method may include S210 to
  • the client can send a video playback request by clicking the play identifier on the homepage of the client.
  • the video playback request includes the video name and the unique identifier of the video.
  • the terminal receives the video playback request, it can continue to forward the video playback request to the server.
  • the server receives the video playback request, it matches and retrieves it from the server's video library, and then matches the video playback request with the user's video playback request.
  • the video with the matching video name is delivered to the terminal.
  • the server in this embodiment may be a local server of a client provider or a cloud server thereof.
  • a type of the video to be played is determined, and a storage location of the type is determined according to the determined type of the video to be played.
  • the types of the video to be played include an original video and a non-acoustic video.
  • the video can be played on the video playing interface, and at the same time, the type of the video to be played will be determined. If the to-be-played video is shot with non-acoustic audio, such as an existing song, as the music background, it is a non-acoustic video. If the to-be-played video is shot with original audio, as the music background, it is an original video.
  • the storage location of the original or non-acoustic audio can be determined, and the required audio can be obtained according to the corresponding address.
  • determining the type of the video to be played includes:
  • the type of the video to be played is determined by identifying a preset field in the file of the video to be played, where the preset field is used to identify the original video.
  • the determination of the type of the video to be played may be determined by identifying a preset field in a file of the video to be played. If it is identified that the file of the video to be played includes a preset field, the video belongs to the original video. If it is not recognized that the file of the video to be played includes a preset field, the video belongs to a non-sound video.
  • the terminal system may add a preset field to the corresponding video file during the data saving process after the video shooting is completed, or it may add a preset field to the created video file before the video shooting and after the background music is determined. Set the field.
  • different preset fields may be added to the original audio file and the non-acoustic audio file to indicate the difference.
  • the position of the preset field in the video file or the audio file may be a file header.
  • the original audio is acquired in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user by triggering the audio identification in the playback interface of the original video.
  • the user can enter the detailed interface of the original audio through the audio identifier on the playback interface, and then send a video shooting request on the detailed interface.
  • the terminal After receiving the user's video shooting request, the terminal obtains the corresponding original audio according to the audio storage location determined based on the video type.
  • a prompt identifier can be set to display the current audio type to remind the user that the audio in the currently playing video belongs to the original audio, so that it is convenient for the user to determine the type of video to be shot soon.
  • the non-acoustic audio details interface can also be set to display a prompt indicator with the word "non-acoustic".
  • any other prompt identifiers that can distinguish original audio from non-acoustic audio can also be used.
  • the video capture interface is entered based on the acquired original audio, and the original audio is used as the background music of the captured video.
  • the technical solution of the embodiment of the present disclosure obtains a to-be-played video in response to a video playback request sent by a client through a client, and determines whether the type of the video belongs to an original video, and then determines a storage location of the original audio, and then responds to the user through the current
  • the video shooting request sent by the detailed interface of the original audio in the played original video acquires the original audio, and finally enters the video shooting interface based on the original audio for the user to shoot.
  • the embodiments of the present disclosure solve the problem of a single video shooting method in the related art, and can achieve the same video shooting effect based on the original audio, so that the background music in the video shooting process is no longer limited to existing songs, and the related video shooting elements are enriched.
  • FIG. 4 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to a situation of shooting a video, and is performed in cooperation with the video shooting method applied to a terminal in the foregoing embodiment of the present disclosure.
  • the video shooting method provided by this embodiment may be executed by a corresponding video shooting device, and the video shooting device may be configured on any server having a network communication function.
  • the video shooting method provided by the embodiment of the present disclosure may include S310 to S320.
  • Network communication can be performed between the terminal and the server. After the server receives the video capture request sent by the terminal, according to the name and unique identifier of the original audio included in the video capture request, the name or unique identifier is matched in the original music library. If the match is successful, the original sound is matched. Take out the audio tone and send it to the terminal.
  • the retrieved original audio and an audio use instruction are sent to the terminal, where the audio use instruction is used to instruct the terminal to use the original audio as background music for shooting a video.
  • the terminal can use the original audio as the background music currently taken by the user, so as to achieve the same video shooting of the same original audio.
  • the method in response to a video shooting request sent by the terminal, before the original sound audio matching the original video played by the terminal is retrieved from the original sound music library, the method further includes:
  • a video matching the video playback request is delivered to the terminal.
  • the user enables the client to send a video playback request, and the server receives the video playback request forwarded by the terminal, and then looks for a video that matches the video playback request in the video database and sends it to the terminal for the user to watch.
  • the server receives the video playback request forwarded by the terminal, and then looks for a video that matches the video playback request in the video database and sends it to the terminal for the user to watch.
  • the user is watching the video, if he is interested in the audio in the current video, he can enter the audio details interface to send a video shooting request.
  • the original audio audio matching the original audio video currently playing on the terminal is retrieved from the original music library, and is delivered to the terminal so that the terminal uses the original audio as the user's current
  • the background music of the video is captured to realize the shooting of the same video, which solves the problem of a single video shooting method in the related technology, making the background music in the video shooting process no longer limited to existing songs, enriching the relevant video shooting elements, and increasing
  • the user's selectivity to background music further enriches the video shooting methods and improves the user's video shooting experience.
  • FIG. 5a is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure. This embodiment is applicable to a situation of shooting a video.
  • the device may be implemented in software and / or hardware, and may be configured on any terminal having a network communication function, such as a smart phone, a tablet computer, and the like.
  • the video shooting device may include an obtaining module 410 and a shooting module 420, where:
  • the audio acquisition module 410 is configured to acquire the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user triggering the audio identification in the playback interface of the original video ;
  • the shooting module 420 is configured to enter a video shooting interface based on the acquired original audio, and use the original audio as background music for video shooting.
  • the video shooting request in the obtaining module 410 is sent through a shooting identifier on the detailed interface of the user triggering the original audio.
  • the device further includes:
  • the video acquisition module 430 is configured to acquire a video to be played in response to a video playback request sent by a user through a client;
  • the type determining module 440 is configured to determine a type of a video to be played; and determine a storage location of the type according to the determined type of the video to be played; wherein the types of the video to be played include an original video and a non-acoustic video.
  • the type determining module 440 is configured to:
  • the type of the video to be played is determined by identifying a preset field in the file of the video to be played, where the preset field is used to identify the original video.
  • the audio obtaining module 410 includes a sending unit and an obtaining unit, where:
  • a sending unit configured to respond to a video shooting request sent by the user through the detailed interface of the original audio, and send the video shooting request to a server;
  • the obtaining unit is configured to obtain the original audio returned by the server after being retrieved from the original music library.
  • the above-mentioned video shooting device can execute the video shooting method applied to a terminal provided by any embodiment of the present disclosure, and has the corresponding functional modules and effects of the execution method.
  • FIG. 6a is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure.
  • the embodiment of the present disclosure is applicable to a situation where video is captured.
  • the video shooting device may be implemented in software and / or hardware, and may be configured in Any server with network communication capabilities.
  • the video shooting device may include an audio retrieval module 510 and an audio delivery module 520, where:
  • the audio calling module 510 is configured to, in response to a video shooting request sent by the terminal, retrieve the original audio from the original music library that matches the original video played by the terminal;
  • the audio delivery module 520 is configured to deliver the retrieved original audio and audio usage instructions to the terminal, where the audio usage instruction is used to instruct the terminal to use the original audio as background music for video shooting.
  • the device further includes:
  • the video issuing module 530 is configured to respond to a video playing request sent by the terminal, and deliver a video matching the video playing request to the terminal.
  • the above-mentioned video shooting device can execute the video shooting method applied to a server provided by any embodiment of the present disclosure, and has corresponding function modules and effects of executing the method.
  • FIG. 7 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
  • the terminal may be implemented in one or more forms.
  • the terminal in the embodiments of the present disclosure may include, but is not limited to, such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), Tablet PC (Portable Device (PAD)), Portable Multimedia Player (Portable Media Player (PMP)), navigation device, vehicle terminal, vehicle display terminal, vehicle electronic rearview mirror, etc. and mobile terminal such as digital television (Television, TV) , Desktop computers, and more.
  • PDA personal digital assistant
  • PDA Tablet PC
  • PMP Portable Multimedia Player
  • TV digital television
  • Desktop computers and more.
  • the terminal 600 may include a wireless communication unit 610, an audio / video (Audio / Video, A / V) input unit 620, a user input unit 630, a sensing unit 640, an output unit 650, a memory 660, and an interface unit. 670, processor 680, power supply unit 690, and so on.
  • FIG. 7 illustrates a terminal with various components, but it should be understood that implementation of all of the illustrated components is not required. More or fewer components may be implemented instead.
  • the wireless communication unit 610 allows radio communication between the terminal 600 and a wireless communication system or network.
  • the A / V input unit 620 is configured to receive an audio or video signal.
  • the user input unit 630 may generate key input data according to a command input by the user to control one or more operations of the terminal 600.
  • the sensing unit 640 detects the current state of the terminal 600, the position of the terminal 600, the presence or absence of a user's touch input to the terminal 600, the orientation of the terminal 600, the acceleration or deceleration movement and direction of the terminal 600, and the like, and generates a terminal for controlling the terminal 600 commands or signals for operation.
  • the interface unit 670 functions as an interface through which at least one external device can connect with the terminal 600.
  • the output unit 650 is configured to provide an output signal in a visual, audio, and / or tactile manner.
  • the memory 660 may store software programs and the like for processing and control operations performed by the processor 680, or may temporarily store data that has been output or is to be output.
  • the memory 660 may include at least one type of storage medium.
  • the terminal 600 may cooperate with a network storage device that performs a storage function of the memory 660 through a network connection.
  • the processor 680 generally controls the overall operation of the terminal 600.
  • the processor 680 may include a multimedia module for reproducing or playing back multimedia data.
  • the processor 680 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images.
  • the power supply unit 690 receives external power or internal power under the control of the processor 680 and provides appropriate power required to operate each element and component.
  • the method may be applied to a video shooting method for a terminal as provided in any embodiment of the present disclosure, and the method may include:
  • FIG. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present disclosure.
  • the server may be implemented in one or more forms.
  • the server in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA, a PAD, a PMP, a navigation device, and a vehicle terminal.
  • Mobile terminals such as vehicle-mounted display terminals, vehicle-mounted electronic rear-view mirrors, and fixed terminals such as digital TVs, desktop computers, and the like.
  • the server 700 may include a wireless communication unit 710, an A / V input unit 720, a user input unit 730, a sensing unit 740, an output unit 750, a memory 760, an interface unit 770, a processor 780, and a power supply unit 790 and many more.
  • FIG. 8 shows a server with various components, but it should be understood that it is not required to implement all of the components shown. More or fewer components may be implemented instead.
  • the wireless communication unit 710 allows radio communication between the server 700 and a wireless communication system or network.
  • the A / V input unit 720 is configured to receive an audio or video signal.
  • the user input unit 730 may generate key input data according to a command input by the user to control one or more operations of the server.
  • the sensing unit 740 detects the current status of the server 700, the location of the server 700, the presence or absence of a user's touch input to the server 700, the orientation of the server 700, the acceleration or deceleration movement and direction of the server 700, and the like, and generates a control for the server 700 commands or signals for operation.
  • the interface unit 770 functions as an interface through which at least one external device can connect to the server 700.
  • the output unit 750 is configured to provide an output signal in a visual, audio, and / or tactile manner.
  • the memory 760 may store software programs and the like for processing and control operations performed by the processor 780, or may temporarily store data that has been output or is to be output.
  • the memory 760 may include at least one type of storage medium.
  • the server 700 may cooperate with a network storage device that performs a storage function of the memory 760 through a network connection.
  • the processor 780 typically controls the overall operation of the server.
  • the processor 780 may include a multimedia module for reproducing or playing back multimedia data.
  • the processor 780 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images.
  • the power supply unit 790 receives external power or internal power under the control of the processor 780 and provides appropriate power required to operate each element and component.
  • a video shooting method applied to a server as provided in any embodiment of the present disclosure may be implemented, and the method may include:
  • An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored.
  • the computer program when executed by a computer processor, is used to implement a video shooting method applied to a terminal.
  • the method may include:
  • a computer-readable storage medium provided in the embodiments of the present disclosure, the computer program of which is executed by a computer processor is not limited to the method operations described above, and may also perform the application provided by any embodiment of the present disclosure. Related operations in the video shooting method of the terminal.
  • the computer storage medium of the embodiment of the present disclosure may adopt any combination of one or more computer-readable media.
  • the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • Computer-readable storage media includes: electrical connections with one or more wires, portable computer disks, hard disks, Random Access Memory (RAM), Read-Only Memory , ROM), Erasable Programmable Read-Only Memory (EPROM) (such as flash memory), optical fiber, Compact Disc Read-Only Memory (CD-ROM), optical memory Device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • the computer-readable signal medium may include a data signal propagated in baseband or transmitted as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), or the like, or any suitable combination of the foregoing.
  • RF radio frequency
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including programming languages such as Java, Smalltalk, C ++, and conventional Procedural programming language, such as "C" or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as (Using an Internet service provider to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as (Using an Internet service provider to connect via the Internet).
  • An embodiment of the present disclosure also provides another computer-readable storage medium whose computer program, when executed by a computer processor, is used to implement a video shooting method applied to a server.
  • the method may include:

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed is a video capturing method. The method comprises: in response to a video capturing request sent by a user through a detail interface of original-sound audio, acquiring the original-sound audio, wherein the detail interface of the original-sound audio is displayed by the user triggering an audio identification in a playing interface for playing an original-sound video; and entering a video capturing interface on the basis of the acquired original-sound audio, and taking the original-sound audio as background music of the captured video. Further disclosed are a video capturing apparatus, a terminal, a server and a storage medium.

Description

视频拍摄方法、装置、终端、服务器和存储介质Video shooting method, device, terminal, server and storage medium
本申请要求在2018年07月12日提交中国专利局、申请号为201810765245.1的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed with the Chinese Patent Office on July 12, 2018, with application number 201810765245.1, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本公开实施例涉及互联网技术领域,例如涉及一种视频拍摄方法、装置、终端、服务器和存储介质。Embodiments of the present disclosure relate to the field of Internet technologies, and for example, to a video shooting method, device, terminal, server, and storage medium.
背景技术Background technique
网络技术的发展,使得视频交互应用在人们的日常生活中非常流行。The development of network technology has made video interactive applications very popular in people's daily lives.
视频交互类软件为用户提供了多样化的操作体验,用户可以随时随地拍摄不同风格的视频,并添加一种或多种特效,设置不同类型的背景音乐。Video interactive software provides users with a variety of operating experiences. Users can shoot different styles of video anytime, anywhere, add one or more special effects, and set different types of background music.
然而,相关的视频交互类软件中,用户只能选择已有歌曲作为背景音乐进行视频拍摄,导致拍摄方式单一。However, in related video interaction software, users can only select existing songs as background music for video shooting, resulting in a single shooting mode.
发明内容Summary of the invention
本公开实施例提供一种视频拍摄方法、装置、终端、服务器和存储介质,以实现丰富相关的视频拍摄方法的效果。Embodiments of the present disclosure provide a method, a device, a terminal, a server, and a storage medium for video shooting, so as to achieve the effects of rich and relevant video shooting methods.
在一实施例中,本公开实施例提供了一种视频拍摄方法,应用于终端,该方法包括:In an embodiment, an embodiment of the present disclosure provides a video shooting method applied to a terminal. The method includes:
响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;Acquiring the original audio in response to a video shooting request sent by a user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by an audio identifier in a playback interface triggered by the user to play the original video;
基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。Enter the video shooting interface based on the original audio, and use the original audio as background music for video shooting.
在一实施例中,本公开实施例还提供了一种视频拍摄方法,应用于服务器,该方法包括:In an embodiment, an embodiment of the present disclosure further provides a video shooting method, which is applied to a server. The method includes:
响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;Responding to a video shooting request sent by a terminal, fetching an original audio from the original music library that matches the original video played by the terminal;
将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。Sending the original sound audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original sound audio as background music for shooting a video.
在一实施例中,本公开实施例还提供了一种视频拍摄装置,配置于终端,该装置包括:In an embodiment, an embodiment of the present disclosure further provides a video shooting device configured on a terminal. The device includes:
获取模块,设置为响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;The obtaining module is configured to obtain the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, where the detailed interface of the original audio is triggered by a user to trigger an audio identifier in a playback interface for playing the original video. display;
拍摄模块,设置为基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。The shooting module is configured to enter a video shooting interface based on the soundtrack audio, and use the soundtrack audio as background music for shooting a video.
在一实施例中,本公开实施例还提供了一种视频拍摄装置,配置于服务器,该装置包括:In an embodiment, an embodiment of the present disclosure further provides a video shooting device configured on a server. The device includes:
音频调取模块,设置为响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;An audio retrieval module, configured to retrieve, from the original music library, original sound audio matching the original video played by the terminal in response to a video shooting request sent by the terminal;
音频下发模块,设置为将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。The audio delivery module is configured to send the original audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original audio as background music for shooting a video.
在一实施例中,本公开实施例还提供了一种终端,包括:In an embodiment, an embodiment of the present disclosure further provides a terminal, including:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序,A storage device configured to store one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开任意实施例所述的应用于终端的视频拍摄方法。When the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the video shooting method applied to the terminal according to any embodiment of the present disclosure.
在一实施例中,本公开实施例还提供了一种服务器,包括:In an embodiment, an embodiment of the present disclosure further provides a server, including:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序,A storage device configured to store one or more programs,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多 个处理器实现如本公开任意实施例所述的应用于服务器的视频拍摄方法。When the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a video shooting method applied to a server according to any embodiment of the present disclosure.
在一实施例中,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本公开任意实施例所述的应用于终端的视频拍摄方法。In an embodiment, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the application is implemented in a terminal according to any embodiment of the present disclosure. Video shooting method.
在一实施例中,本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本公开任意实施例所述的应用于服务器的视频拍摄方法。In an embodiment, the embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program implements application to a server according to any embodiment of the present disclosure. Video shooting method.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本公开实施例提供的一种视频拍摄方法的流程示意图;FIG. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure;
图2是本公开实施例提供的一种客户端界面切换的示意图;FIG. 2 is a schematic diagram of a client interface switching provided by an embodiment of the present disclosure; FIG.
图3是本公开实施例提供的另一种视频拍摄方法的流程示意图;3 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure;
图4是本公开实施例提供的又一种视频拍摄方法的流程示意图;4 is a schematic flowchart of still another video shooting method according to an embodiment of the present disclosure;
图5a是本公开实施例提供的一种视频拍摄装置的结构示意图;5a is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure;
图5b是本公开实施例提供的另一种视频拍摄装置的结构示意图;5b is a schematic structural diagram of another video shooting device according to an embodiment of the present disclosure;
图6a是本公开实施例提供的再一种视频拍摄装置的结构示意图;6a is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure;
图6b是本公开实施例提供的又一种视频拍摄装置的结构示意图;6b is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure;
图7是本公开实施例提供的一种终端的硬件结构示意图;7 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure;
图8是本公开实施例提供的一种服务器的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present disclosure.
具体实施方式detailed description
下面结合附图和实施例对本公开进行说明。此处所描述的实施例仅仅用于解释本公开,而非对本公开的限定。为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。The disclosure is described below with reference to the drawings and embodiments. The embodiments described herein are only used to explain the present disclosure, but not to limit the present disclosure. For ease of description, only some, but not all, structures related to the present disclosure are shown in the drawings.
实施例一Example one
图1是本公开实施例提供的一种视频拍摄方法的流程示意图,本公开实施例可适用于拍摄视频的情形,该方法可以由视频拍摄装置执行,该装置可以采 用软件和/或硬件的方式实现,并可配置于任何具有网络通信功能的终端上,例如智能手机、平板电脑等。FIG. 1 is a schematic flowchart of a video shooting method according to an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation of shooting a video. The method may be performed by a video shooting device, and the device may be implemented in software and / or hardware. It can be implemented and can be configured on any terminal with network communication functions, such as smart phones and tablet computers.
如图1所示,本公开实施例提供的视频拍摄方法可以包括S110至S120。As shown in FIG. 1, the video shooting method provided by the embodiment of the present disclosure may include S110 to S120.
在S110中,响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取该原声音频,其中,原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示。In S110, the original audio is acquired in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user by triggering the audio identification in the playback interface of the original video.
当用户启用终端上安装的视频交互应用的客户端观看原声视频时,可以通过触发视频播放界面上设置的音频标识进入当前原声视频中原声音频的详情界面,在该原声音频的详情页面上,用户可以对原声音频进行拍摄使用的操作。其中,用户触发音频标识的操作可以是点击或者滑动,音频标识可以以任意一种形状的图标形式设置于播放界面上,且在不影响用户正常观看视频的效果情况下,该音频标识可以设置于播放界面的任意位置。在一实施例中,从便于用户操作的角度考虑,该音频标识可以圆形图标形式设置在播放界面的右下方,同时该音频标识可以设置有不停放出音符的旋转特效。When the user enables the client of the video interactive application installed on the terminal to watch the original video, the user can enter the detailed interface of the original audio in the current original video by triggering the audio identifier set on the video playback interface. On the detailed page of the original audio, the user You can perform operations on the original audio. The operation of the user to trigger the audio logo can be click or slide, and the audio logo can be set on the playback interface in the form of an icon of any shape, and the audio logo can be set on the screen without affecting the effect of the user watching the video normally. Anywhere on the playback interface. In an embodiment, from the perspective of user-friendly operation, the audio logo may be provided in the form of a circular icon at the lower right of the playback interface, and the audio logo may be provided with a rotating special effect for continuously playing notes.
当从原声视频播放界面切换至原声音频的详情界面后,用户便可通过在该详情界面上的点击或者滑动操作发送视频拍摄请求,其中,视频拍摄请求中可以包括原声音频的名称和唯一性标识,进而,终端响应于用户的视频拍摄请求,获取该原声视频中的原声音频,获取原声音频之后可以将该原声音频存储在系统缓存区中,以便用户基于该原声音频进行视频拍摄。其中,对于获取该原声音频的方式可以是终端在获取待播放的原声视频时,同时获取原声视频中的原声音频,然后将原声视频和原声音频分别存储在终端,以便后续收到用户的视频拍摄请求时通过名称或唯一性标识匹配进行调用。After switching from the original video playback interface to the detailed interface of the original audio, the user can send a video capture request by clicking or sliding on the detailed interface. The video capture request can include the name and unique identifier of the original audio Further, the terminal responds to the user's video shooting request, obtains the original audio in the original video, and can store the original audio in the system buffer area after obtaining the original audio, so that the user can perform video shooting based on the original audio. The method for acquiring the original audio may be that when the terminal obtains the original video to be played, the terminal simultaneously acquires the original audio in the original video, and then stores the original video and the original audio in the terminal separately, so as to receive the video capture of the user in the future. Called on request by name or unique ID match.
在一实施例中,视频拍摄请求是通过用户触发原声音频的详情界面上的拍摄标识发送。In one embodiment, the video shooting request is sent through a shooting identifier on the detailed interface of the original audio triggered by the user.
在一实施例中,原声音频的详情界面上设置有拍摄标识,用户可以通过对该拍摄标识的点击或者滑动操作,发送视频拍摄请求。该拍摄标识也可以以任意一种种形状的图标形式展示,其形状以及设置位置本实施例不做具体限定。In an embodiment, a shooting logo is set on the detailed interface of the original audio, and the user can send a video shooting request by clicking or sliding the shooting logo. The shooting mark may also be displayed in the form of an icon of any shape, and its shape and setting position are not specifically limited in this embodiment.
以下以图2为例,对用户操作及客户端界面切换进行示例性说明:The following uses Figure 2 as an example to illustrate the user operation and client interface switching.
如图2所示,通过用户触发音频图标201的第一触发操作,客户端由当前原声视频播放界面切换至原声视频中原声音频的详情界面。在一实施例中,在原声视频的播放界面上,音频标识201以圆形图标形式展示在播放界面的右下方,用户通过点击该音频图标201,进入原声音频的详情界面。在原声音频的详情界面上,会以小视窗的形式显示播放界面上播放的原声视频,同时在详情界面的下方展示拍摄标识202,该拍摄标识202上可以显示“拍摄”或者“拍同款”等字样。用户通过点击该拍摄标识202,即发送视频拍摄请求。终端接收用户的视频拍摄请求,并获取原声视频中的原声音频。As shown in FIG. 2, by the user triggering the first trigger operation of the audio icon 201, the client switches from the current original video playback interface to the detailed interface of the original audio in the original video. In one embodiment, on the playback interface of the original video, the audio identifier 201 is displayed in the form of a circular icon at the lower right of the playback interface. The user clicks the audio icon 201 to enter the detailed interface of the original audio. On the detailed interface of the original audio, the original video played on the playback interface is displayed in the form of a small window. At the same time, the shooting logo 202 is displayed at the bottom of the detailed interface. The shooting logo 202 can display "shoot" or "shoot the same paragraph" And so on. The user clicks the shooting identifier 202 to send a video shooting request. The terminal receives the video shooting request of the user, and obtains the original audio in the original video.
在S120中,基于获取的原声音频进入视频拍摄界面,将该原声音频作为拍摄视频的背景音乐。In S120, the video capture interface is entered based on the acquired original audio, and the original audio is used as the background music of the captured video.
在终端获取到原声音频之后,从原声音频的详情界面切换至视频拍摄界面,将该原声音频作为用户当前拍摄视频的背景音乐,便可以得到与之前播放的原声视频具有相同原声音频的同款视频。相比于相关技术中,用户通常只能选择已有的歌曲作为背景音乐的视频拍摄方法,本实施例可以实现基于当前播放的原声视频中的原声音频进行视频拍摄效果,使得视频拍摄过程中背景音乐不再仅限于已有歌曲,丰富了相关的视频拍摄元素,增加了用户对背景音乐的选择性,进而丰富了视频拍摄方法,提高了用户的视频拍摄体验。After the original audio is obtained by the terminal, switch from the detailed interface of the original audio to the video shooting interface, and use the original audio as the background music of the video currently taken by the user to obtain the same video with the same original audio as the previously played original video. . Compared with the related art, the user can usually only select an existing song as the background music video shooting method. This embodiment can implement a video shooting effect based on the original audio in the currently playing original video, so that the background during the video shooting process Music is no longer limited to existing songs, enriches related video shooting elements, increases user selectivity to background music, further enriches video shooting methods, and improves user video shooting experience.
继续如图2所示,通过用户触发拍摄标识202的第二触发操作,客户端由原声音频的详情界面切换至拍摄界面。在一实施例中,切换至拍摄界面后,终端会调用摄像头,用户在拍摄界面上通过长按或单击启动拍摄标识203进行视频拍摄,视频拍摄界面上方可以实时显示视频拍摄的进度条,最终实现基于已有原声音频拍摄同款视频的效果。Continuing as shown in FIG. 2, by the user triggering the second trigger operation of the shooting identification 202, the client switches from the detailed interface of the original audio to the shooting interface. In an embodiment, after switching to the shooting interface, the terminal will call the camera, and the user can start the shooting logo 203 for video shooting by long-pressing or clicking on the shooting interface. The progress bar of the video shooting can be displayed in real time above the video shooting interface. Realize the effect of shooting the same video based on the existing original audio.
在一实施例中,响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取该原声音频,包括:In an embodiment, obtaining the original audio in response to a video shooting request sent by a user through a detailed interface of the original audio includes:
响应于所述用户通过所述原声音频的详情界面发送的视频拍摄请求,并将视频拍摄请求发送至服务器;Responding to a video shooting request sent by the user through the detailed interface of the original audio, and sending the video shooting request to the server;
获取服务器从原声音乐库中调取后返回的该原声音频。Obtain the original audio returned by the server after being retrieved from the original music library.
在一实施例中,对于原声音频的获取,还可以是终端收到用户的视频拍摄请求之后,将视频拍摄请求发送至服务器,由服务器进行相匹配的原声音频的 调取,然后下发至终端。在收到用户的视频拍摄请求之后,获取从服务器下发的原声音频,在一定程度上可以节省终端的存储空间。In an embodiment, for the acquisition of the original audio, the terminal may also send the video capture request to the server after receiving the video capture request from the user, and the server may retrieve the matching original audio, and then send it to the terminal. . After receiving the user's video shooting request, obtaining the original audio from the server can save the storage space of the terminal to a certain extent.
在一实施例中,图2中包括时间、电量等,示例性的,时间为中午12点之前(Ante Meridiem,AM)。In an embodiment, time, power, and the like are included in FIG. 2. For example, the time is before 12 noon (Ante Meridiem, AM).
本公开实施例的技术方案通过响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取原声音频,然后基于该原声音频进入视频拍摄界面,将原声音频作为用户当前拍摄视频的背景音乐,解决了相关技术中视频拍摄方式单一的问题,可以实现基于当前播放的原声视频中的原声音频拍摄同款视频的效果,使得视频拍摄过程中背景音乐不再仅限于已有歌曲,丰富了相关的视频拍摄元素,增加了用户对背景音乐的选择性,进而丰富了视频拍摄方法,提高了用户的视频拍摄体验。The technical solution of the embodiment of the present disclosure solves the problem by obtaining the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, and then enters the video shooting interface based on the original audio, and uses the original audio as the background music of the video currently taken by the user. It solves the problem of a single video shooting method in the related technology, and can achieve the effect of shooting the same video based on the original audio in the currently playing original video, making the background music in the video shooting process no longer limited to existing songs, which enriches related videos. The shooting element increases the user's selectivity for background music, which enriches the video shooting method and improves the user's video shooting experience.
实施例二Example two
图3是本公开实施例提供的另一种视频拍摄方法的流程示意图,如图3所示,该方法可以包括S210至FIG. 3 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure. As shown in FIG. 3, the method may include S210 to
在S210中,响应于用户通过客户端发送的视频播放请求,获取待播放视频。In S210, in response to a video playback request sent by a user through a client, a video to be played is acquired.
当用户启用终端上安装的视频交互应用的客户端,可以在客户端的首页上通过点击播放标识,发送视频播放请求,其中,该视频播放请求中包括视频名称和视频的唯一性标识。终端收到该视频播放请求之后,可以继续将该视频播放请求转发至服务器,服务器收到该视频播放请求之后,在服务器的视频库中进行匹配与调取,然后将与用户的视频播放请求中的视频名称相匹配的视频下发至终端。在一实施例中,本实施例中的服务器可以是客户端供应商的本地服务器,也可以是其云端服务器。When the user enables the client of the video interactive application installed on the terminal, the client can send a video playback request by clicking the play identifier on the homepage of the client. The video playback request includes the video name and the unique identifier of the video. After the terminal receives the video playback request, it can continue to forward the video playback request to the server. After the server receives the video playback request, it matches and retrieves it from the server's video library, and then matches the video playback request with the user's video playback request. The video with the matching video name is delivered to the terminal. In an embodiment, the server in this embodiment may be a local server of a client provider or a cloud server thereof.
在S220中,确定待播放视频的类型,根据确定的待播放视频的类型,确定所述类型的存储位置;其中,待播放视频的类型包括原声视频和非原声视频。In S220, a type of the video to be played is determined, and a storage location of the type is determined according to the determined type of the video to be played. The types of the video to be played include an original video and a non-acoustic video.
在终端获取到待播放的视频后,可以将该视频在视频播放界面进行播放,同时,会对该待播放视频的类型进行判断。如果该待播放视频是以已有歌曲等非原声音频作为音乐背景进行拍摄的,则属于非原声视频,如果该待播放视频是以原声音频作为音乐背景进行拍摄的,则属于原声视频。After the terminal obtains the video to be played, the video can be played on the video playing interface, and at the same time, the type of the video to be played will be determined. If the to-be-played video is shot with non-acoustic audio, such as an existing song, as the music background, it is a non-acoustic video. If the to-be-played video is shot with original audio, as the music background, it is an original video.
根据待播放视频的类型,便可以确定原声音频或非原声音频的存储位置,进而可以根据相应的地址获取所需的音频。According to the type of the video to be played, the storage location of the original or non-acoustic audio can be determined, and the required audio can be obtained according to the corresponding address.
在一实施例中,确定待播放视频的类型,包括:In an embodiment, determining the type of the video to be played includes:
通过识别待播放视频的文件中的预设字段,确定待播放视频的类型,其中,预设字段用于标识原声视频。The type of the video to be played is determined by identifying a preset field in the file of the video to be played, where the preset field is used to identify the original video.
在一实施例中,对于待播放视频的类型的确定,可以通过识别待播放视频的文件中的预设字段进行确定。如果识别到待播放视频的文件中包括预设字段,则该视频属于原声视频,如果没有识别到待播放视频的文件中包括预设字段,则该视频属于非原声视频,对于预设字段的形式可以在客户端后台系统进行预设。此外,可以是在视频拍摄完成之后,进行数据保存的过程中,终端系统向对应的视频文件中添加预设字段,也可以是在视频拍摄之前且确定背景音乐之后在创建的视频文件中添加预设字段。在一实施例中,也可以是在原声音频和非原声音频的文件分别添加不同的预设字段,以示区分。其中,预设字段在视频文件或音频文件中的位置可以是文件头。In an embodiment, the determination of the type of the video to be played may be determined by identifying a preset field in a file of the video to be played. If it is identified that the file of the video to be played includes a preset field, the video belongs to the original video. If it is not recognized that the file of the video to be played includes a preset field, the video belongs to a non-sound video. For the form of the preset field, Can be preset in the client background system. In addition, the terminal system may add a preset field to the corresponding video file during the data saving process after the video shooting is completed, or it may add a preset field to the created video file before the video shooting and after the background music is determined. Set the field. In one embodiment, different preset fields may be added to the original audio file and the non-acoustic audio file to indicate the difference. The position of the preset field in the video file or the audio file may be a file header.
在S230中,响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取该原声音频,其中,原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示。In S230, the original audio is acquired in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user by triggering the audio identification in the playback interface of the original video.
如果确定当前播放的视频是原声视频,则用户可以通过播放界面上的音频标识进入原声音频的详情界面,进而在该详情界面上发送视频拍摄请求。终端收到用户的视频拍摄请求之后,便根据基于视频类型确定的音频存储位置获取相应的原声音频。If it is determined that the currently playing video is an original video, the user can enter the detailed interface of the original audio through the audio identifier on the playback interface, and then send a video shooting request on the detailed interface. After receiving the user's video shooting request, the terminal obtains the corresponding original audio according to the audio storage location determined based on the video type.
其中,在原声音频的详情界面上,可以设置提示标识,用于显示当前的音频类型,以提示用户当前播放视频中的音频属于原声音频,这样可以便于用户明确即将拍摄的视频类型。例如,可以在原声音频的详情界面设置显示有“原声”字样的提示标识。此外,也可以在非原声音频的详情界面设置显示有“非原声”字样的提示标识。当然,其他任意可以对原声音频和非原声音频进行区分的提示标识同样可以采用。Among them, on the detailed interface of the original audio, a prompt identifier can be set to display the current audio type to remind the user that the audio in the currently playing video belongs to the original audio, so that it is convenient for the user to determine the type of video to be shot soon. For example, you can set a prompt indicator with the word "Original" on the detailed interface of the original audio. In addition, the non-acoustic audio details interface can also be set to display a prompt indicator with the word "non-acoustic". Of course, any other prompt identifiers that can distinguish original audio from non-acoustic audio can also be used.
在S240中,基于获取的原声音频进入视频拍摄界面,将该原声音频作为拍摄视频的背景音乐。In S240, the video capture interface is entered based on the acquired original audio, and the original audio is used as the background music of the captured video.
本公开实施例的技术方案通过响应于用户通过客户端发送的视频播放请求,获取待播放视频,并确定该视频的类型是否属于原声视频,进而确定原声音频的存储位置,然后响应于用户通过当前播放的原声视频中原声音频的详情界面发送的视频拍摄请求,获取原声音频,最后基于该原声音频进入视频拍摄界面以便用户进行拍摄。本公开实施例解决了相关技术中视频拍摄方式单一的问题,可以实现基于原声音频的同款视频拍摄效果,使得视频拍摄过程中背景音乐不再仅限于已有歌曲,丰富了相关的视频拍摄元素,增加了用户对背景音乐的选择性,进而丰富了视频拍摄方法,提高了用户的视频拍摄体验,并且,通过在音频详情界面添加关于音频类型的提示标识,可以便于用户明确即将拍摄的视频类型。The technical solution of the embodiment of the present disclosure obtains a to-be-played video in response to a video playback request sent by a client through a client, and determines whether the type of the video belongs to an original video, and then determines a storage location of the original audio, and then responds to the user through the current The video shooting request sent by the detailed interface of the original audio in the played original video acquires the original audio, and finally enters the video shooting interface based on the original audio for the user to shoot. The embodiments of the present disclosure solve the problem of a single video shooting method in the related art, and can achieve the same video shooting effect based on the original audio, so that the background music in the video shooting process is no longer limited to existing songs, and the related video shooting elements are enriched. , Increase the user's selectivity to the background music, and then enrich the video shooting methods, improve the user's video shooting experience, and by adding a hint about the audio type in the audio details interface, it is convenient for the user to determine the type of video that will be shot .
实施例三Example three
图4是本公开实施例提供的又一种视频拍摄方法的流程示意图,本公开实施例可适用于拍摄视频的情形,并与本公开上述实施例中应用于终端的视频拍摄方法配合执行。本实施例提供的视频拍摄方法可以由相应的视频拍摄装置执行,该视频拍摄装置可配置于任何具有网络通信功能的服务器上。FIG. 4 is a schematic flowchart of another video shooting method according to an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation of shooting a video, and is performed in cooperation with the video shooting method applied to a terminal in the foregoing embodiment of the present disclosure. The video shooting method provided by this embodiment may be executed by a corresponding video shooting device, and the video shooting device may be configured on any server having a network communication function.
如图4所示,本公开实施例提供的视频拍摄方法可以包括S310至S320。As shown in FIG. 4, the video shooting method provided by the embodiment of the present disclosure may include S310 to S320.
在S310中,响应于终端发送的视频拍摄请求,从原声音乐库中调取与终端播放的原声视频相匹配的原声音频。In S310, in response to the video shooting request sent by the terminal, the original audio audio matching the original video played by the terminal is retrieved from the original music library.
终端与服务器之间可以进行网络通信。当服务器收到终端发送的视频拍摄请求之后,根据该视频拍摄请求中包括的原声音频的名称和唯一性标识,在原声音乐库中进行名称或者唯一性标识的匹配,如果匹配成功则将该原声音频调取出并下发至终端。Network communication can be performed between the terminal and the server. After the server receives the video capture request sent by the terminal, according to the name and unique identifier of the original audio included in the video capture request, the name or unique identifier is matched in the original music library. If the match is successful, the original sound is matched. Take out the audio tone and send it to the terminal.
在S320中,将调取的原声音频以及音频使用指令下发至终端,其中,音频使用指令用于指示终端将该原声音频作为拍摄视频的背景音乐。In S320, the retrieved original audio and an audio use instruction are sent to the terminal, where the audio use instruction is used to instruct the terminal to use the original audio as background music for shooting a video.
在服务器将原声音频下发至终端之后,终端便可以将该原声音频作为用户当前拍摄的背景音乐,实现同一原声音频的同款视频拍摄。After the server sends the original audio to the terminal, the terminal can use the original audio as the background music currently taken by the user, so as to achieve the same video shooting of the same original audio.
在一实施例中,响应于终端发送的视频拍摄请求,从原声音乐库中调取与终端播放的原声视频相匹配的原声音频之前,该方法还包括:In an embodiment, in response to a video shooting request sent by the terminal, before the original sound audio matching the original video played by the terminal is retrieved from the original sound music library, the method further includes:
响应于终端发送的视频播放请求,并将与视频播放请求相匹配的视频下发至终端。In response to a video playback request sent by the terminal, a video matching the video playback request is delivered to the terminal.
用户启用客户端发送视频播放请求,服务器接收由终端转发的视频播放请求,然后在视频数据库中查找与视频播放请求相匹配的视频,并下发至终端,以便用户观看。用户在观看视频的过程中,如果对当前视频中的音频感兴趣,便可以进入音频的详情界面发送视频拍摄请求。The user enables the client to send a video playback request, and the server receives the video playback request forwarded by the terminal, and then looks for a video that matches the video playback request in the video database and sends it to the terminal for the user to watch. When the user is watching the video, if he is interested in the audio in the current video, he can enter the audio details interface to send a video shooting request.
本实施例的技术方案通过响应于终端发送的视频拍摄请求,从原声音乐库中调取与终端当前播放的原声视频相匹配的原声音频,并下发至终端,以便终端将原声音频作为用户当前拍摄视频的背景音乐,实现同款视频的拍摄,解决了相关技术中视频拍摄方式单一的问题,使得视频拍摄过程中背景音乐不再仅限于已有歌曲,丰富了相关的视频拍摄元素,增加了用户对背景音乐的选择性,进而丰富了视频拍摄方法,提高了用户的视频拍摄体验。In the technical solution of this embodiment, in response to the video shooting request sent by the terminal, the original audio audio matching the original audio video currently playing on the terminal is retrieved from the original music library, and is delivered to the terminal so that the terminal uses the original audio as the user's current The background music of the video is captured to realize the shooting of the same video, which solves the problem of a single video shooting method in the related technology, making the background music in the video shooting process no longer limited to existing songs, enriching the relevant video shooting elements, and increasing The user's selectivity to background music further enriches the video shooting methods and improves the user's video shooting experience.
实施例四Example 4
以下是本公开实施例提供的视频拍摄装置的实施例,在视频拍摄装置的实施例中未详尽描述的细节内容,可以参考上述视频拍摄方法的实施例。The following is an embodiment of the video shooting device provided by the embodiment of the present disclosure. For details not described in detail in the embodiment of the video shooting device, reference may be made to the above-mentioned embodiment of the video shooting method.
图5a是本公开实施例提供的一种视频拍摄装置的结构示意图,本实施例可适用于拍摄视频的情形。该装置可以采用软件和/或硬件的方式实现,并可配置于任何具有网络通信功能的终端上,例如智能手机、平板电脑等。FIG. 5a is a schematic structural diagram of a video shooting device according to an embodiment of the present disclosure. This embodiment is applicable to a situation of shooting a video. The device may be implemented in software and / or hardware, and may be configured on any terminal having a network communication function, such as a smart phone, a tablet computer, and the like.
如图5a所示,本公开实施例中提供的视频拍摄装置可以包括获取模块410和拍摄模块420,其中:As shown in FIG. 5a, the video shooting device provided in the embodiment of the present disclosure may include an obtaining module 410 and a shooting module 420, where:
音频获取模块410,设置为响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取该原声音频,其中,原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;The audio acquisition module 410 is configured to acquire the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by the user triggering the audio identification in the playback interface of the original video ;
拍摄模块420,设置为基于获取的原声音频进入视频拍摄界面,将该原声音频作为拍摄视频的背景音乐。The shooting module 420 is configured to enter a video shooting interface based on the acquired original audio, and use the original audio as background music for video shooting.
在一实施例中,获取模块410中的视频拍摄请求是通过用户触发原声音频的详情界面上的拍摄标识发送。In an embodiment, the video shooting request in the obtaining module 410 is sent through a shooting identifier on the detailed interface of the user triggering the original audio.
在一实施例中,参见图5b该装置还包括:In an embodiment, referring to FIG. 5b, the device further includes:
视频获取模块430,设置为响应于用户通过客户端发送的视频播放请求,获取待播放视频;The video acquisition module 430 is configured to acquire a video to be played in response to a video playback request sent by a user through a client;
类型确定模块440,设置为确定待播放视频的类型;以及根据确定的待播放视频的类型,确定所述类型的存储位置;其中,待播放视频的类型包括原声视频和非原声视频。The type determining module 440 is configured to determine a type of a video to be played; and determine a storage location of the type according to the determined type of the video to be played; wherein the types of the video to be played include an original video and a non-acoustic video.
在一实施例中,类型确定模块440是设置为:In one embodiment, the type determining module 440 is configured to:
通过识别待播放视频的文件中的预设字段,确定待播放视频的类型,其中,预设字段用于标识原声视频。The type of the video to be played is determined by identifying a preset field in the file of the video to be played, where the preset field is used to identify the original video.
在一实施例中,音频获取模块410包括发送单元和获取单元,其中:In an embodiment, the audio obtaining module 410 includes a sending unit and an obtaining unit, where:
发送单元,设置为响应于所述用户通过所述原声音频的详情界面发送的视频拍摄请求,并将视频拍摄请求发送至服务器;A sending unit configured to respond to a video shooting request sent by the user through the detailed interface of the original audio, and send the video shooting request to a server;
获取单元,设置为获取服务器从原声音乐库中调取后返回的该原声音频。The obtaining unit is configured to obtain the original audio returned by the server after being retrieved from the original music library.
上述视频拍摄装置可执行本公开任意实施例所提供的应用于终端的视频拍摄方法,具备执行方法相应的功能模块和效果。The above-mentioned video shooting device can execute the video shooting method applied to a terminal provided by any embodiment of the present disclosure, and has the corresponding functional modules and effects of the execution method.
实施例五Example 5
图6a是本公开实施例提供的再一种视频拍摄装置的结构示意图,本公开实施例可适用于拍摄视频的情形,该视频拍摄装置可以采用软件和/或硬件的方式实现,并可配置于任何具有网络通信功能的服务器上。FIG. 6a is a schematic structural diagram of still another video shooting device according to an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to a situation where video is captured. The video shooting device may be implemented in software and / or hardware, and may be configured in Any server with network communication capabilities.
如图6a所示,本公开实施例中提供的视频拍摄装置可以包括音频调取模块510和音频下发模块520,其中:As shown in FIG. 6a, the video shooting device provided in the embodiment of the present disclosure may include an audio retrieval module 510 and an audio delivery module 520, where:
音频调取模块510,设置为响应于终端发送的视频拍摄请求,从原声音乐库中调取与终端播放的原声视频相匹配的原声音频;The audio calling module 510 is configured to, in response to a video shooting request sent by the terminal, retrieve the original audio from the original music library that matches the original video played by the terminal;
音频下发模块520,设置为将调取的原声音频以及音频使用指令下发至终端,其中,音频使用指令用于指示终端将该原声音频作为拍摄视频的背景音乐。The audio delivery module 520 is configured to deliver the retrieved original audio and audio usage instructions to the terminal, where the audio usage instruction is used to instruct the terminal to use the original audio as background music for video shooting.
在一实施例中,参见图6b,该装置还包括:In an embodiment, referring to FIG. 6b, the device further includes:
视频下发模块530,设置为响应于终端发送的视频播放请求,并将与视频播放请求相匹配的视频下发至终端。The video issuing module 530 is configured to respond to a video playing request sent by the terminal, and deliver a video matching the video playing request to the terminal.
上述视频拍摄装置可执行本公开任意实施例所提供的应用于服务器的视频拍摄方法,具备执行方法相应的功能模块和效果。The above-mentioned video shooting device can execute the video shooting method applied to a server provided by any embodiment of the present disclosure, and has corresponding function modules and effects of executing the method.
实施例六Example Six
图7是本公开实施例提供的一种终端的硬件结构示意图。终端可以以一种或多种形式来实施,本公开实施例中的终端可以包括但不限于诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、导航装置、车载终端、车载显示终端、车载电子后视镜等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。FIG. 7 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure. The terminal may be implemented in one or more forms. The terminal in the embodiments of the present disclosure may include, but is not limited to, such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), Tablet PC (Portable Device (PAD)), Portable Multimedia Player (Portable Media Player (PMP)), navigation device, vehicle terminal, vehicle display terminal, vehicle electronic rearview mirror, etc. and mobile terminal such as digital television (Television, TV) , Desktop computers, and more.
如图7所示,终端600可以包括无线通信单元610、音频/视频(Audio/Video,A/V)输入单元620、用户输入单元630、感测单元640、输出单元650、存储器660、接口单元670、处理器680和电源单元690等等。图7示出了具有多种组件的终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。As shown in FIG. 7, the terminal 600 may include a wireless communication unit 610, an audio / video (Audio / Video, A / V) input unit 620, a user input unit 630, a sensing unit 640, an output unit 650, a memory 660, and an interface unit. 670, processor 680, power supply unit 690, and so on. FIG. 7 illustrates a terminal with various components, but it should be understood that implementation of all of the illustrated components is not required. More or fewer components may be implemented instead.
其中,无线通信单元610允许终端600与无线通信系统或网络之间的无线电通信。A/V输入单元620设置为接收音频或视频信号。用户输入单元630可以根据用户输入的命令生成键输入数据以控制终端600的一种或多种操作。感测单元640检测终端600的当前状态、终端600的位置、用户对于终端600的触摸输入的有无、终端600的取向、终端600的加速或减速移动和方向等等,并且生成用于控制终端600的操作的命令或信号。接口单元670用作至少一个外部装置与终端600连接可以通过的接口。输出单元650被构造为以视觉、音频和/或触觉方式提供输出信号。存储器660可以存储由处理器680执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据。存储器660可以包括至少一种类型的存储介质。而且,终端600可以与通过网络连接执行存储器660的存储功能的网络存储装置协作。处理器680通常控制终端600的总体操作。另外,处理器680可以包括用于再现或回放多媒体数据的多媒体模块。处理器680可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。电源单元690在处理器680的控制下接收外部电力或内部电力并且提供操作每个元件和组件所需的适当的电力。Among them, the wireless communication unit 610 allows radio communication between the terminal 600 and a wireless communication system or network. The A / V input unit 620 is configured to receive an audio or video signal. The user input unit 630 may generate key input data according to a command input by the user to control one or more operations of the terminal 600. The sensing unit 640 detects the current state of the terminal 600, the position of the terminal 600, the presence or absence of a user's touch input to the terminal 600, the orientation of the terminal 600, the acceleration or deceleration movement and direction of the terminal 600, and the like, and generates a terminal for controlling the terminal 600 commands or signals for operation. The interface unit 670 functions as an interface through which at least one external device can connect with the terminal 600. The output unit 650 is configured to provide an output signal in a visual, audio, and / or tactile manner. The memory 660 may store software programs and the like for processing and control operations performed by the processor 680, or may temporarily store data that has been output or is to be output. The memory 660 may include at least one type of storage medium. Also, the terminal 600 may cooperate with a network storage device that performs a storage function of the memory 660 through a network connection. The processor 680 generally controls the overall operation of the terminal 600. In addition, the processor 680 may include a multimedia module for reproducing or playing back multimedia data. The processor 680 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images. The power supply unit 690 receives external power or internal power under the control of the processor 680 and provides appropriate power required to operate each element and component.
当上述终端600所包括一个或者多个程序被所述一个或者多个处理器680执行时,可以如本公开任意实施例所提供的应用于终端的视频拍摄方法,该方法可以包括:When one or more programs included in the terminal 600 are executed by the one or more processors 680, the method may be applied to a video shooting method for a terminal as provided in any embodiment of the present disclosure, and the method may include:
响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;Acquiring the original audio in response to a video shooting request sent by a user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by an audio identifier in a playback interface triggered by the user to play the original video;
基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。Enter the video shooting interface based on the original audio, and use the original audio as background music for video shooting.
实施例七Example Seven
图8是本公开实施例提供的一种服务器的硬件结构示意图。服务器可以以一种或多种形式来实施,本公开实施例中的服务器可以包括但不限于诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA、PAD、PMP、导航装置、车载终端、车载显示终端、车载电子后视镜等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。FIG. 8 is a schematic diagram of a hardware structure of a server according to an embodiment of the present disclosure. The server may be implemented in one or more forms. The server in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA, a PAD, a PMP, a navigation device, and a vehicle terminal. , Mobile terminals such as vehicle-mounted display terminals, vehicle-mounted electronic rear-view mirrors, and fixed terminals such as digital TVs, desktop computers, and the like.
如图8所示,服务器700可以包括无线通信单元710、A/V输入单元720、用户输入单元730、感测单元740、输出单元750、存储器760、接口单元770、处理器780和电源单元790等等。图8示出了具有多种组件的服务器,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。As shown in FIG. 8, the server 700 may include a wireless communication unit 710, an A / V input unit 720, a user input unit 730, a sensing unit 740, an output unit 750, a memory 760, an interface unit 770, a processor 780, and a power supply unit 790 and many more. FIG. 8 shows a server with various components, but it should be understood that it is not required to implement all of the components shown. More or fewer components may be implemented instead.
其中,无线通信单元710允许服务器700与无线通信系统或网络之间的无线电通信。A/V输入单元720设置为接收音频或视频信号。用户输入单元730可以根据用户输入的命令生成键输入数据以控制服务器的一种或多种操作。感测单元740检测服务器700的当前状态、服务器700的位置、用户对于服务器700的触摸输入的有无、服务器700的取向、服务器700的加速或减速移动和方向等等,并且生成用于控制服务器700的操作的命令或信号。接口单元770用作至少一个外部装置与服务器700连接可以通过的接口。输出单元750被构造为以视觉、音频和/或触觉方式提供输出信号。存储器760可以存储由处理器780执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据。存储器760可以包括至少一种类型的存储介质。而且,服务器700可以与通过网络连接执行存储器760的存储功能的网络存储装置协作。处理器 780通常控制服务器的总体操作。另外,处理器780可以包括用于再现或回放多媒体数据的多媒体模块。处理器780可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。电源单元790在处理器780的控制下接收外部电力或内部电力并且提供操作每个元件和组件所需的适当的电力。Among them, the wireless communication unit 710 allows radio communication between the server 700 and a wireless communication system or network. The A / V input unit 720 is configured to receive an audio or video signal. The user input unit 730 may generate key input data according to a command input by the user to control one or more operations of the server. The sensing unit 740 detects the current status of the server 700, the location of the server 700, the presence or absence of a user's touch input to the server 700, the orientation of the server 700, the acceleration or deceleration movement and direction of the server 700, and the like, and generates a control for the server 700 commands or signals for operation. The interface unit 770 functions as an interface through which at least one external device can connect to the server 700. The output unit 750 is configured to provide an output signal in a visual, audio, and / or tactile manner. The memory 760 may store software programs and the like for processing and control operations performed by the processor 780, or may temporarily store data that has been output or is to be output. The memory 760 may include at least one type of storage medium. Also, the server 700 may cooperate with a network storage device that performs a storage function of the memory 760 through a network connection. The processor 780 typically controls the overall operation of the server. In addition, the processor 780 may include a multimedia module for reproducing or playing back multimedia data. The processor 780 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images. The power supply unit 790 receives external power or internal power under the control of the processor 780 and provides appropriate power required to operate each element and component.
当上述服务器700所包括一个或者多个程序被所述一个或者多个处理器780执行时,可以实现如本公开任意实施例所提供的应用于服务器的视频拍摄方法,该方法可以包括:When the one or more programs included in the server 700 are executed by the one or more processors 780, a video shooting method applied to a server as provided in any embodiment of the present disclosure may be implemented, and the method may include:
响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;Responding to a video shooting request sent by a terminal, fetching an original audio from the original music library that matches the original video played by the terminal;
将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。Sending the original sound audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original sound audio as background music for shooting a video.
实施例八Example eight
本公开实施例提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序在由计算机处理器执行时用于实现一种应用于终端的视频拍摄方法,该方法可以包括:An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored. The computer program, when executed by a computer processor, is used to implement a video shooting method applied to a terminal. The method may include:
响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;Acquiring the original audio in response to a video shooting request sent by a user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by an audio identifier in a playback interface triggered by the user to play the original video;
基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。Enter the video shooting interface based on the original audio, and use the original audio as background music for video shooting.
当然,本公开实施例中所提供的一种计算机可读存储介质,其计算机程序在由计算机处理器执行时不限于如上所述的方法操作,还可以执行本公开任意实施例所提供的应用于终端的视频拍摄方法中的相关操作。Certainly, a computer-readable storage medium provided in the embodiments of the present disclosure, the computer program of which is executed by a computer processor is not limited to the method operations described above, and may also perform the application provided by any embodiment of the present disclosure. Related operations in the video shooting method of the terminal.
本公开实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质(非 穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)(例如闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium of the embodiment of the present disclosure may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Computer-readable storage media (non-exhaustive list) includes: electrical connections with one or more wires, portable computer disks, hard disks, Random Access Memory (RAM), Read-Only Memory , ROM), Erasable Programmable Read-Only Memory (EPROM) (such as flash memory), optical fiber, Compact Disc Read-Only Memory (CD-ROM), optical memory Device, magnetic storage device, or any suitable combination of the foregoing. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal propagated in baseband or transmitted as part of a carrier wave, which carries a computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical fiber cable, radio frequency (RF), or the like, or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言,诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or combinations thereof, including programming languages such as Java, Smalltalk, C ++, and conventional Procedural programming language, such as "C" or similar programming language. The program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as (Using an Internet service provider to connect via the Internet).
本公开实施例中还提供了另一种计算机可读存储介质,其计算机程序在由计算机处理器执行时用于实现一种应用于服务器的视频拍摄方法,该方法可以包括:An embodiment of the present disclosure also provides another computer-readable storage medium whose computer program, when executed by a computer processor, is used to implement a video shooting method applied to a server. The method may include:
响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;Responding to a video shooting request sent by a terminal, fetching an original audio from the original music library that matches the original video played by the terminal;
将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。Sending the original sound audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original sound audio as background music for shooting a video.
当然,本公开实施例中所提供的另一种计算机可读存储介质,其计算机程序在由计算机处理器执行时不限于如上所述的方法操作,还可以执行本公开任意实施例所提供的应用于服务器的视频拍摄方法中的相关操作。对存储介质的介绍可参见实施例八中的内容解释。Certainly, another computer-readable storage medium provided in the embodiment of the present disclosure, when a computer program is executed by a computer processor, is not limited to the method operations described above, and may also execute applications provided by any embodiment of the present disclosure. Related operations in the server video shooting method. For a description of the storage medium, refer to the content explanation in the eighth embodiment.

Claims (13)

  1. 一种视频拍摄方法,应用于终端,包括:A video shooting method applied to a terminal includes:
    响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;Acquiring the original audio in response to a video shooting request sent by a user through the detailed interface of the original audio, wherein the detailed interface of the original audio is displayed by an audio identifier in a playback interface triggered by the user to play the original video;
    基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。Enter the video shooting interface based on the original audio, and use the original audio as background music for video shooting.
  2. 根据权利要求1所述的方法,其中,所述视频拍摄请求是通过用户触发所述原声音频的详情界面上的拍摄标识发送。The method according to claim 1, wherein the video shooting request is sent by a user by triggering a shooting identifier on a detailed interface of the original audio.
  3. 根据权利要求1所述的方法,在响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频之前,还包括:The method according to claim 1, before acquiring the original audio in response to a video shooting request sent by a user through a detailed interface of the original audio, further comprising:
    响应于用户通过客户端发送的视频播放请求,获取待播放视频;Obtain a video to be played in response to a video playback request sent by a user through a client;
    确定所述待播放视频的类型;Determining the type of the video to be played;
    根据确定的待播放视频的类型,确定所述类型的存储位置;Determining a storage location of the type of video to be played according to the determined type of the video to be played;
    其中,所述类型包括原声视频和非原声视频。Wherein, the types include original video and non-acoustic video.
  4. 根据权利要求3所述的方法,其中,确定所述待播放视频的类型,包括:The method according to claim 3, wherein determining the type of the video to be played comprises:
    通过识别所述待播放视频的文件中的预设字段,确定所述待播放视频的类型,其中,所述预设字段用于标识原声视频。A type of the video to be played is determined by identifying a preset field in a file of the video to be played, where the preset field is used to identify an original video.
  5. 根据权利要求1~4中任一项所述的方法,其中,响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,包括:The method according to any one of claims 1 to 4, wherein acquiring the original audio in response to a video shooting request sent by a user through a detailed interface of the original audio comprises:
    响应于所述用户通过所述原声音频的详情界面发送的视频拍摄请求,并将所述视频拍摄请求发送至服务器;Responding to a video shooting request sent by the user through the detailed interface of the original audio, and sending the video shooting request to a server;
    获取所述服务器从原声音乐库中调取后返回的所述原声音频。Acquire the original audio returned by the server after being retrieved from the original music library.
  6. 一种视频拍摄方法,应用于服务器,包括:A video shooting method applied to a server includes:
    响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;Responding to a video shooting request sent by a terminal, fetching an original audio from the original music library that matches the original video played by the terminal;
    将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用 指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。And sending the original sound audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original sound audio as background music for shooting a video.
  7. 根据权利要求6所述的方法,在响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频之前,还包括:The method according to claim 6, before responding to the video shooting request sent by the terminal, before fetching the original audio from the original music library that matches the original video played by the terminal, further comprising:
    响应于终端发送的视频播放请求,并将与所述视频播放请求相匹配的视频下发至所述终端。In response to a video playback request sent by the terminal, a video matching the video playback request is delivered to the terminal.
  8. 一种视频拍摄装置,配置于终端,包括:A video shooting device configured on a terminal includes:
    获取模块,设置为响应于用户通过原声音频的详情界面发送的视频拍摄请求,获取所述原声音频,其中,所述原声音频的详情界面是通过用户触发播放原声视频的播放界面中的音频标识而显示;The obtaining module is configured to obtain the original audio in response to a video shooting request sent by the user through the detailed interface of the original audio, where the detailed interface of the original audio is triggered by a user to trigger an audio identifier in a playback interface for playing the original video. display;
    拍摄模块,设置为基于所述原声音频进入视频拍摄界面,将所述原声音频作为拍摄视频的背景音乐。The shooting module is configured to enter a video shooting interface based on the soundtrack audio, and use the soundtrack audio as background music for shooting a video.
  9. 一种视频拍摄装置,配置于服务器,包括:A video shooting device configured on a server includes:
    音频调取模块,设置为响应于终端发送的视频拍摄请求,从原声音乐库中调取与所述终端播放的原声视频相匹配的原声音频;An audio retrieval module, configured to retrieve, from the original music library, original sound audio matching the original video played by the terminal in response to a video shooting request sent by the terminal;
    音频下发模块,设置为将所述原声音频以及音频使用指令下发至所述终端,其中,所述音频使用指令用于指示所述终端将所述原声音频作为拍摄视频的背景音乐。The audio delivery module is configured to send the original audio and an audio use instruction to the terminal, where the audio use instruction is used to instruct the terminal to use the original audio as background music for shooting a video.
  10. 一种终端,包括:A terminal including:
    一个或多个处理器;One or more processors;
    存储器,设置为存储一个或多个程序,Memory, set to store one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1~5中任一项所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
  11. 一种服务器,包括:A server including:
    一个或多个处理器;One or more processors;
    存储器,设置为存储一个或多个程序,Memory, set to store one or more programs,
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多 个处理器实现如权利要求6~7中任一项所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 6 to 7.
  12. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1~5中任一项所述的方法。A computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
  13. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求6~7中任一项所述的方法。A computer-readable storage medium stores a computer program thereon, and when the computer program is executed by a processor, the method according to any one of claims 6 to 7 is implemented.
PCT/CN2018/124777 2018-07-12 2018-12-28 Video capturing method and apparatus, terminal, server and storage medium WO2020010818A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810765245.1 2018-07-12
CN201810765245.1A CN108900768A (en) 2018-07-12 2018-07-12 Video capture method, apparatus, terminal, server and storage medium

Publications (1)

Publication Number Publication Date
WO2020010818A1 true WO2020010818A1 (en) 2020-01-16

Family

ID=64348739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124777 WO2020010818A1 (en) 2018-07-12 2018-12-28 Video capturing method and apparatus, terminal, server and storage medium

Country Status (2)

Country Link
CN (1) CN108900768A (en)
WO (1) WO2020010818A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584222A (en) * 2020-11-27 2021-03-30 北京搜狗科技发展有限公司 Video processing method and device for video processing
CN113411516A (en) * 2021-05-14 2021-09-17 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
WO2022206366A1 (en) * 2021-03-30 2022-10-06 北京字跳网络技术有限公司 Application video processing method, and electronic device

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108900768A (en) * 2018-07-12 2018-11-27 北京微播视界科技有限公司 Video capture method, apparatus, terminal, server and storage medium
CN109413342B (en) * 2018-12-21 2021-01-08 广州酷狗计算机科技有限公司 Audio and video processing method and device, terminal and storage medium
CN109618116B (en) 2018-12-25 2020-07-28 北京微播视界科技有限公司 Multimedia information processing method, electronic equipment and computer storage medium
CN110602394A (en) * 2019-09-06 2019-12-20 北京达佳互联信息技术有限公司 Video shooting method and device and electronic equipment
CN110536177B (en) 2019-09-23 2020-10-09 北京达佳互联信息技术有限公司 Video generation method and device, electronic equipment and storage medium
CN112822563A (en) * 2019-11-15 2021-05-18 北京字节跳动网络技术有限公司 Method, device, electronic equipment and computer readable medium for generating video
CN111277761B (en) * 2020-03-05 2022-03-01 北京达佳互联信息技术有限公司 Video shooting method, device and system, electronic equipment and storage medium
CN111629247B (en) * 2020-05-26 2022-03-01 北京达佳互联信息技术有限公司 Information display method and device and electronic equipment
CN113766331B (en) * 2020-06-01 2023-03-10 深圳Tcl新技术有限公司 Video playing method, terminal and storage medium
CN112087652A (en) * 2020-08-03 2020-12-15 北京达佳互联信息技术有限公司 Video production method, video sharing device, electronic equipment and storage medium
CN112040339A (en) * 2020-08-31 2020-12-04 广州市百果园信息技术有限公司 Method and device for making video data, computer equipment and storage medium
CN112887588B (en) * 2021-01-08 2023-04-07 三星电子(中国)研发中心 Method and apparatus for generating video
CN112911379B (en) * 2021-01-15 2023-06-27 北京字跳网络技术有限公司 Video generation method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959773A (en) * 2016-04-29 2016-09-21 魔方天空科技(北京)有限公司 Multimedia file processing method and device
CN107155128A (en) * 2017-05-23 2017-09-12 深圳华云新创科技有限公司 A kind of method of micro- video generation, apparatus and system
US20170337949A1 (en) * 2016-03-01 2017-11-23 Meograph, Inc. Mobile device video personalization
CN108900768A (en) * 2018-07-12 2018-11-27 北京微播视界科技有限公司 Video capture method, apparatus, terminal, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170337949A1 (en) * 2016-03-01 2017-11-23 Meograph, Inc. Mobile device video personalization
CN105959773A (en) * 2016-04-29 2016-09-21 魔方天空科技(北京)有限公司 Multimedia file processing method and device
CN107155128A (en) * 2017-05-23 2017-09-12 深圳华云新创科技有限公司 A kind of method of micro- video generation, apparatus and system
CN108900768A (en) * 2018-07-12 2018-11-27 北京微播视界科技有限公司 Video capture method, apparatus, terminal, server and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584222A (en) * 2020-11-27 2021-03-30 北京搜狗科技发展有限公司 Video processing method and device for video processing
WO2022206366A1 (en) * 2021-03-30 2022-10-06 北京字跳网络技术有限公司 Application video processing method, and electronic device
CN113411516A (en) * 2021-05-14 2021-09-17 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN113411516B (en) * 2021-05-14 2023-06-20 北京达佳互联信息技术有限公司 Video processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108900768A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
WO2020010818A1 (en) Video capturing method and apparatus, terminal, server and storage medium
US11206448B2 (en) Method and apparatus for selecting background music for video shooting, terminal device and medium
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
US11385778B2 (en) Inline message alert
WO2020007013A1 (en) Search page interaction method, device and terminal and storage medium
WO2020000972A1 (en) Video access method, client, video access apparatus, terminal, server, and storage medium
CN108989297B (en) Information access method, client, device, terminal, server and storage medium
CN107172497B (en) Live broadcasting method, apparatus and system
WO2020015333A1 (en) Video shooting method and apparatus, terminal device, and storage medium
US11635873B2 (en) Information display method, graphical user interface, and terminal for displaying media interface information in a floating window
RU2614137C2 (en) Method and apparatus for obtaining information
WO2020007012A1 (en) Method and device for displaying search page, terminal, and storage medium
EP3680896B1 (en) Method for controlling terminal by voice, terminal, server and storage medium
CN109660817B (en) Video live broadcast method, device and system
WO2020010816A1 (en) Personal homepage presentation method and apparatus, terminal device, and storage medium
WO2016165325A1 (en) Audio information recognition method and apparatus
CN110691281B (en) Video playing processing method, terminal device, server and storage medium
CN110265067B (en) Method and device for recording hot segments, electronic equipment and readable medium
CN111901695B (en) Video content interception method, device and equipment and computer storage medium
WO2021018186A1 (en) Video update push method and terminal
WO2020010817A1 (en) Video processing method and device, and terminal and storage medium
WO2020000975A1 (en) Video capturing method, client, terminal, and medium
US10826961B2 (en) Multimedia player device automatically performs an operation triggered by a portable electronic device
CN117812422A (en) Display device and voice search method
CN113741770A (en) Control method and system based on image recognition, vehicle and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18925868

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.06.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18925868

Country of ref document: EP

Kind code of ref document: A1