CN117278704A - Video recording method, server and terminal equipment - Google Patents

Video recording method, server and terminal equipment Download PDF

Info

Publication number
CN117278704A
CN117278704A CN202211436346.7A CN202211436346A CN117278704A CN 117278704 A CN117278704 A CN 117278704A CN 202211436346 A CN202211436346 A CN 202211436346A CN 117278704 A CN117278704 A CN 117278704A
Authority
CN
China
Prior art keywords
video
recording
recording file
terminal device
target
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
CN202211436346.7A
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.)
Juhaokan Technology Co Ltd
Original Assignee
Juhaokan Technology 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 Juhaokan Technology Co Ltd filed Critical Juhaokan Technology Co Ltd
Priority to CN202211436346.7A priority Critical patent/CN117278704A/en
Publication of CN117278704A publication Critical patent/CN117278704A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

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

Abstract

The disclosure relates to a video recording method, a server and terminal equipment, which are applied to the technical field of video processing. Wherein the method comprises the following steps: after the video call starts, receiving recording indication information sent by first terminal equipment; acquiring video data acquired by the second terminal equipment in real time according to the recording indication information, and generating an initial recording file based on the video data; and acquiring a video recording file transmitted by the third terminal equipment, and replacing a picture of the corresponding position information in the initial recording file based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal equipment in the initial recording file to obtain a target recording file. According to the embodiment of the disclosure, the picture corresponding to the position information in the initial recorded file is replaced through the process, so that the quality and user experience of the recorded file can be improved, and the problem that the recorded file is blocked or unclear due to fluctuation of a network of terminal equipment is avoided.

Description

