CN112887643A - Method, device, storage medium and electronic device for recording video - Google Patents

Method, device, storage medium and electronic device for recording video Download PDF

Info

Publication number
CN112887643A
CN112887643A CN202110114163.2A CN202110114163A CN112887643A CN 112887643 A CN112887643 A CN 112887643A CN 202110114163 A CN202110114163 A CN 202110114163A CN 112887643 A CN112887643 A CN 112887643A
Authority
CN
China
Prior art keywords
video
frame rate
videos
target
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110114163.2A
Other languages
Chinese (zh)
Inventor
王咸毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiangyun Yikang Technology Development Co ltd
Original Assignee
Beijing Xiangyun Yikang Technology Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiangyun Yikang Technology Development Co ltd filed Critical Beijing Xiangyun Yikang Technology Development Co ltd
Priority to CN202110114163.2A priority Critical patent/CN112887643A/en
Publication of CN112887643A publication Critical patent/CN112887643A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

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

Abstract

The invention provides a method, a device, a storage medium and an electronic device for recording videos, which comprise the following steps: acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer larger than 1, and the N first videos are obtained by respectively shooting the same target object by the N image acquisition devices at different shooting angles; determining a first target frame rate according to the frame rate of each video in the N first videos, and recording the N first videos according to the first target frame rate to obtain the first target video, wherein the first target video comprises the N first videos. The method and the device solve the problem that a plurality of videos obtained by shooting the same target object by using a plurality of image acquisition devices cannot be viewed in the same video.

Description

