CN111935534A - Method and device for playing back recorded video - Google Patents

Method and device for playing back recorded video Download PDF

Info

Publication number
CN111935534A
CN111935534A CN202010755187.1A CN202010755187A CN111935534A CN 111935534 A CN111935534 A CN 111935534A CN 202010755187 A CN202010755187 A CN 202010755187A CN 111935534 A CN111935534 A CN 111935534A
Authority
CN
China
Prior art keywords
parameter information
operation parameter
recorded
playing back
video
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.)
Granted
Application number
CN202010755187.1A
Other languages
Chinese (zh)
Other versions
CN111935534B (en
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.)
Shipan Technology Beijing Co ltd
Original Assignee
Shipan Technology Beijing 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 Shipan Technology Beijing Co ltd filed Critical Shipan Technology Beijing Co ltd
Priority to CN202010755187.1A priority Critical patent/CN111935534B/en
Publication of CN111935534A publication Critical patent/CN111935534A/en
Application granted granted Critical
Publication of CN111935534B publication Critical patent/CN111935534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention provides a method and a device for playing back recorded videos, wherein the method comprises the following steps: loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information. The device performs the above method. The method and the device for playing back the recorded video enable a user to conveniently and autonomously play back the video corresponding to the running parameter information of the object to be recorded.

Description