Video recording method, server and terminal equipment
Technical Field
The disclosure relates to the technical field of video processing, and in particular relates to a video recording method, a server and terminal equipment.
Background
Along with development and progress of technology, functions of terminal equipment are more and more diversified, and great convenience is brought to work and life of people. People can record videos by using the terminal equipment, so that the recorded content can be watched by subsequent users conveniently.
In the prior art, a user records a video picture currently participated by the terminal equipment or a cloud recording function of an application program in the terminal equipment, but when the terminal equipment has network fluctuation, the recorded video file has the problem of picture blocking or unclear, so that the experience effect of the user is poor.
Disclosure of Invention
In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a video recording method, a server, and a terminal device, where a video recording file sent by a terminal device that generates network fluctuation in a cloud recording process replaces a picture corresponding to position information in an initial recording file to obtain a target recording file, so as to improve quality and user experience of the recording file, avoid a problem that the recording file is blocked or unclear when the network of the terminal device fluctuates, and improve a recording effect.
In a first aspect, the present disclosure provides a video recording method, applied to a server, including:
after a video call starts, receiving recording instruction information sent by a first terminal device, wherein the first terminal device is a terminal device for receiving an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
acquiring video data acquired by a second terminal device in real time according to the recording indication information, and generating an initial recording file based on the video data, wherein the second terminal device is terminal devices which are characterized by the recording indication information and participate in cloud recording;
the method comprises the steps of obtaining a video recording file sent by a third terminal device, replacing a picture corresponding to position information in an initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file, wherein the third terminal device is terminal device with network fluctuation in a cloud recording process in the second terminal device, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
In a second aspect, the present disclosure provides a video recording method, applied to a terminal device, where the method includes:
under a preset condition, generating a video recording file based on video data acquired by video recording equipment of the terminal equipment in real time;
detecting that the terminal equipment generates network fluctuation in the cloud recording process, sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and the position information of video data in the initial recording file to obtain a target recording file, wherein the initial recording file is generated by the video data which are characterized by recording instruction information and are acquired in real time by the server according to the terminal equipment participating in cloud recording, and the recording instruction information is that: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording.
In a third aspect, the present disclosure provides a server comprising:
a first controller configured to:
after a video call starts, receiving recording instruction information sent by a first terminal device, wherein the first terminal device is a terminal device for receiving an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
Acquiring video data acquired by a second terminal device in real time according to the recording indication information, and generating an initial recording file based on the video data, wherein the second terminal device is terminal devices which are characterized by the recording indication information and participate in cloud recording;
the method comprises the steps of obtaining a video recording file sent by a third terminal device, replacing a picture corresponding to position information in an initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file, wherein the third terminal device is terminal device with network fluctuation in a cloud recording process in the second terminal device, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
In a fourth aspect, the present disclosure provides a terminal device, comprising:
a video recording device configured to: collecting video data in real time;
a second controller configured to:
generating a video recording file based on the video data under a preset condition;
Detecting that the terminal equipment generates network fluctuation in the cloud recording process, sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and the position information of video data in the initial recording file to obtain a target recording file, wherein the initial recording file is generated by the video data which are characterized by recording instruction information and are acquired in real time by the server according to the terminal equipment participating in cloud recording, and the recording instruction information is that: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording.
In a fifth aspect, the present disclosure provides a computer-readable storage medium comprising: a computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the video recording method as shown in the first and second aspects.
In a sixth aspect, the present disclosure provides a computer program product comprising: the computer program product, when run on a computer, causes the computer to implement the video recording method as shown in the first and second aspects.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: firstly, after video call starts, a server receives recording indication information sent by a first terminal device, then video data acquired by a second terminal device in real time is acquired according to the recording indication information, an initial recording file is generated based on the video data, finally, a video recording file sent by a third terminal device is acquired, a picture of corresponding position information in the initial recording file is replaced based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file, and a target recording file is obtained.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is an application scenario schematic diagram of a video recording method according to an embodiment of the present disclosure;
fig. 2A is a flowchart of a video recording method applied to a server according to an embodiment of the disclosure;
fig. 2B is a schematic diagram of an interaction process between a server and a terminal device according to an embodiment of the disclosure;
fig. 3A is a flowchart of another video recording method applied to a server according to an embodiment of the disclosure;
fig. 3B is a schematic diagram of an interaction process between a server and a terminal device according to another embodiment of the disclosure;
fig. 4A is a flowchart of another video recording method applied to a server according to an embodiment of the disclosure;
fig. 4B is a schematic diagram of an interaction process between a server and a terminal device according to another embodiment of the disclosure;
fig. 5A is a flowchart of a video recording method applied to a terminal device according to an embodiment of the present disclosure;
Fig. 5B is a schematic diagram of an interaction process between a terminal device and a server according to an embodiment of the present disclosure;
FIG. 6A is a system framework diagram for video recording in accordance with one or more embodiments of the present disclosure;
fig. 6B is a schematic diagram of an interaction process for implementing video recording based on services included in two terminal devices and a server according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a video recording apparatus applied to a server according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a video recording apparatus applied to a terminal device according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
The terms "first" and "second" and the like in this disclosure are used to distinguish between different objects and are not used to describe a particular order of objects. For example, the first terminal device and the second terminal device, etc., are used to distinguish between different terminal devices, and are not used to describe a particular order of terminal devices.
In the real-time video interaction process, especially in real-time interaction scenes such as a classroom or a conference, there is a video recording requirement generally, and the audio and video contents of each participant need to be recorded so that the user can review the recorded files.
In the related art, video recording schemes are divided into two types, namely local recording and cloud recording (also called cloud recording).
The local recording is usually that a user side records video pictures displayed in a scene such as a conference, a video call or a classroom where the user currently participates through an application program (such as a conference application program or a screen recording application program) or a local recording function of a terminal device, and the main problems of the method are as follows: the local recording has higher performance requirements on terminal equipment at a user side, irrelevant contents are easy to record into videos when the user operates the terminal equipment or an application program, so that the experience effect is poor, and when network fluctuation occurs at other terminal equipment ends (other ends for short), the video quality of other end participants recorded at the local end (namely the terminal equipment end for video recording) is also influenced. Based on this, a cloud recording scheme is generally used for video recording.
Cloud recording generally has two schemes: merging and recording pages. The converging scheme is suitable for uncomplicated video layout scenes; the page recording scheme is flexible, complex video layout and non-video functions are realized at the cloud by a World Wide Web (Web) page mode, and then page video recording is realized by a Web page recording mode. The main problems of the method are that: the effect of recording files is limited by the network quality of each terminal device, and when the terminal device fluctuates in the network, the phenomenon that the video of one or more participants is blurred can occur in the file recorded by the confluence or pages.
In order to solve the problem in the cloud recording scheme, the embodiment of the disclosure provides a video recording method, firstly, after video call starts, a server receives recording indication information sent by a first terminal device, then, according to the recording indication information, video data acquired by a second terminal device in real time is acquired, an initial recording file is generated based on the video data, finally, a video recording file sent by a third terminal device is acquired, based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file, pictures of corresponding position information in the initial recording file are replaced to obtain a target recording file, in the scheme, the pictures of corresponding position information in the initial recording file are replaced by the video recording file sent by the terminal device with network fluctuation in the cloud recording process to obtain the target recording file, so that the quality and user experience of the recording file can be improved, the problem that when the network of the terminal device fluctuates, the pictures of the recording file are blocked or not clear is avoided, and the recording effect is improved.
Fig. 1 is an application scenario schematic diagram of a video recording method according to an embodiment of the present disclosure. Fig. 1 includes a server 100 and a terminal device 200, and the video recording method in the present embodiment can be implemented by interaction of the server 100 and the terminal device 200.
It should be noted that: in fig. 1, an application scenario of a video recording method is described by taking a terminal device and a server as an example, and the number of the application scenarios is not limited.
In order to describe the video recording method of the present disclosure in more detail, the following description will be made with reference to fig. 2A by way of example, and it will be understood that the steps involved in fig. 2A may include more steps or fewer steps when actually implemented, and the order between these steps may also be different, so as to enable implementation of the video recording method provided in the embodiments of the present disclosure, which are not limited.
Fig. 2A is a flowchart of a video recording method applied to a server according to an embodiment of the present disclosure. The embodiment is applicable to a server side for explaining a process of improving the quality of video recording files. The method of the embodiment can be implemented by a video recording device applied to a server, and the device can be implemented in a hardware/software manner and can be configured in an electronic device.
As shown in fig. 2A, the method specifically includes the following steps:
s210, after the video call starts, recording indication information sent by the first terminal equipment is received.
The first terminal equipment is terminal equipment for receiving operation of starting cloud recording after video call is started, and recording indication information is generated by the first terminal equipment in response to the operation of starting cloud recording. The recording indication information may include recording layout information and recording rule information. The recording layout information is mainly used for describing the content displayed by the picture to be recorded, and specifically can comprise only shared content, only voice motivation, picture-in-picture, a few split screens (such as three split screens, four split screens or six split screens) and the like. The recording rule information is mainly used for describing which party corresponds to the content displayed at each position in the recording picture split screen. The first terminal device may be determined from a plurality of terminal devices participating in the video call. The video call may be established through a video conference, a classroom, or other scene, and the embodiment is not limited.
In real-time interaction scenes such as a classroom or a video conference, if a video recording requirement exists, after a video call starts, a user can trigger an operation of starting cloud recording in a first terminal device, and the first terminal device can generate recording indication information and send the recording indication information to a server in response to the operation. Accordingly, the server can receive the recording instruction information.
It should be noted that: after the video call starts, each second terminal sends the video data collected in real time to the server, so that each participant participating in the video call can see the pictures corresponding to other participants.
S220, acquiring video data acquired by the second terminal equipment in real time according to the recording instruction information, and generating an initial recording file based on the video data.
The second terminal device is a terminal device which is characterized by recording indication information and participates in cloud recording, the number of the second terminal device is at least one, and the second terminal device can be predetermined by a user, namely: the recording indication information may carry identification information corresponding to the second terminal device, or may be determined according to the specific situation, which is not limited in this embodiment.
After receiving the recording instruction information, the server can determine the second terminal equipment according to the recording instruction information, acquire video data acquired by the second terminal equipment in real time, and generate an initial recording file according to the acquired video data through a converging tool or corresponding recording service.
S230, obtaining a video recording file sent by the third terminal equipment, and replacing a picture of corresponding position information in the initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal equipment in the initial recording file to obtain a target recording file.
The third terminal equipment is terminal equipment with network fluctuation in the cloud recording process in the second terminal equipment, and the video recording file is generated by the third terminal equipment based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
The second terminal equipment can detect the network condition of the second terminal equipment in real time, if the second terminal equipment is provided with terminal equipment with network fluctuation in the cloud recording process, the terminal equipment is third terminal equipment, and the third terminal equipment can generate a video recording file based on target video data acquired from the network fluctuation to the network fluctuation. Correspondingly, after the server generates the initial recording file, the video recording file sent by the third terminal device is obtained, based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal device in the initial recording file, the video frames in the condition of unclear or stuck and the like in the initial recording file can be determined, and the target recording file can be obtained by replacing the video frames (i.e. the pictures corresponding to the position information in the initial recording file).
According to the video recording method provided by the embodiment, firstly, after video call starts, a server receives recording indication information sent by a first terminal device, then video data acquired by a second terminal device in real time is acquired according to the recording indication information, an initial recording file is generated based on the video data, finally, a video recording file sent by a third terminal device is acquired, pictures of corresponding position information in the initial recording file are replaced based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file, and a target recording file is obtained.
Fig. 2B is a schematic diagram of an interaction process between a server and a terminal device according to an embodiment of the present disclosure. The steps shown in fig. 2B have been described in detail in the above embodiments, and are not repeated here.
Fig. 3A is a flowchart of another video recording method applied to a server according to an embodiment of the disclosure. The present embodiment is further extended and optimized based on the above embodiment. Alternatively, the embodiment may be applied to a server side, and one of the ways of generating the initial recording file and obtaining the target recording file is described.
As shown in fig. 3A, the method specifically includes the following steps:
s310, after the video call starts, recording indication information sent by the first terminal equipment is received.
S320, acquiring video data acquired by the second terminal equipment in real time according to the recording instruction information, carrying out video merging on the video data to obtain an initial recording file, and recording first basic information corresponding to each video frame in the initial recording file.
The first basic information comprises identification information of each video data participating in video merging, position information of the video data corresponding to each second terminal device in each video frame and video frame index information. The identification information of each video data participating in video streaming may be determined according to a standard generation rule, or may be determined according to the specific situation, which is not limited in this embodiment. The identification information of each video data participating in video merging may be inserted into an extension field of each acquired video frame during the process of acquiring video data in real time by the second terminal device, where the identification information may be a universal unique identification code (Universally Unique Identifier, UUID) or other information capable of distinguishing different video frames, and the embodiment is not limited. The coordinate information of the video data corresponding to each second terminal device in each video frame can be understood as: the position information of at least one video data contained in each video frame in the initial recording file in the video frame can be determined by (x, y, width, height), x represents the abscissa of one of the vertices of a certain video data, y represents the ordinate of the vertex of the video data, width represents the width information of the video data relative to x, height represents the height information of the video data relative to y, and by these four values, the specific position information occupied by the video data in the video frame can be determined. The video frame index information may be understood as identification information corresponding to each video frame in the initial recording file.
After receiving the recording instruction information, the server can second terminal equipment according to the recording instruction information and acquire video data acquired by the second terminal equipment in real time. After the server obtains the video data, because the video data are independent, video merging is needed to be carried out on the video data through a merging tool such as ffmpeg at the moment, an initial recording file is obtained, and first basic information corresponding to each video frame in the initial recording file is recorded.
S330, obtaining a video recording file sent by the third terminal equipment, and determining a target video frame to be replaced according to the identification information of each video data participating in video merging in the first basic information and the identification information corresponding to each video frame in the video recording file.
After the server obtains the video recording file sent by the third terminal device, the identification information of each video data participating in video merging in the first basic information is matched with the identification information corresponding to each video frame in the video recording file, and the video frames with the same identification information can be determined as target video frames to be replaced.
For example, assuming that there are four video frames in the video recording file, each video frame has unique corresponding identification information, each video frame in the initial recording file also records corresponding first basic information, and four target video frames to be replaced can be determined by matching the identification information corresponding to the four video frames in the video recording file with the identification information corresponding to each video data participating in video merging corresponding to each video frame in the initial recording file.
S340, according to the target video frame, determining the corresponding target position information of the target video frame in the initial recording file through the position information and the video frame index information in the first basic information.
After determining the target video frame to be replaced, the server records the first basic information corresponding to each video frame in the initial recording file while obtaining the initial recording file, so that by using the video frame index information in the first basic information, it can be determined which frame of the initial recording file the target video frame is, and by using the position information in the first basic information, it can be determined which position of the target video frame in the frame, namely: and determining the corresponding target position information of the target video frame in the initial recording file.
And S350, replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
After obtaining the target position information, the server replaces the target video frame according to the video recording file and the target position information, specifically: and replacing the video of the position of the target video frame in the initial recording file with the video of the frame corresponding to the target video frame in the video recording file, and keeping other video frames unchanged to obtain the target recording file.
According to the video recording method provided by the embodiment, the target video frames are replaced through the process in the merging scheme of cloud recording, so that the target recording file is obtained, the video recording method is accurate and efficient, errors in the replacing process are avoided, the quality of the target recording file can be improved, and the review experience of a user is improved.
Fig. 3B is a schematic diagram of an interaction process between a server and a terminal device according to another embodiment of the disclosure. The steps shown in fig. 3B have been described in detail in the above embodiments, and are not repeated here.
Fig. 4A is a flowchart of another video recording method applied to a server according to an embodiment of the disclosure. The present embodiment is further extended and optimized based on the above embodiment. Alternatively, this embodiment may be applied to a server side, and another way of generating an initial recording file and obtaining a target recording file will be described.
As shown in fig. 4A, the method specifically includes the following steps:
s410, after the video call starts, recording indication information sent by the first terminal equipment is received.
S420, acquiring video data acquired by the second terminal equipment in real time according to the recording instruction information, drawing a picture corresponding to the second terminal equipment on a target page according to the video data, recording the target page to obtain an initial recording file, and recording second basic information corresponding to each video frame in the initial recording file.
The second basic information includes identification information of each video data in the target page, position information of each video data in the target page, and time stamp information of each video data. The time stamp information of each video data can be understood as current time information corresponding to each video data. The target page may be a Web page or other pages, which is not limited in this embodiment.
After receiving the recording indication information, the server can determine the second terminal equipment according to the recording indication information and acquire video data acquired by the second terminal equipment in real time. After the server obtains the video data, the video data are independent, and by starting the target page, drawing pictures corresponding to the second terminal devices in the target page according to the recording layout information and recording the target page, the initial recording file can be obtained, and meanwhile, the second basic information corresponding to each video frame in the initial recording file is required to be recorded.
S430, acquiring the video recording file sent by the third terminal equipment, and determining a target video frame to be replaced according to the identification information of each video data in the second basic information and the identification information corresponding to each video frame in the video recording file.
After the server obtains the video recording file sent by the third terminal device, the identification information of each video data in the second basic information is matched with the identification information corresponding to each video frame in the video recording file, and the video frames with the same identification information can be determined as target video frames to be replaced.
S440, determining the corresponding target position information of the target video frame in the initial recording file according to the target video frame through the position information, the time stamp information and the total time stamp information file in the second basic information.
The total timestamp information file records current timestamp information corresponding to each video frame in the initial recording file.
After determining the target video frame to be replaced, the server records the second basic information corresponding to each video frame in the initial recording file while obtaining the initial recording file, so that it can determine which frame of the initial recording file the target video frame is specific to by the timestamp information in the second basic information and the total timestamp information file, and can determine which position of the target video frame in the frame by the position information in the second basic information, namely: and determining the corresponding target position information of the target video frame in the initial recording file.
S450, replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
After obtaining the position information, the server replaces the target video frame according to the video recording file and the position information, specifically: and replacing the video of the position of the target video frame in the initial recording file with the video of the frame corresponding to the target video frame in the video recording file, and keeping other video frames unchanged to obtain the target recording file.
According to the video recording method provided by the embodiment, the target video frames are replaced through the process in the cloud recording page recording scheme, so that the target recording file is obtained, the video recording method is accurate and efficient, errors in the replacing process are avoided, different cloud recording schemes are replaced by corresponding methods, the quality of the target recording file can be improved, and the review experience of a user is improved.
Fig. 4B is a schematic diagram of an interaction process between a server and a terminal device according to an embodiment of the disclosure. The steps shown in fig. 4B have been described in detail in the above embodiments, and are not repeated here.
In some embodiments, since the cloud recording includes two schemes, it can be determined which scheme is specifically adopted for video recording through a configuration file stored in the server. The configuration file may be understood as a predetermined file of which cloud recording scheme should be selected for each application scenario.
In some embodiments, optionally, after the obtaining the video recording file sent by the third terminal device, the method may further specifically include:
acquiring a corresponding target time period when the server is in an idle state;
and in the target time period, replacing a picture corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal device in the initial recording file to obtain a target recording file.
An idle state is understood to mean, among other things, that the server has spare processing power.
In this embodiment, after the server obtains the video recording file sent by the third terminal device, the server obtains a target time period corresponding to the time when the server is in an idle state, and in the target time period, based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal device in the initial recording file, the picture corresponding to the position information in the initial recording file is replaced to obtain the target recording file.
In some embodiments, optionally, the method may further specifically include:
determining the second terminal equipment participating in cloud recording according to the recording indication information;
and sending a message of participating in cloud recording to the second terminal equipment, so that the second terminal equipment records a corresponding recording state and detects network conditions according to the message of participating in cloud recording.
In this embodiment, the server may determine, according to the recording indication information, a second terminal device participating in cloud recording, and send a message for participating in cloud recording to the second terminal device, so that the second terminal device may determine whether to participate in video recording by itself, record a corresponding recording state, and detect a network condition, thereby determining whether network fluctuation occurs in the cloud recording process.
In some embodiments, optionally, replacing the target video frame according to the video recording file and the target location information to obtain the target recording file may specifically include:
determining a source video frame corresponding to the target video frame according to the video recording file, wherein the source video frame is used for replacing the target video frame;
When the first resolution of the source video frame is different from the second resolution of each video frame in the initial recording file, compressing the source video frame so that the third resolution of the compressed source video frame is the same as the second resolution;
and replacing the target video frame based on the compressed source video frame and the target position information to obtain the target recording file.
Specifically, after determining the target video frame to be replaced, the server can determine a source video frame corresponding to the target video frame according to the identification information in the video recording file and the identification information of each video data participating in video merging in the first basic information, wherein the source video frame is used for replacing the target video frame. Because each video frame in the initial recording file is composed of a plurality of video data, there is a possibility that compression exists, after the server obtains the source video frame, it needs to determine whether the first resolution of the source video frame is the same as the second resolution of each video frame in the initial recording file, and when the first resolution is different from the second resolution, the source video frame needs to be compressed so that the third resolution of the compressed source video frame is the same as the second resolution. Correspondingly, the target video frame can be replaced according to the compressed source video frame and the target position information, and the target recording file is obtained.
In this embodiment, through the above process, it can be ensured that the resolutions of the pictures corresponding to the terminal devices participating in cloud recording in the target recording file are the same, so that the problem that the user viewing is affected due to different resolutions of the pictures contained in one or more video frames in the target recording file is avoided. Fig. 5A is a flowchart of a video recording method applied to a terminal device according to an embodiment of the present disclosure. The embodiment is applicable to a terminal device side for explaining a process of improving the quality of a video recording file. The method of the embodiment can be executed by a video recording device applied to a terminal device, and the device can be realized in a hardware/software mode and can be configured in an electronic device.
As shown in fig. 5A, the method specifically includes the following steps:
s510, under the preset condition, generating a video recording file based on video data acquired by video recording equipment of the terminal equipment in real time.
The preset conditions may be preset conditions, or may be determined according to the specific situation, which is not limited in this embodiment. The video recording device may be a camera, or may be other devices capable of recording video, which is not limited in this embodiment.
Under the preset condition, the terminal equipment can generate a video recording file based on video data acquired by the video recording equipment of the terminal equipment in real time.
S520, detecting that the terminal equipment generates network fluctuation in the cloud recording process, and sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of the video data in the initial recording file, and a target recording file is obtained.
The initial recording file is generated by video data which are characterized by recording indication information and are collected in real time by a server and participate in cloud recording; the recording indication information is as follows: after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording to generate.
The terminal equipment detects that network fluctuation occurs in the cloud recording process, and sends the video recording file to the server. And the corresponding server replaces the picture corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of the video data in the initial recording file, so that the target recording file is obtained.
According to the video recording method provided by the embodiment, firstly, under the preset condition, the terminal equipment generates a video recording file based on video data acquired by the video recording equipment of the terminal equipment in real time, then the terminal equipment detects that network fluctuation occurs in the cloud recording process, the video recording file is sent to the server, so that the server replaces pictures of corresponding position information in the initial recording file based on identification information in the video recording file and position information of the video data in the initial recording file to obtain a target recording file, in the process, the terminal equipment sends the video recording file to the server by detecting that the terminal equipment generates the network fluctuation in the cloud recording process, so that the server replaces pictures of the corresponding position information in the initial recording file based on the video recording file to obtain the target recording file, the quality and user experience of the recording file can be improved, the problem that picture blocking or unclear of the recording file occurs when the network fluctuation of the terminal equipment occurs is avoided, and the recording effect is improved.
Fig. 5B is a schematic diagram of an interaction process between a terminal device and a server according to an embodiment of the present disclosure. The steps shown in fig. 5B have been described in detail in the above embodiments, and are not repeated here.
In some embodiments, optionally, the generating the video recording file based on the video data collected by the video recording device of the terminal device in real time under the preset condition may specifically include:
detecting that the terminal equipment generates network fluctuation in the cloud recording process, and generating a video recording file based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation;
or,
and receiving a message which is transmitted by the server and participates in recording, and generating a video recording file based on the video data.
Specifically, the terminal equipment detects that network fluctuation occurs in the cloud recording process, and can generate a video recording file according to target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation; or the terminal equipment can determine that the terminal equipment participates in video recording after receiving the message of participating in the video recording sent by the server, and at the moment, a video recording file can be generated through video data according to the message.
In this embodiment, the video recording file is generated through the above process, which is simple and fast, and is convenient for executing the subsequent replacement process.
In some embodiments, optionally, the detecting that the terminal device generates network fluctuation in the cloud recording process, and sending the video recording file to the server may specifically include:
Detecting network fluctuation of terminal equipment in a cloud recording process, and determining whether the terminal equipment is in an idle state or not after the network fluctuation is over;
and when the terminal equipment is in an idle state, sending the video recording file to the server.
The idle state is understood to mean, among other things, that the terminal device has free processing capacity.
Specifically, the terminal equipment detects that network fluctuation occurs in the cloud recording process, after the network fluctuation is finished, whether the terminal equipment is in an idle state or not is determined, and when the terminal equipment is in the idle state, a video recording file is sent to a server; and when the video recording file is in the non-idle state, waiting until the video recording file is in the idle state, and sending the video recording file to the server.
In this embodiment, through the above process, the video recording file can be sent while the use of the terminal device is not affected, so that the normal use of the terminal device is ensured.
In some embodiments, optionally, the method may further specifically include:
transmitting an instruction for checking the target recording file to the server so that the server transmits the target recording file to the terminal equipment based on the instruction;
And receiving the target record file sent by the server.
In this embodiment, the target recording file is obtained through the above process, so that the user can review the target recording file conveniently, and the security of the target video recording file is improved, and file leakage is avoided.
In some embodiments, the video recording method may also be used for recording shared desktop or application program content, and the specific implementation manner is the same as the above process, and will not be repeated here.
In some embodiments of the present application, a server is provided, where the server includes:
after a video call starts, receiving recording instruction information sent by a first terminal device, wherein the first terminal device is a terminal device for receiving an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
acquiring video data acquired by a second terminal device in real time according to the recording indication information, and generating an initial recording file based on the video data, wherein the second terminal device is terminal devices which are characterized by the recording indication information and participate in cloud recording;
the method comprises the steps of obtaining a video recording file sent by a third terminal device, replacing a picture corresponding to position information in an initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file, wherein the third terminal device is terminal device with network fluctuation in a cloud recording process in the second terminal device, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
In some embodiments of the present application, there is provided a terminal device, including:
a video recording device configured to: collecting video data in real time;
a second controller configured to:
generating a video recording file based on the video data under a preset condition;
detecting that the terminal equipment generates network fluctuation in the cloud recording process, sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and the position information of video data in the initial recording file to obtain a target recording file, wherein the initial recording file is generated by the video data which are characterized by recording instruction information and are acquired in real time by the server according to the terminal equipment participating in cloud recording, and the recording instruction information is that: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording. Illustratively, fig. 6A is a system framework diagram for video recording in accordance with one or more embodiments of the present disclosure. Fig. 6A includes a terminal device a, a terminal device B, a signaling service and a recording service, where the signaling service and the recording service may be deployed in the same server or different servers, and the embodiment is not limited. The terminal equipment A and the terminal equipment B are participants of application scenes such as conferences or classrooms, and can perform real-time audio and video interaction. A service may be understood as a module or entity capable of implementing the corresponding function. The terminal equipment A and the terminal equipment B can carry out message transmission with the signaling service; the terminal equipment A and the terminal equipment B respectively transmit the respectively acquired real-time video data to recording service; the recording service stores a terminal list participating in recording and transmits the list to the signaling service for the signaling service to use; the terminal equipment A generates a video recording file based on video data acquired in real time under a preset condition, and sends the video recording file to the server, so that the server can replace pictures of corresponding position information in the initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal equipment in the initial recording file.
It should be noted that: the terminal device a and the terminal device B included in fig. 6A are for illustrative purposes only, and the number of terminal devices is not limited.
Fig. 6B is a schematic diagram illustrating an interaction process for implementing video recording based on services included in two terminal devices and a server according to an embodiment of the present disclosure. Fig. 6B includes a terminal device a, a terminal device B, a media service, a signaling service, a first recording service, and a second recording service. The media service is used for storing video data sent by the terminal equipment A and the terminal equipment B, and the video data has two functions, namely, after the video call starts, each participant participating in the video call can see pictures corresponding to other participants; secondly, the first recording service or the second recording service is obtained in the follow-up cloud recording process; the first recording service is used for realizing a confluence scheme of cloud recording, and replacing pictures of corresponding position information in the initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file; the second recording service is used for realizing a page recording scheme of cloud recording. The media service, the signaling service, the first recording service, and the second recording service may be deployed in the same server or different servers, which is not limited in this embodiment. The steps in the figures have been described in detail in the above embodiments, and in order to avoid repetition, a detailed description is omitted here.
It should be noted that: the terminal device a and the terminal device B in fig. 6B are only for illustrative purposes, and the number of terminal devices is not limited. Terminal device a generates a video recording file under preset conditions, which is also for illustration purposes, and terminal device B may also generate a video recording file.
Fig. 7 is a schematic structural diagram of a video recording apparatus applied to a server according to an embodiment of the present disclosure. The device is configured in the electronic equipment, and can realize the video recording method applied to the server in any embodiment of the application. The device specifically comprises the following steps:
a receiving module 701, configured to receive recording instruction information sent by a first terminal device after a video call starts, where the first terminal device is a terminal device that receives an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
the first generating module 702 is configured to obtain video data collected by a second terminal device in real time according to the recording instruction information, and generate an initial recording file based on the video data, where the second terminal device is a terminal device that participates in cloud recording and is characterized by the recording instruction information;
The replacing module 703 is configured to obtain a video recording file sent by a third terminal device, replace a frame corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of video data corresponding to each second terminal device in the initial recording file, and obtain a target recording file, where the third terminal device is a terminal device in the second terminal device that generates network fluctuation in a cloud recording process, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
Optionally, the first generating module 702 is specifically configured to:
acquiring video data acquired in real time by at least one second terminal device to be recorded according to the recording indication information, carrying out video merging on the video data to obtain the initial recording file, and recording first basic information corresponding to each video frame in the initial recording file, wherein the first basic information comprises identification information of each video data participating in the video merging, coordinate information of the video data corresponding to each second terminal device in each video frame and video frame index information;
The replacing module 703 is specifically configured to:
acquiring the video recording file sent by the third terminal equipment, and determining a target video frame to be replaced according to the identification information of each video data participating in video merging in the first basic information and the identification information corresponding to each video frame in the video recording file;
determining target position information corresponding to the target video frame in the initial recording file according to the target video frame through the position information and the video frame index information in the first basic information;
and replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
Optionally, the first generating module 702 is further specifically configured to:
acquiring video data acquired in real time by at least one second terminal device to be recorded according to the recording indication information, drawing a picture corresponding to the second terminal device on a target page according to the video data, recording the target page to obtain the initial recording file, and recording second basic information corresponding to each video frame in the initial recording file, wherein the second basic information comprises identification information of each video data in the target page, position information of each video data in the target page and timestamp information of each video data;
The replacing module 703 is further specifically configured to:
acquiring the video recording file sent by the at least one third terminal device, and determining a target video frame to be replaced according to the identification information of each video data in the second basic information and the identification information corresponding to each video frame in the video recording file;
determining target position information corresponding to the target video frame in the initial recording file according to the target video frame through the position information, the time stamp information and the total time stamp information file in the second basic information;
and replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
Optionally, the apparatus further includes:
the second determining module is used for determining the at least one second terminal device to be recorded according to the recording indication information;
and the message sending module is used for sending a message of participating in recording to the second terminal equipment so that the second terminal equipment records a corresponding recording state and detects network conditions according to the message of participating in recording.
Optionally, the replacing module 703 includes a replacing unit, configured to replace the target video frame according to the video recording file and the target position information, so as to obtain the target recording file;
Wherein, the replacement unit is specifically used for:
when the first resolution of the source video frame is different from the second resolution of each video frame in the initial recording file, compressing the source video frame so that the third resolution of the compressed source video frame is the same as the second resolution;
and replacing the target video frame based on the compressed source video frame and the target position information to obtain the target recording file.
According to the video recording device applied to the server, firstly, after video call starts, the server receives recording indication information sent by the first terminal equipment, then video data acquired by the second terminal equipment in real time is acquired according to the recording indication information, an initial recording file is generated based on the video data, finally, a video recording file sent by the third terminal equipment is acquired, pictures of corresponding position information in the initial recording file are replaced based on identification information in the video recording file and position information of video data corresponding to each second terminal equipment in the initial recording file, and a target recording file is obtained.
The video recording device applied to the server provided by the embodiment of the disclosure can execute the video recording method applied to the server provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 8 is a schematic structural diagram of a video recording apparatus applied to a terminal device according to an embodiment of the present disclosure. The device is configured in the electronic equipment, and can realize the video recording method applied to the terminal equipment. The device specifically comprises the following steps:
a second generating module 801, configured to generate a video recording file based on video data collected by a video recording device of the terminal device in real time under a preset condition;
a sending module 802, configured to detect that a network fluctuation occurs in the terminal device during cloud recording, send the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and position information of video data in the initial recording file, to obtain a target recording file, where the initial recording file is generated by the video data collected in real time by the server according to a terminal device participating in cloud recording, which is characterized by recording instruction information, and the recording instruction information is: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording.
Optionally, the second generating module 801 is specifically configured to:
detecting that the terminal equipment generates network fluctuation in the cloud recording process, and generating a video recording file based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation;
or,
and receiving a message which is transmitted by the server and participates in recording, and generating a video recording file based on the video data.
Optionally, the sending module 802 is specifically configured to:
detecting network fluctuation of terminal equipment in a cloud recording process, and determining whether the terminal equipment is in an idle state or not after the network fluctuation is over;
and when the terminal equipment is in an idle state, sending the video recording file to the server.
According to the video recording device applied to the terminal equipment, firstly, under the preset condition, the terminal equipment generates the video recording file based on video data acquired by the video recording equipment of the terminal equipment in real time, then the terminal equipment detects that network fluctuation occurs in the cloud recording process, the video recording file is sent to the server, so that the server replaces pictures of corresponding position information in the initial recording file based on identification information in the video recording file and position information of the video data in the initial recording file to obtain the target recording file, in the process, the terminal equipment sends the video recording file to the server by detecting that the terminal equipment generates the network fluctuation in the cloud recording process, so that the server replaces pictures of the corresponding position information in the initial recording file based on the video recording file to obtain the target recording file, the quality and user experience of the recording file can be improved, the problem that picture blocking or unclear of the recording file occurs when the network of the terminal equipment fluctuates is avoided, and the recording effect is improved.
The video recording device applied to the terminal equipment provided by the embodiment of the disclosure can execute the video recording method applied to the terminal equipment provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
The video recording method provided by the embodiment of the disclosure can be realized based on the electronic equipment, or a functional module or a functional entity in the electronic equipment.
The electronic device may be a personal computer (personal computer, PC), a server, a mobile phone, a tablet computer, a notebook computer, a mainframe computer, or the like, which is not particularly limited in the embodiments of the present disclosure.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 9, the electronic device includes a processor 910 and a storage 920; the number of processors 910 in the electronic device may be one or more, one processor 910 being taken as an example in fig. 9; the processor 910 and the storage 920 in the electronic device may be connected by a bus or other means, for example in fig. 9.
The storage device 920 is used as a computer readable storage medium for storing a software program, a computer executable program, and modules, such as program instructions/modules corresponding to the video recording method in the embodiments of the present disclosure. The processor 910 executes various functional applications of the electronic device and data processing by executing software programs, instructions and modules stored in the storage 920, i.e., implements the video recording method provided by the embodiments of the present disclosure.
The storage device 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the terminal, etc. In addition, storage 920 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, storage 920 may further include memory remotely located relative to processor 910 that may be connected to the electronic device 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 electronic device provided by the embodiment can be used for executing the video recording method provided by any embodiment, and has corresponding functions and beneficial effects.
The embodiments of the present disclosure provide a computer readable storage medium, on which a computer program is stored, where the computer program when executed by a processor implements each process executed by the video recording method described above, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
The computer readable storage medium may be a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or the like.
The present disclosure provides a computer program product comprising: the computer program product, when run on a computer, causes the computer to implement the video recording method described above.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the above discussion in some examples is not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A video recording method, applied to a server, comprising:
after a video call starts, receiving recording instruction information sent by a first terminal device, wherein the first terminal device is a terminal device for receiving an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
Acquiring video data acquired by a second terminal device in real time according to the recording indication information, and generating an initial recording file based on the video data, wherein the second terminal device is terminal devices which are characterized by the recording indication information and participate in cloud recording;
the method comprises the steps of obtaining a video recording file sent by a third terminal device, replacing a picture corresponding to position information in an initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file, wherein the third terminal device is terminal device with network fluctuation in a cloud recording process in the second terminal device, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
2. The method of claim 1, wherein generating an initial recording file based on the video data comprises:
video merging is carried out on the video data to obtain the initial recording file, and first basic information corresponding to each video frame in the initial recording file is recorded, wherein the first basic information comprises identification information of each video data participating in video merging, position information of the video data corresponding to each second terminal device in each video frame and video frame index information;
The obtaining the video recording file sent by the third terminal device, replacing the picture corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal device in the initial recording file, to obtain a target recording file, including:
acquiring the video recording file sent by the third terminal equipment, and determining a target video frame to be replaced according to the identification information of each video data participating in video merging in the first basic information and the identification information corresponding to each video frame in the video recording file;
determining target position information corresponding to the target video frame in the initial recording file according to the target video frame through the position information and the video frame index information in the first basic information;
and replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
3. The method of claim 1, wherein generating an initial recording file based on the video data comprises:
Drawing a picture corresponding to the second terminal equipment on a target page according to the video data, recording the target page to obtain the initial recording file, and recording second basic information corresponding to each video frame in the initial recording file, wherein the second basic information comprises identification information of each video data in the target page, position information of each video data in the target page and timestamp information of each video data;
the obtaining the video recording file sent by the third terminal device, replacing the picture corresponding to the position information in the initial recording file based on the identification information in the video recording file and the position information of the video data corresponding to each second terminal device in the initial recording file, to obtain a target recording file, including:
acquiring the video recording file sent by the third terminal equipment, and determining a target video frame to be replaced according to the identification information of each video data in the second basic information and the identification information corresponding to each video frame in the video recording file;
determining target position information corresponding to the target video frame in the initial recording file according to the target video frame through the position information, the time stamp information and the total time stamp information file in the second basic information;
And replacing the target video frame according to the video recording file and the target position information to obtain the target recording file.
4. A method according to any one of claims 1-3, wherein the method further comprises:
determining the second terminal equipment participating in cloud recording according to the recording indication information;
and sending a message of participating in cloud recording to the second terminal equipment, so that the second terminal equipment records a corresponding recording state and detects network conditions according to the message of participating in cloud recording.
5. A method according to any one of claims 2-3, wherein said replacing the target video frame according to the video recording file and the target location information to obtain the target recording file comprises:
determining a source video frame corresponding to the target video frame according to the video recording file, wherein the source video frame is used for replacing the target video frame;
when the first resolution of the source video frame is different from the second resolution of each video frame in the initial recording file, compressing the source video frame so that the third resolution of the compressed source video frame is the same as the second resolution;
And replacing the target video frame based on the compressed source video frame and the target position information to obtain the target recording file.
6. A video recording method, applied to a terminal device, the method comprising:
under a preset condition, generating a video recording file based on video data acquired by video recording equipment of the terminal equipment in real time;
detecting that the terminal equipment generates network fluctuation in the cloud recording process, sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and the position information of video data in the initial recording file to obtain a target recording file, wherein the initial recording file is generated by the video data which are characterized by recording instruction information and are acquired in real time by the server according to the terminal equipment participating in cloud recording, and the recording instruction information is that: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording.
7. The method according to claim 6, wherein the generating the video recording file based on the video data collected in real time by the video recording device of the terminal device under the preset condition includes:
Detecting that the terminal equipment generates network fluctuation in the cloud recording process, and generating a video recording file based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation;
or,
and receiving a message which is transmitted by the server and participates in recording, and generating a video recording file based on the video data.
8. The method of claim 7, wherein the detecting that the terminal device has network fluctuations during cloud recording, and sending the video recording file to a server, comprises:
detecting network fluctuation of terminal equipment in a cloud recording process, and determining whether the terminal equipment is in an idle state or not after the network fluctuation is over;
and when the terminal equipment is in an idle state, sending the video recording file to the server.
9. A server, comprising:
a first controller configured to:
after a video call starts, receiving recording instruction information sent by a first terminal device, wherein the first terminal device is a terminal device for receiving an operation of starting cloud recording after the video call starts, and the recording instruction information is generated by the first terminal device in response to the operation of starting cloud recording;
Acquiring video data acquired by a second terminal device in real time according to the recording indication information, and generating an initial recording file based on the video data, wherein the second terminal device is terminal devices which are characterized by the recording indication information and participate in cloud recording;
the method comprises the steps of obtaining a video recording file sent by a third terminal device, replacing a picture corresponding to position information in an initial recording file based on identification information in the video recording file and position information of video data corresponding to each second terminal device in the initial recording file to obtain a target recording file, wherein the third terminal device is terminal device with network fluctuation in a cloud recording process in the second terminal device, and the video recording file is generated by the third terminal device based on target video data acquired from the beginning of the network fluctuation to the end of the network fluctuation.
10. A terminal device, comprising:
a video recording device configured to: collecting video data in real time;
a second controller configured to:
generating a video recording file based on the video data under a preset condition;
Detecting that the terminal equipment generates network fluctuation in the cloud recording process, sending the video recording file to a server, so that the server replaces a picture corresponding to the position information in an initial recording file based on identification information in the video recording file and the position information of video data in the initial recording file to obtain a target recording file, wherein the initial recording file is generated by the video data which are characterized by recording instruction information and are acquired in real time by the server according to the terminal equipment participating in cloud recording, and the recording instruction information is that: and after the video call starts, the terminal equipment receiving the operation of starting the cloud recording responds to the operation of starting the cloud recording.
CN202211436346.7A 2022-11-16 2022-11-16 Video recording method, server and terminal equipment Pending CN117278704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211436346.7A CN117278704A (en) 2022-11-16 2022-11-16 Video recording method, server and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211436346.7A CN117278704A (en) 2022-11-16 2022-11-16 Video recording method, server and terminal equipment

