CN113873100A - Video recording method, video recording device, electronic equipment and storage medium - Google Patents

Video recording method, video recording device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113873100A
CN113873100A CN202111154953.XA CN202111154953A CN113873100A CN 113873100 A CN113873100 A CN 113873100A CN 202111154953 A CN202111154953 A CN 202111154953A CN 113873100 A CN113873100 A CN 113873100A
Authority
CN
China
Prior art keywords
video
information
target
motion
target object
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
CN202111154953.XA
Other languages
Chinese (zh)
Other versions
CN113873100B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111154953.XA priority Critical patent/CN113873100B/en
Publication of CN113873100A publication Critical patent/CN113873100A/en
Priority to PCT/CN2022/121258 priority patent/WO2023051441A1/en
Application granted granted Critical
Publication of CN113873100B publication Critical patent/CN113873100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/2228Video assist systems used in motion picture production, e.g. video cameras connected to viewfinders of motion picture cameras or related video signal processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2621Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The application discloses a video recording method and device, electronic equipment and a storage medium, and belongs to the technical field of camera shooting. In the video recording process, motion information of a target object is acquired in real time, wherein the motion information comprises at least one of the following items: position information, speed information; and displaying the target information of the target object in a recording interface of the video, wherein the target information is generated according to the motion information.

Description