Method and device for playing back recorded video
Technical Field
The invention relates to the technical field of virtual reality, in particular to a method and a device for playing back recorded videos.
Background
The three-dimensional graphic technology is widely applied to scene making, virtual simulation, city planning, real estate development, cultural relic exhibition, virtual education, traffic design, 3D games and other aspects, wherein a three-dimensional graphic engine determines the quality of a three-dimensional graphic application program, and abstracts a bottom layer data structure and an algorithm required by the three-dimensional graphic application program into a complete program frame so as to provide a convenient development interface for three-dimensional developers.
The method has the advantages that the three-dimensional developer can realize the recording and playback functions of the operation parameter information (such as the displacement, rotation, zooming and the like) of the object to be recorded, when the user needs to record and playback the video corresponding to the operation parameter information of the object to be recorded, the user needs to inform the three-dimensional developer of the requirements, the three-dimensional developer is realized through the three-dimensional graphic engine, the user cannot realize the functions at the user side, and the inconvenience is brought to the user in the process of recording and playing back the video.
Disclosure of Invention
To solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for playing back a recorded video.
The embodiment of the invention provides a method for playing back a recorded video, which comprises the following steps:
loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
Wherein the three-dimensional graphics engine is Unity; correspondingly, the adding the operation parameter information to the three-dimensional graphic engine includes:
adding the operating parameter information to the International Curve of Unity.
Wherein after the step of adding the operational parameter information to the International Curve of Unity, the method further comprises:
adding the AnimationClve added with the operation parameter information to the AnimationClip by calling a SetCurve function of the created AnimationClip.
The playing back and recording the video by utilizing the three-dimensional graphic engine according to the running parameter information of the frame image at the corresponding moment comprises the following steps:
and representing the corresponding time of the frame image by a Timeline pre-created in the Unity, and updating the running parameter information according to the Timeline to realize playback of the recorded video.
Wherein the updating the operating parameter information according to the Timeline includes:
and calling a SampleAnimation function of the AnimatonClip through the ProcessFrame function of the Timeline to update the running parameter information.
The pre-recording of the operation parameter information of the object to be recorded comprises the following steps:
binding the operation parameter information with a configuration file corresponding to the type according to the type of the object to be recorded;
and storing the operation parameter information to the configuration file according to the time interval of each frame of image.
Wherein the method further comprises:
classifying the operation parameter information according to the general degree of the operation parameter information;
and respectively storing the operation parameter information of different classifications to corresponding configuration files.
The embodiment of the invention provides a device for playing back recorded videos, which comprises:
the loading unit is used for loading the operation parameter information of the prerecorded object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
the playback unit is used for adding the operation parameter information into a three-dimensional graphic engine and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
An embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein,
the processor, when executing the computer program, implements the method steps of:
loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
An embodiment of the invention provides a non-transitory computer readable storage medium having a computer program stored thereon, which when executed by a processor implements the following method steps:
loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
adding the operation parameter information into a three-dimensional graphic engine, and playing back a recorded video according to the operation parameter information at the corresponding moment of the frame image by using the three-dimensional graphic engine, wherein the display mode of the image content of the recorded video is changed in real time along with the change of the operation parameter information.
According to the method and the device for playing back the recorded video, the operation parameter information of the pre-recorded object to be recorded is loaded and added to the three-dimensional graphic engine, and the recorded video is played back by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image, so that a user can conveniently and independently play back the video corresponding to the operation parameter information of the object to be recorded.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a flowchart of an embodiment of a method for playing back recorded video according to the present invention;
2(a) -2 (b) are schematic diagrams of the playback of recorded video based on the operation parameter information according to the present invention;
3(a) -3 (b) are schematic diagrams of the recorded video played back without using the operation parameter information according to the present invention;
FIG. 4 is a schematic structural diagram of an apparatus for playing back recorded video according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of an embodiment of a method for playing back a recorded video, and as shown in fig. 1, an embodiment of the present invention provides a method for playing back a recorded video, including the following steps:
s101: loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the time corresponding to the frame image.
Specifically, the device loads pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the time corresponding to the frame image. The apparatus may be a computer device for performing the above method, for example, a notebook computer used by a user. The object to be recorded may include a camera, a drone and other movable devices, and the operation parameter information may include camera displacement, rotation, zoom and the like, taking the camera as an example.
It is understood that the played back recorded video is composed of frame images, and the time interval of each frame image can be set autonomously according to the actual situation, and can be selected to be 30 ms.
Taking the operation parameter information as the camera position (the camera position changing with time is the above-mentioned camera displacement) as an example, for example, the current playing time is 00: 00: when the camera position is recorded from this time point 10, the camera position at the time point t1 corresponding to this time point is C1, the camera position at the time point t2 corresponding to 30ms later is C2, and so on, and the camera position at the time point tn is Cn.
S102: adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
Specifically, the device adds the operation parameter information to a three-dimensional graphic engine, and plays back and records a video according to the operation parameter information of the frame image at the corresponding moment by using the three-dimensional graphic engine; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information. The three-dimensional graphics engine may include Unity, without specific limitation.
Adding the operation parameter information to a three-dimensional graphic engine specifically comprises the following steps: adding the operating parameter information to the International Curve of Unity. The animation curve information is used for realizing some simple animation editions, so that objects can realize regular or irregular motion, and the objects can be shot objects shot by a camera.
Further, after the step of adding the operating parameter information to Unity's AnimationCurve, the method further comprises: adding the AnimationClve added with the operation parameter information to the AnimationClip by calling a SetCurve function of the created AnimationClip. The animation clip is a Unity-defined action information storage structure, and the SetCurve function is a set curve function.
The playing back and recording a video by using the three-dimensional graphic engine according to the running parameter information of the frame image at the corresponding moment specifically comprises the following steps: and representing the corresponding time of the frame image by a Timeline pre-created in the Unity, and updating the running parameter information according to the Timeline to realize playback of the recorded video. The Timeline is a Timeline, and after the running parameter information is updated, a Play function of the Timeline can be called, so that the recorded video which is recorded in advance and contains the running parameter information can be played back. Fig. 2(a) -2 (b) are schematic diagrams of playback of a recorded video based on operation parameter information according to the present invention, and fig. 2(a) -2 (b) implement that the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
3(a) -3 (b) are schematic diagrams of the recorded video played back without using the operation parameter information according to the present invention; by comparing fig. 2(a) -2 (b) and fig. 3(a) -3 (b), it can be seen that the user intruding sense of fig. 2(a) -2 (b) is stronger, and the visual experience is more realistic.
Further, the updating the operation parameter information according to the Timeline specifically includes:
and calling a SampleAnimation function of the AnimatonClip through the ProcessFrame function of the Timeline to update the running parameter information. The ProcessFrame function is a frame processing function, and the Sampleanimation function is an animation sampling function.
According to the method for playing back the recorded video, the operation parameter information of the object to be recorded which is recorded in advance is loaded and added to the three-dimensional graphic engine, and the recorded video is played back by the three-dimensional graphic engine according to the operation parameter information of the frame image at the corresponding moment, so that a user can conveniently and independently play back the video corresponding to the operation parameter information of the object to be recorded.
On the basis of the embodiment, the three-dimensional graphic engine is Unity; correspondingly, the adding the operation parameter information to the three-dimensional graphic engine includes:
specifically, the device adds the operating parameter information to the Unity's affinity curve. Reference is made to the above description and no further description is made.
The method for playing back the recorded video further enables a user to conveniently and autonomously play back the video corresponding to the running parameter information of the object to be recorded in the Unity.
On the basis of the above embodiment, after the step of adding the operation parameter information to the Unity's analytic curve, the method further comprises:
adding the AnimationClve added with the operation parameter information to the AnimationClip by calling a SetCurve function of the created AnimationClip. Reference is made to the above description and no further description is made.
The method for playing back the recorded video, provided by the embodiment of the invention, can adapt the pre-recorded operation parameter information with the Unity.
On the basis of the above embodiment, the playing back the recorded video by using the three-dimensional graphic engine according to the operation parameter information of the frame image at the corresponding time includes:
specifically, the device represents the corresponding time of the frame image by a Timeline pre-created in the Unity, and updates the operation parameter information according to the Timeline, so as to realize playback of the recorded video. Reference is made to the above description and no further description is made.
The method for playing back the recorded video provided by the embodiment of the invention can update the running parameter information in real time, so that the visual experience of the recorded video playing back is more vivid.
On the basis of the above embodiment, the updating the operation parameter information according to the Timeline includes:
specifically, the device calls the Sampleanimation function of the AnimatonClip through the ProcessFrame function of the Timeline to update the running parameter information. Reference is made to the above description and no further description is made.
The method for playing back the recorded video further updates the running parameter information in real time, so that the visual experience of the recorded video playing back is more vivid.
On the basis of the above embodiment, the pre-recording of the operation parameter information of the object to be recorded includes:
specifically, the device binds the operation parameter information with a configuration file corresponding to the type according to the type of the object to be recorded; referring to the above description, the types of the object to be recorded may be classified into a camera and an unmanned aerial vehicle, and the operation parameter information corresponding to the camera is bound to the configuration file C corresponding to the camera; and binding the operation parameter information corresponding to the unmanned aerial vehicle with the configuration file D corresponding to the unmanned aerial vehicle.
It should be noted that: a plurality of types of operation parameter information corresponding to the camera can be bound with the configuration file C; a plurality of types of operation parameter information corresponding to the unmanned aerial vehicle can be bound with the configuration file D.
Specifically, the device stores the operation parameter information to the configuration file according to the time interval of each frame of image. Referring to the above example regarding the camera, the camera position is stored once every 30ms, and for the case of several types of operation parameter information, the camera position, the rotation angle, and the zoom ratio are stored once every 30 ms.
The method for playing back the recorded video provided by the embodiment of the invention can realize the pre-recording of the operation parameter information of the object to be recorded without depending on Unity, and further ensure that a user can conveniently record the operation parameter information.
On the basis of the above embodiment, the method further includes:
specifically, the device classifies the operation parameter information according to the general degree of the operation parameter information; the displacement, rotation, scaling and the like are general information with high general degree, and the operation parameter information is classified into one type; the color of the light and the depth of field of the camera are the unique information with low universality, and the information of the operation parameters is classified into another type.
Specifically, the device stores the operating parameter information of different classifications to corresponding configuration files, respectively. That is, the general information is stored in one type of configuration file, and the unique information is stored in another type of configuration file.
According to the method for playing back the recorded video, the running parameter information of different classifications is stored in the corresponding configuration files, so that developers can maintain development programs conveniently, and the subsequent working efficiency is improved.
Further description of embodiments of the invention is as follows:
the user can record the running parameter information of the object to be recorded first and then play back the recorded video.
When the product runs, the user selects the object to be recorded and adds the object to the time line. After recording is started, recording the operation parameter information of an object to be recorded once for each frame, after the recording is finished, storing the operation parameter information (namely displacement and the like) into a gltf file, storing the time (namely Timeline) corresponding to the frame image into a yaml file, and uniformly compressing the yaml file into a national CadillacA nuclear centre. And during loading, creating a new Timeline according to the Timeline and the running parameter information, and then playing back the recorded video by using the playing function of the system.
The recording steps are as follows:
1. and selecting an object to be recorded, adding the object to the Timeline by using a Timeline adding function in Unity, wherein the object to be recorded can comprise a camera and an unmanned aerial vehicle.
2. And calling an autonomously developed recording module, namely, data binding, and binding the running parameter information of the object to be recorded with the configuration file. Taking a camera as an example, the operation parameter information of the object to be recorded is visual angle, pose information and the like. And binding the visual angle, the pose information and the like with the configuration file, namely establishing the corresponding relation between the visual angle, the pose information and the like and the gltf file 1 of the configuration file. Different types of objects to be recorded correspond to different configuration files.
3. After the recording is started, each frame of image makes a snapshot on the bound operation parameter information, and the operation parameter information of the object to be recorded, including general information such as displacement, rotation and zooming, and unique information such as the color of light and the depth of field of the camera, are stored.
4. After the recording is finished, the pre-stored operation parameter information is stored into a gltf file through a SerizLizeRecordAsGLTF function, and the unique information is separately stored through a gltf extension module.
The recording can be performed on a single object to be recorded, can also be performed on a plurality of objects to be recorded together, and can also be performed on a part of information in the whole information recorded before to form a new information backup by re-recording and covering.
5. And compressing the gltf file, the gltf expansion module and the yaml file, and storing the compressed gltf file, the gltf expansion module and the yaml file into a national CadillacA nuclear center.
The playback steps are as follows:
1. the user selects the previously saved national cadillaca renacentre. pack file and clicks the open button.
2. Pack files are loaded, decompressed, to form a time line storage file yaml file and a running parameter information storage file gltf file, and objects to be recorded are added to the time line.
3. Adding the operation parameter information to the International Curve of Unity, and adding the International Curve added with the operation parameter information to the International Clip by calling a SetCurve function of the created International Clip in advance.
An AnimatonClip object is created, and the legacy attribute of this object needs to be set to true. The method is realized by the following codes:
Figure BSA0000215650100000091
Figure BSA0000215650100000101
Figure BSA0000215650100000111
Figure BSA0000215650100000121
Figure BSA0000215650100000131
Figure BSA0000215650100000141
4. the SampleAnimation function of the AnimatonClip is called through the ProcessFrame function of the Timeline created in advance, and the running parameter information is updated according to the Timeline. So that the recorded object will have the stored operation parameter information before being played back in the scene. The specific implementation mode can be realized by the following codes:
Figure BSA0000215650100000151
Figure BSA0000215650100000161
Figure BSA0000215650100000171
5. the playback of the pre-recorded video containing the running parameter information can be realized by calling the Timeline's Play function.
Fig. 4 is a schematic structural diagram of an apparatus for playing back recorded video according to an embodiment of the present invention, and as shown in fig. 4, an embodiment of the present invention provides an apparatus for playing back recorded video, which includes a loading unit 401 and a playback unit 402, where:
the loading unit 401 is configured to load operation parameter information of a pre-recorded object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; the playback unit 402 is configured to add the operation parameter information to a three-dimensional graphic engine, and playback and record a video according to the operation parameter information at the time corresponding to the frame image by using the three-dimensional graphic engine; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
Specifically, the loading unit 401 is configured to load operation parameter information of a pre-recorded object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; the playback unit 402 is configured to add the operation parameter information to a three-dimensional graphic engine, and playback and record a video according to the operation parameter information at the time corresponding to the frame image by using the three-dimensional graphic engine; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
According to the device for playing back the recorded video, which is provided by the embodiment of the invention, the operation parameter information of the pre-recorded object to be recorded is loaded and added to the three-dimensional graphic engine, and the recorded video is played back by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image, so that a user can conveniently and independently play back the video corresponding to the operation parameter information of the object to be recorded.
The apparatus for playing back recorded video provided in the embodiment of the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the apparatus are not described herein again, and reference may be made to the detailed description of the above method embodiments.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes: a processor (processor)501, a memory (memory)502, and a bus 503;
the processor 501 and the memory 502 complete communication with each other through a bus 503;
the processor 501 is configured to call program instructions in the memory 502 to perform the methods provided by the above-mentioned method embodiments, for example, including: loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively; adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of playing back recorded video, comprising:
loading pre-recorded operation parameter information of an object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
adding the operation parameter information into a three-dimensional graphic engine, and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
2. The method of claim 1, wherein the three-dimensional graphics engine is Unity; correspondingly, the adding the operation parameter information to the three-dimensional graphic engine includes:
adding the operating parameter information to the International Curve of Unity.
3. The method of claim 2, wherein after the step of adding the operational parameter information to the Unity's AnimationCurve, the method further comprises:
adding the AnimationClve added with the operation parameter information to the AnimationClip by calling a SetCurve function of the created AnimationClip.
4. The method of claim 2, wherein the playing back the recorded video according to the running parameter information of the frame image corresponding time by using the three-dimensional graphic engine comprises:
and representing the corresponding time of the frame image by a Timeline pre-created in the Unity, and updating the running parameter information according to the Timeline to realize playback of the recorded video.
5. The method of claim 4, wherein said updating the operating parameter information based on the Timeline comprises:
and calling a SampleAnimation function of the AnimatonClip through the ProcessFrame function of the Timeline to update the running parameter information.
6. The method according to any one of claims 1 to 5, wherein the pre-recording of the operational parameter information of the object to be recorded comprises:
binding the operation parameter information with a configuration file corresponding to the type according to the type of the object to be recorded;
and storing the operation parameter information to the configuration file according to the time interval of each frame of image.
7. The method of claim 6, further comprising:
classifying the operation parameter information according to the general degree of the operation parameter information;
and respectively storing the operation parameter information of different classifications to corresponding configuration files.
8. An apparatus for playing back recorded video, comprising:
the loading unit is used for loading the operation parameter information of the prerecorded object to be recorded; the operation parameter information corresponds to the corresponding time of the frame image respectively;
the playback unit is used for adding the operation parameter information into a three-dimensional graphic engine and playing back and recording a video by utilizing the three-dimensional graphic engine according to the operation parameter information at the corresponding moment of the frame image; and the display mode of the image content of the recorded video changes in real time along with the change of the operation parameter information.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202010755187.1A 2020-07-30 2020-07-30 Method and device for playing back recorded video Active CN111935534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010755187.1A CN111935534B (en) 2020-07-30 2020-07-30 Method and device for playing back recorded video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010755187.1A CN111935534B (en) 2020-07-30 2020-07-30 Method and device for playing back recorded video