Publications (1)

Publication Number Publication Date
CN117278704A true CN117278704A (en) 2023-12-22

Family

ID=89209319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211436346.7A Pending CN117278704A (en) 2022-11-16 2022-11-16 Video recording method, server and terminal equipment

Country Status (1)

Country Link
CN (1) CN117278704A (en)

Similar Documents

Publication Publication Date Title
CN107682714B (en) Method and device for acquiring online video screenshot
CN111741324B (en) Recording playback method and device and electronic equipment
CN106572139B (en) Multi-terminal control method, terminal, server and system
CN112073543B (en) Cloud video recording method and system and readable storage medium
DE202013012652U1 (en) Audio-Video communication, provided by a server with reduced latency
US9270713B2 (en) Mechanism for compacting shared content in collaborative computing sessions
CN113992883B (en) Video conference processing method, processing device, conference system, and storage medium
US20100066806A1 (en) Internet video image producing method
CN107027064A (en) Method and device for processing video file in wireless screen transmission
CN114422460A (en) Method and system for establishing same-screen communication sharing in instant messaging application
CN111314648A (en) Information processing method, processing device, first electronic equipment and server
CN114025185B (en) Video playback method and device, electronic equipment and storage medium
CN117278704A (en) Video recording method, server and terminal equipment
CN114501136B (en) Image acquisition method, device, mobile terminal and storage medium
CN113691815B (en) Video data processing method, device and computer readable storage medium
EP4180942A1 (en) Screen projection method and apparatus, electronic device, and computer readable storage medium
US11656834B2 (en) Information processing device, non-transitory recording medium, and information processing system
CN115550678A (en) Live video processing method and device and storage medium
CN114915851A (en) Video recording and playing method and device
CN115037979B (en) Screen projection method and related equipment
CN112019791A (en) Multi-party audio and video call method and system based on education examination
CN115037978B (en) Screen projection method and related equipment
US9485458B2 (en) Data processing method and device
CN114827733B (en) Live broadcast review method, device, storage medium and apparatus
CN115052107B (en) Shooting method, shooting device, 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