Video recording methods, devices, storage media, and program products

By independently controlling recording and playback states of multiple video tracks, the method and apparatus enhance the flexibility of video recording on intelligent terminals, allowing for varied and user-satisfying composited videos.

JP7961274B2Active Publication Date: 2026-12-04BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024512206
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2021-08-23
Filing Date
2022-08-16
Publication Date
2026-12-04
Estimated Expiration
2042-08-16

AI Technical Summary

Technical Problem

Existing video recording methods on intelligent terminals result in monotonous composited videos due to the synchronization of video playback and recording, failing to meet user requirements for varied video states.

Method used

A method and apparatus that control the recording and playback states of multiple video tracks independently, allowing for flexible composition of videos by combining frame images from different tracks based on user commands.

Benefits of technology

Enables the creation of composited videos that adapt to different playback states of the second video, enhancing the flexibility and user satisfaction in video recording operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007961274000001
    Figure 0007961274000001
  • Figure 0007961274000002
    Figure 0007961274000002
  • Figure 0007961274000003
    Figure 0007961274000003
Patent Text Reader

Abstract

The present disclosure provides a video recording method, device, storage medium, computer program product and computer program, which belong to video processing technology, and includes the steps of: in response to a shooting on command, leaving the video frame image collected by the camera on a first video track and displaying the video frame image in the first video track; in response to a playback command of a second video, leaving the video frame image of the second video on a second video track and displaying the video frame image in the second video track; in response to a playback pause command of the second video, pausing the leaving of the video frame image of the second video on the second video track, and making the second video track hold the video frame image left before pausing the playback of the second video; and in response to a recording command, synthesizing the video frame image in the first video track and the video frame image in the second video track to obtain a video frame image of a recording video. The solution provided by the present application can improve the flexibility of collaborative video shooting of an intelligent terminal.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] [Related Application] This application claims priority to Chinese Patent Application No. 202110967164.1, filed on August 23, 2021 and titled "Video Recording Method, Apparatus, Storage Medium, and Program Product", the entire contents of which are incorporated herein by reference. [Technical Field] Embodiments of the present disclosure relate to the field of video processing technology, and in particular, to a video recording method and apparatus, a storage medium, a computer program product, and a computer program. [Background Art]

[0002] At present, with the development of intelligent terminal technologies, there are more and more types of applications on intelligent terminals. For example, there are applications having a video compositing function.

[0003] When an intelligent terminal runs an application, the intelligent terminal may play an existing video, shoot a video, and composite a played video picture and a shot video picture to obtain a recorded video picture.

[0004] However, in this case, preview playback of the shot video, playback of the existing video, and the recording operation need to be synchronized: the video is played at the same time as recording starts, and video playback is paused at the same time as recording is paused. In the obtained composited picture, both the shot video and the existing video are in a playback state. Consequently, the composited picture is too monotonous, and cannot meet user requirements for composited videos in different states. [Summary of the Invention]

[0005] Embodiments of the present disclosure provide a video recording method and apparatus, a storage medium, a computer program product, and a computer program, to meet different state requirements of a user when generating a composited video.

[0006] In the first embodiment, the embodiments of the present disclosure provide a video recording method. The steps include: in response to a recording ON command, leaving the video frame images collected by the camera on a first video track, and displaying the video frame images in the first video track; The steps include: in response to a playback command for the second video, leaving the video frame images of the second video on the second video track, and displaying the video frame images in the second video track; The steps include: in response to a playback pause command for the second video, pausing the retention of video frame images of the second video on the second video track, and causing the second video track to retain the video frame images that were left unattended before the playback pause of the second video; The method includes the step of, in response to a recording command, combining the video frame images in the first video track and the video frame images in the second video track to obtain a video frame image of a recorded video.

[0007] In a second embodiment, an embodiment of the present disclosure provides a video compositing apparatus. A shooting unit for displaying video frame images in the first video track, which are collected by a camera in response to a shooting on command, A playback unit for displaying video frame images in the second video track, in response to a playback command for the second video, and for leaving the video frame images of the second video on the second video track. A playback pause unit that, in response to a playback pause command for the second video, pauses the leaving of video frame images of the second video on the second video track, and causes the second video track to hold the video frame images that were left unattended before the playback pause of the second video, The system includes a recording command for obtaining a video frame image of a recorded video by combining the video frame image in the first video track and the video frame image in the second video track in response to the recording command.

[0008] In a third embodiment, an embodiment of the present disclosure provides an electronic device comprising at least one processor and memory, The aforementioned memory stores computer execution commands. When the computer execution command stored in the memory is executed by the at least one processor, the at least one processor is made to implement the method of the first embodiment and various possible designs of the first embodiment.