Publications (2)

Publication Number Publication Date
CN111935534A true CN111935534A (en) 2020-11-13
CN111935534B CN111935534B (en) 2022-09-27

Family

ID=73315675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010755187.1A Active CN111935534B (en) 2020-07-30 2020-07-30 Method and device for playing back recorded video

Country Status (1)

Country Link
CN (1) CN111935534B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032590A (en) * 2021-03-29 2021-06-25 广州繁星互娱信息科技有限公司 Special effect display method and device, computer equipment and computer readable storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150287403A1 (en) * 2014-04-07 2015-10-08 Neta Holzer Zaslansky Device, system, and method of automatically generating an animated content-item
US20160073058A1 (en) * 2014-09-05 2016-03-10 Minerva Project, Inc. System and method for decision support in a virtual conference
CN107025165A (en) * 2017-03-07 2017-08-08 腾讯科技(深圳)有限公司 Game automated testing method and relevant apparatus
CN107071557A (en) * 2017-04-27 2017-08-18 中兴通讯股份有限公司 A kind of method and apparatus for playing video
CN107154068A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of animation producing method, device, client and computer-readable recording medium
CN107861714A (en) * 2017-10-26 2018-03-30 天津科技大学 The development approach and system of car show application based on IntelRealSense
CN108111832A (en) * 2017-12-25 2018-06-01 北京麒麟合盛网络技术有限公司 The asynchronous interactive method and system of augmented reality AR videos
CN109409827A (en) * 2018-10-12 2019-03-01 南京东巴电子科技有限公司 The monitoring method of construction speed in a kind of engineering construction based on virtual-real comparison
CN109658484A (en) * 2018-12-21 2019-04-19 上海哔哩哔哩科技有限公司 A kind of Automatic Generation of Computer Animation method and Automatic Generation of Computer Animation system
CN109885481A (en) * 2019-01-14 2019-06-14 珠海金山网络游戏科技有限公司 A kind of the recording and playback test method and device of the game NGUI based on Unity technology
CN110090437A (en) * 2019-04-19 2019-08-06 腾讯科技(深圳)有限公司 Video acquiring method, device, electronic equipment and storage medium
CN110544316A (en) * 2019-09-06 2019-12-06 北京奇艺世纪科技有限公司 virtual reality playback method, system, equipment and storage medium
CN110619683A (en) * 2019-09-04 2019-12-27 广东虚拟现实科技有限公司 Three-dimensional model adjusting method and device, terminal equipment and storage medium
KR102094397B1 (en) * 2019-04-19 2020-03-27 (주)코어센스 Animation Export System Using Motion Sensor Device In Unity Progect
CN111124888A (en) * 2019-11-28 2020-05-08 腾讯科技(深圳)有限公司 Method and device for generating recording script and electronic device
CN111437601A (en) * 2020-03-26 2020-07-24 腾讯科技(深圳)有限公司 Game playback control method and device, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150287403A1 (en) * 2014-04-07 2015-10-08 Neta Holzer Zaslansky Device, system, and method of automatically generating an animated content-item
US20160073058A1 (en) * 2014-09-05 2016-03-10 Minerva Project, Inc. System and method for decision support in a virtual conference
CN107025165A (en) * 2017-03-07 2017-08-08 腾讯科技(深圳)有限公司 Game automated testing method and relevant apparatus
CN107071557A (en) * 2017-04-27 2017-08-18 中兴通讯股份有限公司 A kind of method and apparatus for playing video
CN107154068A (en) * 2017-05-11 2017-09-12 腾讯科技(深圳)有限公司 A kind of animation producing method, device, client and computer-readable recording medium
CN107861714A (en) * 2017-10-26 2018-03-30 天津科技大学 The development approach and system of car show application based on IntelRealSense
CN108111832A (en) * 2017-12-25 2018-06-01 北京麒麟合盛网络技术有限公司 The asynchronous interactive method and system of augmented reality AR videos
CN109409827A (en) * 2018-10-12 2019-03-01 南京东巴电子科技有限公司 The monitoring method of construction speed in a kind of engineering construction based on virtual-real comparison
CN109658484A (en) * 2018-12-21 2019-04-19 上海哔哩哔哩科技有限公司 A kind of Automatic Generation of Computer Animation method and Automatic Generation of Computer Animation system
CN109885481A (en) * 2019-01-14 2019-06-14 珠海金山网络游戏科技有限公司 A kind of the recording and playback test method and device of the game NGUI based on Unity technology
CN110090437A (en) * 2019-04-19 2019-08-06 腾讯科技(深圳)有限公司 Video acquiring method, device, electronic equipment and storage medium
KR102094397B1 (en) * 2019-04-19 2020-03-27 (주)코어센스 Animation Export System Using Motion Sensor Device In Unity Progect
CN110619683A (en) * 2019-09-04 2019-12-27 广东虚拟现实科技有限公司 Three-dimensional model adjusting method and device, terminal equipment and storage medium
CN110544316A (en) * 2019-09-06 2019-12-06 北京奇艺世纪科技有限公司 virtual reality playback method, system, equipment and storage medium
CN111124888A (en) * 2019-11-28 2020-05-08 腾讯科技(深圳)有限公司 Method and device for generating recording script and electronic device
CN111437601A (en) * 2020-03-26 2020-07-24 腾讯科技(深圳)有限公司 Game playback control method and device, electronic equipment and storage medium

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
HUMAN ESMAEILI: "Immersive virtual environments for tacit knowledge transfer focusing on gestures: A workflow", 《2017 23RD INTERNATIONAL CONFERENCE ON VIRTUAL SYSTEM & MULTIMEDIA (VSMM)》 *
ONEWORD233: "Unity中实现动画回放功能", 《CSDN》 *
XHUBOBO: "Unity3D使用脚本动态创建、调用动画", 《CSDN》 *
唐云龙: "基于Unity 3D技术的虚拟影视拍摄场景开发与实现研究", 《河北北方学院学报(自然科学版)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113032590A (en) * 2021-03-29 2021-06-25 广州繁星互娱信息科技有限公司 Special effect display method and device, computer equipment and computer readable storage medium
CN113032590B (en) * 2021-03-29 2024-05-03 广州繁星互娱信息科技有限公司 Special effect display method, device, computer equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111935534B (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US11620784B2 (en) Virtual scene display method and apparatus, and storage medium
CN107168780B (en) Virtual reality scene loading method and equipment and virtual reality equipment
CN110049371A (en) Video Composition, broadcasting and amending method, image synthesizing system and equipment
CN107995482B (en) Video file processing method and device
GB2391149A (en) Processing scene objects
CN105955471A (en) Virtual reality interaction method and device
WO2024077909A1 (en) Video-based interaction method and apparatus, computer device, and storage medium
CN111935534B (en) Method and device for playing back recorded video
CN114630057B (en) Method and device for determining special effect video, electronic equipment and storage medium
CN114047864A (en) Special effect data packet generating and displaying method, device, equipment, medium and product
CN111736942A (en) Multi-application scene display method and device in VR system and VR equipment
CN106341600A (en) Panoramic video playing processing method and device
CN111309421B (en) Interface resource loading method and device, terminal and storage medium
CN111589111A (en) Image processing method, device, equipment and storage medium
CN116437153A (en) Previewing method and device of virtual model, electronic equipment and storage medium
WO2023160487A1 (en) Topographic-region splicing method and apparatus, and computer device and storage medium
CN110310352A (en) A kind of role action edit methods and device calculate equipment and storage medium
CN116962749A (en) Video synthesis method and device, storage medium and electronic equipment
CN108989703B (en) Memory video creating method and related device
CN114979743A (en) Method, device, equipment and medium for displaying audiovisual works
CN115243097B (en) Recording method and device and electronic equipment
CN113318444B (en) Role rendering method and device, electronic equipment and storage medium
CN118034666B (en) Construction platform for marketing page and marketing page construction method
US20130156399A1 (en) Embedding content in rich media
CN116527983A (en) Page display method, device, equipment, storage medium and product

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
GR01 Patent grant
GR01 Patent grant