Video recording method, video recording device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of camera shooting, and particularly relates to a video recording method and device, electronic equipment and a storage medium.
Background
With the increasing health awareness of people, more and more users can perform outdoor exercises such as riding a bicycle, running and the like, and many users record videos in the exercise process. In the prior art, the video content recorded by a user in the motion process is single.
Disclosure of Invention
An embodiment of the present application provides a video recording method, an apparatus, an electronic device, and a storage medium, which can solve the problem of single content of a recorded video in the prior art.
In a first aspect, an embodiment of the present application provides a video recording method, where the method includes:
in the video recording process, motion information of a target object is acquired in real time, wherein the motion information comprises at least one of the following items: position information, speed information;
and displaying the target information of the target object in a recording interface of the video, wherein the target information is generated according to the motion information.
In a second aspect, an embodiment of the present application provides a video recording apparatus, including:
the acquisition module is used for acquiring the motion information of the target object in real time in the recording process of the video, wherein the motion information comprises at least one of the following items: position information, speed information;
and the first display module is used for displaying the target information of the target object in a recording interface of a video, and the target information is generated according to the motion information.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, the motion information of the target object is acquired in real time in the video recording process, and then the target information generated by the motion information is displayed in the recording interface of the video, so that the video content of the motion video is enriched, and the user does not need to perform post-processing on the video; and the user can know the motion state of the user in real time from the recording interface, so that the interestingness of video recording is improved.
Drawings
Fig. 1 is a schematic flowchart of a video recording method according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a video recording interface display described in an embodiment of the present application;
FIG. 3 is a schematic diagram of a first synthesized image frame provided by an embodiment of the present application;
fig. 4 is a schematic view of a video playing interface of a second target video according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
A video recording method, an apparatus, an electronic device and a storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flow chart of a video recording method according to an embodiment of the present application, as shown in fig. 1, including:
step 110, in the recording process of the video, obtaining the motion information of the target object in real time, wherein the motion information includes at least one of the following items: position information, speed information;
specifically, the video described in the embodiment of the present application may be a video shot by an electronic device carried by a user during a sport process, where the electronic device and the user move simultaneously, and the electronic device may specifically be a mobile phone, a sport camera, or a camera fixed on the user or on the sport device, for example, a sport camera worn by the user during a running process, a mobile phone fixed on a bicycle during a riding process, or the like.
The electronic equipment described in the embodiment of the present application may also be electronic equipment that does not move simultaneously with the user, but can track the motion of the user, for example, an unmanned aerial vehicle device having a shooting function, and at this time, the target object may carry at least one of a positioning device and a speed measuring device, and the motion information of the target object may be sent to the unmanned aerial vehicle in real time.
The target object described in the embodiment of the present application may specifically be a video recorder, or an object appearing in a video during video recording, for example, a user performs self-shooting during a motion process, or shoots another user, where the target object is an object appearing in the video.
When the target object is a video recorder, the target object may not appear in the video, for example, when the user rides the bicycle, and the camera is fixed at the head of the bicycle, the electronic device only captures an image of an environment in front of the bicycle during the movement of the user, and the video recorder does not necessarily appear in the video.
In the video recording process, motion information of a target object can be acquired in real time according to a preset time interval through at least one of positioning equipment and speed measuring equipment carried by the target object, if the electronic equipment for recording the video has a positioning function, the positioning equipment can be the electronic equipment, meanwhile, the positioning equipment can also be an independent positioning unit which is in communication connection with the electronic equipment, and the positioning function can be realized through a global satellite positioning navigation system or a Beidou navigation system.
In this embodiment, the speed measuring device may be a gyroscope mounted in the electronic device, or another independent electronic device capable of measuring speed.
The motion information described in the embodiment of the present application may specifically be position information, speed information, or position information and speed information, where the position information may be determined based on longitude and latitude information acquired by the positioning device, and the speed information may be determined based on a gyroscope.
And 120, displaying target information of the target object in a recording interface of a video, wherein the target information is generated according to the motion information.
Specifically, the target information described in the embodiment of the present application is generated based on the motion information, and the target information may specifically be position information determined by combining a map, or directly displayed speed information, or information that includes both position information and speed information.
The video recording interface described in the embodiment of the application can display the recorded current video image frame in the video recording process, and can also display target information in the video recording interface.
As an alternative embodiment, only the speed information may be displayed in the video recording interface, where the displayed speed information is the current speed information of the target object obtained when the current video image frame is recorded, and fig. 2 is a video recording interface display schematic diagram described in this embodiment, as shown in fig. 2, specifically, the speed information 22 may be directly displayed in the video recording interface 21.
As another alternative, only the position information may be displayed in the recording interface of the video, where the displayed position information is the position information of the target object obtained when the current video image frame is recorded, and specifically, the position information may be displayed in combination with a map.
As another alternative, the speed information and the position information may be displayed simultaneously in a recording interface of the video.
In the embodiment of the application, the motion information of the target object is acquired in real time in the video recording process, and then the target information generated by the motion information is displayed in the recording interface of the video, so that the video content of the motion video is enriched, and the user does not need to perform post-processing on the video; and the user can know the motion state of the user in real time from the recording interface, so that the interestingness of video recording is improved.
Optionally, the acquiring, in real time, motion information of the target object during the recording of the video includes:
in the video recording process, updating the motion information of the target object according to a preset time interval;
the displaying the target information of the target object in the recording interface of the video comprises the following steps:
and updating the target information of the target object in a recording interface of the video, wherein the updating of the target information is determined according to the updating of the motion information.
Specifically, since the target object may be moving continuously and the corresponding motion information is changing continuously during the video recording process, the motion information corresponding to the target object also needs to be updated continuously during the video recording process.
The preset time interval described in the embodiment of the present application may specifically be an update interval for updating the motion information of the target object in video recording, for example, the preset time interval in the present application may be consistent with an interval for acquiring video image frames by video recording, that is, the motion information of the target object may be updated once every time one video image frame is acquired, or the motion information of the target object may be updated once every time a plurality of video image frames are acquired.
The preset time interval in the application can also be specific time intervals such as 1 second or 2 seconds, namely, in the video recording process, the motion information of the target object is updated once every 1 second interval or 2 second interval.
In the embodiment of the application, the motion information of the target object is updated every time, that is, the latest motion information is obtained again, after the operation information of the target object is updated every time, the speed information in the motion information can be stored in the electronic device, and the positioning information is stored in association with each video image frame in the video.
For example, a video image frame recorded at the 1 st second of starting recording is a first image frame, at this time, first positioning information of the target object is simultaneously acquired at the 1 st second of starting recording, and then the first positioning information and the first image frame are stored in an associated manner.
In the video recording process, in order to enable the user to obtain the latest motion information in time, after the motion information of the target object is updated, the target information of the target object is also updated in the video recording interface, that is, the updated target information is displayed in the video recording interface.
In the embodiment of the application, in the recording process of the video, the motion information of the target object is continuously updated according to the preset interval, the timeliness of the obtained motion information can be effectively guaranteed, and the target information in the recording interface is updated based on the updated motion information, so that a user can be guaranteed to timely obtain the latest motion information through the recording interface.
Optionally, in a case that the motion information includes the position information, after the obtaining the motion information of the target object in real time, the method further includes:
generating track point information of the target object based on the position information;
and generating a motion trajectory line of the target object based on the trajectory point information, wherein the target information comprises the motion trajectory line.
Specifically, in the embodiment of the application, based on the position information, track point information of the target object is generated, specifically, each piece of position information may be placed in the same map coordinate system, or a preset map database is called to obtain each piece of track point information of the target object, where the track point information is used to indicate a position of the target object in a map.
The track point information described in the embodiment of the present application may include at least one of longitude and latitude information and a coordinate value in a map coordinate system.
In this embodiment, after obtaining the information of each track point, based on the update sequence of the position information of the track point, each track point is connected in sequence according to the positive sequence or the negative sequence, so as to generate the moving track line of the target object, and when the track point is determined by the longitude and latitude information, a map software development kit can be called to convert the longitude and latitude information into the track point. The motion trajectory line can effectively indicate the motion trajectory of the target object.
In this embodiment, after the position information is updated, the motion trajectory line is updated correspondingly.
Specifically, the target information described in the embodiment may include a movement trajectory line, that is, the movement trajectory line may be displayed in a recording interface of the video.
In the embodiment of the application, after the track point information is generated based on the position information, the track points are connected to obtain the motion track line of the target object, and a user can visually acquire the moving track of the target object in the motion process through the motion track line, so that the interest of recording the video is improved.
Optionally, in a case that the motion information includes the speed information, after the generating the motion trajectory line of the target object, further includes:
carrying out image synthesis on the speed information, the motion trajectory line and the associated video image frame to obtain a first synthesized image frame;
generating a first target video based on the first composite image frame.
Specifically, in the embodiment of the present application, it is understood that the association may mean that the recording time of the video image frame is the same as the time of updating the speed information and the motion trajectory line.
The video image frames described in the present application refer to video image frames acquired by a camera in a video recording process, and the video image frames are finally used for generating a recorded video.
In the embodiment of the application, after the motion trajectory line of the target object is generated, it is indicated that the motion trajectory line is updated at this time, and meanwhile, according to the speed information at the update time, the speed information and the motion trajectory line are synthesized into the associated video image frame, specifically, after the video image frame data is obtained, a map software development kit is called, a trajectory point is converted into the motion trajectory line by using the map software development kit, and then the speed information and the motion trajectory line are rendered into the image video image frame by using an open graphics library technology. After the velocity information is updated and a new motion trajectory line is generated, the new motion trajectory line and the new velocity information are also rendered into the associated image frame.
It is understood that the first composite image frame described in the embodiments of the present application includes not only the image information captured by the camera, but also the motion trajectory and speed information rendered into the image frame.
Fig. 3 is a schematic diagram of a first composite image frame provided by an embodiment of the present application, and as shown in fig. 3, in the first composite image frame, speed information 22 and a motion trajectory line 32 are displayed.
In the embodiment of the application, after video synthesis is performed on each first synthesized image frame including speed information and a motion trajectory line, a first target video including the speed information and the motion trajectory line is obtained. During the playing process of the first target video, the corresponding motion track line and speed information are displayed in the video image frame being played.
In the embodiment of the application, the speed information and the motion trajectory line are synthesized into the video image frame associated with the first target video to obtain the first synthesized image frame, the finally generated first target video can carry the speed information and the motion trajectory line, and the motion information of the target object is displayed during playing of the first target video, so that the content of the recorded video is enriched.
Optionally, in a case that the motion information includes the speed information, after the generating the motion trajectory line of the target object, further includes:
carrying out image synthesis on the speed information and the associated video image frame to obtain a second synthesized image frame;
generating a second target video based on the second composite image frame;
storing the motion trajectory line in association with the second target video.
Specifically, the associated video image frame described in the embodiment of the present application is a video image frame associated with speed information, and the association relationship may specifically be that the time for updating the speed information is the same as the time for recording the video image frame.
In the embodiment of the present application, after the motion trajectory line of the target object is generated, it indicates that the motion trajectory line has been updated at this time, and the speed information is synthesized into the associated video image frame according to the speed information at the update time, specifically, the speed information may be rendered into the image video image frame by an open graphics library technique.
It is understood that, in the second composite image frame described in the embodiment of the present application, not only the image information acquired by the camera, but also the speed information rendered into the image frame is included, and after video composition is performed based on each second composite image frame, a second target video is generated.
In this embodiment of the present application, since the motion trajectory line is generated from the trajectory point information of each target object, and there is a video image frame associated with the position information of the trajectory point, when the motion trajectory line and the second target video are stored in association, that is, each trajectory point and the corresponding video image frame are stored in association.
Optionally, when the motion trajectory line and the second target video are stored in association, the motion trajectory line and the second target video may be stored in different folders, or may be stored in the same folder.
In the embodiment of the application, after the speed information and the associated video image frame are subjected to image synthesis, the generated second target video and the motion trajectory line are stored in an associated manner, so that the adjustment of the video playing progress is facilitated for a user based on the association relationship between the motion trajectory line and the second target video in the subsequent video playing process, the user can be positioned to different positions through the motion trajectory line to play the video, and the motion trajectory line can help the user to know the motion trajectory of the user in the video shooting process, namely help the user to know the positioning information of the user in the video shooting process.
Optionally, after the storing the motion trajectory line in association with the second target video, further comprising:
displaying the motion trajectory line and the positioning identifier in a video playing interface of the second target video;
receiving a first input of a user, wherein the first input is used for moving the positioning identifier to a target position on the motion trajectory line;
in response to the first input, playing a second composite image frame in the video playing interface, wherein the second composite image frame is an image frame corresponding to the target position.
The motion trajectory described in the embodiment of the present application includes trajectory information of the target object, and a user may control a playing progress of the second target video or position a specific video image frame in the second target video by operating the motion trajectory.
The positioning identifier described in the embodiment of the present application may specifically be an identifier for positioning the current playing progress of the second target video, where the positioning identifier indicates different video image frames at different positions on the motion trajectory line.
The marks described in the embodiments of the present application are used for indicating words, symbols, images, and the like of information, and a control or other container may be used as a carrier for displaying information, including but not limited to a word mark, a symbol mark, and an image mark.
The positioning mark described in the embodiment of the present application may specifically be a mark in a triangle slider pattern, or may also be a mark in a pedestrian slider.
The positioning identifier described in the embodiment of the present application may be specifically displayed on a motion track line, and along with the playing of the second target video, the positioning identifier may move to a track point corresponding to a video image frame being played.
The motion trajectory line and the positioning identifier described in the embodiment of the present application may be displayed in the form of a control in the playing interface of the second target video.
In the embodiment of the application, through the positioning mark on the motion trajectory line, the user can be helped to intuitively know where the currently played video image frame is shot on the motion trajectory line under the condition that video editing is not needed in the later period, and meanwhile, the user can also be helped to know the playing progress of the video.
More specifically, the first input described in the embodiment of the present application is used to move the positioning identifier to the target position on the motion trajectory line, so as to control the playing progress of the second target video. The first input may specifically be an operation of a user dragging the positioning mark to a target position, or an operation of a user clicking a target position on a trajectory; since the positioning mark is always located on the motion trajectory line, even if the first input does not completely slide along the motion trajectory line, the positioning mark only moves along the motion trajectory line.
The first input described in this embodiment of the present application may also be a voice instruction input by a user or a specific gesture input by the user, which may be specifically determined according to actual usage requirements, and this is not limited in this embodiment of the present application.
The specific gesture in the embodiment of the application can be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure identification gesture, a long-press gesture, an area change gesture, a double-press gesture and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
The target position and the second combined image frame described in the embodiment of the present application are obtained simultaneously, so that there is a corresponding association relationship, that is, there is a corresponding association relationship between the track point information corresponding to the target position and the second combined image frame.
The electronic device responds to the first input, plays the second composite image frame in the video playing interface, and at this time, the playing of the second target video can be stopped, and at this time, the video playing interface can display the second composite image frame all the time, or the playing of the second target video can be started from the second composite image frame.
Fig. 4 is a video playing interface of a second target video described in the embodiment of the present application, as shown in fig. 4, a motion trajectory line 32 is displayed in a video playing interface 41 of the second target video, and a positioning identifier 42 is also displayed on the motion trajectory line 32, so that a user can control a playing progress of the second target video by adjusting a position of the positioning identifier 42, when the user adjusts the position of the positioning identifier to a target position, an electronic device reads a longitude and latitude value corresponding to the target position, queries a time point corresponding to the longitude and latitude value from a database, and then adjusts the video to the time point.
In the embodiment of the application, the playing progress of the video can be controlled through the positioning identification and the motion trajectory line, any video image frame can be positioned through the input of the positioning identification, a user can conveniently and rapidly position a specific video image frame, the adjustment of the playing progress of the video is realized, the video content of the recorded video is enriched, and the interestingness of the recorded video is improved.
Optionally, the target object is an object in the video or a recorder of the video. Specifically, the object in the video described in the embodiment of the present application may be an object to be shot in the video, or may be a shot by a photographer when the photographer takes a self-timer photograph.
In the course of the movement, if the electronic device recording the video is disposed on the body of the user, the user may not be captured in the video image recorded at this time, and the target object described in this embodiment may be a video recorder, that is, a user carrying or holding the electronic device.
The embodiment of the application describes the possibility of various target objects, provides various video recording use scenes, and can meet different use requirements.
It should be noted that, in the video recording method provided in the embodiment of the present application, the execution main body may be a video recording apparatus, or a control module in the video recording apparatus for executing the video recording method. In the embodiment of the present application, a video recording apparatus is taken as an example to execute a video recording method, and the video recording apparatus provided in the embodiment of the present application is described.
Fig. 5 is a schematic structural diagram of a video recording apparatus according to an embodiment of the present application, as shown in fig. 5, including: an acquisition module 510 and a first display module 520; the obtaining module 510 is configured to obtain, in real time, motion information of the target object in a recording process of the video, where the motion information includes at least one of: position information, speed information; the first display module 520 is configured to display target information of the target object in a recording interface of a video, where the target information is generated according to the motion information.
In the embodiment of the application, the motion information of the target object is acquired in real time in the video recording process, and then the target information generated by the motion information is displayed in the recording interface of the video, so that the video content of the motion video is enriched, and the user does not need to perform post-processing on the video; and the user can know the motion state of the user in real time from the recording interface, so that the interestingness of video recording is improved.
Optionally, the obtaining module is specifically configured to:
in the video recording process, updating the motion information of the target object according to a preset time interval;
the displaying the target information of the target object in the recording interface of the video comprises the following steps:
and updating the target information of the target object in a recording interface of the video, wherein the updating of the target information is determined according to the updating of the motion information.
In the embodiment of the application, in the recording process of the video, the motion information of the target object is continuously updated according to the preset interval, the timeliness of the obtained motion information can be effectively guaranteed, and the target information in the recording interface is updated based on the updated motion information, so that a user can be guaranteed to timely obtain the latest motion information through the recording interface.
Optionally, the apparatus further comprises:
the first generating module is used for generating track point information of the target object based on the position information;
and the second generation module is used for generating a motion trajectory line of the target object based on the trajectory point information, wherein the target information comprises the motion trajectory line.
In the embodiment of the application, after the track point information is generated based on the position information, the track points are connected to obtain the motion track line of the target object, and a user can visually acquire the moving track of the target object in the motion process through the motion track line, so that the interest of recording the video is improved.
Optionally, in a case that the motion information includes the speed information, the apparatus further includes:
the first synthesis module is used for carrying out image synthesis on the speed information, the motion trajectory line and the associated video image frame to obtain a first synthesized image frame;
a third generating module to generate a first target video based on the first composite image frame.
In the embodiment of the application, the speed information and the motion trajectory line are synthesized into the video image frame associated with the first target video to obtain the first synthesized image frame, the finally generated first target video can carry the speed information and the motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, so that the content of the recorded video is enriched.
Optionally, in a case that the motion information includes the speed information, the apparatus further includes:
the second synthesis module is used for carrying out image synthesis on the speed information and the related video image frame to obtain a second synthesized image frame;
a fourth generation module for generating a second target video based on the second composite image frame;
and the storage module is used for storing the motion trajectory line and the second target video in an associated manner.
In the embodiment of the application, after the speed information and the associated video image frame are subjected to image synthesis, the generated second target video and the motion trajectory line are stored in an associated manner, so that the adjustment of the video playing progress is facilitated for a user based on the association relationship between the motion trajectory line and the second target video in the subsequent video playing process, the user can be positioned to different positions through the motion trajectory line to play the video, and the motion trajectory line can help the user to know the motion trajectory of the user in the video shooting process, namely help the user to know the positioning information of the user in the video shooting process.
Optionally, the apparatus further comprises:
the second display module is used for displaying the motion trajectory line and the positioning identifier in a video playing interface of the second target video;
a movement module for receiving a first input from a user, the first input being used to move the location indicator to a target location on the motion trajectory line;
and the playing module is used for responding to the first input and playing a second composite image frame in the video playing interface, wherein the second composite image frame is an image frame associated with the target position.
In the embodiment of the application, the playing progress of the video can be controlled through the positioning identification and the motion trajectory line, any video image frame in the recording process can be positioned through inputting the positioning identification, a user can conveniently and rapidly position a specific video image frame, the adjustment of the playing progress of the video is realized, the video content of the recorded video is enriched, and the interestingness of the recorded video is improved.
Optionally, the target object is an object in the video or a recorder of the video.
The embodiment of the application describes the possibility of various target objects, provides various video recording use scenes, and can meet different use requirements.
The video recording device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The video recording apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The video recording device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described herein again to avoid repetition.
Optionally, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 6, an embodiment of the present application further provides an electronic device 600, which includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and capable of running on the processor 601, and when the program or the instruction is executed by the processor 601, the process of the embodiment of the video recording method is implemented, and the same technical effect can be achieved, and details are not repeated here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 7000 includes but is not limited to: a radio frequency unit 7001, a network module 7002, an audio output unit 7003, an input unit 7004, a sensor 7005, a display unit 7006, a user input unit 7007, an interface unit 7008, a memory 7009, a processor 7010, and the like.
Those skilled in the art will appreciate that electronic device 7000 may also include a power source (e.g., a battery) for supplying power to various components, which may be logically connected to processor 7010 via a power management system, thereby implementing functions for managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 7005 is used for acquiring motion information of the target object in real time in the recording process of the video, wherein the motion information comprises at least one of the following items: position information, speed information;
the display unit 7006 is configured to display target information of the target object in a recording interface of a video, where the target information is generated according to the motion information.
In the embodiment of the application, the motion information of the target object is acquired in real time in the video recording process, and then the target information generated by the motion information is displayed in the recording interface of the video, so that the video content of the motion video is enriched, and the user does not need to perform post-processing on the video; and the user can know the motion state of the user in real time from the recording interface, so that the interestingness of video recording is improved.
Optionally, the processor 7010 is configured to update the motion information of the target object according to a preset time interval in a video recording process;
the processor 7010 is further configured to control the display unit 7006 to update target information of the target object in a video recording interface, where the update of the target information is determined according to the update of the motion information.
In the embodiment of the application, in the recording process of the video, the motion information of the target object is continuously updated according to the preset interval, the timeliness of the obtained motion information can be effectively guaranteed, and the target information in the recording interface is updated based on the updated motion information, so that a user can be guaranteed to timely obtain the latest motion information through the recording interface.
Optionally, the processor 7010 is configured to generate trajectory point information of the target object based on the position information;
the processor 7010 is configured to generate a moving trajectory line of the target object based on the trajectory point information, where the target information includes the moving trajectory line.
In this application embodiment, after generating track point information based on position information, with the line between each track point to obtain target object's motion trajectory, the user can audio-visually master target object's the orbit of marcing in the motion process through motion trajectory, has promoted the interest of recording the video.
Optionally, the processor 7010 is configured to perform image synthesis on the speed information, the motion trajectory line and the associated video image frame to obtain a first synthesized image frame;
the processor 7010 is further configured to generate a first target video based on the first composite image frame.
In the embodiment of the application, the speed information and the motion trajectory line are synthesized into the video image frame associated with the first target video to obtain the first synthesized image frame, the finally generated first target video can carry the speed information and the motion trajectory line, and the motion information of the target object is displayed during playing of the first target video, so that the content of the recorded video is enriched.
Optionally, the processor 7010 is configured to perform image synthesis on the speed information and the associated video image frame to obtain a second synthesized image frame;
the processor 7010 is further configured to generate a second target video based on the second composite image frame;
the processor 7010 is further configured to store the motion trajectory line in association with the second target video.
In the embodiment of the application, after the speed information and the associated video image frame are subjected to image synthesis, the generated second target video and the motion trajectory line are stored in an associated manner, so that the adjustment of the video playing progress is facilitated for a user based on the association relationship between the motion trajectory line and the second target video in the subsequent video playing process, the user can be positioned to different positions through the motion trajectory line to play the video, and the motion trajectory line can help the user to know the motion trajectory of the user in the video shooting process, namely help the user to know the positioning information of the user in the video shooting process.
Optionally, the display unit 7006 is configured to display the movement track line and the positioning identifier in a video playing interface of the second target video;
the user input unit 7007 is used for receiving a first input of a user, and the first input is used for moving the positioning identifier to a target position on the motion trajectory line;
the display unit 7006 is configured to play a second composite image frame in the video playing interface in response to the first input, where the second composite image frame is an image frame corresponding to the target position.
In the embodiment of the application, the playing progress of the video can be controlled through the positioning identification and the motion trajectory line, any video image frame in the recording process can be positioned through inputting the positioning identification, a user can conveniently and rapidly position a specific video image frame, the adjustment of the playing progress of the video is realized, the video content of the recorded video is enriched, and the interestingness of the recorded video is improved.
It is to be understood that, in the embodiment of the present application, the input Unit 7004 may include a Graphics Processing Unit (GPU) 70041 and a microphone 70042, and the Graphics processor 70041 processes image data of still pictures or videos obtained by an image capturing apparatus (such as a camera) in a video capturing mode or an image capturing mode. The display unit 7006 may include a display panel 70061, and the display panel 70061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 7007 includes a touch panel 70071 and other input devices 70072. The touch panel 70071 is also referred to as a touch screen. The touch panel 70071 may include two parts of a touch detection device and a touch controller. Other input devices 70072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 7009 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 7010 may integrate an application processor, which handles primarily the operating system, user interfaces, application programs, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 7010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the video recording method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above video recording method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for video recording, comprising:
in the video recording process, motion information of a target object is acquired in real time, wherein the motion information comprises at least one of the following items: position information, speed information;
and displaying the target information of the target object in a recording interface of the video, wherein the target information is generated according to the motion information.
2. The video recording method according to claim 1, wherein the acquiring motion information of the target object in real time during the recording process of the video comprises:
in the video recording process, updating the motion information of the target object according to a preset time interval;
the displaying the target information of the target object in the recording interface of the video comprises the following steps:
and updating the target information of the target object in a recording interface of the video, wherein the updating of the target information is determined according to the updating of the motion information.
3. The video recording method according to claim 1, wherein, in a case where the motion information includes the position information, after the obtaining of the motion information of the target object in real time, further comprising:
generating track point information of the target object based on the position information;
and generating a motion trajectory line of the target object based on the trajectory point information, wherein the target information comprises the motion trajectory line.
4. The video recording method according to claim 3, wherein in a case where the motion information includes the speed information, after the generating of the motion trajectory line of the target object, further comprising:
carrying out image synthesis on the speed information, the motion trajectory line and the associated video image frame to obtain a first synthesized image frame;
generating a first target video based on the first composite image frame.
5. The video recording method according to claim 3, wherein in a case where the motion information includes the speed information, after the generating of the motion trajectory line of the target object, further comprising:
carrying out image synthesis on the speed information and the associated video image frame to obtain a second synthesized image frame;
generating a second target video based on the second composite image frame;
storing the motion trajectory line in association with the second target video.
6. The video recording method according to claim 5, wherein after storing the motion trajectory line in association with the second target video, further comprising:
displaying the motion trajectory line and the positioning identifier in a video playing interface of the second target video;
receiving a first input of a user, wherein the first input is used for moving the positioning identifier to a target position on the motion trajectory line;
in response to the first input, playing a second composite image frame in the video playing interface, wherein the second composite image frame is an image frame corresponding to the target position.
7. The video recording method according to claim 1, wherein the target object is an object in the video or a recorder of the video.
8. A video recording apparatus, comprising:
the acquisition module is used for acquiring the motion information of the target object in real time in the recording process of the video, wherein the motion information comprises at least one of the following items: position information, speed information;
and the first display module is used for displaying the target information of the target object in a recording interface of a video, and the target information is generated according to the motion information.
9. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the video recording method as claimed in any one of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which program or instructions, when executed by a processor, carry out the steps of the video recording method according to any one of claims 1 to 7.
CN202111154953.XA 2021-09-29 2021-09-29 Video recording method, device, electronic equipment and storage medium Active CN113873100B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111154953.XA CN113873100B (en) 2021-09-29 2021-09-29 Video recording method, device, electronic equipment and storage medium
PCT/CN2022/121258 WO2023051441A1 (en) 2021-09-29 2022-09-26 Video recording method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111154953.XA CN113873100B (en) 2021-09-29 2021-09-29 Video recording method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113873100A true CN113873100A (en) 2021-12-31
CN113873100B CN113873100B (en) 2023-09-22

