WO2023051441A1 - Video recording method and apparatus, electronic device, and storage medium - Google Patents

Video recording method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2023051441A1
WO2023051441A1 PCT/CN2022/121258 CN2022121258W WO2023051441A1 WO 2023051441 A1 WO2023051441 A1 WO 2023051441A1 CN 2022121258 W CN2022121258 W CN 2022121258W WO 2023051441 A1 WO2023051441 A1 WO 2023051441A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
information
target
motion
video recording
Prior art date
Application number
PCT/CN2022/121258
Other languages
French (fr)
Chinese (zh)
Inventor
齐琳
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023051441A1 publication Critical patent/WO2023051441A1/en

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

Definitions

  • the present application belongs to the technical field of photography, and in particular relates to a video recording method, device, electronic equipment and storage medium.
  • the purpose of the embodiments of the present application is to provide a video recording method, device, electronic equipment and storage medium, which can solve the problem of single recorded video content in the prior art.
  • the embodiment of the present application provides a video recording method, the method comprising:
  • the motion information of the target object is acquired in real time, and the motion information includes at least one of the following: position information, speed information;
  • the target information of the target object is displayed in the video recording interface, the target information is generated according to the motion information.
  • the embodiment of the present application provides a video recording device, including:
  • the acquisition module is used to obtain the motion information of the target object in real time during the recording process of the video, and the motion information includes at least one of the following: position information, speed information;
  • the first display module is configured to display target information of the target object in a video recording interface, where the target information is generated according to the motion information.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
  • FIG. 1 is a schematic flow chart of a video recording method provided in an embodiment of the present application
  • Fig. 2 is a schematic diagram showing the video recording interface described in the 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 diagram of a video playback interface of a second target video in an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of a video recording device provided in an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • Fig. 1 is a schematic flow chart of the video recording method provided by the embodiment of the present application, as shown in Fig. 1, including:
  • Step 110 during the video recording process, acquire the motion information of the target object in real time, the motion information includes at least one of the following: position information, speed information;
  • the video described in the embodiments of this application may be a video taken by an electronic device carried by the user during exercise.
  • the electronic device moves with the user at the same time, and the electronic device may be fixed on the user or on the exercise device.
  • the electronic device described in the embodiment of this application can also be an electronic device that does not move simultaneously with the user, but can track the user's movement, such as a drone device with a shooting function.
  • the target object can be equipped with a positioning device and At least one of the speed measuring devices can send the movement information of the target object to the drone in real time.
  • the target object described in the embodiment of this application can specifically be the recorder of the video, or an object that appears in the video when the video is recorded, for example, the user takes a selfie during exercise, or takes pictures of other users.
  • the target Objects are the objects that appear in the video.
  • the target object is the recorder of the video
  • the target object may not appear in the video at this time.
  • the electronic device only An image of the environment in front of the bicycle will be captured, and the recorder of the video may not necessarily appear in the video.
  • the positioning device can be the electronic device, and the positioning device can also be an independent positioning unit that has established a communication connection with the electronic device.
  • the positioning function can be realized specifically through the global satellite positioning and navigation system, or the Beidou navigation system. Achieved.
  • the speed measuring device may be a gyroscope mounted in an electronic device, or other independent electronic devices capable of measuring speed.
  • the motion information described in the embodiments of the present application can specifically be position information, speed information, or both position information and speed information.
  • the position information can be determined based on the latitude and longitude information obtained by the positioning device.
  • the speed Information may be determined based on gyroscopes.
  • Step 120 display the target information of the target object in the video recording interface, the target information is generated according to the motion information.
  • the target information described in the embodiments of the present application is generated based on motion information.
  • the target information may specifically be position information determined in conjunction with a map, or directly displayed speed information.
  • the target information may also include Information about position information and speed information.
  • the video recording interface described in the embodiment of the present application will display the recorded current video image frame during the video recording process, and can also display target information in the video recording interface.
  • only speed information can be displayed in the video recording interface, and the displayed speed information is the current speed information of the target object acquired when recording the current video image frame.
  • Figure 2 is an embodiment of the present application The display schematic diagram of the video recording interface described in FIG. 2 is shown in FIG. 2 . Specifically, the speed information 22 is directly displayed in the video recording interface 21 .
  • only location information can be displayed in the video recording interface, and the displayed location information is the location information of the target object acquired when recording the current video image frame, which can be specifically combined with a map. Display the location information.
  • the speed information and the position information may be displayed simultaneously in the video recording interface.
  • the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
  • acquiring the motion information of the target object in real time includes:
  • the displaying the target information of the target object in the recording interface of the video includes:
  • the target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
  • the target object since the target object may be constantly moving during the video recording process, and its corresponding motion information is also constantly changing, the motion information corresponding to the target object also needs to be continuously updated during the video recording process.
  • the preset time interval described in the embodiment of the present application may specifically be the update interval for updating the motion information of the target object in video recording, for example, the preset time interval in this application may be consistent with the interval of capturing video image frames in video recording , that is, the motion information of the target object will be updated every time a video image frame is collected, or the motion information of the target object can be updated correspondingly every time a plurality of video image frames are collected.
  • the preset time interval in this application may also be a specific time interval such as 1 second or 2 seconds, that is, during the video recording process, the motion information of the target object is updated every 1 second or 2 seconds.
  • the latest movement information is reacquired.
  • the speed information in the movement information can be stored in the electronic device , associate and store the positioning information corresponding to each video image frame in the video.
  • the video image frame recorded at the first second of recording is the first image frame, at this time, the first positioning information of the target object will be obtained at the first second of recording at the same time, and then the first positioning information It is stored in association with the first image frame.
  • the target information of the target object will also be updated in the video recording interface, that is, in the recording of the video The interface displays the updated target information.
  • the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
  • the motion information includes the position information
  • after the real-time acquisition of the motion information of the target object further includes:
  • a motion track line of the target object is generated, and the target information includes the motion track line.
  • the track point information of the target object is generated based on the position information.
  • each position information can be placed in the same map coordinate system, or the preset map database is called to obtain each track point of the target object.
  • Information, the track point information is used to indicate the location of the target object on the map.
  • the track point information described in the embodiments of the present application may include at least one of latitude and longitude information and coordinate values in a map coordinate system.
  • each track point after obtaining the information of each track point, based on the update order of the position information of the generated track point, each track point is connected in a positive order or a reverse order, thereby generating the motion track line of the target object.
  • the map software development kit may also be called to convert the latitude and longitude information into track points.
  • the motion trajectory line can effectively indicate the motion trajectory of the target object.
  • the motion trajectory line will be updated correspondingly.
  • the target information described in the embodiment itself may include a motion trajectory line, that is, the motion trajectory line may be displayed in the video recording interface.
  • a line is connected between each track point, so as to obtain the motion track line of the target object, and the user can intuitively obtain the target object during the movement process through the motion track line.
  • the trajectory of the track improves the fun of recording videos.
  • the motion information includes the speed information
  • after generating the motion trajectory of the target object further includes:
  • a first target video is generated.
  • the association may mean that the recording time of the video image frame is the same as the time when the speed information and the motion trajectory line are updated.
  • the video image frame described in this application refers to each video image frame captured by the camera during the video recording process, and the video image frame is finally used to generate the recorded video.
  • the motion trajectory line of the target object after the motion trajectory line of the target object is generated, it means that the update of the motion trajectory line has been completed at this time, and at the same time, according to the speed information at the update time, the speed information and the motion trajectory line are synthesized into the associated video
  • the map software development kit after obtaining the video image frame data, call the map software development kit, use the map software development kit to convert the trajectory points into motion trajectory lines, and then use the open graphics library technology to convert the speed information and motion trajectory Lines are rendered into image video image frames.
  • the new motion trajectory line and new speed information will also be rendered into the associated image frame.
  • FIG. 3 is a schematic diagram of the first composite image frame provided by the embodiment of the present application. As shown in FIG. 3 , in the first composite image frame, speed information 22 and motion trajectory lines 32 are displayed.
  • the first target video including the speed information and the motion trajectory is obtained.
  • the corresponding motion track line and speed information will be displayed in the video image frame being played.
  • the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
  • the motion information includes the speed information
  • after generating the motion trajectory of the target object further includes:
  • the associated video image frame described in the embodiment of the present application is a video image frame associated with speed information
  • 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.
  • the motion trajectory line of the target object after the motion trajectory line of the target object is generated, it means that the update of the motion trajectory line has been completed at this time, and at the same time, according to the speed information at the update time, the speed information is synthesized into the associated video image frame, Specifically, the speed information may be rendered into the image and video frame by using an open graphics library technology.
  • each track point is associated and stored with a corresponding video image frame.
  • the motion trajectory line and the second target video when storing the motion trajectory line and the second target video in association, can be stored in different folders, or in the same folder .
  • the generated second target video is stored in association with the motion trajectory line, which is beneficial to let the user base on the motion trajectory line and motion trajectory line in the subsequent video playback process.
  • the association relationship between the second target videos is used to adjust the video playback progress.
  • the user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
  • the method further includes:
  • the motion trajectory described in the embodiment of this application contains the trajectory information of the target object, and the user can control the playback progress of the second target video or locate a specific video in the second target video by operating the motion trajectory image frame.
  • the positioning indicator described in the embodiment of the present application may specifically be an indicator for locating the current playback progress of the second target video, and different positions of the positioning indicator on the motion trajectory line indicate different video image frames.
  • the text, symbols, images, etc. that are used to identify information as described in the embodiments of this application may use controls or other containers as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
  • the positioning mark described in the embodiment of the present application may specifically be a mark in the form of a triangular slider, or may be a mark of a pedestrian slider.
  • the positioning mark described in the embodiment of the present application may specifically be displayed on the motion trajectory line, and as the second target video is played, the positioning mark will move to the track point corresponding to the video image frame being played.
  • the motion track line and positioning mark described in the embodiment of the present application may be displayed in the playback interface of the second target video in the form of a control.
  • the first input described in the embodiment of the present application is used to move the positioning mark to a target position on the motion trajectory line, so as to control the playback progress of the second target video.
  • the first input can specifically be an operation in which the user drags the positioning mark to the target position, or an operation in which the user clicks on the target position on the trajectory line; since the positioning mark is always on the motion trajectory line, even if the first input is not completely along the If you slide along the motion trajectory, the positioning mark will still only move along the motion trajectory.
  • the first input described in the embodiment of the present application may also be a voice command input by the user, or a specific gesture input by the user, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
  • the specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture;
  • the click input can be single-click input, double-click input, or any number of click inputs, etc., and can also be long-press input or short-press input.
  • the target position and the second composite image frame described in the embodiment of the present application are acquired at the same time, so there is a corresponding correlation, that is, there is a corresponding correlation between the track point information corresponding to the target position and the second composite image frame .
  • the electronic device plays the second synthesized image frame in the video playback interface.
  • the playback of the second target video can be stopped, and the video playback interface will always display the second synthesized image frame at this time, or it can be Playing the second target video starts from the second synthesized image frame.
  • Fig. 4 is the video playback interface of the second target video described in the embodiment of the present application, as shown in Fig. 4, in the video playback interface 41 of the second target video, a motion locus line 32 is displayed, and on the motion locus line 32, There is also a positioning mark 42 displayed, and the user can adjust the position of the positioning mark 42 to control the playback progress of the second target video.
  • the electronic device When the user adjusts the position of the positioning mark to the target position, the electronic device will read out the target position The corresponding longitude and latitude value, and then query the time point corresponding to the longitude and latitude value from the database, and then adjust the video to the time point.
  • the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame can be located through the input of the positioning mark, which is convenient for the user to quickly locate a specific video image frame and realize
  • the video playback progress is adjusted, which enriches the video content of the recorded video and improves the fun of the recorded video.
  • the target object is an object in the video or a recorder of the video.
  • the object in the video described in the embodiment of the present application may be the object captured in the video, or the photographer himself when taking a selfie.
  • the target object described in the embodiment of the present application may be a video
  • the recorder is the user who carries or holds the electronic device.
  • the embodiment of the present application describes the possibility of multiple target objects, provides multiple video recording usage scenarios, and can meet different usage requirements.
  • the video recording method provided in the embodiment of the present application may be executed by a video recording device, or a control module in the video recording device for executing the video recording method.
  • the video recording device provided in the embodiment of the present application is described by taking the video recording device executing the video recording method as an example.
  • Fig. 5 is a schematic structural diagram of a video recording device provided in the embodiment of the present application, as shown in Fig. 5, including: an acquisition module 510 and a first display module 520; wherein, the acquisition module 510 is used to acquire the target in real time during the video recording process
  • the motion information of the object includes at least one of the following: position information, speed information; wherein, the first display module 520 is configured to display the target information of the target object in the video recording interface, and the target information is Generated based on the motion information.
  • the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
  • the acquisition module is specifically used for:
  • the displaying the target information of the target object in the recording interface of the video includes:
  • the target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
  • the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
  • the device also includes:
  • a first generation module configured to generate track point information of the target object based on the location information
  • the second generation module is configured to generate the motion trajectory of the target object based on the trajectory point information, and the target information includes the motion trajectory.
  • a line is connected between each track point, so as to obtain the motion track line of the target object, and the user can intuitively obtain the target object during the movement process through the motion track line.
  • the trajectory of the track improves the fun of recording videos.
  • the device when the motion information includes the speed information, the device further includes:
  • the first synthesis module is used to perform image synthesis on the speed information, the motion trajectory and associated video image frames to obtain a first synthesized image frame;
  • a third generating module configured to generate a first target video based on the first synthesized image frame.
  • the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
  • the device when the motion information includes the speed information, the device further includes:
  • a second synthesis module configured to perform image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame
  • a fourth generating module configured to generate a second target video based on the second synthesized image frame
  • a storage module configured to associate and store the motion track line and the second target video.
  • the generated second target video is stored in association with the motion trajectory line, which is beneficial for the user to use the motion trajectory line and motion trajectory line in the subsequent video playback process.
  • the association relationship between the second target videos is used to adjust the video playback progress.
  • the user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
  • the device also includes:
  • the second display module is used to display the motion track line and the positioning mark in the video playback interface of the second target video
  • a moving module configured to receive a first input from a user, and the first input is used to move the positioning marker to a target position on the motion trajectory line;
  • the playing module is configured to play the second composite image frame in the video playback interface in response to the first input, and the second composite image frame is an image frame associated with the target position.
  • the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame in the recording process can be located by inputting the positioning mark, so that the user can quickly locate a specific video
  • the image frame realizes the adjustment of the video playback progress, enriches the video content of the recorded video, and improves the fun of the recorded video.
  • the target object is an object in the video or a recorder of the video.
  • the embodiment of the present application describes the possibility of multiple target objects, provides multiple video recording usage scenarios, and can meet different usage requirements.
  • the video recording device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the video recording device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the video recording device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
  • FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • 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, and a processor 7010, etc. part.
  • the electronic device 7000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 7010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the sensor 7005 is used to obtain the motion information of the target object in real time during the video recording process, and the motion information includes at least one of the following: position information, speed information;
  • the display unit 7006 is configured to display the target information of the target object in the video recording interface, the target information is generated according to the motion information.
  • the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
  • the processor 7010 is configured to update the motion information of the target object according to a preset time interval during video recording;
  • the processor 7010 is further configured to control the display unit 7006 to update the target information of the target object in the video recording interface, where the update of the target information is determined according to the update of the motion information.
  • the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
  • the processor 7010 is configured to generate track point information of the target object based on the position information
  • the processor 7010 is configured to generate a motion trajectory of the target object based on the trajectory point information, where the target information includes the motion trajectory.
  • a line is connected between each track point to obtain the motion track line of the target object, and the user can intuitively grasp the target object during the movement process through the motion track line
  • the trajectory of the track improves the fun of recording videos.
  • the processor 7010 is configured to perform image synthesis on the speed information, the motion trajectory and associated video image frames to obtain a first synthesized image frame;
  • the processor 7010 is further configured to generate a first target video based on the first synthesized image frame.
  • the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
  • the processor 7010 is configured to perform image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
  • the processor 7010 is further configured to generate a second target video based on the second synthesized image frame
  • the processor 7010 is further configured to associate and store the motion trajectory and the second target video.
  • the generated second target video is stored in association with the motion trajectory line, which is beneficial for the user to use the motion trajectory line and motion trajectory line in the subsequent video playback process.
  • the association relationship between the second target videos is used to adjust the video playback progress.
  • the user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
  • the display unit 7006 is configured to display the motion track line and the positioning mark in the video playback interface of the second target video
  • the user input unit 7007 is configured to receive a first input from a user, and the first input is used to move the positioning mark to a target position on the motion trajectory line;
  • the display unit 7006 is configured to play a second synthesized image frame in the video playback interface in response to the first input, where the second synthesized image frame is an image frame corresponding to the target position.
  • the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame in the recording process can be located by inputting the positioning mark, so that the user can quickly locate a specific video
  • the image frame realizes the adjustment of the video playback progress, enriches the video content of the recorded video, and improves the fun of the recorded video.
  • the input unit 7004 may include a graphics processor (Graphics Processing Unit, GPU) 70041 and a microphone 70042, and the graphics processor 70041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • 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. Touch panel 70071, also known as touch screen.
  • the touch panel 70071 can include two parts: a touch detection device and a touch controller.
  • Other input devices 70072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 7009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 7010 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 7010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned video recording method embodiment is realized, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above video recording method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above video recording method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Environmental & Geological Engineering (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • User Interface Of Digital Computer (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present application relates to the technical field of photography, and discloses a video recording method and apparatus, an electronic device, and a storage medium. In a video recording process, motion information of a target object is obtained in real time, wherein the motion information comprising at least one of position information and speed information; target information of the target object is displayed in a video recording interface, wherein the target information is generated according to the motion information.

Description

视频录制方法、装置、电子设备及存储介质Video recording method, device, electronic device and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年09月29日提交的申请号为202111154953.X,发明名称为“视频录制方法、装置、电子设备及存储介质”的中国专利申请的优先权,其通过引用方式全部并入本申请。This application claims the priority of the Chinese patent application with the application number 202111154953.X filed on September 29, 2021, and the title of the invention is "Video recording method, device, electronic equipment and storage medium", which is incorporated by reference in its entirety this application.
技术领域technical field
本申请属于摄像技术领域,具体涉及一种视频录制方法、装置、电子设备及存储介质。The present application belongs to the technical field of photography, and in particular relates to a video recording method, device, electronic equipment and storage medium.
背景技术Background technique
随着人们健康意识的不断增强,越来越多的用户会开展户外运动,例如骑车、跑步等,而很多用户在运动的过程中会录制视频。现有技术中,用户在运动过程中录制的视频内容较为单一。With the continuous enhancement of people's health awareness, more and more users will carry out outdoor sports, such as cycling, running, etc., and many users will record videos during the exercise. In the prior art, the video content recorded by the user during exercise is relatively single.
发明内容Contents of the invention
本申请实施例的目的是提供一种视频录制方法、装置、电子设备及存储介质,能够解决现有技术中录制的视频内容单一的问题。The purpose of the embodiments of the present application is to provide a video recording method, device, electronic equipment and storage medium, which can solve the problem of single recorded video content in the prior art.
第一方面,本申请实施例提供了一种视频录制方法,该方法包括:In the first aspect, the embodiment of the present application provides a video recording method, the method comprising:
在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息;During the video recording process, the motion information of the target object is acquired in real time, and the motion information includes at least one of the following: position information, speed information;
在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。The target information of the target object is displayed in the video recording interface, the target information is generated according to the motion information.
第二方面,本申请实施例提供了一种视频录制装置,包括:In the second aspect, the embodiment of the present application provides a video recording device, including:
获取模块,用于在视频的录制过程中,实时获取目标对象的运动信息,所 述运动信息包括以下至少一项:位置信息、速度信息;The acquisition module is used to obtain the motion information of the target object in real time during the recording process of the video, and the motion information includes at least one of the following: position information, speed information;
第一显示模块,用于在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。The first display module is configured to display target information of the target object in a video recording interface, where the target information is generated according to the motion information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
在本申请实施例中,通过在视频录制过程中实时获取目标对象的运动信息,然后在视频的录制界面中显示由该运动信息生成的目标信息,丰富了运动视频的视频内容,无需用户对视频进行后期处理;并且用户可以从录制界面中实时了解自己的运动状态,提升了录制视频的趣味性。In the embodiment of the present application, by acquiring the motion information of the target object in real time during the video recording process, and then displaying the target information generated by the motion information in the video recording interface, the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
附图说明Description of drawings
图1为本申请实施例提供的视频录制方法流程示意图;FIG. 1 is a schematic flow chart of a video recording method provided in an embodiment of the present application;
图2为本申请实施例中所描述的视频录制界面显示示意图;Fig. 2 is a schematic diagram showing the video recording interface described in the embodiment of the present application;
图3为本申请实施例提供的第一合成图像帧示意图;FIG. 3 is a schematic diagram of a first synthesized image frame provided by an embodiment of the present application;
图4为本申请实施例的第二目标视频的视频播放界面示意图;4 is a schematic diagram of a video playback interface of a second target video in an embodiment of the present application;
图5为本申请实施例提供的视频录制装置结构示意图;FIG. 5 is a schematic structural diagram of a video recording device provided in an embodiment of the present application;
图6为本申请实施例提供的电子设备结构示意图;FIG. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
图7为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的一种视频录制方法、装置、电子设备及存储介质进行详细地说明。A video recording method, device, electronic device, and storage medium provided in the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
图1为本申请实施例提供的视频录制方法流程示意图,如图1所示,包括:Fig. 1 is a schematic flow chart of the video recording method provided by the embodiment of the present application, as shown in Fig. 1, including:
步骤110,在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息; Step 110, during the video recording process, acquire the motion information of the target object in real time, the motion information includes at least one of the following: position information, speed information;
具体地,本申请实施例中所描述的视频可以是运动过程中的用户携带的电子设备拍摄的视频,此时电子设备与用户同时移动,该电子设备具体可以是固定在用户身上或者运动设备上的手机、运动相机、或者相机,例如用户跑步过程中佩戴的运动相机、用户在骑行过程中,固定在自行车上的手机等设备。Specifically, the video described in the embodiments of this application may be a video taken by an electronic device carried by the user during exercise. At this time, the electronic device moves with the user at the same time, and the electronic device may be fixed on the user or on the exercise device. Mobile phones, sports cameras, or cameras, such as sports cameras worn by users during running, mobile phones fixed on bicycles and other devices when users are riding.
本申请实施例中所描述的电子设备还可以是并不与用户同时移动,而是可以追踪用户运动的电子设备,例如具备拍摄功能的无人机设备,此时目标对象身上可以搭载定位设备和测速设备中的至少一种,可以将目标对象的运动信息实时发送给无人机。The electronic device described in the embodiment of this application can also be an electronic device that does not move simultaneously with the user, but can track the user's movement, such as a drone device with a shooting function. At this time, the target object can be equipped with a positioning device and At least one of the speed measuring devices can send the movement information of the target object to the drone in real time.
本申请实施例中所描述的目标对象,具体可以是视频的录制者,也可以是视频录制时,出现在视频中的对象,例如用户在运动过程中进行自拍,或者拍摄其它用户,此时目标对象即是出现在视频中的对象。The target object described in the embodiment of this application can specifically be the recorder of the video, or an object that appears in the video when the video is recorded, for example, the user takes a selfie during exercise, or takes pictures of other users. At this time, the target Objects are the objects that appear in the video.
在目标对象是视频的录制者时,此时目标对象可以不出现在视频中,例如,用户骑行过程中,将相机固定在自行车车头位置时,此时在用户的运动过程中,电子设备仅仅会拍摄到自行车前方的环境图像,此时视频的录制者不一定会出现在视频中。When the target object is the recorder of the video, the target object may not appear in the video at this time. For example, when the user fixes the camera at the front of the bicycle while the user is riding, the electronic device only An image of the environment in front of the bicycle will be captured, and the recorder of the video may not necessarily appear in the video.
在视频的录制过程中,可以通过目标对象身上携带的定位设备和测速设备中的至少一项,按照预定时间间隔,实时获取目标对象的运动信息,若录制视频的电子设备具备定位功能,则此时该定位设备可以是该电子设备,同时该定位设备也可以是与电子设备建立了通信连接的独立定位单元,该定位功能的实现,具体可以是通过全球卫星定位导航系统,或者北斗导航系统来实现的。During the video recording process, at least one of the positioning device and the speed measuring device carried by the target object can be used to obtain the motion information of the target object in real time according to a predetermined time interval. If the electronic device that records the video has a positioning function, then this In this case, the positioning device can be the electronic device, and the positioning device can also be an independent positioning unit that has established a communication connection with the electronic device. The positioning function can be realized specifically through the global satellite positioning and navigation system, or the Beidou navigation system. Achieved.
本实施例中,测速设备可以是搭载在电子设备中的陀螺仪,或者其它能够实现测速的独立电子设备。In this embodiment, the speed measuring device may be a gyroscope mounted in an electronic device, or other independent electronic devices capable of measuring speed.
本申请实施例中所描述的运动信息,具体可以是位置信息、也可以是速度信息,还可以是位置信息和速度信息,该位置信息可以基于定位设备获取到的经纬度信息来确定的,该速度信息可以是基于陀螺仪来确定的。The motion information described in the embodiments of the present application can specifically be position information, speed information, or both position information and speed information. The position information can be determined based on the latitude and longitude information obtained by the positioning device. The speed Information may be determined based on gyroscopes.
步骤120,在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。 Step 120, display the target information of the target object in the video recording interface, the target information is generated according to the motion information.
具体地,本申请实施例中所描述的目标信息是基于运动信息生成的,该目标信息具体可以是结合地图来确定的位置信息,也可以是直接显示的速度信息,目标信息还可以是同时包含位置信息和速度信息的信息。Specifically, the target information described in the embodiments of the present application is generated based on motion information. The target information may specifically be position information determined in conjunction with a map, or directly displayed speed information. The target information may also include Information about position information and speed information.
本申请实施例中所描述的视频录制界面会在视频录制过程中,显示录制的当前视频图像帧,同时还可以在视频的录制界面中显示目标信息。The video recording interface described in the embodiment of the present application will display the recorded current video image frame during the video recording process, and can also display target information in the video recording interface.
作为一个可选的实施例,可以在视频的录制界面中仅显示速度信息,显示的速度信息是在录制当前视频图像帧时,所获取的目标对象的当前速度信息,图2为本申请实施例中所描述的视频录制界面显示示意图,如图2所示,其具体可以是,在视频录制界面21中直接显示速度信息22。As an optional embodiment, only speed information can be displayed in the video recording interface, and the displayed speed information is the current speed information of the target object acquired when recording the current video image frame. Figure 2 is an embodiment of the present application The display schematic diagram of the video recording interface described in FIG. 2 is shown in FIG. 2 . Specifically, the speed information 22 is directly displayed in the video recording interface 21 .
作为另一个可选的实施例,可以在视频的录制界面中仅显示位置信息,显示的位置信息是在录制当前视频图像帧时,所获取的目标对象的位置信息,其 具体可以是结合地图来显示该位置信息。As another optional embodiment, only location information can be displayed in the video recording interface, and the displayed location information is the location information of the target object acquired when recording the current video image frame, which can be specifically combined with a map. Display the location information.
作为又一个可选的实施例,可以是视频的录制界面中,同时显示速度信息和位置信息。As yet another optional embodiment, the speed information and the position information may be displayed simultaneously in the video recording interface.
在本申请实施例中,通过在视频录制过程中实时获取目标对象的运动信息,然后在视频的录制界面中显示由该运动信息生成的目标信息,丰富了运动视频的视频内容,无需用户对视频进行后期处理;并且用户可以从录制界面中实时了解自己的运动状态,提升了录制视频的趣味性。In the embodiment of the present application, by acquiring the motion information of the target object in real time during the video recording process, and then displaying the target information generated by the motion information in the video recording interface, the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
可选地,所述在视频的录制过程中,实时获取目标对象的运动信息,包括:Optionally, during the video recording process, acquiring the motion information of the target object in real time includes:
在视频的录制过程中,按照预设时间间隔,更新所述目标对象的运动信息;During the video recording process, update 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 includes:
在视频的录制界面中更新所述目标对象的目标信息,所述目标信息的更新是根据所述运动信息的更新确定的。The target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
具体地,由于在视频录制的过程中,目标对象可能在不断运动,其对应的运动信息也在不断变化,因此在视频录制过程中也需要不断更新目标对应的运动信息。Specifically, since the target object may be constantly moving during the video recording process, and its corresponding motion information is also constantly changing, the motion information corresponding to the target object also needs to be continuously updated during the video recording process.
本申请实施例中所描述的预设时间间隔具体可以是视频录制中更新所述目标对象的运动信息的更新间隔,例如本申请中的预设时间间隔可以和视频录制采集视频图像帧的间隔一致,即每采集一个视频图像帧,都会更新一次目标对象的运动信息,也可以每采集多个视频图像帧,对应更新一次所述目标对象的运动信息。The preset time interval described in the embodiment of the present application may specifically be the update interval for updating the motion information of the target object in video recording, for example, the preset time interval in this application may be consistent with the interval of capturing video image frames in video recording , that is, the motion information of the target object will be updated every time a video image frame is collected, or the motion information of the target object can be updated correspondingly every time a plurality of video image frames are collected.
本申请中的预设时间间隔也可以1秒或2秒等具体时间间隔,即在视频录制过程中,每隔1秒间隔或2秒间隔,更新一次所述目标对象的运动信息。The preset time interval in this application may also be a specific time interval such as 1 second or 2 seconds, that is, during the video recording process, the motion information of the target object is updated every 1 second or 2 seconds.
在本申请实施例中,每更新一次目标对象的运动信息,即是重新获取一次最新的运动信息,在每次更新目标对象的运行信息后,可以将运动信息中的速度信息存储在电子设备内部,将定位信息对应视频中各个视频图像帧进行关联存储。In the embodiment of the present application, every time the movement information of the target object is updated, the latest movement information is reacquired. After each update of the running information of the target object, the speed information in the movement information can be stored in the electronic device , associate and store the positioning information corresponding to each video image frame in the video.
例如,在开始录制的第1秒时所录制的视频图像帧为第一图像帧,此时会 在开始录制的第1秒时同时获取目标对象的第一定位信息,然后将该第一定位信息和第一图像帧进行关联存储。For example, the video image frame recorded at the first second of recording is the first image frame, at this time, the first positioning information of the target object will be obtained at the first second of recording at the same time, and then the first positioning information It is stored in association with the first image frame.
而在视频录制过程中,为了让用户能及时获取最新的运动信息,因此在更新所述目标对象的运动信息后,在视频的录制界面中也会更新目标对象的目标信息,即在视频的录制界面显示更新后的目标信息。In the video recording process, in order to allow the user to obtain the latest motion information in time, after updating the motion information of the target object, the target information of the target object will also be updated in the video recording interface, that is, in the recording of the video The interface displays the updated target information.
在本申请实施例中,在视频的录制过程中,会按照预设间隔不断更新目标对象的运动信息,能够有效保证所获取的运动信息的时效性,并且通过基于更新后的运动信息来更新录制界面中的目标信息,从而保证用户能够通过录制界面及时获取最新的运动信息。In this embodiment of the application, during the video recording process, the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
可选地,在所述运动信息包括所述位置信息的情况下,所述实时获取目标对象的运动信息之后,还包括:Optionally, in the case where the motion information includes the position information, after the real-time acquisition of the motion information of the target object, further includes:
基于所述位置信息,生成所述目标对象的轨迹点信息;generating track point information of the target object based on the position information;
基于所述轨迹点信息,生成所述目标对象的运动轨迹线,所述目标信息包括所述运动轨迹线。Based on the track point information, a motion track line of the target object is generated, and the target information includes the motion track line.
具体地,本申请实施例中基于位置信息,生成目标对象的轨迹点信息,具体可以是将各个位置信息置于同一地图坐标系中,或者调用预设的地图数据库,得到目标对象的各个轨迹点信息,该轨迹点信息用于指示目标对象在地图中的位置。Specifically, in the embodiment of the present application, the track point information of the target object is generated based on the position information. Specifically, each position information can be placed in the same map coordinate system, or the preset map database is called to obtain each track point of the target object. Information, the track point information is used to indicate the location of the target object on the map.
本申请实施例中所描述的轨迹点信息可以包括经纬度信息和地图坐标系中的坐标值中的至少一项。The track point information described in the embodiments of the present application may include at least one of latitude and longitude information and coordinate values in a map coordinate system.
本实施例中,在得到各个轨迹点信息后,基于生成轨迹点的位置信息的更新顺序,依次按照正序或者逆序连接各个轨迹点,从而生成目标对象的运动轨迹线,在轨迹点由经纬度信息确定时,也可以是调用地图软件开发包,将经纬度信息转换为轨迹点。该运动轨迹线能够有效地指示目标对象的运动轨迹。In this embodiment, after obtaining the information of each track point, based on the update order of the position information of the generated track point, each track point is connected in a positive order or a reverse order, thereby generating the motion track line of the target object. When determined, the map software development kit may also be called to convert the latitude and longitude information into track points. 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 will be updated correspondingly.
具体地,本身实施例中所描述的目标信息中可以包括运动轨迹线,即在视频的录制界面中可以显示该运动轨迹线。Specifically, the target information described in the embodiment itself may include a motion trajectory line, that is, the motion trajectory line may be displayed in the video recording interface.
在本申请实施例中,基于位置信息生成轨迹点信息后,将各个轨迹点之间连线,从而得到目标对象的运动轨迹线,用户可以直观地通过运动轨迹线来获取目标对象在运动过程中的行进轨迹,提升了录制视频的趣味性。In the embodiment of the present application, after the track point information is generated based on the position information, a line is connected between each track point, so as to obtain the motion track line of the target object, and the user can intuitively obtain the target object during the movement process through the motion track line. The trajectory of the track improves the fun of recording videos.
可选地,在所述运动信息包括所述速度信息的情况下,所述生成所述目标对象的运动轨迹线之后,还包括:Optionally, in the case where the motion information includes the speed information, after generating the motion trajectory of the target object, further includes:
将所述速度信息、所述运动轨迹线与关联的视频图像帧进行图像合成,得到第一合成图像帧;performing image synthesis on the speed information, the motion trajectory line and associated video image frames to obtain a first synthesized image frame;
基于所述第一合成图像帧,生成第一目标视频。Based on the first synthesized image frame, a first target video is generated.
具体地,在本申请实施例中,可以理解的是,该关联可以是指视频图像帧的录制时刻与更新速度信息、运动轨迹线的时刻相同。Specifically, in this embodiment of the present application, it can be understood that the association may mean that the recording time of the video image frame is the same as the time when the speed information and the motion trajectory line are updated.
本申请中所描述的视频图像帧,是指在视频录制过程中摄像头采集的各个视频图像帧,该视频图像帧,最终用于生成录制的视频。The video image frame described in this application refers to each video image frame captured by the camera during the video recording process, and the video image frame is finally used to generate the recorded video.
在本申请实施例中,在生成目标对象的运动轨迹线之后,则说明此时已经完成运动轨迹线的更新,同时根据更新时刻的速度信息,将速度信息和运动轨迹线合成到该关联的视频图像帧中,具体地可以是在得到视频图像帧数据后,调用地图软件开发工具包,利用地图软件开发包将轨迹点转换为运动轨迹线,再通过开放图形库技术,将速度信息和运动轨迹线渲染到图像视频图像帧中。而在更新速度信息和生成新的运动轨迹线后,也会将新的运动轨迹线和新的速度信息渲染到关联的图像帧中。In the embodiment of this application, after the motion trajectory line of the target object is generated, it means that the update of the motion trajectory line has been completed at this time, and at the same time, according to the speed information at the update time, the speed information and the motion trajectory line are synthesized into the associated video In the image frame, specifically, after obtaining the video image frame data, call the map software development kit, use the map software development kit to convert the trajectory points into motion trajectory lines, and then use the open graphics library technology to convert the speed information and motion trajectory Lines are rendered into image video image frames. After the speed information is updated and a new motion trajectory line is generated, the new motion trajectory line and new speed information will also be rendered into the associated image frame.
可以理解的是,本申请实施例中所描述的第一合成图像帧中,不仅仅有摄像头采集的图像信息,还包括渲染到该图像帧中的运动轨迹线与速度信息。It can be understood that, in the first composite image frame described in the embodiment of the present application, not only the image information collected by the camera, but also the motion track line and speed information rendered into the image frame are included.
图3为本申请实施例提供的第一合成图像帧示意图,如图3所示,在第一合成图像帧中,会显示有速度信息22和运动轨迹线32。FIG. 3 is a schematic diagram of the first composite image frame provided by the embodiment of the present application. As shown in FIG. 3 , in the first composite image frame, speed information 22 and motion trajectory lines 32 are displayed.
在本申请实施例中,将各个包含速度信息和运动轨迹线的第一合成图像帧,进行视频合成后,得到包含有速度信息和运动轨迹线的第一目标视频。在第一目标视频的播放过程中,会在正在播放的视频图像帧中显示对应的运动轨迹线和速度信息。In the embodiment of the present application, after video synthesis is performed on each of the first synthesized image frames including the speed information and the motion trajectory, the first target video including the speed information and the motion trajectory is obtained. During the playing process of the first target video, the corresponding motion track line and speed information will be displayed in the video image frame being played.
在本申请实施例中,通过将速度信息和运动轨迹线合成到其相关联的视频图像帧中,得到第一合成图像帧,最终生成的第一目标视频中即可以携带有速度信息和运动轨迹线,而在第一目标视频的播放时,显示目标对象的运动信息,丰富了录制视频的内容。In the embodiment of the present application, the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
可选地,在所述运动信息包括所述速度信息的情况下,所述生成所述目标对象的运动轨迹线之后,还包括:Optionally, in the case where the motion information includes the speed information, after generating the motion trajectory of the target object, further includes:
将所述速度信息与关联的视频图像帧进行图像合成,得到第二合成图像帧;performing image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
基于所述第二合成图像帧,生成第二目标视频;generating a second target video based on the second synthesized image frame;
将所述运动轨迹线与所述第二目标视频进行关联存储。and storing the motion track 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 means that the update of the motion trajectory line has been completed at this time, and at the same time, according to the speed information at the update time, the speed information is synthesized into the associated video image frame, Specifically, the speed information may be rendered into the image and video frame by using an open graphics library technology.
可以理解的是,本申请实施例中所描述的第二合成图像帧中,不仅仅有摄像头采集的图像信息,还包括渲染到该图像帧中的速度信息,基于各个第二合成图像帧进行视频合成后,生成第二目标视频。It can be understood that, in the second composite image frame described in the embodiment of the present application, there is not only the image information collected by the camera, but also the speed information rendered into the image frame, and the video is performed based on each second composite image frame. After synthesis, a second target video is generated.
在本申请实施例中,由于运动轨迹线是由各个目标对象的轨迹点信息生成的,而生成该轨迹点的位置信息会存在关联的视频图像帧,因此本申请实施例中将运动轨迹线与第二目标视频进行关联存储时,即将各个轨迹点与对应的视频图像帧进行关联存储。In the embodiment of the present application, since the motion trajectory line is generated by the trajectory point information of each target object, and the position information of the trajectory point generated will have an associated video image frame, so in the embodiment of the application, the motion trajectory line and When the second target video is associated and stored, each track point is associated and stored with a corresponding video image frame.
可选地,将所述运动轨迹线与所述第二目标视频进行关联存储时,可以将运动轨迹线和第二目标视频分别存储在不同的文件夹中,也可以存储在同一的文件夹中。Optionally, when storing the motion trajectory line and the second target video in association, the motion trajectory line and the second target video can be stored in different folders, or in the same folder .
在本申请实施例中,在将速度信息与关联的视频图像帧进行图像合成后, 将生成的第二目标视频与运动轨迹线关联存储,有利于后续视频播放过程中让用户基于运动轨迹线与第二目标视频之间的关联关系进行视频播放进度调整,用户可以通过运动轨迹线定位至不同的位置进行视频播放,且该运动轨迹线能够帮助用户了解其在视频拍摄过程中的运动轨迹,即帮助用户了解其在视频拍摄过程中的定位信息。In the embodiment of the present application, after image synthesis is performed on the speed information and the associated video image frame, the generated second target video is stored in association with the motion trajectory line, which is beneficial to let the user base on the motion trajectory line and motion trajectory line in the subsequent video playback process. The association relationship between the second target videos is used to adjust the video playback progress. The user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
可选地,所述将所述运动轨迹线与所述第二目标视频进行关联存储之后,还包括:Optionally, after associating and storing the motion trajectory line with the second target video, the method further includes:
在所述第二目标视频的视频播放界面中,显示所述运动轨迹线和定位标识;In the video playback interface of the second target video, displaying the motion track line and the positioning mark;
接收用户的第一输入,所述第一输入用于将所述定位标识移动至所述运动轨迹线上的目标位置;receiving a first input from a user, the first input being used to move the positioning marker to a target position on the motion trajectory line;
响应于所述第一输入,播放所述视频播放界面中的第二合成图像帧,所述第二合成图像帧是所述目标位置对应的图像帧。In response to the first input, play a second synthesized image frame in the video playback interface, where the second synthesized image frame is an image frame corresponding to the target position.
本申请实施例中所描述的运动轨迹线包含了目标对象的轨迹信息,用户可以通过对该运动轨迹线的操作,控制第二目标视频的播放进度,或者定位到第二目标视频中的特定视频图像帧。The motion trajectory described in the embodiment of this application contains the trajectory information of the target object, and the user can control the playback progress of the second target video or locate a specific video in the second target video by operating the motion trajectory image frame.
本申请实施例中所描述的定位标识具体可以是用于定位第二目标视频当前播放进度的标识,该定位标识在运动轨迹线上的不同位置指示不同的视频图像帧。The positioning indicator described in the embodiment of the present application may specifically be an indicator for locating the current playback progress of the second target video, and different positions of the positioning indicator on the motion trajectory line indicate different video image frames.
本申请实施例中所描述的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。The text, symbols, images, etc. that are used to identify information as described in the embodiments of this application may use controls or other containers as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
本申请实施例中所描述的定位标识具体可以三角形滑块样式的标识,也可以是人行滑块的标识。The positioning mark described in the embodiment of the present application may specifically be a mark in the form of a triangular slider, or may be a mark of a pedestrian slider.
本申请实施例中所描述的定位标识,具体可以是显示在运动轨迹线上的,随着第二目标视频的播放,该定位标识会移动到正在播放的视频图像帧对应的轨迹点上。The positioning mark described in the embodiment of the present application may specifically be displayed on the motion trajectory line, and as the second target video is played, the positioning mark will move to the track point corresponding to the video image frame being played.
本申请实施例中所描述的运动轨迹线和定位标识可以是以控件的形式显示 在第二目标视频的播放界面中。The motion track line and positioning mark described in the embodiment of the present application may be displayed in the playback interface of the second target video in the form of a control.
在本申请实施例中,通过运动轨迹线上的定位标识,在不需要后期进行视频编辑的情况下,即可以帮助用户直观的了解到,当前播放的视频图像帧是在运动轨迹线上的什么位置拍摄的,同时也能帮助用户了解视频的播放进度。In the embodiment of the present application, through the positioning mark on the motion trajectory line, without the need for video editing in the later stage, it can help users intuitively understand what the currently playing video image frame is on the motion trajectory line. It can also help users understand the playback progress of the video.
更具体地,本申请实施例中所描述的第一输入是用于将所述定位标识移动至所述运动轨迹线上的目标位置,从而控制第二目标视频的播放进度。该第一输入具体可以是用户拖动定位标识到目标位置的操作,也可以是用户点击轨迹线上目标位置的操作;由于定位标识始终位于运动轨迹线上,因此即使第一输入并不是完全沿着运动轨迹线进行滑动的,定位标识依然只会沿着运动轨迹线移动。More specifically, the first input described in the embodiment of the present application is used to move the positioning mark to a target position on the motion trajectory line, so as to control the playback progress of the second target video. The first input can specifically be an operation in which the user drags the positioning mark to the target position, or an operation in which the user clicks on the target position on the trajectory line; since the positioning mark is always on the motion trajectory line, even if the first input is not completely along the If you slide along the motion trajectory, the positioning mark will still only move along the motion trajectory.
本申请实施例中所描述的第一输入还可以是或者为用户输入的语音指令,或者为用户输入的特定手势,具体的可以根据实际使用需求确定,本申请实施例对此不作限定。The first input described in the embodiment of the present application may also be a voice command input by the user, or a specific gesture input by the user, which may be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。The specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double-press gesture, and a double-click gesture; The click input can be single-click input, double-click input, or any number of click inputs, etc., and can also be long-press input or short-press input.
本申请实施例中所描述的目标位置与第二合成图像帧是同时获取的,因此存在对应的关联关系,即目标位置对应的轨迹点信息与该第二合成图像帧之间存在对应的关联关系。The target position and the second composite image frame described in the embodiment of the present application are acquired at the same time, so there is a corresponding correlation, that is, there is a corresponding correlation between the track point information corresponding to the target position and the second composite image frame .
电子设备响应于该第一输入,播放所述视频播放界面中的第二合成图像帧,此时可以停止播放第二目标视频,则此时视频播放界面会一直显示第二合成图像帧,也可以从第二合成图像帧开始播放第二目标视频。In response to the first input, the electronic device plays the second synthesized image frame in the video playback interface. At this time, the playback of the second target video can be stopped, and the video playback interface will always display the second synthesized image frame at this time, or it can be Playing the second target video starts from the second synthesized image frame.
图4为本申请实施例所描述的第二目标视频的视频播放界面,如图4所示,在第二目标视频的视频播放界面41中显示有运动轨迹线32,在运动轨迹线32上,还显示有定位标识42,用户可以通过对定位标识42的位置进行调整,从而控制第二目标视频的播放进度,用户在对定位标识的位置调整到目标位置时, 电子设备会读出该目标位置对应的经纬度值,再从数据库中查询该经纬度值对应的时间点,然后将视频调整到该时间点处。Fig. 4 is the video playback interface of the second target video described in the embodiment of the present application, as shown in Fig. 4, in the video playback interface 41 of the second target video, a motion locus line 32 is displayed, and on the motion locus line 32, There is also a positioning mark 42 displayed, and the user can adjust the position of the positioning mark 42 to control the playback progress of the second target video. When the user adjusts the position of the positioning mark to the target position, the electronic device will read out the target position The corresponding longitude and latitude value, and then query the time point corresponding to the longitude and latitude value from the database, and then adjust the video to the time point.
在本申请实施例中,通过定位标识和运动轨迹线可以控制视频的播放进度,通过对定位标识的输入,可以定位到任一视频图像帧,便于用户迅速地定位到特定的视频图像帧,实现视频播放进度调整,丰富了录制视频的视频内容,提升了录制视频的趣味性。In the embodiment of the present application, the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame can be located through the input of the positioning mark, which is convenient for the user to quickly locate a specific video image frame and realize The video playback progress is adjusted, which enriches the video content of the recorded video and improves the fun of the recorded video.
可选地,所述目标对象为所述视频中的对象或者所述视频的录制者。具体地,本申请实施例中所描述的视频中的对象,可以是视频中被拍摄的对象,也可以是拍摄者进行自拍时拍摄的其自己。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 the object captured in the video, or the photographer himself when taking a selfie.
由于在运动过程中,若录制视频的电子设备设置在用户的身上时,此时录制的视频画面中可能并不会捕捉到用户,此时本申请实施例中所描述的目标对象可以是视频的录制者,即是携带或者持有电子设备的用户。Since during the exercise, if the electronic device for recording video is set on the user, the user may not be captured in the recorded video at this time, the target object described in the embodiment of the present application may be a video The recorder is the user who carries or holds the electronic device.
本申请实施例中描述了多种目标对象的可能性,提供了多种视频录制使用场景,能够满足不同的使用需求。The embodiment of the present application describes the possibility of multiple target objects, provides multiple video recording usage scenarios, and can meet different usage requirements.
需要说明的是,本申请实施例提供的视频录制方法,执行主体可以为视频录制装置,或者该视频录制装置中的用于执行视频录制方法的控制模块。本申请实施例中以视频录制装置执行视频录制方法为例,说明本申请实施例提供的视频录制装置。It should be noted that, the video recording method provided in the embodiment of the present application may be executed by a video recording device, or a control module in the video recording device for executing the video recording method. In the embodiment of the present application, the video recording device provided in the embodiment of the present application is described by taking the video recording device executing the video recording method as an example.
图5为本申请实施例提供的视频录制装置结构示意图,如图5所示,包括:获取模块510和第一显示模块520;其中,获取模块510用于在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息;其中,第一显示模块520用于在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。Fig. 5 is a schematic structural diagram of a video recording device provided in the embodiment of the present application, as shown in Fig. 5, including: an acquisition module 510 and a first display module 520; wherein, the acquisition module 510 is used to acquire the target in real time during the video recording process The motion information of the object, the motion information includes at least one of the following: position information, speed information; wherein, the first display module 520 is configured to display the target information of the target object in the video recording interface, and the target information is Generated based on the motion information.
在本申请实施例中,通过在视频录制过程中实时获取目标对象的运动信息,然后在视频的录制界面中显示由该运动信息生成的目标信息,丰富了运动视频的视频内容,无需用户对视频进行后期处理;并且用户可以从录制界面中实时了解自己的运动状态,提升了录制视频的趣味性。In the embodiment of the present application, by acquiring the motion information of the target object in real time during the video recording process, and then displaying the target information generated by the motion information in the video recording interface, the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
可选地,所述获取模块,具体用于:Optionally, the acquisition module is specifically used for:
在视频的录制过程中,按照预设时间间隔,更新所述目标对象的运动信息;During the video recording process, update 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 includes:
在视频的录制界面中更新所述目标对象的目标信息,所述目标信息的更新是根据所述运动信息的更新确定的。The target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
在本申请实施例中,在视频的录制过程中,会按照预设间隔不断更新目标对象的运动信息,能够有效保证所获取的运动信息的时效性,并且通过基于更新后的运动信息来更新录制界面中的目标信息,从而保证用户能够通过录制界面及时获取最新的运动信息。In the embodiment of the present application, during the video recording process, the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
可选地,所述装置还包括:Optionally, the device also includes:
第一生成模块,用于基于所述位置信息,生成所述目标对象的轨迹点信息;A first generation module, configured to generate track point information of the target object based on the location information;
第二生成模块,用于基于所述轨迹点信息,生成所述目标对象的运动轨迹线,所述目标信息包括所述运动轨迹线。The second generation module is configured to generate the motion trajectory of the target object based on the trajectory point information, and the target information includes the motion trajectory.
在本申请实施例中,基于位置信息生成轨迹点信息后,将各个轨迹点之间连线,从而得到目标对象的运动轨迹线,用户可以直观地通过运动轨迹线来获取目标对象在运动过程中的行进轨迹,提升了录制视频的趣味性。In the embodiment of the present application, after the track point information is generated based on the position information, a line is connected between each track point, so as to obtain the motion track line of the target object, and the user can intuitively obtain the target object during the movement process through the motion track line. The trajectory of the track improves the fun of recording videos.
可选地,在所述运动信息包括所述速度信息的情况下,所述装置还包括:Optionally, when the motion information includes the speed information, the device further includes:
第一合成模块,用于将所述速度信息、所述运动轨迹线与关联的视频图像帧进行图像合成,得到第一合成图像帧;The first synthesis module is used to perform image synthesis on the speed information, the motion trajectory and associated video image frames to obtain a first synthesized image frame;
第三生成模块,用于基于所述第一合成图像帧,生成第一目标视频。A third generating module, configured to generate a first target video based on the first synthesized image frame.
在本申请实施例中,通过将速度信息和运动轨迹线合成到其相关联的视频图像帧中,得到第一合成图像帧,最终生成的第一目标视频中即可以携带有速度信息和运动轨迹线,而在第一目标视频播放时,显示目标对象的运动信息,丰富了录制视频的内容。In the embodiment of the present application, the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
可选地,在所述运动信息包括所述速度信息的情况下,所述装置还包括:Optionally, when the motion information includes the speed information, the device further includes:
第二合成模块,用于将所述速度信息与关联的视频图像帧进行图像合成,得到第二合成图像帧;A second synthesis module, configured to perform image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
第四生成模块,用于基于所述第二合成图像帧,生成第二目标视频;A fourth generating module, configured to generate a second target video based on the second synthesized image frame;
存储模块,用于将所述运动轨迹线与所述第二目标视频进行关联存储。A storage module, configured to associate and store the motion track line and the second target video.
在本申请实施例中,在将速度信息与关联的视频图像帧进行图像合成后,将生成的第二目标视频与运动轨迹线关联存储,有利于后续视频播放过程中让用户基于运动轨迹线与第二目标视频之间的关联关系进行视频播放进度调整,用户可以通过运动轨迹线定位至不同的位置进行视频播放,且该运动轨迹线能够帮助用户了解其在视频拍摄过程中的运动轨迹,即帮助用户了解其在视频拍摄过程中的定位信息。In the embodiment of the present application, after the speed information is combined with the associated video image frame, the generated second target video is stored in association with the motion trajectory line, which is beneficial for the user to use the motion trajectory line and motion trajectory line in the subsequent video playback process. The association relationship between the second target videos is used to adjust the video playback progress. The user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
可选地,所述装置还包括:Optionally, the device also includes:
第二显示模块,用于在所述第二目标视频的视频播放界面中,显示所述运动轨迹线和定位标识;The second display module is used to display the motion track line and the positioning mark in the video playback interface of the second target video;
移动模块,用于接收用户的第一输入,所述第一输入用于将所述定位标识移动至所述运动轨迹线上的目标位置;A moving module, configured to receive a first input from a user, and the first input is used to move the positioning marker to a target position on the motion trajectory line;
播放模块,用于响应于所述第一输入,播放所述视频播放界面中的第二合成图像帧,所述第二合成图像帧是该目标位置关联的图像帧。The playing module is configured to play the second composite image frame in the video playback interface in response to the first input, and the second composite image frame is an image frame associated with the target position.
在本申请实施例中,通过定位标识和运动轨迹线可以控制视频的播放进度,通过对定位标识的输入,可以定位到录制过程中的任一视频图像帧,便于用户迅速地定位到特定的视频图像帧,实现视频播放进度调整,丰富了录制视频的视频内容,提升了录制视频的趣味性。In the embodiment of this application, the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame in the recording process can be located by inputting the positioning mark, so that the user can quickly locate a specific video The image frame realizes the adjustment of the video playback progress, enriches the video content of the recorded video, and improves the fun of the recorded video.
可选地,所述目标对象为所述视频中的对象或者所述视频的录制者。Optionally, the target object is an object in the video or a recorder of the video.
本申请实施例中描述了多种目标对象的可能性,提供了多种视频录制使用场景,能够满足不同的使用需求。The embodiment of the present application describes the possibility of multiple target objects, provides multiple video recording usage scenarios, and can meet different usage requirements.
本申请实施例中的视频录制装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非 移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video recording device in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的视频录制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video recording device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的视频录制装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The video recording device provided in the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
可选地,图6为本申请实施例提供的电子设备结构示意图,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在所述处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, FIG. 6 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. The program or instruction that can run on the processor 601, when the program or instruction is executed by the processor 601, realizes the various processes of the above-mentioned video recording method embodiment, and can achieve the same technical effect, in order to avoid repetition, it is not repeated here repeat.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备7000包括但不限于:射频单元7001、网络模块7002、音频输出单元7003、输入单元7004、传感器7005、显示单元7006、用户输入单元7007、接口单元7008、存储器7009、以及处理器7010等部件。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, and a processor 7010, etc. part.
本领域技术人员可以理解,电子设备7000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器7010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 7000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 7010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,传感器7005用于在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息;Wherein, the sensor 7005 is used to obtain the motion information of the target object in real time during the video recording process, and the motion information includes at least one of the following: position information, speed information;
显示单元7006用于在视频的录制界面中显示所述目标对象的目标信息,所 述目标信息是根据所述运动信息生成的。The display unit 7006 is configured to display the target information of the target object in the video recording interface, the target information is generated according to the motion information.
在本申请实施例中,通过在视频录制过程中实时获取目标对象的运动信息,然后在视频的录制界面中显示由该运动信息生成的目标信息,丰富了运动视频的视频内容,无需用户对视频进行后期处理;并且用户可以从录制界面中实时了解自己的运动状态,提升了录制视频的趣味性。In the embodiment of the present application, by acquiring the motion information of the target object in real time during the video recording process, and then displaying the target information generated by the motion information in the video recording interface, the video content of the motion video is enriched without requiring the user to modify the video Perform post-processing; and users can know their own motion status in real time from the recording interface, which improves the fun of recording videos.
可选地,处理器7010用于在视频的录制过程中,按照预设时间间隔,更新所述目标对象的运动信息;Optionally, the processor 7010 is configured to update the motion information of the target object according to a preset time interval during video recording;
所述处理器7010还用于控制所述显示单元7006在视频的录制界面中更新所述目标对象的目标信息,所述目标信息的更新是根据所述运动信息的更新确定的。The processor 7010 is further configured to control the display unit 7006 to update the target information of the target object in the video recording interface, where the update of the target information is determined according to the update of the motion information.
在本申请实施例中,在视频的录制过程中,会按照预设间隔不断更新目标对象的运动信息,能够有效保证所获取的运动信息的时效性,并且通过基于更新后的运动信息来更新录制界面中的目标信息,从而保证用户能够通过录制界面及时获取最新的运动信息。In this embodiment of the application, during the video recording process, the motion information of the target object will be continuously updated according to the preset interval, which can effectively ensure the timeliness of the acquired motion information, and update the recording based on the updated motion information Target information in the interface, so as to ensure that users can obtain the latest sports information in time through the recording interface.
可选地,处理器7010用于基于所述位置信息,生成所述目标对象的轨迹点信息;Optionally, the processor 7010 is configured to generate track point information of the target object based on the position information;
处理器7010用于基于所述轨迹点信息,生成所述目标对象的运动轨迹线,所述目标信息包括所述运动轨迹线。The processor 7010 is configured to generate a motion trajectory of the target object based on the trajectory point information, where the target information includes the motion trajectory.
在本申请实施例中,基于位置信息生成轨迹点信息后,将各个轨迹点之间连线,从而得到目标对象的运动轨迹线,用户可以直观的通过运动轨迹线来掌握目标对象在运动过程中的行进轨迹,提升了录制视频的趣味性。In the embodiment of the present application, after the track point information is generated based on the position information, a line is connected between each track point to obtain the motion track line of the target object, and the user can intuitively grasp the target object during the movement process through the motion track line The trajectory of the track improves the fun of recording videos.
可选地,处理器7010用于将所述速度信息、所述运动轨迹线与关联的视频图像帧进行图像合成,得到第一合成图像帧;Optionally, the processor 7010 is configured to perform image synthesis on the speed information, the motion trajectory and associated video image frames to obtain a first synthesized image frame;
所述处理器7010还用于基于所述第一合成图像帧,生成第一目标视频。The processor 7010 is further configured to generate a first target video based on the first synthesized image frame.
在本申请实施例中,通过将速度信息和运动轨迹线合成到其相关联的视频图像帧中,得到第一合成图像帧,最终生成的第一目标视频中即可以携带有速度信息和运动轨迹线,而在第一目标视频的播放时,显示目标对象的运动信息, 丰富了录制视频的内容。In the embodiment of the present application, the first synthesized image frame is obtained by synthesizing the speed information and motion trajectory into its associated video image frame, and the final generated first target video can carry the speed information and motion trajectory line, and when the first target video is played, the motion information of the target object is displayed, which enriches the content of the recorded video.
可选地,所述处理器7010用于将所述速度信息与关联的视频图像帧进行图像合成,得到第二合成图像帧;Optionally, the processor 7010 is configured to perform image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
所述处理器7010还用于基于所述第二合成图像帧,生成第二目标视频;The processor 7010 is further configured to generate a second target video based on the second synthesized image frame;
所述处理器7010还用于将所述运动轨迹线与所述第二目标视频进行关联存储。The processor 7010 is further configured to associate and store the motion trajectory and the second target video.
在本申请实施例中,在将速度信息与关联的视频图像帧进行图像合成后,将生成的第二目标视频与运动轨迹线关联存储,有利于后续视频播放过程中让用户基于运动轨迹线与第二目标视频之间的关联关系进行视频播放进度调整,用户可以通过运动轨迹线定位至不同的位置进行视频播放,且该运动轨迹线能够帮助用户了解其在视频拍摄过程中的运动轨迹,即帮助用户了解其在视频拍摄过程中的定位信息。In the embodiment of the present application, after the speed information is combined with the associated video image frame, the generated second target video is stored in association with the motion trajectory line, which is beneficial for the user to use the motion trajectory line and motion trajectory line in the subsequent video playback process. The association relationship between the second target videos is used to adjust the video playback progress. The user can locate to different positions for video playback through the motion trajectory line, and the motion trajectory line can help the user understand its motion trajectory during the video shooting process, namely Help users understand their location information during video shooting.
可选地,所述显示单元7006用于在所述第二目标视频的视频播放界面中,显示所述运动轨迹线和定位标识;Optionally, the display unit 7006 is configured to display the motion track line and the positioning mark in the video playback interface of the second target video;
所述用户输入单元7007用于接收用户的第一输入,所述第一输入用于将所述定位标识移动至所述运动轨迹线上的目标位置;The user input unit 7007 is configured to receive a first input from a user, and the first input is used to move the positioning mark to a target position on the motion trajectory line;
所述显示单元7006用于响应于所述第一输入,播放所述视频播放界面中的第二合成图像帧,所述第二合成图像帧是所述目标位置对应的图像帧。The display unit 7006 is configured to play a second synthesized image frame in the video playback interface in response to the first input, where the second synthesized image frame is an image frame corresponding to the target position.
在本申请实施例中,通过定位标识和运动轨迹线可以控制视频的播放进度,通过对定位标识的输入,可以定位到录制过程中的任一视频图像帧,便于用户迅速地定位到特定的视频图像帧,实现视频播放进度调整,丰富了录制视频的视频内容,提升了录制视频的趣味性。In the embodiment of this application, the playback progress of the video can be controlled through the positioning mark and the motion trajectory line, and any video image frame in the recording process can be located by inputting the positioning mark, so that the user can quickly locate a specific video The image frame realizes the adjustment of the video playback progress, enriches the video content of the recorded video, and improves the fun of the recorded video.
应理解的是,本申请实施例中,输入单元7004可以包括图形处理器(Graphics Processing Unit,GPU)70041和麦克风70042,图形处理器70041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元7006可包括显示面板70061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板70061。用户输入单 元7007包括触控面板70071以及其他输入设备70072。触控面板70071,也称为触摸屏。触控面板70071可包括触摸检测装置和触摸控制器两个部分。其他输入设备70072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器7009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器7010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器7010中。It should be understood that, in this embodiment of the present application, the input unit 7004 may include a graphics processor (Graphics Processing Unit, GPU) 70041 and a microphone 70042, and the graphics processor 70041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. 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. Touch panel 70071, also known as touch screen. The touch panel 70071 can include two parts: a touch detection device and a touch controller. Other input devices 70072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 7009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 7010 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 7010 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned video recording method embodiment is realized, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above video recording method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方 式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (17)

  1. 一种视频录制方法,包括:A video recording method, comprising:
    在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息;During the video recording process, the motion information of the target object is acquired in real time, and the motion information includes at least one of the following: position information, speed information;
    在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。The target information of the target object is displayed in the video recording interface, the target information is generated according to the motion information.
  2. 根据权利要求1所述的视频录制方法,其中,所述在视频的录制过程中,实时获取目标对象的运动信息,包括:The video recording method according to claim 1, wherein said acquiring the motion information of the target object in real time during the video recording process comprises:
    在视频的录制过程中,按照预设时间间隔,更新所述目标对象的运动信息;During the video recording process, update 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 includes:
    在视频的录制界面中更新所述目标对象的目标信息,所述目标信息的更新是根据所述运动信息的更新确定的。The target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
  3. 根据权利要求1所述的视频录制方法,其中,在所述运动信息包括所述位置信息的情况下,所述实时获取目标对象的运动信息之后,还包括:The video recording method according to claim 1, wherein, in the case where the motion information includes the position information, after the real-time acquisition of the motion information of the target object, further comprising:
    基于所述位置信息,生成所述目标对象的轨迹点信息;generating track point information of the target object based on the position information;
    基于所述轨迹点信息,生成所述目标对象的运动轨迹线,所述目标信息包括所述运动轨迹线。Based on the track point information, a motion track line of the target object is generated, and the target information includes the motion track line.
  4. 根据权利要求3所述的视频录制方法,其中,在所述运动信息包括所述速度信息的情况下,所述生成所述目标对象的运动轨迹线之后,还包括:The video recording method according to claim 3, wherein, when the motion information includes the speed information, after generating the motion trajectory of the target object, further comprising:
    将所述速度信息、所述运动轨迹线与关联的视频图像帧进行图像合成,得到第一合成图像帧;performing image synthesis on the speed information, the motion trajectory line and associated video image frames to obtain a first synthesized image frame;
    基于所述第一合成图像帧,生成第一目标视频。Based on the first synthesized image frame, a first target video is generated.
  5. 根据权利要求3所述的视频录制方法,其中,在所述运动信息包括所述速度信息的情况下,所述生成所述目标对象的运动轨迹线之后,还包括:The video recording method according to claim 3, wherein, when the motion information includes the speed information, after generating the motion trajectory of the target object, further comprising:
    将所述速度信息与关联的视频图像帧进行图像合成,得到第二合成图像帧;performing image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
    基于所述第二合成图像帧,生成第二目标视频;generating a second target video based on the second synthesized image frame;
    将所述运动轨迹线与所述第二目标视频进行关联存储。and storing the motion track line in association with the second target video.
  6. 根据权利要求5所述的视频录制方法,其中,所述将所述运动轨迹线与所述第二目标视频进行关联存储之后,还包括:The video recording method according to claim 5, wherein, after associating and storing the motion trajectory line and the second target video, further comprising:
    在所述第二目标视频的视频播放界面中,显示所述运动轨迹线和定位标识;In the video playback interface of the second target video, displaying the motion track line and the positioning mark;
    接收用户的第一输入,所述第一输入用于将所述定位标识移动至所述运动轨迹线上的目标位置;receiving a first input from a user, the first input being used to move the positioning marker to a target position on the motion trajectory line;
    响应于所述第一输入,播放所述视频播放界面中的第二合成图像帧,所述第二合成图像帧是所述目标位置对应的图像帧。In response to the first input, play a second synthesized image frame in the video playback interface, where the second synthesized image frame is an image frame corresponding to the target position.
  7. 根据权利要求1所述的视频录制方法,其中,所述目标对象为所述视频中的对象或者所述视频的录制者。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 device comprising:
    获取模块,用于在视频的录制过程中,实时获取目标对象的运动信息,所述运动信息包括以下至少一项:位置信息、速度信息;The acquisition module is used to acquire the motion information of the target object in real time during the video recording process, the motion information includes at least one of the following: position information, speed information;
    第一显示模块,用于在视频的录制界面中显示所述目标对象的目标信息,所述目标信息是根据所述运动信息生成的。The first display module is configured to display target information of the target object in a video recording interface, where the target information is generated according to the motion information.
  9. 根据权利要求8所述的视频录制装置,其中,所述获取模块,具体用于:The video recording device according to claim 8, wherein the acquiring module is specifically used for:
    在视频的录制过程中,按照预设时间间隔,更新所述目标对象的运动信息;During the video recording process, update 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 includes:
    在视频的录制界面中更新所述目标对象的目标信息,所述目标信息的更新是根据所述运动信息的更新确定的。The target information of the target object is updated in the video recording interface, and the update of the target information is determined according to the update of the motion information.
  10. 根据权利要求8所述的视频录制装置,其中,所述装置还包括:The video recording device according to claim 8, wherein said device further comprises:
    第一生成模块,用于基于所述位置信息,生成所述目标对象的轨迹点信息;A first generation module, configured to generate track point information of the target object based on the location information;
    第二生成模块,用于基于所述轨迹点信息,生成所述目标对象的运动轨迹线,所述目标信息包括所述运动轨迹线。The second generation module is configured to generate the motion trajectory of the target object based on the trajectory point information, and the target information includes the motion trajectory.
  11. 根据权利要求10所述的视频录制装置,其中,在所述运动信息包括所述速度信息的情况下,所述装置还包括:The video recording apparatus of claim 10, wherein, where the motion information includes the velocity information, the apparatus further comprises:
    第一合成模块,用于将所述速度信息、所述运动轨迹线与关联的视频图像 帧进行图像合成,得到第一合成图像帧;The first synthesizing module is used to carry out image synthesizing with described speed information, described motion locus line and associated video image frame, obtains the first synthesizing image frame;
    第三生成模块,用于基于所述第一合成图像帧,生成第一目标视频。A third generating module, configured to generate a first target video based on the first synthesized image frame.
  12. 根据权利要求10所述的视频录制装置,其中,在所述运动信息包括所述速度信息的情况下,所述装置还包括:The video recording apparatus of claim 10, wherein, where the motion information includes the velocity information, the apparatus further comprises:
    第二合成模块,用于将所述速度信息与关联的视频图像帧进行图像合成,得到第二合成图像帧;A second synthesis module, configured to perform image synthesis on the speed information and associated video image frames to obtain a second synthesized image frame;
    第四生成模块,用于基于所述第二合成图像帧,生成第二目标视频;A fourth generating module, configured to generate a second target video based on the second synthesized image frame;
    存储模块,用于将所述运动轨迹线与所述第二目标视频进行关联存储。A storage module, configured to associate and store the motion track line and the second target video.
  13. 根据权利要求12所述的视频录制装置,其中,所述装置还包括:The video recording device according to claim 12, wherein said device further comprises:
    第二显示模块,用于在所述第二目标视频的视频播放界面中,显示所述运动轨迹线和定位标识;The second display module is used to display the motion track line and the positioning mark in the video playback interface of the second target video;
    移动模块,用于接收用户的第一输入,所述第一输入用于将所述定位标识移动至所述运动轨迹线上的目标位置;A moving module, configured to receive a first input from a user, and the first input is used to move the positioning marker to a target position on the motion trajectory line;
    播放模块,用于响应于所述第一输入,播放所述视频播放界面中的第二合成图像帧,所述第二合成图像帧是该目标位置关联的图像帧。The playing module is configured to play the second composite image frame in the video playback interface in response to the first input, and the second composite image frame is an image frame associated with the target position.
  14. 根据权利要求8所述的视频录制装置,其中,所述目标对象为所述视频中的对象或者所述视频的录制者。The video recording device according to claim 8, wherein the target object is an object in the video or a recorder of the video.
  15. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的视频录制方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-7 are implemented The step of the video recording method described in any one.
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的视频录制方法的步骤。A readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the video recording method according to any one of claims 1-7 are realized.
  17. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-7任一项所述的视频录制方法的步骤。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the video recording according to any one of claims 1-7 method steps.
PCT/CN2022/121258 2021-09-29 2022-09-26 Video recording method and apparatus, electronic device, and storage medium WO2023051441A1 (en)

Applications Claiming Priority (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
CN202111154953.X 2021-09-29

Publications (1)

Publication Number Publication Date
WO2023051441A1 true WO2023051441A1 (en) 2023-04-06

Family

ID=79000716

Family Applications (1)

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

Country Status (2)

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

Families Citing this family (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012134700A (en) * 2010-12-21 2012-07-12 Nippon Telegr & Teleph Corp <Ntt> Trajectory/location history data creation apparatus, moving image display apparatus, moving image object search system, and method and program thereof
CN107861992A (en) * 2017-10-18 2018-03-30 北京卡路里信息技术有限公司 A kind of running route processing method and apparatus
CN109102530A (en) * 2018-08-21 2018-12-28 北京字节跳动网络技术有限公司 Motion profile method for drafting, device, equipment and storage medium
WO2019189393A1 (en) * 2018-03-29 2019-10-03 Ricoh Company, Ltd. Image control apparatus, display apparatus, movable body, and image control method
CN113873100A (en) * 2021-09-29 2021-12-31 维沃移动通信有限公司 Video recording method, video recording device, electronic equipment and storage medium

Family Cites Families (7)

* 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
CN101726292B (en) * 2008-10-20 2012-03-28 上海海事大学 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
CN105827946B (en) * 2015-11-26 2019-02-22 东莞市步步高通信软件有限公司 A kind of generation of panoramic picture and playback method and mobile terminal
CN111083354A (en) * 2019-11-27 2020-04-28 维沃移动通信有限公司 Video recording method and electronic equipment
CN112367486B (en) * 2020-10-30 2023-03-28 维沃移动通信有限公司 Video processing method and device
CN113038017A (en) * 2021-03-24 2021-06-25 重庆中科云从科技有限公司 Image acquisition method, image acquisition device and computer-readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012134700A (en) * 2010-12-21 2012-07-12 Nippon Telegr & Teleph Corp <Ntt> Trajectory/location history data creation apparatus, moving image display apparatus, moving image object search system, and method and program thereof
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
CN109102530A (en) * 2018-08-21 2018-12-28 北京字节跳动网络技术有限公司 Motion profile method for drafting, device, equipment and storage medium
CN113873100A (en) * 2021-09-29 2021-12-31 维沃移动通信有限公司 Video recording method, video recording device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113873100A (en) 2021-12-31
CN113873100B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
WO2023051441A1 (en) Video recording method and apparatus, electronic device, and storage medium
CN111726536B (en) Video generation method, device, storage medium and computer equipment
WO2021135655A1 (en) Method and device for generating multimedia resources
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
US9569898B2 (en) Wearable display system that displays a guide for a user performing a workout
US9364747B2 (en) 3D sports playbook
CN112639691A (en) Video clip object tracking
WO2021135678A1 (en) Editing template generating method and apparatus, electronic device, and storage medium
EP3353644A1 (en) Image retrieval for computing devices
JP6493471B2 (en) Video playback method, computer processing system, and video playback program
CN106980370A (en) Wearable intelligent glasses with interaction more
WO2023174223A1 (en) Video recording method and apparatus, and electronic device
CN112954199A (en) Video recording method and device
JP2022140458A (en) Information processing device, information processing method, and program
CN109460556A (en) A kind of interpretation method and device
CN113905175A (en) Video generation method and device, electronic equipment and readable storage medium
WO2023151527A1 (en) Image photographing method and apparatus
WO2023125253A1 (en) Video playback method and apparatus, and electronic device
WO2022257844A1 (en) Travel note generation method and apparatus
CN113377271A (en) Text acquisition method and device, computer equipment and medium
CN113873165A (en) Photographing method and device and electronic equipment
CN107430417A (en) For detecting the method and system of linear slip gesture using accelerometer
CN112887622B (en) Shooting method, shooting device, shooting equipment and storage medium
TWI762830B (en) System for displaying hint in augmented reality to play continuing film and method thereof
TW201740346A (en) Corresponding method and system in between panorama image and message on Internet platform which is viewed at a viewing angle and operated in a cloud server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22874827

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE