+

WO2018149353A1 - Electronic terminal, storage medium and video recording method and apparatus therefor - Google Patents

Electronic terminal, storage medium and video recording method and apparatus therefor Download PDF

Info

Publication number
WO2018149353A1
WO2018149353A1 PCT/CN2018/075710 CN2018075710W WO2018149353A1 WO 2018149353 A1 WO2018149353 A1 WO 2018149353A1 CN 2018075710 W CN2018075710 W CN 2018075710W WO 2018149353 A1 WO2018149353 A1 WO 2018149353A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
video data
electronic terminal
module
time
Prior art date
Application number
PCT/CN2018/075710
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 WO2018149353A1 publication Critical patent/WO2018149353A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Definitions

  • the present invention relates to the field of video processing, and in particular to an electronic terminal, a storage medium, and a video recording method and apparatus thereof.
  • the general lecture or lecture video has two videos of real-time video and computer screen shot by the camera, which is quite troublesome for recording and post-processing of the two channels of video.
  • the purpose of the embodiments of the present invention includes providing an electronic terminal, a storage medium, and a video recording method and apparatus thereof.
  • a video recording method for an electronic terminal, where the electronic terminal includes an imaging device, and the method includes:
  • the embodiment of the invention further provides a video recording device, which is applied to an electronic terminal, and the electronic terminal includes an image capturing device, and the device includes:
  • a first video acquisition module configured to acquire, by using an imaging device, first video data in a time period
  • a second video acquisition module configured to acquire a display screen of the electronic terminal display interface in a time period, to obtain second video data
  • an operation receiving module configured to receive a video setting operation of the user for at least two time ranges in the time period
  • the target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in at least two time ranges according to the video setting operation of the at least two time ranges to generate the target video.
  • a video recording device the device being installed in the memory and comprising one or more software function modules executed by the processor, the video recording device comprising:
  • a first video acquisition module configured to acquire, by using an imaging device, first video data in a time period
  • a second video acquisition module configured to acquire a display screen of the electronic terminal display interface in a time period, to obtain second video data
  • an operation receiving module configured to receive a video setting operation of the user for at least two time ranges in the time period
  • the target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in at least two time ranges according to the video setting operation of the at least two time ranges to generate the target video.
  • the embodiment of the present invention provides a storage medium in which computer instructions are stored, wherein the computer instructions perform the video recording method as described above when being read and run.
  • the electronic terminal, the storage medium and the video recording method and device provided by the invention can obtain two channels of video data, and only need to select video data required for the corresponding time range, and then two channels of video can be obtained.
  • the video data required in different time periods is synthesized to obtain the desired target video, and the operation is simple and convenient.
  • FIG. 1 is a block diagram of an electronic terminal according to a preferred embodiment of the present invention.
  • FIG. 2 is a flowchart of a video recording method according to a first embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a processing interface in a video recording method according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a video recording method according to a second embodiment of the present invention.
  • FIG. 5 is a schematic diagram of functional modules of a video recording apparatus according to a third embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an operating environment of a video recording method provided by the present invention.
  • Reference numerals 100-electronic terminal; 200-video recording device; 300-display interface; 400-display screen; 500-audio device; 600-imaging device; 310-time axis operation bar; 320-first video data; - second video data; 340 - set button; 102 - memory; 104 - memory controller; 106 - processor; 108 - peripheral interface; 110 - input and output unit; 112 - audio unit; 114 - display unit; a first video acquisition module; 220-second video acquisition module; 230-set operation reception module; 240-target video synthesis module; 250-audio data acquisition module; 260-audio data insertion module; 270-set interface startup module; - Video Optimization Processing Module; 410 - Storage Module; 420 - Switching Module; 430 - Directory Tree Building Module; 440 - Inserting Module.
  • FIG. 1 is a schematic block diagram of an electronic terminal 100 according to a preferred embodiment of the present invention.
  • the electronic terminal 100 includes a video recording device 200, a memory 102, a memory controller 104, a processor 106, a peripheral interface 108, an input and output unit 110, an audio unit 112, and a display unit 114.
  • the components of the memory 102, the memory controller 104, the processor 106, the peripheral interface 108, the input and output unit 110, the audio unit 112, and the display unit 114 are directly or indirectly electrically connected to each other to implement data transmission or Interaction.
  • the components can be electrically connected to one another via one or more communication buses or signal lines.
  • the video recording device 200 includes at least one software function module that can be stored in the memory or in an operating system (OS) of the electronic terminal 100 in the form of software or firmware.
  • the processor is configured to execute an executable module stored in a memory, such as a software function module or a computer program included in the video recording device 200.
  • the memory 102 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like.
  • RAM random access memory
  • ROM read only memory
  • PROM programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • EEPROM Electric Erasable Programmable Read-Only Memory
  • the memory is used to store a program, and the processor executes the program after receiving the execution instruction, and the method executed by the server defined by the flow process disclosed in any embodiment of the present invention may be applied to the processor. Or implemented by a processor.
  • the processor 106 may be an integrated circuit chip with signal processing capabilities.
  • the processor 106 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component.
  • CPU central processing unit
  • NP Processor network processor
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • peripheral interface 108 couples various input/input devices to the processor and memory 102.
  • peripheral interface 108, processor 106, and memory controller 104 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
  • the input and output unit 110 is configured to provide input data to the user to implement interaction between the user and the electronic terminal 100.
  • the input and output unit 110 may be, but not limited to, a mouse, a keyboard, or the like.
  • the audio unit 112 provides an audio interface to a user, which may include one or more microphones, one or more speakers, and audio circuitry.
  • the display unit 114 provides an interactive interface (such as a user operation interface) between the electronic terminal 100 and the user or for displaying image data to the user for reference.
  • the display unit 114 may be a liquid crystal display or a touch display.
  • a touch display it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense the simultaneous touch operation from one or more positions on the touch display, and the touch operation is performed by the processor. Calculation and processing.
  • FIG. 2 is a flowchart of a video recording method applied to the electronic terminal 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 2 will be described in detail below.
  • Step S101 Acquire first video data in a time period by using an imaging device.
  • the image capturing device may be a camera attached to the electronic terminal 100 or an external camera device externally connected to the electronic terminal 100.
  • the method in this embodiment can be used to record a video of a teacher's class.
  • the first video data may be a screen of a teacher lecture collected by a camera or a screen of a student lecture.
  • the electronic terminal 100 includes at least two of the imaging devices. At least two of the camera devices may include a camera that is provided by the electronic terminal, and one or more external camera devices that are externally connected to the electronic terminal 100.
  • the imaging device that acquires the first video data is switched.
  • the display interface of the electronic terminal 100 is provided with an imaging device switching button, and the electronic terminal 100 switches the imaging device after receiving an operation of switching the button to the imaging device by a user or the like.
  • the current video data is collected by the electronic terminal 100.
  • the electronic terminal 100 receives the operation of switching the button to the camera device by using a mouse or the like, the electronic terminal 100 collects the image using the external camera device.
  • the first video displays data.
  • the electronic terminal 100 may further display the first video data in a display interface of the electronic terminal 100 or other display device when the first video data is collected.
  • the display device is in communication with the electronic terminal.
  • the display device displays the display screen of the external electronic terminal on a carrier medium, and the carrier medium may be a screen, a solid color wall, and an electronic display.
  • Step S102 Acquire a display screen of the electronic terminal 100 displaying the interface in the time period to obtain second video data.
  • the second video data may be video data corresponding to the courseware played by the teacher in the electronic terminal 100 during the time period.
  • the electronic terminal 100 may further display the second video data in a display interface of the electronic terminal 100 or other display device when the second video data is collected.
  • the display device is in communication with the electronic terminal.
  • the display device displays the display screen of the external electronic terminal on a carrier medium, and the carrier medium may be a screen, a solid color wall, and an electronic display.
  • Step S103 Receive a video setting operation of the user for at least two time ranges in the time period.
  • FIG. 3 is a schematic diagram of a processing interface in a video recording method according to an embodiment of the present invention.
  • the first video data 320 and the second video data 330 are loaded into the video processing interface 300 before the user sets the video setting operation for at least two time ranges within the time period.
  • the video setting operation of the video in each time period in the time period may include multiple operation types.
  • the video setting operation includes at least selecting first video data or second video data in a first time range and selecting second video data or first video data in a second time range to select the first time
  • the first video data or the second video data in the range and the second video data or the first video data in the second time range are combined to generate a target video including the first video data and the second video data.
  • the video setting operation may be: setting the first time range to a picture corresponding to the first time period in the first video data; or may be a second time range in the first video data and the second video data Video data deletion; or may be a third time range set to a third time range of the second video data; or may be a video of the first video data and the second video data of the fourth time range Optimize processing.
  • a time axis operation bar 310, first video data 320, and second video data 330 are displayed in the video processing interface 300 displayed in the electronic terminal 100.
  • the first video data 320 and the second video data 330 are displayed side by side in the video processing interface 300.
  • step S103 may be that the receiving user performs the video setting operation in the timeline operation bar 310.
  • the electronic terminal 100 receives the user selecting a time range in the timeline operation bar 310, and then receives video data selected by the user and required to be displayed in the time range.
  • the setting operation of the user for at least two time ranges in the time period may further include cutting video data in at least one time range.
  • Step S103 further includes: deleting the first video data and the second video data in the at least one time range according to the setting operation.
  • Step S104 Synthesize the first video data and the second video data corresponding to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges to generate a target video.
  • the target video when the user sets the first video data of the first time range and the second video data of the second time range in the time period for synthesis, includes the first time range The first video data acquired by the imaging device and the second video data obtained within the second time range.
  • the second video data may also be set as a default display video, and the unselected time range in the time period is set to display the second video data by default.
  • the time period includes: a first time range, a second time range, and a third time range.
  • the electronic terminal 100 receives the first time range and the third time range within the time period selected by the user, and receives an operation that the user performs a switching video.
  • the target video includes first video data in the first time range, the second video data obtained in the second time range, and first video data in a third time range.
  • the electronic terminal 100 may further receive a video storage format selected by a user, so that the target video is stored in the selected video storage format. Since different websites support different video formats, different video players also support different video formats, and different storage formats can be selected to meet the target video distribution to various video sharing platforms.
  • the method in this embodiment may further include: establishing a course directory tree, where the directory tree includes a plurality of tree nodes; and inserting, by the received user, the plurality of the target videos into respective trees of the directory tree Node to generate a web course.
  • the webpage course is a format of the html5 webpage, which can better support various types of terminal playback and improve the user experience.
  • the electronic terminal 100 after receiving the user to select the directory tree, inserts a plurality of target videos selected by the user into each node in the directory tree.
  • a plurality of target videos are assembled into a cataloged video by an xml (Extensible Markup Language) technique. Then, the assembled xml format video is generated into html5 webpage video through html5 technology.
  • xml Extensible Markup Language
  • the acquired two-way video data only needs to select the video data required for the corresponding time range, and then the video data required in different time segments of the two channels of video can be synthesized to obtain the required video data.
  • the target video is easy and convenient to operate.
  • the embodiment of the present invention provides a video recording method, which is similar to the first embodiment, and the difference is that the embodiment further includes combining the audio data in the target video and optimizing the video. As shown in FIG. 4, the method in this embodiment includes the following steps:
  • Step S201 Acquire first video data in a time period by using an imaging device.
  • Step S202 Acquire a display screen of the electronic terminal display interface in the time period to obtain second video data.
  • Step S203 collecting audio data in the time period by using an audio collection device.
  • the audio capture device can be a microphone of a lecturer or a lecturer.
  • Step S204 Receive a video setting operation of the user for at least two time ranges in the time period.
  • Step S205 after receiving the click operation on the setting button, start and display the corresponding setting interface.
  • a setting button 340 is included in the display interface 300 of the electronic terminal 100.
  • the setting interface may include a sound processing module and a video processing module.
  • the sound processing module includes a denoising unit that can include two options: denoising processing and no denoising processing.
  • the denoising unit is configured to perform denoising processing on the audio data.
  • the video processing module includes: a video contrast operation bar, a video color operation bar, a video brightness operation bar, and a video resolution operation bar.
  • the electronic terminal 100 receives a sliding operation of the user on the video contrast operation bar, the video color operation bar, the video brightness operation bar, and the video resolution operation bar.
  • Step S206 after receiving the operation of the optimized operation bar in the setting interface, performing optimization processing on the audio data, the first video data, and the second video data in the target video.
  • the optimization process may be adjustment of contrast of the video data, color adjustment, brightness adjustment, resolution adjustment, size setting, and the like.
  • the optimization process may also be a denoising process on the audio data.
  • Step S207 synthesizing the first video data and the second video data corresponding to the video data and the audio data in the at least two time ranges according to the video setting operation of the at least two time ranges. , generate the target video.
  • the audio data of the corresponding time range in the audio data is deleted before the step S207 is performed, and then the deleted data is deleted.
  • the audio data is synthesized with the first video data and the second video data.
  • the video creator can install any splicing of requirements, improve the user experience, and further optimize the video data, which can be further Improve the effect of the target video.
  • the present embodiment provides a video recording apparatus 200, which is applied to the electronic terminal 100 shown in FIG. 1.
  • the electronic terminal 100 may include an imaging apparatus 600.
  • Each module in the apparatus in this embodiment is used to execute the first embodiment.
  • the video recording apparatus 200 includes: a first video acquiring module 210, a second video acquiring module 220, a setting operation receiving module 230, and a target video synthesizing module 240.
  • the first video acquiring module 210 is configured to acquire first video data in a time period by using an imaging device.
  • the first video acquisition module 210 is configured to perform the step S101 in the first embodiment and the step S201 in the second embodiment.
  • the second video obtaining module 220 is configured to acquire a display screen of the electronic terminal display interface in the time period to obtain second video data.
  • the second video obtaining module 220 is configured to perform the step S102 in the first embodiment and the step S202 in the second embodiment.
  • the setting operation receiving module 230 is configured to receive a video setting operation of the user for at least two time ranges in the time period.
  • the setting operation receiving module 230 is configured to perform the step S103 in the first embodiment and the step S204 in the second embodiment.
  • the target video synthesizing module 240 is configured to respectively correspond to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges. Synthesize to generate the target video.
  • the target video synthesizing module 240 is configured to perform the step S104 in the first embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiment, and details are not described herein.
  • the acquired two-way video data only needs to select the video data required for the corresponding time range, and then the video data required in different time segments of the two channels of video can be synthesized to obtain the required video data.
  • the target video is easy and convenient to operate.
  • the video recording device 200 may further include the following modules:
  • the audio data collection module 250 is configured to collect audio data in the time period by using an audio collection device.
  • the audio data collection module 250 is configured to perform step S203 in the second embodiment.
  • the audio data insertion module 260 is configured to synthesize the corresponding audio data in the at least two time ranges into the target video, so that the target video includes audio data in a corresponding time range.
  • the audio data insertion module 260 is configured to perform step S207 in the second embodiment.
  • the display interface of the electronic terminal includes a setting button
  • the video control device 200 further includes: a setting interface starting module 270, configured to start and display a corresponding setting interface after receiving a click operation on the setting button.
  • the setting interface startup module 270 is configured to perform step S205 in the second embodiment.
  • the video optimization processing module 280 is configured to perform optimization processing on the audio data, the first video data, and the second video data in the target video after receiving the operation of the optimized operation bar in the setting interface.
  • the video optimization processing module 280 is configured to perform step S206 in the second embodiment.
  • the setting operation of the user for at least two time ranges in the time period includes cutting video data in at least one time range, the device further comprising: a video data deleting module 290, configured to delete the device according to the setting operation The first video data and the second video data in the at least one time range are performed.
  • a time axis operation bar is displayed in the electronic terminal; the setting operation receiving module 230 is configured to receive a video setting operation performed by a user in the time axis operation bar, and determine a user according to a user operation on the time axis.
  • the selected at least two time ranges respectively correspond to the first video data or the second video data.
  • the apparatus further includes: a storage module 410, configured to receive a video storage format selected by a user, and store the target video in the video storage format.
  • a storage module 410 configured to receive a video storage format selected by a user, and store the target video in the video storage format.
  • the electronic terminal includes at least two of the camera devices, and the device further includes:
  • the switching module 420 is configured to switch, after receiving the operation of switching the imaging device, the imaging device that acquires the first video data.
  • the device further comprises:
  • a directory tree establishing module 430 configured to establish a course directory tree, where the directory tree includes a plurality of tree nodes;
  • the inserting module 440 is configured to insert the plurality of the target videos selected by the user into the respective tree nodes of the directory tree to generate a webpage course.
  • the webpage course is an html5 webpage video.
  • an embodiment of the present invention further provides a storage medium in which computer instructions are stored, wherein the computer instructions perform the video recording method as described in the foregoing embodiments when being read and executed.
  • the application scenario of the foregoing embodiment is illustrated as follows.
  • the scenario includes: an imaging device 600, an electronic terminal 100, and an audio device 500.
  • the electronic terminal 100 can include a display screen 400.
  • the electronic terminal 100 acquires the first video data collected by the imaging device 600, the second video data corresponding to the display screen of the display screen 400, and the audio data collected by the audio device 500.
  • the target video is generated by processing by the video recording device 200 in the electronic terminal 100.
  • the imaging device 600 may be an imaging device integrated with the electronic terminal 100, or may be an imaging device directly or indirectly connected to the electronic terminal 100.
  • the imaging apparatus 300 may be a camera, a camera, or the like.
  • the recording device integrated with the electronic terminal 100 of the audio device 500 may also be a microphone or earphone connected directly or indirectly to the electronic terminal 100.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
  • the functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • the electronic terminal, the storage medium and the video recording method and device thereof can synthesize the video data required in different time periods of the two channels of video to obtain the desired target video, and the operation is simple and convenient.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Provided are a video recording method and apparatus, the video recording method comprising: acquiring, via a camera device, first video data within a time period; acquiring a display picture of a display interface of an electronic terminal within the time period to obtain second video data; receiving a video setting operation of a user for at least two time ranges of the time period; and according to the video setting operation of the at least two time ranges, making the first video data and the second video data respectively correspond to video data within the at least two time ranges, and combining same to generate a target video.