[0009] In a fourth embodiment, an embodiment of the present disclosure provides a computer-readable storage medium in which computer execution commands are stored, and when a processor executes the computer execution commands, the method of the first embodiment and various possible designs of the first embodiment are realized.

[0010] In a fifth embodiment, an embodiment of the present disclosure provides a computer program product including a computer program, which, when executed by a processor, realizes the method of the first embodiment and various possible designs thereof.

[0011] In a sixth embodiment, an embodiment of the present disclosure provides a computer program which, when executed by a processor, realizes the method of the first embodiment and various possible designs thereof.

[0012] Embodiments of the present disclosure provide a video recording method, apparatus, storage medium, and program product, which include the steps of: in response to a recording on command, leaving video frame images collected by a camera on a first video track and displaying the video frame images in the first video track; in response to a playback command for a second video, leaving video frame images of a second video on a second video track and displaying the video frame images in the second video track; in response to a playback pause command for a second video, pausing the leaving of video frame images of a second video on the second video track and causing the second video track to retain the video frame images left before the playback of the second video was paused; and in response to a recording command, combining the video frame images in the first video track and the video frame images in the second video track to obtain video frame images of a recorded video. The solution provided in this application allows the playback state of the second video to be controlled during co-recording, and when the playback state of the second video is different, the intelligent terminal can add video frame images of the second video that match the video playback state to the composite video, thereby improving the flexibility of the intelligent terminal's co-recording of video. [Brief explanation of the drawing]

[0013] To more clearly illustrate the embodiments of this disclosure or the technical solutions in the prior art, the accompanying drawings that may be used in the description of the embodiments or the prior art are briefly described below. However, obviously, the accompanying drawings in the following description are only a few embodiments of this disclosure, and those skilled in the art can obtain other drawings based on these without any creative work. [Figure 1] This is a diagram illustrating an application scenario shown in an exemplary embodiment. [Figure 2] This is a schematic flowchart 1 of the video recording method shown in the exemplary embodiment of this application. [Figure 3] This is a schematic flowchart for generating the recorded image shown in the exemplary embodiment of this application. [Figure 4]FIG. 2 is a schematic flowchart of a video recording method shown in an exemplary embodiment of the present application. [Figure 5] FIG. 1 is a structural schematic diagram of a video compositing apparatus shown in an exemplary embodiment of the present application. [Figure 6] FIG. 2 is a structural schematic diagram of a video compositing apparatus shown in an exemplary embodiment of the present application. [Figure 7] FIG. 3 is a structural diagram of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0014] In order to more clearly illustrate the objectives, technical solutions, and advantages of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings of the embodiments of the present disclosure. Apparently, the described embodiments are only a part of the embodiments of the present disclosure, rather than all the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.

[0015] With the development of intelligent terminals, the functions of applications applied to intelligent terminals are becoming increasingly diverse. For example, existing videos and recorded videos can be mixed to obtain a composite video file.

[0016] FIG. 1 is a diagram of an application scenario shown in an exemplary embodiment.

[0017] As shown in FIG. 1, a video file can be played on a user terminal. For example, a screen 11 of the video file can be displayed on an interface of the user terminal. A recording button 12 can be configured on the user terminal, and the user can trigger the composite video generation function of the user terminal by clicking the recording button 12.

[0018] When the user clicks the recording button 12 to send a recording start instruction to the user terminal, the user terminal plays the video file, starts the camera, collects the shooting screen 13, and combines the played video screen 11 and the shooting screen 13 to obtain a combined video.

[0019] When the user clicks the recording button 12 again, a recording pause instruction is sent to the user terminal, and the user terminal stops playing the video file, stops acquiring the recording screen, and stops generating the combined screen.

[0020] However, such a combined video generation method is too monotonous to meet the user's requirements for various states of the combined video. For example, if there is a requirement not to continue playing the video file during recording, the requirement cannot be met.

[0021] In order to solve the above technical problem, the solution provided by the present application is to respectively control the recording state and the playing state of the multimedia file, write data into the combined video file according to the playing state of the multimedia file, and provide video combining methods in various states based on user operations, so as to meet user requirements.

[0022] Figure 2 is a schematic flow chart 1 of the video recording method shown in an exemplary embodiment of the present application.

[0023] As shown in Figure 2, the video recording method provided by the present application includes the following steps.

[0024] Step 201: In response to a shooting-on instruction, place the video frame images collected by the camera on the first video track, and display the video frame images in the first video track.

[0025] The method provided by the embodiments of the present disclosure may be executed by an electronic device with computing functions, such as an intelligent terminal, which may have a video playback function and a camera function.

[0026] Here, the intelligent terminal can combine the recorded screen and the screen within the video to obtain a composite video file.

[0027] Specifically, the user can operate the intelligent terminal and trigger its video camera function. For example, the user can click the capture button on the intelligent terminal and send a capture-on command to the intelligent terminal.