Family

ID=79000716

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111154953.XA Active CN113873100B (en) 2021-09-29 2021-09-29 Video recording method, device, electronic equipment and storage medium

Country Status (2)

Country Link
CN (1) CN113873100B (en)
WO (1) WO2023051441A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449336A (en) * 2022-01-20 2022-05-06 杭州海康威视数字技术股份有限公司 Vehicle track animation playing method, device and equipment
WO2023051441A1 (en) * 2021-09-29 2023-04-06 维沃移动通信有限公司 Video recording method and apparatus, electronic device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006237682A (en) * 2005-02-22 2006-09-07 V-Cube Inc Moving image distribution system, management server capable of recording moving image data, and moving image data recording program
CN101726292A (en) * 2008-10-20 2010-06-09 上海海事大学 Method for improving display speed of ship motion tracks on electronic navigation chart client
JP2012253421A (en) * 2011-05-31 2012-12-20 Nikon Corp Image display device, imaging apparatus, and image display program
CN105827946A (en) * 2015-11-26 2016-08-03 维沃移动通信有限公司 Panoramic image generating method, panoramic image playing method and mobile terminal
CN107861992A (en) * 2017-10-18 2018-03-30 北京卡路里信息技术有限公司 A kind of running route processing method and apparatus
WO2019189393A1 (en) * 2018-03-29 2019-10-03 Ricoh Company, Ltd. Image control apparatus, display apparatus, movable body, and image control method
CN111083354A (en) * 2019-11-27 2020-04-28 维沃移动通信有限公司 Video recording method and electronic equipment
CN112367486A (en) * 2020-10-30 2021-02-12 维沃移动通信有限公司 Video processing method and device
CN113038017A (en) * 2021-03-24 2021-06-25 重庆中科云从科技有限公司 Image acquisition method, image acquisition device and computer-readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5612457B2 (en) * 2010-12-21 2014-10-22 日本電信電話株式会社 Moving image display device, moving image object search system, moving image display method and program
CN109102530B (en) * 2018-08-21 2020-09-04 北京字节跳动网络技术有限公司 Motion trail drawing method, device, equipment and storage medium
CN113873100B (en) * 2021-09-29 2023-09-22 维沃移动通信有限公司 Video recording method, device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006237682A (en) * 2005-02-22 2006-09-07 V-Cube Inc Moving image distribution system, management server capable of recording moving image data, and moving image data recording program
CN101726292A (en) * 2008-10-20 2010-06-09 上海海事大学 Method for improving display speed of ship motion tracks on electronic navigation chart client
JP2012253421A (en) * 2011-05-31 2012-12-20 Nikon Corp Image display device, imaging apparatus, and image display program
CN105827946A (en) * 2015-11-26 2016-08-03 维沃移动通信有限公司 Panoramic image generating method, panoramic image playing method and mobile terminal
CN107861992A (en) * 2017-10-18 2018-03-30 北京卡路里信息技术有限公司 A kind of running route processing method and apparatus
WO2019189393A1 (en) * 2018-03-29 2019-10-03 Ricoh Company, Ltd. Image control apparatus, display apparatus, movable body, and image control method
CN111083354A (en) * 2019-11-27 2020-04-28 维沃移动通信有限公司 Video recording method and electronic equipment
CN112367486A (en) * 2020-10-30 2021-02-12 维沃移动通信有限公司 Video processing method and device
CN113038017A (en) * 2021-03-24 2021-06-25 重庆中科云从科技有限公司 Image acquisition method, image acquisition device and computer-readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023051441A1 (en) * 2021-09-29 2023-04-06 维沃移动通信有限公司 Video recording method and apparatus, electronic device, and storage medium
CN114449336A (en) * 2022-01-20 2022-05-06 杭州海康威视数字技术股份有限公司 Vehicle track animation playing method, device and equipment
CN114449336B (en) * 2022-01-20 2023-11-21 杭州海康威视数字技术股份有限公司 Vehicle track animation playing method, device and equipment