Method, device, storage medium and electronic device for recording video
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, a storage medium, and an electronic apparatus for recording a video.
Background
In a medical system, a plurality of image capturing devices are often used to capture the same target object to obtain corresponding videos. For example, in the operation process, different imaging devices are required to be used in the operating room to respectively capture images such as an operation panoramic image, an endoscope image, an ultrasound image, an operation field image, and an electrocardiogram image so as to respectively obtain videos such as an operation panoramic video, an endoscope video, an ultrasound video, an operation field video, and an electrocardiogram video. In the related art, a plurality of videos acquired by the plurality of image acquisition devices are directly stored respectively. When the target object is researched subsequently, a plurality of videos shot by a plurality of acquisition devices need to be respectively called, so that the storage and calling operations are complex, and the problem of inconvenience caused by the fact that a researcher needs to check a plurality of video files simultaneously exists.
Aiming at the problem that a plurality of videos obtained by shooting the same target object by using a plurality of image acquisition devices cannot be viewed in the same video in the related art, an effective technical scheme is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a storage medium and an electronic device for recording videos, which are used for at least solving the problem that a plurality of videos obtained by shooting the same target object by using a plurality of image acquisition devices in the related art cannot be viewed in the same video.
According to an embodiment of the present invention, there is provided a method of recording a video, including: acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer larger than 1, and the N first videos are obtained by shooting the same target object by the N image acquisition devices at different shooting angles; determining a first target frame rate according to the frame rate of each video in the N first videos, and recording the N first videos according to the first target frame rate to obtain the first target video, wherein the first target video comprises the N first videos.
Optionally, the method further comprises: respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos; determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos.
Optionally, the recording the N first videos according to the first target frame rate to obtain a first target video includes: under the condition that the frame rate of the first video is greater than the first target frame rate, extracting video frames in the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate; and under the condition that the frame rate of the first video is less than the first target frame rate, inserting blank frames into video frames of the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate.
Optionally, recording each video of the N first videos according to N preset frequencies respectively to obtain N second videos, including: under the condition that the frame rate of the first video is greater than the preset frame rate, extracting video frames in the first video at equal intervals to obtain a second video with the frame rate being the preset frame rate; and under the condition that the frame rate of the first video is less than the preset frame rate, inserting blank frames into the video frames of the first video at equal intervals to obtain the second video with the frame rate being the preset frame rate.
Optionally, the recording the N second videos according to the second target frame rate to obtain second target videos includes: under the condition that the frame rate of the second video is greater than the second target frame rate, extracting video frames in the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate; and under the condition that the frame rate of the second video is less than the second target frame rate, inserting blank frames into the video frames of the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate.
Optionally, after the N first videos are recorded according to the first target frame rate to obtain first target videos, the method further includes: marking at least one time point in the first target video, and receiving input first audio at part or all of the time point of the at least one time point to obtain a marked first marked video; converting the first audio corresponding to the time point into first text information; and integrating the first text information and outputting the first text information in a file form.
Optionally, after each of the N first videos is recorded according to N preset frame rates to obtain N second videos, the method further includes: marking at least one time point in each video of the N second videos, and receiving input second audio at partial or all time points of the at least one time point to obtain N marked second videos; converting the second audio frequency corresponding to the time point into second text information; and integrating the second text information and outputting the second text information in a file form.
Optionally, after the N second videos are recorded according to the second target frame rate to obtain second target videos, the method further includes: marking at least one time point in the second target video, and receiving an input third audio at part or all of the time point of the at least one time point to obtain a marked third marked video; converting the third audio corresponding to the time point into third text information; and integrating the third text information and outputting the third text information in a file form.
According to another embodiment of the present invention, there is provided an apparatus for recording a video, including: the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring N first videos acquired by N image acquisition devices, N is a positive integer larger than 1, and the N first videos are videos acquired by respectively shooting the same target object by the N image acquisition devices at different shooting angles; the first recording module is configured to determine a first target frame rate according to a frame rate of each of N first videos, and record the N first videos according to the first target frame rate to obtain a first target video, where the first target video includes the N first videos.
Optionally, the apparatus further comprises: the second recording module is used for respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos; and the third recording module is used for determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, N first videos are acquired through N image acquisition devices, a first target frame rate is determined according to the frame rate of each video in the N first videos, and the N first videos are recorded according to the first target frame rate to obtain the first target video. Therefore, the problem that a plurality of videos obtained by shooting the same target object by using a plurality of image acquisition devices cannot be checked in the same video can be solved, the plurality of videos obtained by shooting the same target object by using the plurality of image acquisition devices can be checked in the same video, and the effect of convenience in checking the videos is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a mobile terminal according to a method for recording a video according to an embodiment of the present invention;
FIG. 2 is a flow diagram of recording a video according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an equally spaced decimated video frame according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another equally spaced decimated video frame according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an equal-insertion video frame according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another embodiment of an equal-insertion video frame according to the invention;
fig. 7 is a schematic diagram of a coaxial recording according to an embodiment of the present invention;
fig. 8 is a block diagram of an apparatus for recording video according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking the example of being operated on a mobile terminal, fig. 1 is a block diagram of a hardware structure of the mobile terminal of a method for recording a video according to an embodiment of the present invention. As shown in fig. 1, the mobile terminal 10 may include one or more (only one shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and does not limit the structure of the mobile terminal. For example, the mobile terminal 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as computer programs corresponding to the method for recording video in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the method described above. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the mobile terminal 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for recording a video running on the mobile terminal is provided, and fig. 2 is a flowchart for recording a video according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer greater than 1, and the N first videos are obtained by respectively shooting the same target object by the N image acquisition devices at different shooting angles;
wherein, the video interface of N image acquisition device includes: VGA, DVI, HDMI, SDI, DP, etc. The first videos acquired by the N image acquisition devices may be: operation panoramic video, endoscope video, ultrasonic video, operation field video, electrocardiogram video and the like. The video quality collected by different image collection devices is generally different, and the video quality mainly includes pixels, video frame rate, and the like, for example, a pixel point of a video may be D1720 × 576; 720P 1280 × 720; 1080p 1920 × 1080, etc., the video frame rate can be 25F \ s, 30F \ s, 50F \ s, 60F \ s, etc.
Step S204, determining a first target frame rate according to the frame rate of each video in the N first videos, and recording the N first videos according to the first target frame rate to obtain the first target video, wherein the first target video comprises the N first videos.
Determining a first target frame rate according to each frame rate of the N first videos, wherein the first target frame rate may be determined in various manners, for example, determining a minimum frame rate of the N first videos as the first target frame rate; or, determining the maximum frame rate in the N first videos as the first target frame rate; or, selecting a frame rate meeting a predetermined condition from the N first videos as the first target frame rate. The frame rates of the N first videos may all be the same, may all be different, and may also be partially the same. Taking the endoscope video, the ultrasonic video and the surgical field video which are respectively collected by the endoscope video collecting device, the ultrasonic video collecting device and the surgical field video collecting device in the same operation as an example, the frame rate of the endoscope video is 5F \ S, the frame rate of the ultrasonic video is 10F/S and the frame rate of the surgical field video is 25F/S. The first target frame rate may be a minimum frame rate of 5F \ S, a maximum frame rate of 25F/S, an intermediate frame rate of 10F/S, or an average of the minimum frame rate and the maximum frame rate of 15F/S, or an average of the three frame rates, where if the average is a decimal, an integer is taken according to a rounding principle. And recording the N first videos into one video, wherein the frame rate of the video is the first target frame rate.
Through the steps, the N first videos are collected through the N image collecting devices, the first target frame rate is determined according to the frame rate of each video in the N first videos, and the N first videos are recorded according to the first target frame rate to obtain the first target video. Therefore, the problem that a plurality of videos obtained by shooting the same target object by using a plurality of image acquisition devices cannot be checked in the same video can be solved, the plurality of videos obtained by shooting the same target object by using the plurality of image acquisition devices can be checked in the same video, and the effect of convenience in checking the videos is improved.
Alternatively, the execution subject of the above steps may be a terminal or the like, but is not limited thereto.
In an alternative embodiment, the method further comprises: respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos; determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos. In this embodiment, videos acquired by N video acquisition devices are recorded according to a specified frame rate, so as to form N separate files. For example, in the same operation, a scope video, an ultrasound video, and a surgical field video are included, and preset frame rates are respectively specified for recording the three videos, for example, the preset frame rates are respectively 25F \ s, 30F \ s, and 50F \ s, then the scope video, the ultrasound video, and the surgical field video are respectively recorded according to the three preset frame rates, so as to obtain the scope video with the frame rate of 25F \ s, the ultrasound video with the frame rate of 30F \ s, and the surgical field video with the frame rate of 50F \ s. Then, determining a second target frame rate according to the frame rates of the N second video files recorded according to the preset frame rate, wherein the second target frame rate is determined in various ways, for example, the minimum frame rate in the N second videos is determined as the second target frame rate; or, determining the maximum frame rate in the N second videos as the second target frame rate; or selecting a frame rate meeting a preset condition from the N second videos as the second target frame rate. And recording the N second videos in one video at the second target frame rate to obtain a second target video.
In an optional embodiment, the recording N first videos according to the first target frame rate to obtain a first target video includes: under the condition that the frame rate of the first video is greater than the first target frame rate, extracting video frames in the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate; and under the condition that the frame rate of the first video is less than the first target frame rate, inserting blank frames into video frames of the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate. In this embodiment, for example, the frame rate of the ultrasound video obtained by the ultrasound image acquisition device in one operation is 10F \ s, i.e. 10 frames of images are played in one second, if the first target frame rate is 5F \ s. Then the image frames are extracted at equal intervals in 10 frames of images played every second in the ultrasound video, i.e. one image is extracted every other image, therefore, the ultrasonic video with the frame rate of 5F \ s is obtained, as shown in FIG. 3, which is a schematic diagram of extracting video frames at equal intervals according to the embodiment of the invention, in the figure, the numbers 1 to 10 refer to 10 frames of images played in one second of the ultrasonic video acquired by the ultrasonic image acquisition device, the 2 nd, 4 th, 6 th, 8 th and 10 th frames of images are extracted at equal intervals, the remaining 1 st, 3 rd, 5 th, 7 th and 9 th frames of images, the frame rate of the ultrasonic video is 5F \ s, or the image of the 1 st, 3 rd, 5 th, 7 th and 9 th frames is extracted, the image of the 2 nd, 4 th, 6 th, 8 th and 10 th frames is remained, the numbers in this embodiment are merely for illustration of the present application and are not limiting, and the ultrasound video frame rate and the first target frame rate satisfy a multiple relationship. For the video that does not satisfy the multiple relationship, for example, the frame rate of the ultrasound video is 10F \ s, if the first target frame rate is 4F \ s, then at this time, an image of every other frame in a video frame of a portion may be extracted, and two images of every other frame in another video frame of the portion may be extracted, as shown in fig. 4, another schematic diagram of extracting a video frame at equal intervals according to an embodiment of the present invention is shown, in the diagram, an image of every other frame is extracted before a 5 th frame image, and after the 5 th frame image, two images of every other frame are extracted.
The same is true for the case that the video frame rate acquired by the image acquisition device is less than the first target frame rate. For example, the frame rate of the endoscope video obtained by the endoscope image acquisition device in one operation is 5F \ s, that is, 5 frames of images are played in one second, if the first target frame rate is 10F \ s. Then, inserting blank frames at equal intervals in 5 frames of images played in each second in the scope video, that is, inserting one frame of blank frame in every other frame of image, so as to obtain the scope video with a frame rate of 10F \ s, as shown in fig. 5, which is a schematic diagram of equal-insertion video frames according to an embodiment of the present invention, in the figure, numbers 1 to 5 refer to 5 frames of images played in one second of the scope video obtained by the scope image acquisition device, and no number refers to a blank frame, and the figure illustrates that blank frames are inserted in every other frame of image at equal intervals. This is the case when the frame rate of the ultrasound video and the first target frame rate satisfy a multiple relationship. For the image that does not satisfy the multiple relationship, for example, the frame rate of the ultrasound video is 5F \ s, and if the first target frame rate is 11F \ s, then a blank frame may be inserted into every other frame of image in one portion of the video frames, and two frames of images may be inserted into every other frame of image in the other portion of the video frames. Fig. 6 is a diagram of another video frame insertion according to an embodiment of the present invention, in which a blank frame is inserted between each frame of image before the 3 rd frame of image, and two frames of images are inserted every other frame of image after the 3 rd frame of image. Of course, this method is only one embodiment, and the specific insertion method may be determined according to actual situations, and equal-interval insertion is guaranteed as much as possible, so as to guarantee that the video after the blank frame is inserted is continuous and undistorted.
In an optional embodiment, the recording each video of the N first videos according to N preset frequencies respectively to obtain N second videos includes: under the condition that the frame rate of the first video is greater than the preset frame rate, extracting video frames in the first video at equal intervals to obtain a second video with the frame rate being the preset frame rate; and under the condition that the frame rate of the first video is less than the preset frame rate, inserting blank frames into the video frames of the first video at equal intervals to obtain the second video with the frame rate being the preset frame rate. In this embodiment, the manner of extracting video frames and inserting blank frames is as in the above-described embodiment.
In an optional embodiment, the recording the N second videos according to the second target frame rate to obtain second target videos includes: under the condition that the frame rate of the second video is greater than the second target frame rate, extracting video frames in the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate; and under the condition that the frame rate of the second video is less than the second target frame rate, inserting blank frames into the video frames of the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate. In this embodiment, the manner of extracting video frames and inserting blank frames is as in the above-described embodiment.
In an optional embodiment, after the N first videos are recorded according to the first target frame rate to obtain first target videos, the method further includes: marking at least one time point in the first target video, and receiving input first audio at part or all of the time point of the at least one time point to obtain a marked first marked video; converting the first audio corresponding to the time point into first text information; and integrating the first text information and outputting the first text information in a file form. In the embodiment of the present invention, N videos may be simultaneously marked at least one time point, so as to obtain N marked videos. Optionally, after the N videos are simultaneously marked at least one time point, the audio input by the user may be received at part or all of the time points of the at least one time point, for example, the audio input by a doctor during a surgical procedure may be received, so as to obtain the marked N videos, where the input audio is included in the marked N videos. In the embodiment of the invention, after the recorded video is obtained, positioning playback can be carried out through the marks in the video, namely, the video segments in the video are quickly positioned through the marks in the video. The audio input at each time point in the operation process can be converted into text information, and the text information is integrated into an operation report file to be output, so that the operation report file can be quickly formed.
In an optional embodiment, after each of the N first videos is recorded according to N preset frame rates to obtain N second videos, the method further includes: marking at least one time point in each video of the N second videos, and receiving input second audio at partial or all time points of the at least one time point to obtain N marked second videos; converting the second audio frequency corresponding to the time point into second text information; and integrating the second text information and outputting the second text information in a file form.
In an optional embodiment, after the N second videos are recorded according to the second target frame rate to obtain second target videos, the method further includes: marking at least one time point in the second target video, and receiving an input third audio at part or all of the time point of the at least one time point to obtain a marked third marked video; converting the third audio corresponding to the time point into third text information; and integrating the third text information and outputting the third text information in a file form. Fig. 7 is a schematic diagram of coaxial recording according to an embodiment of the present invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a device for recording a video is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 8 is a block diagram of an apparatus for recording video according to an embodiment of the present invention, as shown in fig. 8, the apparatus including: an obtaining module 82, configured to obtain N first videos collected by N image collection devices, where N is a positive integer greater than 1, and the N first videos are videos obtained by the N image collection devices respectively shooting a same target object at different shooting angles; the first recording module 84 is configured to determine a first target frame rate according to a frame rate of each of N first videos, and record the N first videos according to the first target frame rate to obtain a first target video, where the first target video includes the N first videos.
In an alternative embodiment, the apparatus further comprises: the second recording module is used for respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos; and the third recording module is used for determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos.
In an optional embodiment, the first recording module is further configured to, when the frame rate of the first video is greater than the first target frame rate, extract video frames in the first video at equal intervals to obtain the first target video at the first target frame rate; and under the condition that the frame rate of the first video is less than the first target frame rate, inserting blank frames into video frames of the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate.
In an optional embodiment, the second recording module is further configured to, when the frame rate of the first video is greater than the preset frame rate, extract video frames in the first video at equal intervals to obtain the second video with the frame rate being the preset frame rate; and under the condition that the frame rate of the first video is less than the preset frame rate, inserting blank frames into the video frames of the first video at equal intervals to obtain the second video with the frame rate being the preset frame rate.
In an optional embodiment, the third recording module is further configured to, when the frame rate of the second video is greater than the second target frame rate, extract video frames in the second video at equal intervals to obtain the second target video at the second target frame rate; and under the condition that the frame rate of the second video is less than the second target frame rate, inserting blank frames into the video frames of the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate.
In an optional embodiment, the apparatus is further configured to mark at least one time point in the first target video after the N first videos are recorded at the first target frame rate to obtain the first target video, and receive an input first audio at a part of or all of the at least one time point to obtain a marked first marked video; converting the first audio corresponding to the time point into first text information; and integrating the first text information and outputting the first text information in a file form.
In an optional embodiment, the apparatus is further configured to mark at least one time point of each of the N second videos after recording each of the N first videos according to N preset frame rates to obtain N second videos, and receive an input second audio at a part of or all of the time points of the at least one time point to obtain N second marked videos after marking; converting the second audio frequency corresponding to the time point into second text information; and integrating the second text information and outputting the second text information in a file form.
In an optional embodiment, the apparatus is further configured to mark at least one time point in the second target video after the N second videos are recorded at the second target frame rate to obtain the second target video, and receive an input third audio at a part of or all of the at least one time point to obtain a marked third marked video; converting the third audio corresponding to the time point into third text information; and integrating the third text information and outputting the third text information in a file form.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer larger than 1, and the N first videos are obtained by shooting the same target object by the N image acquisition devices at different shooting angles;
s2, determining a first target frame rate according to the frame rate of each of N first videos, and recording the N first videos according to the first target frame rate to obtain first target videos, wherein the first target videos include the N first videos.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer larger than 1, and the N first videos are obtained by shooting the same target object by the N image acquisition devices at different shooting angles;
s2, determining a first target frame rate according to the frame rate of each of N first videos, and recording the N first videos according to the first target frame rate to obtain first target videos, wherein the first target videos include the N first videos.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of recording video, comprising:
acquiring N first videos acquired by N image acquisition devices, wherein N is a positive integer larger than 1, and the N first videos are obtained by shooting the same target object by the N image acquisition devices at different shooting angles;
determining a first target frame rate according to the frame rate of each video in the N first videos, and recording the N first videos according to the first target frame rate to obtain the first target video, wherein the first target video comprises the N first videos.
2. The method of claim 1, further comprising:
respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos;
determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos.
3. The method according to claim 1, wherein recording the N first videos at the first target frame rate to obtain a first target video comprises:
under the condition that the frame rate of the first video is greater than the first target frame rate, extracting video frames in the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate;
and under the condition that the frame rate of the first video is less than the first target frame rate, inserting blank frames into video frames of the first video at equal intervals to obtain the first target video with the frame rate being the first target frame rate.
4. The method according to claim 2, wherein the recording each of the N first videos according to N preset frequencies respectively to obtain N second videos comprises:
under the condition that the frame rate of the first video is greater than the preset frame rate, extracting video frames in the first video at equal intervals to obtain a second video with the frame rate being the preset frame rate;
and under the condition that the frame rate of the first video is less than the preset frame rate, inserting blank frames into the video frames of the first video at equal intervals to obtain the second video with the frame rate being the preset frame rate.
5. The method according to claim 2, wherein recording the N second videos at the second target frame rate to obtain second target videos comprises:
under the condition that the frame rate of the second video is greater than the second target frame rate, extracting video frames in the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate;
and under the condition that the frame rate of the second video is less than the second target frame rate, inserting blank frames into the video frames of the second video at equal intervals to obtain the second target video with the frame rate being the second target frame rate.
6. The method of claim 1, wherein after the N first videos are recorded at the first target frame rate to obtain first target videos, the method further comprises:
marking at least one time point in the first target video, and receiving input first audio at part or all of the time point of the at least one time point to obtain a marked first marked video;
converting the first audio corresponding to the time point into first text information;
and integrating the first text information and outputting the first text information in a file form.
7. The method according to claim 2, wherein after each of the N first videos is recorded according to N preset frame rates to obtain N second videos, the method further comprises:
marking at least one time point in each video of the N second videos, and receiving input second audio at partial or all time points of the at least one time point to obtain N marked second videos;
converting the second audio frequency corresponding to the time point into second text information;
and integrating the second text information and outputting the second text information in a file form.
8. The method according to claim 2, wherein after the N second videos are recorded at the second target frame rate to obtain second target videos, the method further comprises:
marking at least one time point in the second target video, and receiving an input third audio at part or all of the time point of the at least one time point to obtain a marked third marked video;
converting the third audio corresponding to the time point into third text information;
and integrating the third text information and outputting the third text information in a file form.
9. An apparatus for recording video, comprising:
the device comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring N first videos acquired by N image acquisition devices, N is a positive integer larger than 1, and the N first videos are videos acquired by respectively shooting the same target object by the N image acquisition devices at different shooting angles;
the first recording module is configured to determine a first target frame rate according to a frame rate of each of N first videos, and record the N first videos according to the first target frame rate to obtain a first target video, where the first target video includes the N first videos.
10. The apparatus of claim 9, further comprising:
the second recording module is used for respectively recording each video in the N first videos according to N preset frame rates to obtain N second videos;
and the third recording module is used for determining a second target frame rate according to the frame rate of each of the N second videos, and recording the N second videos according to the second target frame rate to obtain second target videos, wherein the second target videos include the N second videos.
CN202110114163.2A 2021-01-27 2021-01-27 Method, device, storage medium and electronic device for recording video Pending CN112887643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110114163.2A CN112887643A (en) 2021-01-27 2021-01-27 Method, device, storage medium and electronic device for recording video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110114163.2A CN112887643A (en) 2021-01-27 2021-01-27 Method, device, storage medium and electronic device for recording video

Publications (1)

Publication Number Publication Date
CN112887643A true CN112887643A (en) 2021-06-01

Family

ID=76052849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110114163.2A Pending CN112887643A (en) 2021-01-27 2021-01-27 Method, device, storage medium and electronic device for recording video

Country Status (1)

Country Link
CN (1) CN112887643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763136A (en) * 2021-11-09 2021-12-07 武汉星巡智能科技有限公司 Intelligent order generation method for video segmentation processing based on weight change of commodity area

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052868A1 (en) * 2016-02-29 2019-02-14 Fxgear Inc. Wide viewing angle video processing system, wide viewing angle video transmitting and reproducing method, and computer program therefor
CN110798699A (en) * 2019-11-27 2020-02-14 北京翔云颐康科技发展有限公司 Video live broadcasting method and device
CN110913273A (en) * 2019-11-27 2020-03-24 北京翔云颐康科技发展有限公司 Video live broadcasting method and device
CN111327965A (en) * 2020-03-27 2020-06-23 深圳市酷开网络科技有限公司 Video slicing speed-multiplying playing method, system and storage medium
CN111988561A (en) * 2020-07-13 2020-11-24 浙江大华技术股份有限公司 Adaptive adjustment method and device for video analysis, computer equipment and medium
CN112188136A (en) * 2020-09-24 2021-01-05 高新兴科技集团股份有限公司 Method, system, storage medium and equipment for splicing and recording videos in real time in all-in-one mode

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190052868A1 (en) * 2016-02-29 2019-02-14 Fxgear Inc. Wide viewing angle video processing system, wide viewing angle video transmitting and reproducing method, and computer program therefor
CN110798699A (en) * 2019-11-27 2020-02-14 北京翔云颐康科技发展有限公司 Video live broadcasting method and device
CN110913273A (en) * 2019-11-27 2020-03-24 北京翔云颐康科技发展有限公司 Video live broadcasting method and device
CN111327965A (en) * 2020-03-27 2020-06-23 深圳市酷开网络科技有限公司 Video slicing speed-multiplying playing method, system and storage medium
CN111988561A (en) * 2020-07-13 2020-11-24 浙江大华技术股份有限公司 Adaptive adjustment method and device for video analysis, computer equipment and medium
CN112188136A (en) * 2020-09-24 2021-01-05 高新兴科技集团股份有限公司 Method, system, storage medium and equipment for splicing and recording videos in real time in all-in-one mode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763136A (en) * 2021-11-09 2021-12-07 武汉星巡智能科技有限公司 Intelligent order generation method for video segmentation processing based on weight change of commodity area

Similar Documents

Publication Publication Date Title
EP3321880B9 (en) Monitoring system, photography-side device, and verification-side device
CN202524495U (en) Course recording system based on fixed camera position, and video processing device
CN105615832A (en) Medical image data acquisition method and device
CN111432169B (en) Video transmission method, device, equipment and system
CN104640496A (en) Medical device
CN103248855A (en) Fixed seat-based lesson recording system, video processing device and lesson recording method
CN113808037A (en) Image optimization method and device
CN110913273A (en) Video live broadcasting method and device
CN110769175A (en) Intelligent analysis system, method and device
CN112887643A (en) Method, device, storage medium and electronic device for recording video
CN113158773A (en) Training method and training device for living body detection model
CN113242396A (en) Method and device for playing back video
CN113347392A (en) AR-based power distribution room monitoring data visualization display method, system and medium
CN110996137B (en) Video processing method and device
CN110414322B (en) Method, device, equipment and storage medium for extracting picture
CN110798699A (en) Video live broadcasting method and device
CN110855947A (en) Image snapshot processing method and device
CN112202985B (en) Information processing method, client device, server device and information processing system
CN115690003A (en) Microcirculation image definition evaluation method, device, equipment and storage medium
CN114390204A (en) Intelligent medical treatment method and system
CN112929706A (en) Video data playback method, device, storage medium, and electronic device
CN110390627B (en) High frame frequency image acquisition and transmission system and method
CN111860455A (en) Living body detection method and device based on HTML5 page
CN113343031B (en) Data adding method and device, storage medium and electronic device
CN117412186B (en) Video stream processing method, system, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210601