[0028] Furthermore, the intelligent terminal can collect video frame images with its camera in response to a camera capture command. For example, it can activate the camera of the intelligent terminal and capture an image with the camera.

[0029] In practice, when an intelligent terminal collects video frame images using a camera, it places the video frame images collected by the camera onto a first video track. A video track is a software layer abstraction of the images recorded in a video file. The intelligent terminal may include a first video track for recording the images collected by the camera.

[0030] Here, the intelligent terminal displays video frame images from the first video track. For example, the intelligent terminal can acquire images frame by frame from the first video track and display them on a display device. The display device may specifically be the screen of the intelligent terminal.

[0031] Step 202: In response to the playback command for the second video, the video frame images of the second video are left on the second video track, and the video frame images in the second video track are displayed.

[0032] Here, the user can pre-select a second video; for example, before turning on the camera function, the user can first select a second video and use that second video as a co-recorded video.

[0033] Specifically, the user can also operate the intelligent terminal to play the second video. For example, the user may click a button for playing the second video that is set on the intelligent terminal, causing the intelligent terminal to receive a command to play the second video.

[0034] Furthermore, the intelligent terminal may respond to a command to play the second video by leaving the video frame images of the second video on the second video track, specifically, leaving the video frame images of the second video on the second video track frame by frame. The intelligent terminal may also have a second video track configured.

[0035] In practice, the intelligent terminal may display video frame images from a second video track, for example, by acquiring images frame by frame from the second video track and displaying them on a display device. The display device may specifically be the screen of the intelligent terminal.

[0036] In practice, the intelligent terminal can acquire images from the first video track and the second video track, respectively, decode the acquired images, encode the decoded data, obtain encoded data including the collected screen and the second video screen, and further display this encoded data on the intelligent terminal's screen.

[0037] Step 203: In response to the playback pause command for the second video, pause leaving the video frame images of the second video on the second video track, and cause the second video track to retain the video frame images that were left unattended before the second video playback pause.

[0038] Here, the user can also operate the intelligent terminal and send a command to the intelligent terminal to play or pause the second video. For example, the user may operate a button on the intelligent terminal to play or pause the second video, triggering the intelligent terminal to play or pause the second video.

[0039] Specifically, when the intelligent terminal receives a command to pause playback of the second video, it pauses the retention of the video frame images of the second video on the second video track and causes the second video track to retain the video frame images that were left unattended before the second video playback was paused.

[0040] Furthermore, if the user does not pause playback of the second video by operating the intelligent terminal, step 203 may be omitted.

[0041] Step 204: In response to the recording command, the video frame images in the first video track and the video frame images in the second video track are combined to obtain the video frame images of the recorded video.

[0042] Furthermore, users can also operate the intelligent terminal to trigger terminal-initiated video recording. For example, if a user wants to record a collaborative video, they can click the record button on the intelligent terminal to trigger the intelligent terminal to perform this step.

[0043] In practice, after the intelligent terminal receives a recording command, it encodes the video image in the first video track and the video frame image in the second video track, writes the encoded data to a file, and obtains the video frame image of the recorded video.

[0044] Here, the intelligent terminal may specifically acquire the latest additional image from the first video track, acquire the latest additional image from the second video track, encode the two frame images, and generate a recording file.

[0045] Figure 3 is a schematic flowchart for generating the recorded image shown in the exemplary embodiment of this application.

[0046] This embodiment will be explained using the case where the multimedia file is a video file as an example. As shown in Figure 3, At time t1, the intelligent terminal turns on its camera function, collects video frame images using the camera, and places each frame on the first video track, for example, placing the first frame screen 311, the second frame screen 312...the nth frame screen 31n on the first video track frame by frame. The intelligent terminal may display the images that have been placed on the first video track frame by frame.

[0047] At time t2, the intelligent terminal may start playback of the second video and acquire video frame images from the second video frame by frame. For example, when the intelligent terminal acquires the m-th frame recording screen 31m, if the intelligent terminal receives a playback command, it may acquire the first frame video screen 321 from the second video when it has collected the m-th frame screen, acquire the second frame video screen 322 from the second video when it has collected the m+1-th frame screen 31m+1, acquire the second frame video screen 322 from the second video when it has acquired the n-th frame recording screen 31n, acquire the k-th frame video screen 32k from the multimedia file, and the intelligent terminal may add the acquired video screens to the second video track.

[0048] At the same time, the intelligent terminal may display a screen that has been added to the second video track on its screen.

[0049] At time t3, if the intelligent terminal stops playing the second video, it will stop adding screens to the second video track. For example, at time t3, if the intelligent terminal stops playing the second video, it will then continue adding video frame images to the first video track and stop continuously adding screens of the second video frame by frame to the second video track.