Also Published As

Publication number Publication date
WO2023051441A1 (en) 2023-04-06
CN113873100B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US9569898B2 (en) Wearable display system that displays a guide for a user performing a workout
CN111726536B (en) Video generation method, device, storage medium and computer equipment
WO2023051441A1 (en) Video recording method and apparatus, electronic device, and storage medium
US20160365124A1 (en) Video editing method using participant sharing
WO2017079241A1 (en) Improved highlight-based movie navigation, editing and sharing
CN112738402B (en) Shooting method, shooting device, electronic equipment and medium
CN110209879A (en) A kind of video broadcasting method, device, equipment and storage medium
CN112115894B (en) Training method and device of hand key point detection model and electronic equipment
CN110215706B (en) Method, device, terminal and storage medium for determining position of virtual object
CN111770386A (en) Video processing method, video processing device and electronic equipment
CN112492215A (en) Shooting control method and device and electronic equipment
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
CN109460556A (en) A kind of interpretation method and device
CN114598819A (en) Video recording method and device and electronic equipment
CN112669381B (en) Pose determination method and device, electronic equipment and storage medium
WO2023151527A1 (en) Image photographing method and apparatus
CN112702497A (en) Shooting method and device
CN112887623B (en) Image generation method and device and electronic equipment
Mulloni et al. Enhancing handheld navigation systems with augmented reality
CN114339051A (en) Shooting method, shooting device, electronic equipment and readable storage medium
CN114286160A (en) Video playing method and device and electronic equipment
CN114245193A (en) Display control method and device and electronic equipment
CN113268961A (en) Travel note generation method and device
CN112887622B (en) Shooting method, shooting device, shooting equipment and storage medium
CN112672059B (en) Shooting method and shooting device

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