Description

电子终端、存储介质及其视频录制方法及装置Electronic terminal, storage medium and video recording method and device thereof
相关申请的交叉引用Cross-reference to related applications
本申请要求于2017年02月17日提交中国专利局的申请号为CN201710089116.0、名称为“视频录制方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application No. PCT Application No. PCT Application No.
技术领域Technical field
本发明涉及视频处理领域,具体而言,涉及一种电子终端、存储介质及其视频录制方法及装置。The present invention relates to the field of video processing, and in particular to an electronic terminal, a storage medium, and a video recording method and apparatus thereof.
背景技术Background technique
在一些演讲或上课等场景中,往往需要将演讲内容或上课内容进行录制,以方便以后再进行回顾。一般的演讲或授课视频有摄像机拍摄的实时视频和电脑画面两路视频,对两路视频的录制和后期处理操作显得相当麻烦。In some lectures or classes, it is often necessary to record the content of the lecture or the content of the class so that it can be reviewed later. The general lecture or lecture video has two videos of real-time video and computer screen shot by the camera, which is quite troublesome for recording and post-processing of the two channels of video.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的包括提供一种电子终端、存储介质及其视频录制方法及装置。In view of this, the purpose of the embodiments of the present invention includes providing an electronic terminal, a storage medium, and a video recording method and apparatus thereof.
本发明实施例提供的一种视频录制方法,应用于电子终端,电子终端包括摄像设备,该方法包括:A video recording method is provided for an electronic terminal, where the electronic terminal includes an imaging device, and the method includes:
通过摄像设备获取一时间段内的第一视频数据;Acquiring the first video data in a period of time by the camera device;
获取电子终端显示界面在时间段内的显示画面,得到第二视频数据;Obtaining a display screen of the electronic terminal display interface in a time period to obtain second video data;
接收用户对时间段内至少两个时间范围的视频设置操作;Receiving a video setting operation of the user for at least two time ranges in the time period;
根据至少两个时间范围的视频设置操作,将第一视频数据和第二视频数据分别对应至少两个时间范围内的视频数据进行合成,生成目标视频。And synthesizing the first video data and the second video data corresponding to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges to generate the target video.
本发明实施例还提供一种视频录制装置,应用于电子终端,电子终端包括摄像设备,该装置包括:The embodiment of the invention further provides a video recording device, which is applied to an electronic terminal, and the electronic terminal includes an image capturing device, and the device includes:
第一视频获取模块,用于通过摄像设备获取一时间段内的第一视频数据;a first video acquisition module, configured to acquire, by using an imaging device, first video data in a time period;
第二视频获取模块,用于获取电子终端显示界面在时间段内的显示画面,得到第二视频数据;a second video acquisition module, configured to acquire a display screen of the electronic terminal display interface in a time period, to obtain second video data;
设置操作接收模块,用于接收用户对时间段内至少两个时间范围的视频设置操作;Setting an operation receiving module, configured to receive a video setting operation of the user for at least two time ranges in the time period;
目标视频合成模块,用于根据至少两个时间范围的视频设置操作,将第一视频数据和第二视频数据分别对应至少两个时间范围内的视频数据进行合成,生成目标视频。The target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in at least two time ranges according to the video setting operation of the at least two time ranges to generate the target video.
本发明实施例提供的一种电子终端,电子终端包括:An electronic terminal provided by an embodiment of the present invention includes:
存储器;Memory
处理器;及Processor; and
视频录制装置,装置安装于存储器中并包括一个或多个由处理器执行的软件功能模块,视频录制装置包括:A video recording device, the device being installed in the memory and comprising one or more software function modules executed by the processor, the video recording device comprising:
第一视频获取模块,用于通过摄像设备获取一时间段内的第一视频数据;a first video acquisition module, configured to acquire, by using an imaging device, first video data in a time period;
第二视频获取模块,用于获取电子终端显示界面在时间段内的显示画面,得到第二视频数据;a second video acquisition module, configured to acquire a display screen of the electronic terminal display interface in a time period, to obtain second video data;
设置操作接收模块,用于接收用户对时间段内至少两个时间范围的视频设置操作;Setting an operation receiving module, configured to receive a video setting operation of the user for at least two time ranges in the time period;
目标视频合成模块,用于根据至少两个时间范围的视频设置操作,将第一视频数据和第二视频数据分别对应至少两个时间范围内的视频数据进行合成,生成目标视频。The target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in at least two time ranges according to the video setting operation of the at least two time ranges to generate the target video.
本发明实施例提供的一种存储介质,存储介质中存储有计算机指令,其中,计算机指令在被读取并运行时执行如上述的视频录制方法。The embodiment of the present invention provides a storage medium in which computer instructions are stored, wherein the computer instructions perform the video recording method as described above when being read and run.
与现有技术相比,本发明提供的电子终端、存储介质及其视频录制方法及装置,将获取的两路视频数据,只需要选择对应的时间范围所需要视频数据,即可将两路视频中在不同时间段内所需要的视频数据进行合成得到所需要的 目标视频,操作简单、方便。Compared with the prior art, the electronic terminal, the storage medium and the video recording method and device provided by the invention can obtain two channels of video data, and only need to select video data required for the corresponding time range, and then two channels of video can be obtained. The video data required in different time periods is synthesized to obtain the desired target video, and the operation is simple and convenient.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It should be understood that the following drawings show only certain embodiments of the present invention, and therefore It should be seen as a limitation on the scope, and those skilled in the art can obtain other related drawings according to these drawings without any creative work.
图1为本发明较佳实施例提供的电子终端的方框示意图。FIG. 1 is a block diagram of an electronic terminal according to a preferred embodiment of the present invention.
图2为本发明第一实施例提供的视频录制方法的流程图。FIG. 2 is a flowchart of a video recording method according to a first embodiment of the present invention.
图3为本发明实施例提供的视频录制方法中的处理界面示意图。FIG. 3 is a schematic diagram of a processing interface in a video recording method according to an embodiment of the present invention.
图4本发明第二实施例提供的视频录制方法的流程图。FIG. 4 is a flowchart of a video recording method according to a second embodiment of the present invention.
图5为本发明第三实施例提供的视频录制装置的功能模块示意图。FIG. 5 is a schematic diagram of functional modules of a video recording apparatus according to a third embodiment of the present invention.
图6为本发明提供的视频录制方法的运行环境示意图。FIG. 6 is a schematic diagram of an operating environment of a video recording method provided by the present invention.
附图标记:100-电子终端;200-视频录制装置;300-显示界面;400-显示屏;500-音频设备;600-摄像设备;310-时间轴操作条;320-第一视频数据;330-第二视频数据;340-设置按钮;102-存储器;104-存储控制器;106-处理器;108-外设接口;110-输入输出单元;112-音频单元;114-显示单元;210-第一视频获取模块;220-第二视频获取模块;230-设置操作接收模块;240-目标视频合成模块;250-音频数据采集模块;260-音频数据插入模块;270-设置界面启动模块;280-视频优化处理模块;410-存储模块;420-切换模块;430-目录树建立模块;440-插入模块。Reference numerals: 100-electronic terminal; 200-video recording device; 300-display interface; 400-display screen; 500-audio device; 600-imaging device; 310-time axis operation bar; 320-first video data; - second video data; 340 - set button; 102 - memory; 104 - memory controller; 106 - processor; 108 - peripheral interface; 110 - input and output unit; 112 - audio unit; 114 - display unit; a first video acquisition module; 220-second video acquisition module; 230-set operation reception module; 240-target video synthesis module; 250-audio data acquisition module; 260-audio data insertion module; 270-set interface startup module; - Video Optimization Processing Module; 410 - Storage Module; 420 - Switching Module; 430 - Directory Tree Building Module; 440 - Inserting Module.
具体实施方式detailed description
下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定 实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of the embodiments of the invention, which are generally described and illustrated in the figures herein, may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。同时,在本发明的描述中,术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Also, in the description of the present invention, the terms "first", "second", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
如图1所示,图1为本发明较佳实施例提供的电子终端100的方框示意图。所述电子终端100包括视频录制装置200、存储器102、存储控制器104、处理器106、外设接口108、输入输出单元110、音频单元112、显示单元114。As shown in FIG. 1, FIG. 1 is a schematic block diagram of an electronic terminal 100 according to a preferred embodiment of the present invention. The electronic terminal 100 includes a video recording device 200, a memory 102, a memory controller 104, a processor 106, a peripheral interface 108, an input and output unit 110, an audio unit 112, and a display unit 114.
所述存储器102、存储控制器104、处理器106、外设接口108、输入输出单元110、音频单元112、显示单元114各元件相互之间直接或间接地电性连接,以实现数据的传输或交互。例如,这些元件相互之间可通过一条或多条通讯总线或信号线实现电性连接。所述视频录制装置200包括至少一个可以软件或固件(firmware)的形式存储于所述存储器中或固化在所述电子终端100的操作系统(operating system,OS)中的软件功能模块。所述处理器用于执行存储器中存储的可执行模块,例如所述视频录制装置200包括的软件功能模块或计算机程序。The components of the memory 102, the memory controller 104, the processor 106, the peripheral interface 108, the input and output unit 110, the audio unit 112, and the display unit 114 are directly or indirectly electrically connected to each other to implement data transmission or Interaction. For example, the components can be electrically connected to one another via one or more communication buses or signal lines. The video recording device 200 includes at least one software function module that can be stored in the memory or in an operating system (OS) of the electronic terminal 100 in the form of software or firmware. The processor is configured to execute an executable module stored in a memory, such as a software function module or a computer program included in the video recording device 200.
其中,存储器102可以是,但不限于,随机存取存储器(Random Access Memory,RAM),只读存储器(Read Only Memory,ROM),可编程只读存储器(Programmable Read-Only Memory,PROM),可擦除只读存储器(Erasable Programmable Read-Only Memory,EPROM),电可擦除只读存储器(Electric Erasable Programmable Read-Only Memory,EEPROM)等。其中,存储器用于存储程序,所述处理器在接收到执行指令后,执行所述程序,前述本发明实施例任一实施例揭示的流过程定义的服务器所执行的方法可以应用于处理器中,或者由处理器实现。The memory 102 can be, but not limited to, a random access memory (RAM), a read only memory (ROM), and a programmable read-only memory (PROM). Erasable Programmable Read-Only Memory (EPROM), Electric Erasable Programmable Read-Only Memory (EEPROM), and the like. The memory is used to store a program, and the processor executes the program after receiving the execution instruction, and the method executed by the server defined by the flow process disclosed in any embodiment of the present invention may be applied to the processor. Or implemented by a processor.
所述处理器106可能是一种集成电路芯片,具有信号的处理能力。上述的 处理器106可以是通用处理器,包括中央处理器(Central Processing Unit,简称CPU)、网络处理器(Network Processor,简称NP)等;还可以是数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 106 may be an integrated circuit chip with signal processing capabilities. The processor 106 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP Processor, etc.), or a digital signal processor (DSP), an application specific integrated circuit. (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component. The methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or carried out. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述外设接口108将各种输入/输入装置耦合至处理器以及存储器102。在一些实施例中,外设接口108,处理器106以及存储控制器104可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。The peripheral interface 108 couples various input/input devices to the processor and memory 102. In some embodiments, peripheral interface 108, processor 106, and memory controller 104 can be implemented in a single chip. In other instances, they can be implemented by separate chips.
所述输入输出单元110用于提供给用户输入数据实现用户与所述电子终端100的交互。所述输入输出单元110可以是,但不限于,鼠标和键盘等。The input and output unit 110 is configured to provide input data to the user to implement interaction between the user and the electronic terminal 100. The input and output unit 110 may be, but not limited to, a mouse, a keyboard, or the like.
所述音频单元112向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。The audio unit 112 provides an audio interface to a user, which may include one or more microphones, one or more speakers, and audio circuitry.
所述显示单元114在所述电子终端100与用户之间提供一个交互界面(例如用户操作界面)或用于显示图像数据给用户参考。在本实施例中,所述显示单元114可以是液晶显示器或触控显示器。若为触控显示器,其可为支持单点和多点触控操作的电容式触控屏或电阻式触控屏等。支持单点和多点触控操作是指触控显示器能感应到来自该触控显示器上一个或多个位置处同时产生的触控操作,并将该感应到的触控操作交由处理器进行计算和处理。The display unit 114 provides an interactive interface (such as a user operation interface) between the electronic terminal 100 and the user or for displaying image data to the user for reference. In this embodiment, the display unit 114 may be a liquid crystal display or a touch display. For a touch display, it can be a capacitive touch screen or a resistive touch screen that supports single-point and multi-touch operations. Supporting single-point and multi-touch operations means that the touch display can sense the simultaneous touch operation from one or more positions on the touch display, and the touch operation is performed by the processor. Calculation and processing.
第一实施例First embodiment
请参阅图2,是本发明较佳实施例提供的应用于图1所示的电子终端100的视频录制方法的流程图。下面将对图2所示的具体流程进行详细阐述。Please refer to FIG. 2 , which is a flowchart of a video recording method applied to the electronic terminal 100 shown in FIG. 1 according to a preferred embodiment of the present invention. The specific flow shown in FIG. 2 will be described in detail below.
步骤S101,通过摄像设备获取一时间段内的第一视频数据。所述摄像设备可以是所述电子终端100自带的摄像头,也可以是所述电子终端100外接的外接摄像设备。在一个实例中,本实施例中的方法可用于录制教师上课的视频。此时,所述第一视频数据可以是摄像头采集到的教师讲课的画面或者学生听课 的画面。进一步地,所述电子终端100包括至少两个所述摄像设备。至少两个所述摄像设备可包括所述电子终端自带的摄像头,与所述电子终端100外接的一个或者多个外接摄像设备。本实施例中,在接收到切换摄像设备的操作后,切换获取所述第一视频数据的摄像设备。例如,所述电子终端100的显示界面中设有摄像设备切换按钮,所述电子终端100在接收到用户通过鼠标等方式对所述摄像设备切换按钮的操作后,切换所述摄像设备。例如,当前采集所述第一视频数据的是电子终端100自带的摄像头,则电子终端100接收到用户通过鼠标等方式对所述摄像设备切换按钮的操作后,则使用所述外接摄像设备采集所述第一视频显示数据。Step S101: Acquire first video data in a time period by using an imaging device. The image capturing device may be a camera attached to the electronic terminal 100 or an external camera device externally connected to the electronic terminal 100. In one example, the method in this embodiment can be used to record a video of a teacher's class. At this time, the first video data may be a screen of a teacher lecture collected by a camera or a screen of a student lecture. Further, the electronic terminal 100 includes at least two of the imaging devices. At least two of the camera devices may include a camera that is provided by the electronic terminal, and one or more external camera devices that are externally connected to the electronic terminal 100. In this embodiment, after receiving the operation of switching the imaging device, the imaging device that acquires the first video data is switched. For example, the display interface of the electronic terminal 100 is provided with an imaging device switching button, and the electronic terminal 100 switches the imaging device after receiving an operation of switching the button to the imaging device by a user or the like. For example, the current video data is collected by the electronic terminal 100. When the electronic terminal 100 receives the operation of switching the button to the camera device by using a mouse or the like, the electronic terminal 100 collects the image using the external camera device. The first video displays data.
进一步地,所述电子终端100还可以在采集所述第一视频数据时,在电子终端100的显示界面或者其它显示设备中显示所述第一视频数据。所述显示设备与电子终端通信连接。所述显示设备将所述外部电子终端的显示画面投影在承载介质上显示,所述承载介质可以是幕布、纯色墙壁及电子显示器。Further, the electronic terminal 100 may further display the first video data in a display interface of the electronic terminal 100 or other display device when the first video data is collected. The display device is in communication with the electronic terminal. The display device displays the display screen of the external electronic terminal on a carrier medium, and the carrier medium may be a screen, a solid color wall, and an electronic display.
步骤S102,获取所述电子终端100显示界面在所述时间段内的显示画面,得到第二视频数据。所述第二视频数据可以是所述时间段内,教师在所述电子终端100中播放的课件对应的视频数据。Step S102: Acquire a display screen of the electronic terminal 100 displaying the interface in the time period to obtain second video data. The second video data may be video data corresponding to the courseware played by the teacher in the electronic terminal 100 during the time period.
进一步地,所述电子终端100还可以在采集所述第二视频数据时,在电子终端100的显示界面或者其它显示设备中显示所述第二视频数据。所述显示设备与电子终端通信连接。所述显示设备将所述外部电子终端的显示画面投影在承载介质上显示,所述承载介质可以是幕布、纯色墙壁及电子显示器。Further, the electronic terminal 100 may further display the second video data in a display interface of the electronic terminal 100 or other display device when the second video data is collected. The display device is in communication with the electronic terminal. The display device displays the display screen of the external electronic terminal on a carrier medium, and the carrier medium may be a screen, a solid color wall, and an electronic display.
步骤S103,接收用户对所述时间段内至少两个时间范围的视频设置操作。Step S103: Receive a video setting operation of the user for at least two time ranges in the time period.
本实施例中,如图3所示,图3为本发明实施例提供的视频录制方法中的处理界面示意图。在用户对所述时间段内至少两个时间范围的视频设置操作之前将所述第一视频数据320及第二视频数据330加载至视频处理界面300中。In this embodiment, as shown in FIG. 3, FIG. 3 is a schematic diagram of a processing interface in a video recording method according to an embodiment of the present invention. The first video data 320 and the second video data 330 are loaded into the video processing interface 300 before the user sets the video setting operation for at least two time ranges within the time period.
本实施例中,将所述时间段内的各个时间段中的视频进行视频设置操作可包括多种操作类型。优选地,所述视频设置操作至少包括选择第一时间范围内 的第一视频数据或第二视频数据以及选择第二时间范围内的第二视频数据或第一视频数据,以便将该第一时间范围内的第一视频数据或第二视频数据和第二时间范围内的第二视频数据或第一视频数据进行合成,生成包括第一视频数据和第二视频数据的目标视频。又例如,所述视频设置操作可以是将第一时间范围设置为第一视频数据中与第一时间段对应的画面;或者可以是将第一视频数据及第二视频数据中的第二时间范围的视频数据删除;又或者可以是将第三时间范围设置为第二视频数据中的第三时间范围的画面;又或者可以是对第四时间范围的第一视频数据及第二视频数据的视频进行优化处理。In this embodiment, the video setting operation of the video in each time period in the time period may include multiple operation types. Preferably, the video setting operation includes at least selecting first video data or second video data in a first time range and selecting second video data or first video data in a second time range to select the first time The first video data or the second video data in the range and the second video data or the first video data in the second time range are combined to generate a target video including the first video data and the second video data. For another example, the video setting operation may be: setting the first time range to a picture corresponding to the first time period in the first video data; or may be a second time range in the first video data and the second video data Video data deletion; or may be a third time range set to a third time range of the second video data; or may be a video of the first video data and the second video data of the fourth time range Optimize processing.
在一种实施方式中,如图3所示,所述电子终端100中显示的视频处理界面300中显示有时间轴操作条310、第一视频数据320及第二视频数据330。如图3所示,在一个实例中,所述第一视频数据320及第二视频数据330并列显示在所述视频处理界面300中。详细地,步骤S103可以是接收用户在所述时间轴操作条310中进行所述视频设置操作。In an embodiment, as shown in FIG. 3, a time axis operation bar 310, first video data 320, and second video data 330 are displayed in the video processing interface 300 displayed in the electronic terminal 100. As shown in FIG. 3, in one example, the first video data 320 and the second video data 330 are displayed side by side in the video processing interface 300. In detail, step S103 may be that the receiving user performs the video setting operation in the timeline operation bar 310.
具体地,所述电子终端100接收用户在所述时间轴操作条310选择一时间范围,再接收用户选择的需要在所述时间范围显示的视频数据。Specifically, the electronic terminal 100 receives the user selecting a time range in the timeline operation bar 310, and then receives video data selected by the user and required to be displayed in the time range.
具体地,所述用户对所述时间段内至少两个时间范围的设置操作还可以包括剪切至少一个时间范围内的视频数据。步骤S103还包括:根据所述设置操作,删除所述至少一个时间范围内的第一视频数据及第二视频数据。Specifically, the setting operation of the user for at least two time ranges in the time period may further include cutting video data in at least one time range. Step S103 further includes: deleting the first video data and the second video data in the at least one time range according to the setting operation.
步骤S104,根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内的视频数据进行合成,生成目标视频。Step S104: Synthesize the first video data and the second video data corresponding to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges to generate a target video.
在一个实例中,当用户设置所述时间段内第一时间范围的第一视频数据和第二时间范围的第二视频数据进行合成时,所述目标视频包括所述第一时间范围内所述摄像设备获取的第一视频数据以及所述第二时间范围内获得的所述第二视频数据。In one example, when the user sets the first video data of the first time range and the second video data of the second time range in the time period for synthesis, the target video includes the first time range The first video data acquired by the imaging device and the second video data obtained within the second time range.
进一步地,还可将所述第二视频数据设置为默认显示视频,在所述时间段 内未被选择的时间范围则默认设置为显示所述第二视频数据。例如,所述时间段内包括:第一时间范围、第二时间范围及第三时间范围。所述电子终端100接收到了用户选择了所述时间段内的第一时间范围及第三时间范围,并接收到用户在执行了切换视频的操作。则所述目标视频包括所述第一时间范围内的第一视频数据、所述第二时间范围内获得的所述第二视频数据及第三时间范围内的第一视频数据。Further, the second video data may also be set as a default display video, and the unselected time range in the time period is set to display the second video data by default. For example, the time period includes: a first time range, a second time range, and a third time range. The electronic terminal 100 receives the first time range and the third time range within the time period selected by the user, and receives an operation that the user performs a switching video. Then, the target video includes first video data in the first time range, the second video data obtained in the second time range, and first video data in a third time range.
进一步地,所述电子终端100还可接收用户选择的视频存储格式,使所述目标视频以所述选择的视频存储格式进行存储。由于不同的网站支持不同的视频格式,不同的视频播放器也支持不同的视频格式,选择不同的存储格式可以满足所述目标视频发布至各个不同的视频分享平台。Further, the electronic terminal 100 may further receive a video storage format selected by a user, so that the target video is stored in the selected video storage format. Since different websites support different video formats, different video players also support different video formats, and different storage formats can be selected to meet the target video distribution to various video sharing platforms.
进一步地,本实施例中的方法还可包括:建立课程目录树,所述目录树包括多个树节点;将接收到的用户选择的多个所述目标视频分别插入所述目录树的各个树节点以生成网页课程。所述网页课程为的html5网页的格式,可以更好地支持各种类型的终端播放,提高用户体验。Further, the method in this embodiment may further include: establishing a course directory tree, where the directory tree includes a plurality of tree nodes; and inserting, by the received user, the plurality of the target videos into respective trees of the directory tree Node to generate a web course. The webpage course is a format of the html5 webpage, which can better support various types of terminal playback and improve the user experience.
本实施例中,所述电子终端100接收到用户选择建立所述目录树后,将用户选择的多个目标视频分插在所述目录树中的各个节点。一个实施方式中,通过xml(Extensible Markup Language,可扩展标记原因)技术将多个目标视频组装成有目录的视频。然后,通过html5技术将组装好的xml格式视频生成html5网页视频。In this embodiment, after receiving the user to select the directory tree, the electronic terminal 100 inserts a plurality of target videos selected by the user into each node in the directory tree. In one embodiment, a plurality of target videos are assembled into a cataloged video by an xml (Extensible Markup Language) technique. Then, the assembled xml format video is generated into html5 webpage video through html5 technology.
根据本实施例中的方法,将获取的两路视频数据,只需要选择对应的时间范围所需要视频数据,即可将两路视频中在不同时间段内所需要的视频数据进行合成得到所需要的目标视频,操作简单、方便。According to the method in this embodiment, the acquired two-way video data only needs to select the video data required for the corresponding time range, and then the video data required in different time segments of the two channels of video can be synthesized to obtain the required video data. The target video is easy and convenient to operate.
第二实施例Second embodiment
本发明实施例提供一种视频录制方法,本实施例与第一实施例类似,其不同之处在于,本实施例中还包括将音频数据合并所在所述目标视频中及对视频进行优化处理,如图4所示,本实施例中的方法包括如下步骤:The embodiment of the present invention provides a video recording method, which is similar to the first embodiment, and the difference is that the embodiment further includes combining the audio data in the target video and optimizing the video. As shown in FIG. 4, the method in this embodiment includes the following steps:
步骤S201,通过摄像设备获取一时间段内的第一视频数据。Step S201: Acquire first video data in a time period by using an imaging device.
步骤S202,获取所述电子终端显示界面在所述时间段内的显示画面,得到第二视频数据。Step S202: Acquire a display screen of the electronic terminal display interface in the time period to obtain second video data.
步骤S203,通过音频采集设备采集所述时间段内的音频数据。在一个实例中,所述音频采集设备可以是演讲人员或者授课人员的麦克风。Step S203, collecting audio data in the time period by using an audio collection device. In one example, the audio capture device can be a microphone of a lecturer or a lecturer.
步骤S204,接收用户对所述时间段内至少两个时间范围的视频设置操作。Step S204: Receive a video setting operation of the user for at least two time ranges in the time period.
步骤S205,接收到对所述设置按钮的点击操作后,启动并显示对应的设置界面。如图3所示,所述电子终端100的显示界面300中包括设置按钮340。所述电子终端100接收到用户点击所述设置按钮340时,启动所述设置界面。本实施例中,所述设置界面可包括声音处理模块及视频处理模块。在一个实例中,所述声音处理模块包括去噪单元,所述去噪单元可包括两个选项:去噪处理及不去噪处理。所述去噪单元用于对所述音频数据的进行除噪处理。所述视频处理模块包括:视频对比度操作条、视频色彩操作条、视频亮度操作条及视频分辨率操作条等。所述电子终端100接收到用户的对所述视频对比度操作条、视频色彩操作条、视频亮度操作条及视频分辨率操作条的滑动操作。Step S205, after receiving the click operation on the setting button, start and display the corresponding setting interface. As shown in FIG. 3, a setting button 340 is included in the display interface 300 of the electronic terminal 100. When the electronic terminal 100 receives the user clicking the setting button 340, the setting interface is started. In this embodiment, the setting interface may include a sound processing module and a video processing module. In one example, the sound processing module includes a denoising unit that can include two options: denoising processing and no denoising processing. The denoising unit is configured to perform denoising processing on the audio data. The video processing module includes: a video contrast operation bar, a video color operation bar, a video brightness operation bar, and a video resolution operation bar. The electronic terminal 100 receives a sliding operation of the user on the video contrast operation bar, the video color operation bar, the video brightness operation bar, and the video resolution operation bar.
步骤S206,在接收到对所述设置界面中的优化操作条的操作后,对所述目标视频中的音频数据、所述第一视频数据及第二视频数据进行优化处理。Step S206, after receiving the operation of the optimized operation bar in the setting interface, performing optimization processing on the audio data, the first video data, and the second video data in the target video.
所述优化处理可以是对视频数据的对比度的调整、色彩调整、亮度调整、分辨率调整、尺寸进行设置等。所述优化处理还可以是对音频数据的去噪处理。The optimization process may be adjustment of contrast of the video data, color adjustment, brightness adjustment, resolution adjustment, size setting, and the like. The optimization process may also be a denoising process on the audio data.
步骤S207,根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内的视频数据及所述音频数据进行合成,生成目标视频。Step S207, synthesizing the first video data and the second video data corresponding to the video data and the audio data in the at least two time ranges according to the video setting operation of the at least two time ranges. , generate the target video.
进一步地,若所述时间段内的某时间范围的视频数据被执行了删除操作,则在执行步骤S207之前还将所述音频数据中的对应时间范围的音频数据删除后,再将删除后的音频数据与所述第一视频数据和所述第二视频数据进行合成。Further, if the video data of a certain time range in the time period is performed, the audio data of the corresponding time range in the audio data is deleted before the step S207 is performed, and then the deleted data is deleted. The audio data is synthesized with the first video data and the second video data.
关于本实施例其它细节可进一步地参考第一实施例中的描述,在此不再赘述。For further details of the present embodiment, reference may be made to the description in the first embodiment, and details are not described herein again.
根据本实施例中的方法,通过将采集的多路视频及一路音频合成一个目标视频,使视频制作者能够安装需求的任意拼接,提高用户体验,另外还将视频数据进行优化处理,可以进一步地提高所述目标视频的效果。According to the method in this embodiment, by combining the collected multi-channel video and one-channel audio into one target video, the video creator can install any splicing of requirements, improve the user experience, and further optimize the video data, which can be further Improve the effect of the target video.
第三实施例Third embodiment
本实施例提供一种视频录制装置200,应用于图1所示的电子终端100,所述电子终端100可包括摄像设备600,本实施例中的装置中的各个模块用于执行第一实施例及第二实施例中的各步骤,如图5所示,所述视频录制装置200包括:第一视频获取模块210、第二视频获取模块220、设置操作接收模块230及目标视频合成模块240。The present embodiment provides a video recording apparatus 200, which is applied to the electronic terminal 100 shown in FIG. 1. The electronic terminal 100 may include an imaging apparatus 600. Each module in the apparatus in this embodiment is used to execute the first embodiment. And the steps of the second embodiment, as shown in FIG. 5, the video recording apparatus 200 includes: a first video acquiring module 210, a second video acquiring module 220, a setting operation receiving module 230, and a target video synthesizing module 240.
所述第一视频获取模块210,用于通过摄像设备获取一时间段内的第一视频数据。所述第一视频获取模块210用于执行第一实施例中的步骤S101及第二实施例中的步骤S201,本模块的详细描述可参考上述方法实施例,在此不再赘述。The first video acquiring module 210 is configured to acquire first video data in a time period by using an imaging device. The first video acquisition module 210 is configured to perform the step S101 in the first embodiment and the step S201 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiment, and details are not described herein.
所述第二视频获取模块220,用于获取所述电子终端显示界面在所述时间段内的显示画面,得到第二视频数据。所述第二视频获取模块220用于执行第一实施例中的步骤S102及第二实施例中的步骤S202,本模块的详细描述可参考上述方法实施例,在此不再赘述。The second video obtaining module 220 is configured to acquire a display screen of the electronic terminal display interface in the time period to obtain second video data. The second video obtaining module 220 is configured to perform the step S102 in the first embodiment and the step S202 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiment, and details are not described herein.
所述设置操作接收模块230,用于接收用户对所述时间段内至少两个时间范围的视频设置操作。所述设置操作接收模块230用于执行第一实施例中的步骤S103及第二实施例中的步骤S204,本模块的详细描述可参考上述方法实施例,在此不再赘述。The setting operation receiving module 230 is configured to receive a video setting operation of the user for at least two time ranges in the time period. The setting operation receiving module 230 is configured to perform the step S103 in the first embodiment and the step S204 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiment, and details are not described herein.
所述目标视频合成模块240,用于根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内的视频数据进行合成,生成目标视频。所述目标视频合成模块240用于执 行第一实施例中的步骤S104,本模块的详细描述可参考上述方法实施例,在此不再赘述。The target video synthesizing module 240 is configured to respectively correspond to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges. Synthesize to generate the target video. The target video synthesizing module 240 is configured to perform the step S104 in the first embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiment, and details are not described herein.
根据本实施例中的装置,将获取的两路视频数据,只需要选择对应的时间范围所需要视频数据,即可将两路视频中在不同时间段内所需要的视频数据进行合成得到所需要的目标视频,操作简单、方便。According to the device in this embodiment, the acquired two-way video data only needs to select the video data required for the corresponding time range, and then the video data required in different time segments of the two channels of video can be synthesized to obtain the required video data. The target video is easy and convenient to operate.
在其它实施例中,所述视频录制装置200还可包括以下模块:In other embodiments, the video recording device 200 may further include the following modules:
音频数据采集模块250,用于通过音频采集设备采集所述时间段内的音频数据。所述音频数据采集模块250用于执行第二实施例中的步骤S203,本模块的详细描述可参考上述方法实施例,在此不再赘述。The audio data collection module 250 is configured to collect audio data in the time period by using an audio collection device. The audio data collection module 250 is configured to perform step S203 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiments, and details are not described herein.
音频数据插入模块260,用于将所述至少两个时间范围内对应的音频数据合成到所述目标视频中,使该目标视频包括对应时间范围内的音频数据。所述音频数据插入模块260用于执行第二实施例中的步骤S207,本模块的详细描述可参考上述方法实施例,在此不再赘述。The audio data insertion module 260 is configured to synthesize the corresponding audio data in the at least two time ranges into the target video, so that the target video includes audio data in a corresponding time range. The audio data insertion module 260 is configured to perform step S207 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiments, and details are not described herein.
所述电子终端的显示界面中包括设置按钮,所述视频控制装置200还包括:设置界面启动模块270,用于接收到对所述设置按钮的点击操作后,启动并显示对应的设置界面。所述设置界面启动模块270用于执行第二实施例中的步骤S205,本模块的详细描述可参考上述方法实施例,在此不再赘述。The display interface of the electronic terminal includes a setting button, and the video control device 200 further includes: a setting interface starting module 270, configured to start and display a corresponding setting interface after receiving a click operation on the setting button. The setting interface startup module 270 is configured to perform step S205 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiments, and details are not described herein.
视频优化处理模块280,用于在接收到对所述设置界面中的优化操作条的操作后,对所述目标视频中的音频数据、所述第一视频数据及第二视频数据进行优化处理。所述视频优化处理模块280用于执行第二实施例中的步骤S206,本模块的详细描述可参考上述方法实施例,在此不再赘述。The video optimization processing module 280 is configured to perform optimization processing on the audio data, the first video data, and the second video data in the target video after receiving the operation of the optimized operation bar in the setting interface. The video optimization processing module 280 is configured to perform step S206 in the second embodiment. For a detailed description of the module, reference may be made to the foregoing method embodiments, and details are not described herein.
所述用户对所述时间段内至少两个时间范围的设置操作包括剪切至少一个时间范围内的视频数据,该装置还包括:视频数据删除模块290,用于根据所述设置操作,删除所述至少一个时间范围内的第一视频数据及第二视频数据进行。The setting operation of the user for at least two time ranges in the time period includes cutting video data in at least one time range, the device further comprising: a video data deleting module 290, configured to delete the device according to the setting operation The first video data and the second video data in the at least one time range are performed.
另外,所述电子终端中显示有时间轴操作条;所述设置操作接收模块230 用于接收用户在所述时间轴操作条中进行所述视频设置操作,根据用户对该时间轴的操作确定用户所选择的至少两个时间范围分别对应的第一视频数据或第二视频数据。In addition, a time axis operation bar is displayed in the electronic terminal; the setting operation receiving module 230 is configured to receive a video setting operation performed by a user in the time axis operation bar, and determine a user according to a user operation on the time axis. The selected at least two time ranges respectively correspond to the first video data or the second video data.
该装置还包括:存储模块410,用于接收用户选择的视频存储格式,并将所述目标视频以该视频存储格式进行存储。The apparatus further includes: a storage module 410, configured to receive a video storage format selected by a user, and store the target video in the video storage format.
所述电子终端包括至少两个所述摄像设备,该装置还包括:The electronic terminal includes at least two of the camera devices, and the device further includes:
切换模块420,用于在接收到切换摄像设备的操作后,切换获取所述第一视频数据的摄像设备。The switching module 420 is configured to switch, after receiving the operation of switching the imaging device, the imaging device that acquires the first video data.
再者,该装置还包括:Furthermore, the device further comprises:
目录树建立模块430,用于建立课程目录树,所述目录树包括多个树节点;a directory tree establishing module 430, configured to establish a course directory tree, where the directory tree includes a plurality of tree nodes;
插入模块440,用于将接收到的用户选择的多个所述目标视频分别插入所述目录树的各个树节点以生成网页课程。The inserting module 440 is configured to insert the plurality of the target videos selected by the user into the respective tree nodes of the directory tree to generate a webpage course.
其中,所述网页课程为html5网页视频。The webpage course is an html5 webpage video.
另外,本发明实施例还提供了一种存储介质,所述存储介质中存储有计算机指令,其中,所述计算机指令在被读取并运行时执行如上述实施例所述的视频录制方法。In addition, an embodiment of the present invention further provides a storage medium in which computer instructions are stored, wherein the computer instructions perform the video recording method as described in the foregoing embodiments when being read and executed.
下面对上述实施例的应用场景进行举例说明,如图6所示,该场景包括:摄像设备600、电子终端100及音频设备500。所述电子终端100可包括显示屏400。所述电子终端100获取所述摄像设备600采集的第一视频数据、显示屏400显示画面对应的第二视频数据及音频设备500采集的音频数据。再由所述电子终端100中的视频录制装置200进行处理生成所述目标视频。其中,所述摄像设备600可以是与所述电子终端100一体的摄像设备,也可以是所述电子终端100直接或间接外接的摄像设备。所述摄像设备300可以是摄像头、相机等。所述音频设备500所述电子终端100一体的录音设备,也可以是直接或间接与所述电子终端100连接的麦克风或耳机。The application scenario of the foregoing embodiment is illustrated as follows. As shown in FIG. 6, the scenario includes: an imaging device 600, an electronic terminal 100, and an audio device 500. The electronic terminal 100 can include a display screen 400. The electronic terminal 100 acquires the first video data collected by the imaging device 600, the second video data corresponding to the display screen of the display screen 400, and the audio data collected by the audio device 500. The target video is generated by processing by the video recording device 200 in the electronic terminal 100. The imaging device 600 may be an imaging device integrated with the electronic terminal 100, or may be an imaging device directly or indirectly connected to the electronic terminal 100. The imaging apparatus 300 may be a camera, a camera, or the like. The recording device integrated with the electronic terminal 100 of the audio device 500 may also be a microphone or earphone connected directly or indirectly to the electronic terminal 100.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,也 可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method can also be implemented in other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and functionality of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. operating. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present invention may be integrated to form a separate part, or each module may exist separately, or two or more modules may be integrated to form a separate part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一 系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。The functions, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. . It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. It should be noted that similar reference numerals and letters indicate similar items in the following figures, and therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
工业实用性Industrial applicability
该电子终端、存储介质及其视频录制方法及装置可将两路视频中在不同时间段内所需要的视频数据进行合成得到所需要的目标视频,操作简单、方便。The electronic terminal, the storage medium and the video recording method and device thereof can synthesize the video data required in different time periods of the two channels of video to obtain the desired target video, and the operation is simple and convenient.

Claims (20)

  1. 一种视频录制方法,其特征在于,应用于电子终端,所述电子终端包括摄像设备,该方法包括:A video recording method, which is applied to an electronic terminal, the electronic terminal includes an imaging device, and the method includes:
    通过摄像设备获取一时间段内的第一视频数据;Acquiring the first video data in a period of time by the camera device;
    获取所述电子终端显示界面在所述时间段内的显示画面,得到第二视频数据;Obtaining a display screen of the electronic terminal display interface in the time period to obtain second video data;
    接收用户对所述时间段内至少两个时间范围的视频设置操作;以及根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内的视频数据进行合成,生成目标视频。Receiving, by the user, a video setting operation of at least two time ranges in the time period; and corresponding to the first video data and the second video data according to the video setting operation of the at least two time ranges The video data in at least two time ranges is synthesized to generate a target video.
  2. 如权利要求1所述的视频录制方法,其特征在于,该方法还包括:The video recording method according to claim 1, wherein the method further comprises:
    通过音频采集设备采集所述时间段内的音频数据;Acquiring audio data in the time period by using an audio collection device;
    将所述至少两个时间范围内对应的音频数据合成到所述目标视频中,使该目标视频包括对应时间范围内的音频数据。And synthesizing the corresponding audio data in the at least two time ranges into the target video, so that the target video includes audio data in a corresponding time range.
  3. 如权利要求2所述的视频录制方法,其特征在于,所述电子终端的显示界面中包括设置按钮,所述方法还包括:The video recording method of claim 2, wherein the display interface of the electronic terminal comprises a setting button, the method further comprising:
    在接收到对所述设置按钮的点击操作后,启动并显示对应的设置界面,该设置界面包括优化操作条;After receiving the click operation on the setting button, starting and displaying a corresponding setting interface, the setting interface includes an optimization operation bar;
    在接收到对所述设置界面中的优化操作条的操作后,对所述目标视频中的音频数据、所述第一视频数据及第二视频数据进行优化处理。After receiving the operation of the optimized operation bar in the setting interface, the audio data, the first video data, and the second video data in the target video are optimized.
  4. 如权利要求1-3任一项所述的视频录制方法,其特征在于,所述用户对所述时间段内至少两个时间范围的设置操作包括剪切至少一个时间范围内的视频数据,该方法还包括:根据所述设置操作,删除所述至少一个时间范围内的第一视频数据及第二视频数据。The video recording method according to any one of claims 1 to 3, wherein the setting operation of the user for at least two time ranges in the time period comprises cutting video data in at least one time range, The method further includes deleting the first video data and the second video data in the at least one time range according to the setting operation.
  5. 如权利要求1或2或4所述的视频录制方法,其特征在于,所述电子终端中显示有时间轴操作条;The video recording method according to claim 1 or 2 or 4, wherein a time axis operation bar is displayed in the electronic terminal;
    所述接收用户对所述时间段内至少两个时间范围的视频设置操作的步骤为:The step of receiving the video setting operation of the user for at least two time ranges in the time period is:
    接收用户在所述时间轴操作条中进行所述视频设置操作,根据用户对该时间轴的操作确定用户所选择的至少两个时间范围分别对应的第一视频数据或第二视频数据。The receiving user performs the video setting operation in the timeline operation bar, and determines first video data or second video data corresponding to at least two time ranges respectively selected by the user according to the operation of the time axis by the user.
  6. 如权利要求1-5任一项所述的视频录制方法,其特征在于,该方法还包括:The video recording method according to any one of claims 1 to 5, further comprising:
    接收用户选择的视频存储格式,并将所述目标视频以该视频存储格式进行存储。Receiving a video storage format selected by the user and storing the target video in the video storage format.
  7. 如权利要求1-6任一项所述的视频录制方法,其特征在于,所述电子终端包括至少两个所述摄像设备,该方法还包括:The video recording method according to any one of claims 1-6, wherein the electronic terminal comprises at least two of the camera devices, the method further comprising:
    在接收到切换摄像设备的操作后,切换获取所述第一视频数据的摄像设备。After receiving the operation of switching the imaging device, the imaging device that acquires the first video data is switched.
  8. 如权利要求1-7任一项所述的视频录制方法,其特征在于,该方法还包括:The video recording method according to any one of claims 1 to 7, wherein the method further comprises:
    建立课程目录树,所述目录树包括多个树节点;Establishing a course directory tree, the directory tree including a plurality of tree nodes;
    将接收到的用户选择的多个所述目标视频分别插入所述目录树的各个树节点以生成网页课程。A plurality of the target videos selected by the user are respectively inserted into respective tree nodes of the directory tree to generate a webpage course.
  9. 如权利要求8所述的视频录制方法,其特征在于,所述网页课程为html5网页视频。The video recording method according to claim 8, wherein the webpage course is an html5 webpage video.
  10. 一种视频录制装置,其特征在于,应用于电子终端,所述电子终端包括摄像设备,该装置包括:A video recording device is characterized in that it is applied to an electronic terminal, and the electronic terminal includes an image capturing device, and the device includes:
    第一视频获取模块,配置成通过摄像设备获取一时间段内的第一视频数据;a first video acquiring module configured to acquire first video data in a time period by using an imaging device;
    第二视频获取模块,配置成获取所述电子终端显示界面在所述时间段内的显示画面,得到第二视频数据;a second video acquisition module, configured to acquire a display screen of the electronic terminal display interface in the time period, to obtain second video data;
    设置操作接收模块,配置成接收用户对所述时间段内至少两个时间范围的视频设置操作;Setting an operation receiving module, configured to receive a video setting operation of the user for at least two time ranges in the time period;
    目标视频合成模块,配置成根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内的视频数据进行合成,生成目标视频。The target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges, Generate a target video.
  11. 根据权利要求10所述的视频录制装置,其特征在于,该装置还包括:The video recording device of claim 10, further comprising:
    音频数据采集模块,配置成通过音频采集设备采集所述时间段内的音频数据;The audio data collection module is configured to collect audio data in the time period by using an audio collection device;
    所述音频数据插入模块,配置成将所述至少两个时间范围内对应的音频数据合成到所述目标视频中,使该目标视频包括对应时间范围内的音频数据。The audio data insertion module is configured to synthesize corresponding audio data in the at least two time ranges into the target video, so that the target video includes audio data in a corresponding time range.
  12. 如权利要求11所述的视频录制装置,其特征在于,所述电子终端的显示界面中包括设置按钮,所述装置还包括:The video recording device of claim 11, wherein the display interface of the electronic terminal comprises a setting button, the device further comprising:
    设置界面启动模块,配置成在接收到对所述设置按钮的点击操作后,启动并显示对应的设置界面,该设置界面包括优化操作条;The setting interface startup module is configured to: after receiving the click operation on the setting button, start and display a corresponding setting interface, where the setting interface includes an optimization operation bar;
    视频优化处理模块,配置成在接收到对所述设置界面中的优化操作条的操作后,对所述目标视频中的音频数据、所述第一视频数据及第二视频数据进行优化处理。The video optimization processing module is configured to perform optimization processing on the audio data, the first video data, and the second video data in the target video after receiving the operation of the optimized operation bar in the setting interface.
  13. 如权利要求10-12任一项所述的视频录制装置,其特征在于,所述用户对所述时间段内至少两个时间范围的设置操作包括剪切至少一个时间范围内的视频数据,该装置还包括:The video recording apparatus according to any one of claims 10 to 12, wherein the setting operation of the user for at least two time ranges in the time period comprises cutting video data in at least one time range, The device also includes:
    视频数据删除模块,配置成根据所述设置操作,删除所述至少一个时间范围内的第一视频数据及第二视频数据。The video data deleting module is configured to delete the first video data and the second video data in the at least one time range according to the setting operation.
  14. 如权利要求10或12或14所述的视频录制装置,其特征在于,所述电子终端中显示有时间轴操作条;所述设置操作接收模块配置成接收用户在所述时间轴操作条中进行所述视频设置操作,根据用户对该时间轴的操作确定用户所选择的至少两个时间范围分别对应的第一视频数据或第二视频数据。The video recording apparatus according to claim 10 or 12 or 14, wherein a time axis operation bar is displayed in the electronic terminal; and the setting operation receiving module is configured to receive a user in the time axis operation bar. The video setting operation determines, according to the operation of the time axis by the user, the first video data or the second video data respectively corresponding to at least two time ranges selected by the user.
  15. 如权利要求10-14中任一项所述的视频录制装置,其特征在于,该装置还包括:The video recording apparatus according to any one of claims 10 to 14, wherein the apparatus further comprises:
    存储模块,配置成接收用户选择的视频存储格式,并将所述目标视频以该 视频存储格式进行存储。And a storage module configured to receive a video storage format selected by the user and store the target video in the video storage format.
  16. 如权利要求10-15中任一项所述的视频录制装置,其特征在于,所述电子终端包括至少两个所述摄像设备,该装置还包括:The video recording apparatus according to any one of claims 10 to 15, wherein the electronic terminal comprises at least two of the image capturing apparatuses, the apparatus further comprising:
    切换模块,配置成在接收到切换摄像设备的操作后,切换获取所述第一视频数据的摄像设备。And a switching module configured to switch the imaging device that acquires the first video data after receiving the operation of switching the imaging device.
  17. 如权利要求10-16中任一项所述的视频录制装置,其特征在于,该装置还包括:The video recording apparatus according to any one of claims 10 to 16, wherein the apparatus further comprises:
    目录树建立模块,配置成建立课程目录树,所述目录树包括多个树节点;a directory tree building module configured to establish a course directory tree, the directory tree including a plurality of tree nodes;
    插入模块,用于将接收到的用户选择的多个所述目标视频分别插入所述目录树的各个树节点以生成网页课程。And an inserting module, configured to insert the plurality of the target videos selected by the user into the respective tree nodes of the directory tree to generate a webpage course.
  18. 如权利要求17所述的视频录制方法,其特征在于,所述网页课程为html5网页视频。The video recording method according to claim 17, wherein the webpage course is an html5 webpage video.
  19. 一种电子终端,其特征在于,所述电子终端包括:An electronic terminal, characterized in that the electronic terminal comprises:
    存储器;Memory
    处理器;及Processor; and
    视频录制装置,所述装置安装于所述存储器中并包括一个或多个由所述处理器执行的软件功能模块,所述视频录制装置包括:a video recording device, the device being installed in the memory and comprising one or more software function modules executed by the processor, the video recording device comprising:
    第一视频获取模块,配置成通过摄像设备获取一时间段内的第一视频数据;a first video acquiring module configured to acquire first video data in a time period by using an imaging device;
    第二视频获取模块,配置成获取所述电子终端显示界面在所述时间段内的显示画面,得到第二视频数据;a second video acquisition module, configured to acquire a display screen of the electronic terminal display interface in the time period, to obtain second video data;
    设置操作接收模块,配置成接收用户对所述时间段内至少两个时间范围的视频设置操作;Setting an operation receiving module, configured to receive a video setting operation of the user for at least two time ranges in the time period;
    目标视频合成模块,配置成根据所述至少两个时间范围的视频设置操作,将所述第一视频数据和所述第二视频数据分别对应所述至少两个时间范围内 的视频数据进行合成,生成目标视频。The target video synthesizing module is configured to synthesize the first video data and the second video data corresponding to the video data in the at least two time ranges according to the video setting operation of the at least two time ranges, Generate a target video.
  20. 一种存储介质,其特征在于,所述存储介质中存储有计算机指令,其中,所述计算机指令在被读取并运行时执行如权利要求1-9中任一权项所述的视频录制方法。A storage medium, wherein the storage medium stores computer instructions, wherein the computer instructions, when being read and executed, perform the video recording method according to any one of claims 1-9 .
PCT/CN2018/075710 2017-02-17 2018-02-08 Electronic terminal, storage medium and video recording method and apparatus therefor WO2018149353A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710089116.0 2017-02-17
CN201710089116.0A CN106851162A (en) 2017-02-17 2017-02-17 video recording method and device

Publications (1)

Publication Number Publication Date
WO2018149353A1 true WO2018149353A1 (en) 2018-08-23

Family

ID=59127687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075710 WO2018149353A1 (en) 2017-02-17 2018-02-08 Electronic terminal, storage medium and video recording method and apparatus therefor

Country Status (2)

Country Link
CN (1) CN106851162A (en)
WO (1) WO2018149353A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851162A (en) * 2017-02-17 2017-06-13 成都依能科技股份有限公司 video recording method and device
CN109637561A (en) * 2018-11-13 2019-04-16 成都依能科技股份有限公司 A kind of multi-channel sound video automated intelligent edit methods
CN110381383B (en) * 2019-07-25 2020-09-25 网宿科技股份有限公司 Method and device for generating interactive audio and video based on mobile terminal, computing equipment and storage medium
CN110381384A (en) * 2019-07-25 2019-10-25 网宿科技股份有限公司 A kind of method and device that interactive audiovisual plays
CN110784674B (en) 2019-10-30 2022-03-15 北京字节跳动网络技术有限公司 Video processing method, device, terminal and storage medium
WO2021083146A1 (en) 2019-10-30 2021-05-06 北京字节跳动网络技术有限公司 Video processing method and apparatus, and terminal and storage medium
CN113810758A (en) * 2020-06-15 2021-12-17 飞依诺科技(苏州)有限公司 Assessment video generation method and device, computer equipment and storage medium
CN112822419A (en) * 2021-01-28 2021-05-18 上海盛付通电子支付服务有限公司 Method and equipment for generating video information
CN117425057A (en) 2022-07-07 2024-01-19 抖音视界(北京)有限公司 Method, apparatus, device and storage medium for image shooting
CN115334246A (en) 2022-09-06 2022-11-11 抖音视界有限公司 Method, device, equipment and storage medium for image shooting

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110058791A1 (en) * 2009-09-04 2011-03-10 Kabushiki Kaisha Toshiba Recording controller and recording control method
JP2011146999A (en) * 2010-01-15 2011-07-28 Canon Inc Display device, display method, and program
CN102547248A (en) * 2012-02-03 2012-07-04 深圳锐取信息技术股份有限公司 Multi-channel real-time monitoring single-video-file recording method
CN204887304U (en) * 2015-08-25 2015-12-16 北京新唐思创教育科技有限公司 A screen recording terminal device
CN205158677U (en) * 2015-09-02 2016-04-13 华中师范大学 Micro lesson recording system
CN106851162A (en) * 2017-02-17 2017-06-13 成都依能科技股份有限公司 video recording method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1604086A (en) * 2004-11-16 2005-04-06 北京邮电大学 A Realization Method of "Tripartite Interaction" of Multimedia Courseware
CN104063263B (en) * 2014-06-23 2017-12-22 华为技术有限公司 The method and apparatus of secondary flow processing
CN105744340A (en) * 2016-02-26 2016-07-06 上海卓越睿新数码科技有限公司 Real-time screen fusion method for live broadcast video and presentation file
CN106060388B (en) * 2016-06-24 2019-09-27 广东紫旭科技有限公司 A kind of automatically micro- class recording control method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110058791A1 (en) * 2009-09-04 2011-03-10 Kabushiki Kaisha Toshiba Recording controller and recording control method
JP2011146999A (en) * 2010-01-15 2011-07-28 Canon Inc Display device, display method, and program
CN102547248A (en) * 2012-02-03 2012-07-04 深圳锐取信息技术股份有限公司 Multi-channel real-time monitoring single-video-file recording method
CN204887304U (en) * 2015-08-25 2015-12-16 北京新唐思创教育科技有限公司 A screen recording terminal device
CN205158677U (en) * 2015-09-02 2016-04-13 华中师范大学 Micro lesson recording system
CN106851162A (en) * 2017-02-17 2017-06-13 成都依能科技股份有限公司 video recording method and device

Also Published As

Publication number Publication date
CN106851162A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
WO2018149353A1 (en) Electronic terminal, storage medium and video recording method and apparatus therefor
US11943486B2 (en) Live video broadcast method, live broadcast device and storage medium
JP7351907B2 (en) Online document sharing methods, devices, electronic devices and storage media
US11670339B2 (en) Video acquisition method and device, terminal and medium
WO2020133373A1 (en) Video processing method, apparatus, and electronic device, and computer readable storage medium
US10003737B2 (en) Video processing device, video processing method, and video processing program
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
US20170026686A1 (en) Synchronizing audio content to audio and video devices
JP7646814B2 (en) Video processing method, terminal device and storage medium
US8706275B2 (en) Systems and methods for application sound management
WO2018076174A1 (en) Multimedia editing method and device, and smart terminal
JP2021506196A (en) Video processing methods, devices, terminals and media
WO2023160573A1 (en) Live broadcast picture display method and apparatus, electronic device and storage medium
CN108259923B (en) Video live broadcast method, system and equipment
CN109635131A (en) Multimedia content list display methods, method for pushing, device and storage medium
US20160359932A1 (en) Display device and method of controlling the same
CN113992926B (en) Interface display method, device, electronic equipment and storage medium
CN114449203A (en) Conference teaching system, screen interaction method, electronic device and storage medium
CN110381356B (en) Audio and video generation method and device, electronic equipment and readable medium
JP6089874B2 (en) Multilingual simultaneous playback system
CN104916297B (en) A video file display method, mobile terminal and system
US11451871B2 (en) Electronic device for providing information related to bookmarked content, and method for controlling electronic device
EP3499843A1 (en) Devices, systems, and methods for detecting usage of applications on a device
JP2015146105A (en) Display control device, operation method of display control device, and computer program
US12101442B2 (en) Real-time audio and video feedback during conference calls

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: 18754809

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18754809

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 18754809

Country of ref document: EP

Kind code of ref document: A1

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 24.03.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18754809

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载