[0050] At time t4, the intelligent terminal turns on the camera function and combines the video frame images from the first video track and the video frame images from the second video track to obtain the video frame images of the recorded video.

[0051] When compositing video frame images, if the intelligent terminal continues to add images to the second video track, it will composite the most recently added image with the image collected in real time. If the intelligent terminal does not add images to the second video track, it will composite the last image added to the second video track with the image collected in real time.

[0052] Specifically, if the intelligent terminal adds an image to the first video track and also adds an image to the second video track, the intelligent terminal can display two images on the screen.

[0053] The video recording method provided in this application includes the steps of: in response to a recording on command, leaving video frame images collected by the camera on a first video track and displaying the video frame images in the first video track; in response to a playback command for a second video, leaving video frame images of the second video on a second video track and displaying the video frame images in the second video track; in response to a playback pause command for the second video, pausing the placement of video frame images of the second video on the second video track and causing the second video track to retain the video frame images that were placed on the second video before playback pause was performed; and in response to a recording command, combining the video frame images in the first video track and the video frame images in the second video track to obtain video frame images of a recorded video. The method provided in this application allows control of the playback state of the second video during joint shooting, and if the playback state of the second video is different, the intelligent terminal can improve the flexibility of joint video shooting by adding video frame images of the second video that match the video playback state to the combined video.

[0054] Figure 4 is a schematic flowchart 2 of the video recording method shown in the exemplary embodiment of this application.

[0055] As shown in Figure 4, the video recording method provided in this application includes the following steps.

[0056] Step 401: In response to the shooting ON command, the image data collected by the camera is transmitted to the first video track, the first video track encodes the image data to obtain the video frame images collected by the camera, and displays the video frame images in the first video track.

[0057] In an optional embodiment, after the intelligent terminal receives a shooting command, it can activate the camera and collect video frame images using the camera.

[0058] Here, the intelligent terminal can also transmit video frame images collected by the camera to a first video track, have the image data encoded on the first video track, and then use the encoded data to display the image data in the first video track.

[0059] Step 402: In response to the playback command for the second video, the video frame images of the second video are left on the second video track, and the video frame images in the second video track are displayed.

[0060] Step 403: In response to the playback pause command for the second video, pause leaving the video frame images of the second video on the second video track, and cause the second video track to retain the video frame images that were left unattended before the second video playback pause.

[0061] Steps 402 and 403 are the same as those in the embodiments of steps 202 and 203, so a repeated explanation is omitted.

[0062] Step 404: In response to the recording command, the second video track transmits the video frame images from the second video track to the first video track.

[0063] Here, the user operates the intelligent terminal, turns on the intelligent terminal's camera function, and controls the intelligent terminal to send video frame images from the second video track to the first video track.

[0064] Specifically, when the intelligent terminal is playing the second video, the intelligent terminal may add images of the second video frame by frame to the second video track. In such an embodiment, the images transmitted from the second video track to the first video track are the images added to the second video track frame by frame.

[0065] Furthermore, when the intelligent terminal pauses playback of the second video, the intelligent terminal stops adding images to the second video track, and in such an embodiment, the image sent from the second video track to the first video track is the last image added to the second video track.

[0066] Step 405: The first video track combines the video frame images in the first video track with the video frame images transmitted by the received second video track to obtain the video frame images of the recorded video.

[0067] In practice, the first video track can process video frame images and received video frame images, specifically by encoding them to obtain composite image data, and further obtain video frame images of the recorded video.

[0068] Here, the intelligent terminal can display images on the screen. If recording has started, it will display the collected video image frames. If playback of the second video has started, it will display a composite image of the images collected in real time and the images from the second video being played. If playback of the second video has been paused, it will display a composite image of the images collected in real time and the images from the paused second video.

[0069] If the user terminal chooses to composite images, the first video track sets the video frame image in the first video track to the first position in the preset screen, and the video frame image transmitted by the received second video track is set to the second position in the preset screen to obtain the video frame image of the recorded video. For example, the video frame image in the first video track is set to the left area of ​​the preset screen, and the video frame image in the second video track is set to the right area of ​​the preset screen.

[0070] Step 406: In response to the command to pause recording, the compositing of the video frame image in the first video track and the video frame image in the second video track is stopped.

[0071] Specifically, the user operates the user terminal and sends a recording pause command. After the user terminal receives the recording pause command, it may respond to the command by stopping the compositing of the video frame images in the first video track and the video frame images in the second video track.

[0072] Furthermore, if the user terminal receives a recording pause command, the user terminal may continue collecting video frame images with the camera and leave them on the first video track, or it may acquire video frame images from the second video and display the combined image on the screen.

[0073] In practice, the user terminal stops encoding the screens collected from the first and second video tracks, and stops writing new screens to the composite file, thus stopping recording.

[0074] Step 407: Obtain the recorded audio.

[0075] Step 408: Write the video frame images and recorded audio from the recorded video to a composite video file.

[0076] Optionally, the methods provided in this disclosure may further include step 407. The user terminal may acquire the recorded audio and collect the recorded audio, for example, via a microphone.

[0077] Optionally, the user terminal can obtain a recording file by writing the video frame images of the synthesized recording video and the collected recording audio to a synthesized video file. The screen of the recording file includes both the screen of the second video and the screen collected by the camera. The screen of the second video can be paused or resumed playback according to the user's operation, which can improve flexibility during user-cooperative shooting.

[0078] Selectively, the user terminal encodes the recorded audio and the video frame images of the recorded video to obtain encoded data, and writes the encoded data to the composite video file.

[0079] If the recording status is recording, the intelligent terminal may encode the composite screen and recorded audio for each time point to obtain encoded data for each time point, or it may write the encoded data for each time point to a composite video file to generate a composite video file.

[0080] In selectable embodiments, before responding to the camera ON command, The further step includes displaying a co-shooting interface in response to a co-shooting command acting on the second video.

[0081] In any one of the above embodiments, the method provided by this embodiment determines the recording state in response to a first operation command acting on the recording state, and determines the file playback state of the multimedia file in response to a second operation command acting on the preset multimedia file playback state, The method further includes the step of displaying a collaborative imaging interface in response to a collaborative imaging command acting on a multimedia file, Here, the first operation command and the second operation command are commands that are operated in the collaborative imaging interface.

[0082] Specifically, the intelligent terminal plays a preset multimedia file, the user operates the intelligent terminal, sends collaborative shooting commands to the intelligent terminal that affect the multimedia file, and displays a collaborative shooting interface on the intelligent terminal.

[0083] For example, in the interface for playing preset multimedia files, a collaborative shooting button can be displayed, and the user can click the collaborative shooting button to send a collaborative shooting command to the intelligent terminal.

[0084] Figure 5 is a schematic diagram 1 of the structure of a video compositing apparatus shown in an exemplary embodiment of this application.

[0085] As shown in Figure 5, the video synthesis apparatus 500 provided in this application is A shooting unit 510 for displaying video frame images in the first video track, which is used in response to a shooting on command, and which leaves the video frame images collected by the camera on the first video track. A playback unit 520 for displaying video frame images in the second video track, which is used in response to a playback command for the second video, and which leaves the video frame images of the second video track in the second video track. A playback pause unit 530 is provided to pause the playback of the second video in response to a playback pause command for the second video, and to cause the second video track to hold the video frame images that were left unattended before the playback pause of the second video. The system includes a recording command 540 for obtaining a video frame image of a recorded video by combining the video frame image in the first video track and the video frame image in the second video track in response to the recording command.

[0086] The principle, embodiments, and effects of the video synthesis apparatus provided in this disclosure are the same as those shown in the example in Figure 2, and therefore, repeated explanations are omitted.

[0087] Figure 6 is a schematic diagram 2 of the structure of a video compositing apparatus shown in an exemplary embodiment of this application.

[0088] As shown in Figure 6, based on the above embodiment, this application provides a video synthesis apparatus 600, wherein the shooting unit 510 is specifically, This system is used to transmit image data collected by a camera to the first video track, to have the first video track encode the image data, and to obtain video frame images collected by the camera.

[0089] The aforementioned recording command 540 is: An image transmission module 541 used to control the second video track to transmit video frame images in the second video track to the first video track, The first video track includes an image synthesis module 542 used to synthesize the video frame images in the first video track with the video frame images transmitted by the received second video track to obtain video frame images of a recorded video.

[0090] The aforementioned device is The system further includes a recording pause unit 550 used to stop the compositing of video frame images in the first video track and video frame images in the second video track in response to a command to pause recording.

[0091] Specifically, the image synthesis module 542 is: The first video track is used to control the placement of video frame images in the first video track at a first position in a preset screen, and the video frame images transmitted by the received second video track are placed at a second position in the preset screen, thereby obtaining video frame images of a recorded video.

[0092] The aforementioned device is Obtain the recorded audio, The system further comprises a file generation unit 560 used to write the video frame images of the recorded video and the recorded audio to a composite video file.

[0093] The aforementioned file generation unit 560 is An encoding module 561 used to encode the video frame images of the recorded audio and the recorded video to obtain encoded data, The system includes a writing module 562 used to write the encoded data to the composite video file.

[0094] Selectively, the device may, before the imaging unit 510 responds to the imaging ON command, The system further includes a display unit 570 used to display a collaborative shooting interface in response to a collaborative shooting command acting on the second video.

[0095] This application further provides a computer program product including a computer program, which, when executed by a processor, realizes any one of the above-described video recording methods.

[0096] The apparatus provided in the embodiments of this disclosure is used to implement the technical solutions of the method embodiments described above, and its implementation principles and technical effects are similar, so repeated explanations are omitted in the embodiments of this disclosure.

[0097] Referring to Figure 7, a schematic diagram of the structure of an electronic device 700 suitable for implementing an embodiment of the present disclosure, the electronic device 700 may be a terminal device or a server. Here, the terminal device includes, but is not limited to, mobile devices such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 7 is merely an example and does not limit in any way the functions and scope of use of the embodiments of the present disclosure.

[0098] As shown in Figure 7, the electronic device 700 includes a processing unit (e.g., a central processing unit, graphics processor, etc.) 701 that performs various appropriate operations and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage device 708 into a random access memory (RAM) 703. The RAM 703 further stores various programs and data necessary for the operation of the electronic device 700. The processing unit 701, ROM 702, and RAM 703 are connected to each other via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0099] Typically, the I / O interface 705 is connected to input devices 606 such as touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes; output devices 707 such as liquid crystal displays (LCDs), speakers, and vibrators; storage devices 708 such as magnetic tape and hard disks; and communication devices 709. The communication device 709 allows the electronic device 700 to exchange data with other devices via wireless or wired communication. Figure 7 illustrates the electronic device 700 with various devices, but it should be understood that it is not necessary to implement or have all the devices shown. Alternatively, more or fewer devices may be implemented or have been included.

[0100] In particular, according to embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure provide a computer program product including a computer program carried on a computer-readable medium, the computer program including program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded from a network via a communication device 709 and installed, or installed from a storage device 708, or installed from a ROM 702. When this computer program is executed by a processing unit 701, the functions defined in the method of embodiments of the present disclosure are realized.

[0101] The computer-readable media described in this disclosure may be computer-readable signal media, computer-readable storage media, or any combination thereof. The computer-readable storage media may be, but are not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any combination thereof. More specific examples of computer-readable storage media may be, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any appropriate combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signaling medium may include data signals propagated in the baseband or as part of a carrier, and carry computer-readable program code. Such propagating data signals include, but are not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signaling medium may be any computer-readable medium other than a computer-readable storage medium that transmits, propagates, or transfers a program used by or in combination with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transferred by any suitable medium, such as wires, fiber optic cables, radio frequency (RF), or any suitable combination thereof.

[0102] The computer-readable medium described above may be included in the electronic device described above, or it may be a separate entity not incorporated into the electronic device.

[0103] The computer-readable medium contains one or more programs, and when one or more of these programs are executed by an electronic device, the electronic device is instructed to perform the method shown in the above embodiment.

[0104] Computer program code for performing the operations of the Disclosure can be written in one or more programming languages ​​or a combination thereof, and such programming languages ​​include object-oriented programming languages ​​(such as Java, Smalltalk, and C++) and conventional procedural programming languages ​​(such as the "C" language or similar programming languages). The program code may run entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any kind of network, such as a local area network (LAN) or a wide area network (WAN), or it may be connected to an external computer (for example, connected via the Internet using an Internet service provider).

[0105] The flowcharts and block diagrams in the attached drawings illustrate possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each box in a flowchart or block diagram may represent a module, program segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions shown within a box may occur in a different order than shown in the attached drawings. For example, two boxes shown consecutively may actually be executed substantially in parallel, or in reverse order depending on the related functions. It should also be noted that each box in a block diagram and / or flowchart, and combinations of boxes in a block diagram and / or flowchart, may be implemented in a dedicated hardware-based system that performs a specified function or operation, or in a combination of dedicated hardware and computer instructions.

[0106] The units described in the embodiments of this disclosure may be implemented in software or in hardware. Herein, the names of the units do not constitute a limitation of the unit itself in a given situation; for example, the first acquisition unit may be described as "a unit that acquires at least two Internet Protocol addresses."

[0107] The functions described above may be performed, at least in part, by one or more hardware logic components. For example, non-limiting exemplary hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-a-chip (SOCs), and complex programmable logic devices (CPLDs).

[0108] In the context of this disclosure, an instrument-readable medium may be a tangible medium containing or storing a program used by or in combination with an instruction execution system, apparatus, or device. An instrument-readable medium may be an instrument-readable signal medium or an instrument-readable medium. An instrument-readable medium includes, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. More specific examples of instrument-readable storage media include electrical connections based on one or more wires, portable instrument disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0109] In a first embodiment, one or more embodiments of the present disclosure provide a video recording method, The steps include: in response to a recording ON command, leaving the video frame images collected by the camera on a first video track, and displaying the video frame images in the first video track; The steps include: in response to a playback command for the second video, leaving the video frame images of the second video on the second video track, and displaying the video frame images in the second video track; The steps include: in response to a playback pause command for the second video, pausing the retention of video frame images of the second video on the second video track, and causing the second video track to retain the video frame images that were left unattended before the playback pause of the second video; The method includes the step of, in response to a recording command, combining the video frame images in the first video track and the video frame images in the second video track to obtain a video frame image of a recorded video.

[0110] According to one or more embodiments of the present disclosure, the step of leaving the video frame images collected by the camera on a first video track is: The method includes transmitting image data collected by a camera to the first video track, causing the first video track to encode the image data, and obtaining video frame images collected by the camera. According to one or more embodiments of the present disclosure, the step of combining the video frame images in the first video track and the video frame images in the second video track to obtain video frame images of a recorded video is: The second video track transmits the video frame images in the second video track to the first video track. The first video track includes combining the video frame images in the first video track with the video frame images transmitted by the received second video track to obtain video frame images of the recorded video.

[0111] According to one or more embodiments of this disclosure, The further step includes stopping the compositing of the video frame image in the first video track and the video frame image in the second video track in response to a command to pause recording.

[0112] According to one or more embodiments of this disclosure, The first video track combines the video frame image in the first video track with the video frame image transmitted by the received second video track to obtain a video frame image of the recorded video. The first video track places the video frame images in the first video track at a first position in the preset screen, and the received video frame images transmitted by the second video track are placed at a second position in the preset screen, thereby obtaining video frame images of a recorded video.

[0113] According to one or more embodiments of this disclosure, Steps to obtain the recorded audio, The further step includes writing the video frame images of the recorded video and the recorded audio to a composite video file.

[0114] According to one or more embodiments of this disclosure, The step of writing the video frame images of the recorded video and the recorded audio to a composite video file is: This includes encoding the video frame images of the recorded audio and the recorded video to obtain encoded data, and writing the encoded data to the composite video file.

[0115] According to one or more embodiments of this disclosure, Before responding to the camera on command, The further step includes displaying a co-shooting interface in response to a co-shooting command acting on the second video.

[0116] In a second embodiment, one or more embodiments of the present disclosure provide a video recording device, A shooting unit used to display video frame images in the first video track, which are collected by a camera in response to a shooting ON command, A playback unit used to display the video frame images in the second video track in response to a playback command for the second video, A playback pause unit used to pause the playback of the second video on the second video track in response to a playback pause command for the second video, and to cause the second video track to hold the video frame images that were left unattended before the playback pause of the second video, The system includes a recording command used to combine video frame images in the first video track and video frame images in the second video track in response to the recording command, in order to obtain video frame images of a recorded video.

[0117] According to one or more embodiments of this disclosure, the imaging unit is, specifically, This system is used to transmit image data collected by a camera to the first video track, to have the first video track encode the image data, and to obtain video frame images collected by the camera.

[0118] According to one or more embodiments of this disclosure, the recording command is: An image transmission module used to control the second video track to transmit video frame images in the second video track to the first video track, The first video track includes an image synthesis module used to synthesize the video frame images in the first video track with the video frame images transmitted by the received second video track to obtain video frame images of a recorded video.

[0119] According to one or more embodiments of this disclosure, the apparatus is The system further includes a recording pause unit used to stop the compositing of video frame images in the first video track and video frame images in the second video track in response to a command to pause recording.

[0120] Specifically, the aforementioned image synthesis module is: The first video track is used to control the placement of video frame images in the first video track at a first position in a preset screen, and the video frame images transmitted by the received second video track are placed at a second position in the preset screen, thereby obtaining video frame images of a recorded video.

[0121] According to one or more embodiments of this disclosure, the apparatus is Obtain the recorded audio, The system further comprises a file generation unit used to write video frame images of the recorded video and the recorded audio to a composite video file.

[0122] According to one or more embodiments of this disclosure, the file generation unit is: An encoding module used to encode the video frame images of the recorded audio and the recorded video to obtain encoded data, The system includes a writing module used to write the encoded data to the synthesized video file.

[0123] According to one or more embodiments of the present disclosure, the apparatus, before responding to the imaging unit imaging ON command, The system further includes a display unit used to display a collaborative shooting interface in response to a collaborative shooting command acting on the second video.

[0124] In a third embodiment, one or more embodiments of the present disclosure provide an electronic device comprising at least one processor and memory, The aforementioned memory stores computer execution commands. When the at least one processor executes a computer execution command stored in the memory, the at least one processor implements the method according to the first embodiment and various possible designs of the first embodiment.

[0125] In a fourth embodiment, one or more embodiments of the present disclosure provide a computer-readable storage medium in which computer execution commands are stored, and when a processor executes the computer execution commands, the method of the first embodiment and various possible designs of the first embodiment are realized.

[0126] In a fifth embodiment, one or more embodiments of the present disclosure provide a computer program product including a computer program, which, when executed by a processor, realizes the methods of the first embodiment and various possible designs of the first embodiment.

[0127] In a sixth embodiment, one or more embodiments of the present disclosure provide a computer program which, when executed by a processor, realizes the method of the first embodiment and various possible designs of the first embodiment.

[0128] The above description is illustrative of preferred embodiments of the disclosure and the technical principles employed. Those skilled in the art will understand that the scope of the disclosure is not limited to technical solutions formed by specific combinations of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalents, without departing from the scope of the disclosure. For example, it should also cover technical solutions (but not limited to) formed by substituting the above features with similarly functional technical features disclosed herein.

[0129] Furthermore, although each operation is described using a specific order, this should not be interpreted as requiring the operations to be executed in a specific order or sequentially as shown. In certain environments, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of this disclosure. Certain features described in the context of a single embodiment can also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment can also be implemented in multiple embodiments, individually or in any appropriate subcombination.

[0130] While this subject matter has been described using language specific to structural features and / or methodological operations, it should be understood that the subject matter defined in the attached claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely exemplary forms of implementing the claims.

Claims

1. The steps include: in response to a recording ON command, placing the video frame images collected by the camera onto a first video track, and displaying the video frame images in the first video track; The steps include: in response to a playback command for the second video, placing the video frame images of the second video on the second video track, and displaying the video frame images in the second video track; The steps include: in response to a playback pause command for the second video, pausing the placement of video frame images of the second video on the second video track, and causing the second video track to retain the video frame images that were placed before the playback pause of the second video; The step of, in response to a recording command, combining the video frame images in the first video track and the video frame images in the second video track to obtain a video frame image of the recorded video, The step of placing the video frame images collected by the aforementioned camera onto the first video track is: A video recording method comprising transmitting image data collected by the camera to a first video track, encoding the image data in the first video track to obtain video frame images collected by the camera.

2. The step of combining the video frame image in the first video track and the video frame image in the second video track to obtain a video frame image of the recorded video is: Transmitting the video frame image in the second video track to the first video track, The video recording method according to claim 1, comprising combining a video frame image in the first video track with a received video frame image in the second video track to obtain a video frame image of a recorded video.

3. The video recording method according to claim 1, further comprising the step of stopping the compositing of video frame images in the first video track and video frame images in the second video track in response to a command to pause recording.

4. The step of combining the video frame image in the first video track and the received video frame image in the second video track to obtain a video frame image of the recorded video is: The video recording method according to claim 2, comprising arranging the video frame images in the first video track at a first position on the preset screen, and arranging the received video frame images in the second video track at a second position on the preset screen to obtain video frame images of a recorded video.

5. Steps to obtain the recorded audio, The video recording method according to claim 1, further comprising the step of writing the video frame images of the recorded video and the recorded audio to a composite video file.

6. The step of writing the video frame images of the recorded video and the recorded audio to a composite video file is: The video recording method according to claim 5, comprising encoding the video frame images of the recorded audio and the recorded video to obtain encoded data, and writing the encoded data to the composite video file.

7. Before responding to the camera on command, The video recording method according to claim 1, further comprising the step of displaying a collaborative shooting interface in response to a collaborative shooting command generated by a user operation on a collaborative shooting button displayed on the playback interface of the second video.

8. A shooting unit for placing video frame images collected by a camera onto a first video track in response to a shooting on command, and for displaying the video frame images in the first video track, A playback unit for placing video frame images of the second video on a second video track in response to a playback command for the second video, and for displaying the video frame images in the second video track, A playback pause unit for which, in response to a playback pause command for the second video, the placement of video frame images of the second video on the second video track is paused, and the second video track is made to hold the video frame images that were placed on the second video before playback pause was performed, A recording command for obtaining a video frame image of a recorded video by combining the video frame image in the first video track and the video frame image in the second video track in response to the recording command, The shooting unit is further configured to transmit image data collected by the camera to the first video track, encode the image data in the first video track to obtain video frame images collected by the camera, and is a video synthesis device.

9. Equipped with at least one processor and memory, The aforementioned memory stores computer execution commands. An electronic device that, when the computer execution command stored in the memory is executed by the at least one processor, causes the at least one processor to implement the video recording method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing computer execution commands, wherein when the computer execution commands are executed by a processor, the video recording method described in any one of claims 1 to 7 is realized.

11. A computer program wherein, when the computer program is executed by a processor, the video recording method described in any one of claims 1 to 7 is realized.

Citation Information

Patent Citations

  • Video camera, photographing / operating method therefor and device / method for image processing

    JP1993064075A

  • Image information reproducing device

    JP1994006760A

  • Apparatus and method of processing information, recording medium and program

    JP2006093953A

  • Image processor, image processing method, and program

    JP2014075730A

  • Video imaging method, video imaging device, electronic device, and computer-readable storage medium

    JP2021520764A