WO2025223325A1 - Video recording method and apparatus, and electronic device and storage medium - Google Patents
Video recording method and apparatus, and electronic device and storage mediumInfo
- Publication number
- WO2025223325A1 WO2025223325A1 PCT/CN2025/089886 CN2025089886W WO2025223325A1 WO 2025223325 A1 WO2025223325 A1 WO 2025223325A1 CN 2025089886 W CN2025089886 W CN 2025089886W WO 2025223325 A1 WO2025223325 A1 WO 2025223325A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- video
- electronic device
- navigation route
- input
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/265—Mixing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/91—Television signal processing therefor
Definitions
- This application belongs to the field of photography technology, specifically relating to a video recording method, apparatus, electronic device, and storage medium.
- a first electronic device can send a recorded travel video to a second electronic device, allowing the user of the second device to view the various attractions featured in the video.
- the second electronic device After the second electronic device receives the travel video sent by the first electronic device, if the user of the second electronic device wants to know the travel routes between the attractions in the travel video, the user of the first electronic device needs to manually edit a travel route text and share it with the user of the second electronic device.
- the travel route text will record detailed route information between the attractions.
- the above method requires users of the first electronic device to manually edit the travel route information between various attractions, making the entire travel route sharing process cumbersome and time-consuming.
- the efficiency of electronic devices in acquiring travel routes is relatively poor.
- the purpose of this application is to provide a video recording method, apparatus, electronic device, and storage medium that can improve the efficiency of electronic devices in obtaining travel routes.
- embodiments of this application provide a video recording method applied to a first electronic device.
- the navigation route determination method includes: displaying a video recording interface; receiving a first input to the video recording interface; and, in response to the first input, recording a video to obtain a video file of a first video.
- the video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
- inventions of this application provide a video recording device applied to a first electronic device.
- the video recording device includes a display module, a receiving module, and a processing module.
- the display module displays a video recording interface.
- the receiving module receives a first input to the video recording interface.
- the processing module in response to the first input received by the receiving module, records video to obtain a video file of the first video.
- the video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device at the time of recording the first video.
- embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.
- embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
- embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
- embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
- the electronic device can display a video recording interface; receive a first input to the video recording interface; and, in response to the first input, record a video to obtain a video file of the first video.
- the video file of the first video includes first navigation route information, and the first navigation route indicated by the first navigation route information matches the location information of the first electronic device at the time of recording the first video.
- the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
- Figure 1 is a flowchart of a video recording method provided in an embodiment of this application.
- Figure 2A is one of the schematic diagrams of a video recording interface provided in an embodiment of this application.
- Figure 2B is a second example of a video recording interface provided in an embodiment of this application.
- Figure 3A is a third example of a video recording interface provided in an embodiment of this application.
- Figure 3B is a fourth example of a video recording interface provided in an embodiment of this application.
- Figure 4A is a fifth example of a video recording interface provided in an embodiment of this application.
- Figure 4B is a sixth example of a video recording interface provided in an embodiment of this application.
- Figure 5A is a seventh example of a video recording interface provided in an embodiment of this application.
- Figure 5B is an eighth example of a video recording interface provided in an embodiment of this application.
- Figure 6A is one of the schematic diagrams of an example video display interface provided in an embodiment of this application.
- Figure 6B is a second example of a video display interface provided in an embodiment of this application.
- Figure 7 is a schematic diagram of a video recording device provided in an embodiment of this application.
- Figure 8 is one of the hardware structure diagrams of an electronic device provided in an embodiment of this application.
- Figure 9 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
- first,” “second,” etc. used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first,” “second,” etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more.
- “and/or” indicates at least one of the connected objects, and the character “/” generally indicates that the preceding and following objects are in an “or” relationship.
- At least one refers to any one, any two, or a combination of two or more of the included items.
- at least one of a, b, and c can mean: “a,” “b,” “c,” “a and b,” “a and c,” “b and c,” and “a, b, and c,” where a, b, and c can be single or multiple.
- at least two refers to two or more items, and its meaning is similar to that of "at least one.”
- the video recording method, apparatus, electronic device, and storage medium provided in this application embodiment can be applied in scenarios of sharing or generating navigation routes.
- the first electronic device can add a location marker to the video, allowing users to view the filming location.
- the travel video recorded by the first electronic device only records one geographical location.
- the first electronic device sends this video containing geographical location information to the second electronic device, because the video only records one geographical location, it cannot accurately reflect the filmer's movement trajectory. Therefore, if the user of the second electronic device wants to know the travel routes between the various attractions in the video, they can obtain the routes through the following two methods.
- Method 1 Users of the second electronic device need to input the attraction information from the travel video into the map application to obtain travel routes between the attractions.
- Method 2 The user of the second electronic device can request the travel routes between the attractions from the user of the first electronic device. Then, the user of the first electronic device can manually edit a travel route text and share it with the user of the second electronic device.
- the travel route text will record detailed route information between the attractions.
- the user of the second electronic device needs to use a map application to find the travel routes between the attractions in the travel video in order to know the travel routes between the attractions in the travel video.
- the whole process is cumbersome and time-consuming.
- the travel routes between the attractions in the travel video found by the second electronic device through the map application may not be consistent with the travel routes in the travel video shot by the first electronic device.
- the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing; moreover, it is not necessary to search for the tourist routes between various attractions in the tourist video through a map application, thus improving the efficiency of the electronic device in obtaining tourist routes.
- the video recording method provided in this application can be executed by a video recording device, which can be an electronic device or a functional module within an electronic device.
- a video recording device which can be an electronic device or a functional module within an electronic device.
- the following description uses an electronic device as an example to illustrate the technical solution provided in this application.
- FIG. 1 shows a flowchart of a video recording method provided by this application, which can be applied to a first electronic device. As shown in Figure 1, the video recording method provided by this application may include the following steps 201 to 203.
- Step 201 The first electronic device displays the video recording interface.
- the video recording interface includes video recording controls.
- the first electronic device may display a video recording interface based on the user's input to the camera application.
- Step 202 The first electronic device receives the first input to the video recording interface.
- the first input can be an input to a video recording control.
- the first input is used to determine the video recording control from the video recording interface.
- the first input can be a user's click input, long press input, preset trajectory input, or swipe input on the video recording interface; or a combination of physical controls, such as volume buttons and power buttons; or voice input.
- Step 203 The first electronic device responds to the first input and records video to obtain a video file of the first video.
- the video file of the first video includes first navigation route information, and the first navigation route indicated by the navigation route information matches the location information of the first electronic device when the first video was recorded.
- the first electronic device responds to the first input and can collect N video frames to record video, thereby obtaining the first video.
- the aforementioned first navigation route information may be stored in the extended field of the video file of the first video.
- the first navigation route information can be obtained by the first electronic device when acquiring each video frame in N video frames.
- the first electronic device can display an import control on the video recording interface. If the user needs to obtain navigation route information that matches the first video after recording during the video recording process, the user can click the import control so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.
- the first electronic device can display an import control 11 on the video recording interface 10. If the user needs to obtain first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process, the user can click the import control 11, as shown in Figure 2B, so that the electronic device can display a new route identifier 13 and an import route identifier 14 in the pop-up window 12. Then, the user can click to generate a new route identifier 13, so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.
- the aforementioned first navigation route information may be sent from the second electronic device to the first electronic device.
- step 201 can be implemented by step 201a, and the "first electronic device responds to the first input and records video" in step 203 can be implemented by step 203a.
- Step 201a The first electronic device displays the map interface in the video recording interface.
- the first electronic device may display a map boundary via a pop-up window in the video recording interface.
- the first electronic device may display a map interface in a blank area of the video recording interface.
- the first electronic device may display a map interface in a preset area of the video recording interface.
- the first electronic device may display a map interface in the upper left or upper right corner of the video recording interface.
- the user can click and input the map control 17 on the video recording interface 10 of the first electronic device, as shown in Figure 3B, so that the first electronic device can display the map interface 18 in the upper right corner of the video recording interface 10 through a pop-up window.
- Step 203a The first electronic device responds to the first input, acquires the first position information of the electronic device when the first video frame is acquired, and updates the route trajectory in the map interface based on the first position information and the position markers displayed in the map interface.
- the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device collects at least one second video frame, and the at least one second video frame is a video frame collected by the electronic device before the first video frame is collected.
- the first video frame mentioned above is any video frame in the first video.
- the aforementioned first location information includes longitude and latitude.
- the above-mentioned updated route trajectory can be obtained by adding a location marker corresponding to the first location information to the map interface based on the location markers displayed in the map interface, and connecting the location markers corresponding to the first location information added in the map interface with the location markers already displayed in the map interface, thereby obtaining the updated route trajectory, and displaying the updated route trajectory in the map interface.
- the first electronic device when the navigation route information is sent by the second electronic device, the first electronic device can display the navigation route corresponding to the navigation route information in the map interface.
- the first electronic device can add the current location information to the navigation route information and obtain new navigation route information.
- the electronic device can display a video recording interface; receive a first input to the video recording interface; respond to the first input, record a video, obtain a video file of the first video, and store navigation route information in the video file of the first video, wherein the first navigation route indicated by the navigation route information matches the video content of the first video.
- the electronic device can import navigation route information into the video file of the first video, the first electronic device can directly obtain the navigation route corresponding to the navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
- the video recording method provided in this embodiment of the application further includes the following steps 301 and 302.
- Step 301 In response to the first input, the first electronic device acquires the position information of the first electronic device when capturing each video frame during the video recording process.
- the first electronic device when the first electronic device acquires each video frame, it can acquire the longitude and latitude of the location of the electronic device through the positioning hardware in the first electronic device, thereby obtaining the location information of the first electronic device when acquiring each video frame.
- a video frame can correspond to a single location.
- the video recording interface further includes a first control.
- the first electronic device can obtain the position information of the first electronic device when capturing each video frame based on the user's click input on the first control.
- the first electronic device displays a video recording interface 10, which includes a first control 19. If the user requires the first electronic device to obtain location information in real time during the video recording process, the user can click on the first control 19 to enable the first electronic device to obtain location information. Then, as shown in FIG4B, the user can click on the video recording control 20 in the video recording interface 10 to enable the first electronic device to obtain the location information of the first electronic device when capturing each video frame during the video recording process.
- Step 302 The first electronic device generates navigation route information according to the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame.
- the first electronic device after obtaining the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame, the first electronic device can associate and store the acquisition time of each video frame with the location information of the first electronic device corresponding to each video frame. In this way, according to the order of acquisition time of each video frame after association and storage, the order of the location information of the first electronic device corresponding to each video frame is determined, thereby generating navigation route information.
- the first electronic device can obtain its location information when acquiring each video frame, thereby generating navigation route information based on the acquisition time of each video frame and the location information corresponding to each video frame. This eliminates the need for manual searching by the user and improves the efficiency of the first electronic device in generating navigation route information.
- the video recording method provided in this embodiment of the application further includes steps 401 to 403 as described below.
- Step 401 The first electronic device receives the second input.
- the second input is used to determine the import control from the video recording interface.
- the second input can be user input via clicking, long-pressing, preset trajectory input, or swiping on the imported control.
- the specific input can be determined based on actual usage, and this embodiment does not impose any limitations.
- Step 402 The first electronic device responds to the second input and acquires the video file of the second video.
- the second video is sent by a second electronic device or stored in a first electronic device.
- the second video includes second navigation route information.
- the second video file may be the first video file or other video files besides the first video file.
- the first electronic device can receive video files sent by the second electronic device in a chat interface.
- the first electronic device may store the second video in a photo album application after receiving the video file sent by the second electronic device.
- Step 402 The first electronic device extracts the second navigation route information from the video file of the second video.
- the second navigation route information can be the first navigation route information.
- the navigation route included in the second navigation route information may be partially the same as or completely different from the navigation route included in the first navigation route information.
- the first electronic device can obtain the second navigation route information from the extended field of the video file of the second video, and then generate the second navigation route corresponding to the second navigation route information based on the second navigation route information.
- the first electronic device after the first electronic device extracts the second navigation route information from the video file of the second video, the first electronic device can display the navigation route corresponding to the second navigation route information through a map application.
- the first electronic device after the first electronic device displays the navigation route corresponding to the second navigation route information, the first electronic device can edit the navigation route corresponding to the second navigation route information in a map application to obtain the edited navigation route.
- the first electronic device can extract navigation route information from the video file of the second video, so that the first electronic device can directly navigate according to the extracted navigation route information. This simplifies the process of the first electronic device obtaining navigation routes and improves the efficiency of the first electronic device in obtaining navigation routes.
- the video recording method provided in this embodiment of the application further includes the following steps 501 and 502.
- Step 501 During the video recording process, the first electronic device displays route guidance information in the second navigation route information that matches the location information of the first electronic device in the video recording interface.
- the electronic device can display route guidance information that matches the location information of the first electronic device in the map interface of the video recording interface, which is part of the second navigation route information.
- the route guidance information includes at least one of the following: direction guidance identifier and route guidance message.
- the aforementioned directional signs include any of the following: east directional signs, west directional signs, south directional signs, north directional signs, northeast directional signs, southeast directional signs, etc.
- the specific type can be determined based on actual usage, and this application embodiment does not impose any limitations.
- the first electronic device can obtain the geographical location in real time, compare it with the navigation route information in the second navigation route information, and then display the route guidance information in the second navigation route information that matches the location information of the first electronic device in the map interface of the video recording interface.
- the user can click the import control so that the electronic device can display the second navigation route corresponding to the second navigation route information during video recording.
- the first electronic device can display the navigation route corresponding to the second navigation route information through a map interface in the video recording interface.
- the first electronic device can display the location identifier of the first electronic device in the map interface in real time based on the location of the first electronic device, and generate real-time arrow guidance navigation according to the imported second navigation route.
- the user can click to input the import route identifier 14, as shown in Figure 5B, so that the first electronic device can display the second navigation route information in the video recording interface of the first electronic device through the map interface 15, so that the first electronic device can display the second navigation route 16 corresponding to the second navigation route information during the video recording process.
- Step 502 The first electronic device captures a third video based on the route guidance information.
- the third video includes third navigation route information.
- the aforementioned third route information is matched with the location information of the first electronic device when recording the third video.
- the aforementioned third navigation route information may be the second navigation route.
- the navigation route included in the third navigation route information may be partially the same as or completely different from the navigation route included in the second navigation route information.
- the first electronic device obtains the third navigation route information based on the first user's walking route.
- the second navigation route information obtained by the first electronic device includes four navigation points: A, B, C, and D.
- the navigation route corresponding to this second navigation route information is A to B, B to C, and C to D.
- the first electronic device can determine that the updated navigation route information corresponds to the navigation route A to B, B to C, C to E, and E to D, thus obtaining the third navigation route.
- the first electronic device can be guided by a second navigation route.
- a first user of the first electronic device determines a travel route, they can directly follow the navigation guidance without needing to use a navigation application. This improves the convenience of navigation for the first electronic device.
- the video recording method provided in this embodiment of the application further includes the following steps 601 and 602.
- Step 601 The first electronic device receives a third input to the first video.
- the third input is used to determine the first video.
- the third input can be the user's input of the first video in the photo album application.
- the third input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc.
- the specific input can be determined according to actual usage, and this embodiment does not impose any limitations.
- Step 602 In response to the third input, the first electronic device displays a navigation image of the first navigation route in the first display area and displays the first video in the second display area.
- the first display area can be a part of the video playback interface
- the second display area can be another part of the video playback interface
- the first electronic device can display a navigation image of the first navigation route overlaid on the video playback interface via a pop-up window.
- the first screen of the foldable electronic device can be a first display area
- the second screen of the foldable electronic device can be a second display area
- the first screen may be the left or top screen of the foldable electronic device, and the second screen may be the right or bottom screen of the foldable electronic device; or, the first screen may be the right or bottom screen of the foldable electronic device, and the second screen may be the left or top screen of the foldable electronic device.
- the first electronic device may display a first video on the left screen and a navigation image of a first navigation route on the right screen.
- the first display area can be a part of the album interface
- the second display area can be another part of the album interface
- the first electronic device may display a first video in the upper half of the album interface and a navigation image of a first navigation route in the lower half of the album interface.
- the user can swipe up to input the video icon of the first video, as shown in Figure 6B, so that the first electronic device can display the video icon of the first video in the first display area 22 of the album interface 21, and display the navigation image of the first navigation route in the second display area 23 of the album interface 21.
- the first electronic device can display the first video and the navigation image of the first navigation route corresponding to the first video in different display areas, so that the first electronic device can quickly display the navigation image of the first navigation route corresponding to the first video, thereby improving the efficiency of the first electronic device in displaying the navigation image of the first navigation route corresponding to the first video.
- the video recording method provided in this embodiment of the application further includes the following steps 701 and 702.
- Step 701 The first electronic device receives the fourth input to the first video.
- the fourth input is used to determine the first video.
- the fourth input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc.
- the specific input can be determined according to actual usage, and this embodiment does not impose any limitations.
- Step 702 In response to the fourth input mentioned above, the first electronic device sends the video file of the first video to the second electronic device.
- the first video carries first navigation route information.
- the first electronic device can share the video file of the first video with the second electronic device through the fourth input, so that the user of the second electronic device can directly view the first navigation route corresponding to the first navigation route information.
- the first electronic device can share the video file of the first video in a photo album application.
- the first electronic device can share the video file of the first video in a chat application.
- the first electronic device can share the video file of the first video to the second electronic device, so that the user of the second electronic device can view the first navigation route through the first navigation route information carried in the video file of the first video, which simplifies the process of the second electronic device determining the navigation route and improves the efficiency of the second electronic device in determining the navigation route.
- the video recording method provided in this application can be executed by a video recording device, an electronic device, or a functional module or entity within an electronic device.
- This application uses a video recording device executing the video recording method as an example to illustrate the video recording device provided in this application.
- FIG. 7 shows a possible structural schematic diagram of the video recording device involved in an embodiment of this application.
- the video recording device 70 may include: a display module 71, a receiving module 72, and a processing module 73.
- the display module 71 is used to display the video recording interface.
- the receiving module 72 is used to receive the first input to the video recording interface.
- the processing module 73 is used to record video in response to the first input received by the receiving module 72, and obtain a video file of the first video.
- the video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
- the processing module 73 is further configured to, after receiving the first input to the video recording interface, respond to the first input received by the receiving module 72, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.
- the processing module 73 is further configured to, after obtaining the video file of the first video, receive a second input, and in response to the second input, obtain the video file of the second video; and extract the second navigation route information from the video file of the second video.
- the processing module 73 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.
- the receiving module 72 is further configured to receive a third input to the first video after the processing module 73 obtains the video file of the first video.
- the display module 71 is further configured to, in response to the third input received by the receiving module 72, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.
- the receiving module 72 is further configured to receive a fourth input to the first video after the processing module 73 obtains the video file of the first video.
- the processing module 73 is also configured to, in response to the fourth input received by the receiving module 71, send the video file of the first video to the second electronic device, wherein the first video carries navigation route information.
- the display module 71 is specifically used to display a map interface in the video recording interface.
- the processing module 73 is specifically used to acquire the first location information of the electronic device when the first video frame is captured, and update the route trajectory in the map interface based on the first location information and the location markers displayed in the map interface; wherein, the location markers displayed in the map interface are the location markers corresponding to the location information of the electronic device when the electronic device captures at least one second video frame, and at least one second video frame is a video frame captured by the electronic device before capturing the first video frame.
- This application provides a video recording device. Since the video file of the first video of the video recording device includes first navigation route information, the video recording device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the video recording device in obtaining travel routes.
- the video recording device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip.
- the electronic device can be a terminal or other devices besides a terminal.
- a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR)/virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc.
- NAS network attached storage
- PC personal computer
- TV television
- ATM or self-service machine, etc.
- This application embodiment does not specifically limit the device.
- the video recording device in this application embodiment can be a device with an operating system.
- This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
- the video recording device provided in this application embodiment can implement all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.
- this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92.
- the memory 92 stores a program or instructions that can run on the processor 91.
- the program or instructions are executed by the processor 91, they implement the various steps of the above-described video recording method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
- the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
- Figure 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.
- the electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
- the electronic device 100 may also include a power supply (such as a battery) for powering various components.
- the power supply can be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system.
- the electronic device structure shown in Figure 9 does not constitute a limitation on the electronic device.
- the electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
- the display unit 106 is used to display the video recording interface.
- the user input unit 107 is used to receive a first input to the video recording interface.
- the processor 110 is used to record video in response to the first input, and obtain a video file of the first video.
- the video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
- This application provides an electronic device. Since the video file of the first video of the electronic device includes first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
- the processor 110 is further configured to, after receiving the first input to the video recording interface, in response to the first input, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.
- the processor 110 is further configured to receive a second input after receiving a first input to the video recording interface, and in response to the second input, obtain a video file of the second video; and extract second navigation route information from the video file of the second video.
- the processor 110 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.
- the user input unit 107 is further configured to receive a third input to the first video after obtaining the video file of the first video.
- the display unit 106 is further configured to, in response to the third input, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.
- the user input unit 107 is further configured to receive a fourth input to the first video after obtaining the video file of the first video.
- the processor 110 is further configured to send the video file of the first video to the second electronic device in response to the fourth input, wherein the first video carries navigation route information.
- the display unit 106 is specifically used to display a map interface in the video recording interface.
- the processor 110 is specifically used to respond to the first input, acquire the first location information of the electronic device when the first video frame is acquired, and update the route trajectory in the map interface based on the first location information and the location identifier displayed in the map interface; wherein, the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device acquires at least one second video frame, and the at least one second video frame is a video frame acquired by the electronic device before acquiring the first video frame.
- the electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
- the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042.
- the GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode.
- the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like.
- the user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072.
- the touch panel 1071 is also called a touch screen.
- the touch panel 1071 may include a touch detection device and a touch controller.
- Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
- the memory 109 can be used to store software programs and various data.
- the memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data.
- the first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.).
- the memory 109 may include volatile memory or non-volatile memory, or both.
- the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory.
- Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM).
- RAM random access memory
- SRAM static random access memory
- DRAM dynamic random access memory
- SDRAM synchronous dynamic random access memory
- DDRSDRAM double data rate synchronous dynamic random access memory
- ESDRAM enhanced synchronous dynamic random access memory
- SLDRAM synchronous link dynamic random access memory
- DRRAM direct memory bus RAM
- the memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
- Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
- This application also provides a readable storage medium storing a program or instructions.
- the program or instructions When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
- the processor is the processor in the electronic device described in the above embodiments.
- the readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
- This application embodiment also provides a chip, which 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 various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
- chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
- This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the video recording method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Navigation (AREA)
Abstract
Description
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2024年04月24日在中国提交的中国专利申请号202410500729.9的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202410500729.9, filed in China on April 24, 2024, the entire contents of which are incorporated herein by reference.
本申请属于拍摄技术领域,具体涉及一种视频录制方法、装置、电子设备及存储介质。This application belongs to the field of photography technology, specifically relating to a video recording method, apparatus, electronic device, and storage medium.
随着电子设备技术的发展,电子设备中的功能也越来越多。例如,第一电子设备可以将拍摄好的旅游视频发送至第二电子设备中,以使得第二电子设备的用户可以查看该旅游视频中包含的各个景点。With the development of electronic device technology, electronic devices are becoming increasingly feature-rich. For example, a first electronic device can send a recorded travel video to a second electronic device, allowing the user of the second device to view the various attractions featured in the video.
在相关技术中,在第二电子设备接收到第一电子设备发送的旅游视频之后,若第二电子设备的用户想要获知该旅游视频中的各景点之间的旅游路线,则需要第一电子设备的用户需要手动编辑一个旅游路线文本分享给第二电子设备的用户,该旅游路线文本中会记载各景点之间的详细路线信息。In related technologies, after the second electronic device receives the travel video sent by the first electronic device, if the user of the second electronic device wants to know the travel routes between the attractions in the travel video, the user of the first electronic device needs to manually edit a travel route text and share it with the user of the second electronic device. The travel route text will record detailed route information between the attractions.
然而,上述方法中,由于需要第一电子设备的用户手动编辑各个景点之间的旅游路线信息,从而导致整个旅游路线分享过程较为繁琐且耗时。如此,电子设备获取旅游路线的效率较差。However, the above method requires users of the first electronic device to manually edit the travel route information between various attractions, making the entire travel route sharing process cumbersome and time-consuming. Thus, the efficiency of electronic devices in acquiring travel routes is relatively poor.
本申请实施例的目的是提供一种视频录制方法、装置、电子设备及存储介质,能够提高电子设备获取旅游路线的效率。The purpose of this application is to provide a video recording method, apparatus, electronic device, and storage medium that can improve the efficiency of electronic devices in obtaining travel routes.
第一方面,本申请实施例提供了一种视频录制方法,应用于第一电子设备,该导航路线确定方法包括:显示视频录制界面;接收对视频录制界面的第一输入;响应于第一输入,录制视频,得到第一视频的视频文件,该第一视频的视频文件中包括第一导航路线信息,该第一导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。In a first aspect, embodiments of this application provide a video recording method applied to a first electronic device. The navigation route determination method includes: displaying a video recording interface; receiving a first input to the video recording interface; and, in response to the first input, recording a video to obtain a video file of a first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
第二方面,本申请实施例提供了一种视频录制装置,应用于第一电子设备,该视频录制装置包括:显示模块、接收模块和处理模块。显示模块,用于显示视频录制界面。接收模块,用于接收对视频录制界面的第一输入。处理模块,用于响应于接收模块接收的第一输入,录制视频,得到第一视频的视频文件,该第一视频的视频文件中包括第一导航路线信息,该第一导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。Secondly, embodiments of this application provide a video recording device applied to a first electronic device. The video recording device includes a display module, a receiving module, and a processing module. The display module displays a video recording interface. The receiving module receives a first input to the video recording interface. The processing module, in response to the first input received by the receiving module, records video to obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device at the time of recording the first video.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the method described in the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.
在本申请实施例中,电子设备可以显示视频录制界面;接收对视频录制界面的第一输入;响应于第一输入,录制视频,得到第一视频的视频文件,该第一视频的视频文件中包括第一导航路线信息,该第一导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。本方案中,由于电子设备第一视频的视频文件包括第一导航路线信息,所以,在第一电子设备可以基于第一视频直接得到第一导航路线信息对应的第一导航路线,无需进行手动编辑,提升了第一电子设备获取旅游路线的效率。In this embodiment, the electronic device can display a video recording interface; receive a first input to the video recording interface; and, in response to the first input, record a video to obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route indicated by the first navigation route information matches the location information of the first electronic device at the time of recording the first video. In this solution, since the video file of the first video of the electronic device includes the first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
图1是本申请实施例提供的一种视频录制方法的流程图;Figure 1 is a flowchart of a video recording method provided in an embodiment of this application;
图2A是本申请实施例提供的视频录制界面的实例示意图之一;Figure 2A is one of the schematic diagrams of a video recording interface provided in an embodiment of this application;
图2B是本申请实施例提供的视频录制界面的实例示意图之二;Figure 2B is a second example of a video recording interface provided in an embodiment of this application;
图3A是本申请实施例提供的视频录制界面的实例示意图之三;Figure 3A is a third example of a video recording interface provided in an embodiment of this application;
图3B是本申请实施例提供的视频录制界面的实例示意图之四;Figure 3B is a fourth example of a video recording interface provided in an embodiment of this application;
图4A是本申请实施例提供的视频录制界面的实例示意图之五;Figure 4A is a fifth example of a video recording interface provided in an embodiment of this application;
图4B是本申请实施例提供的视频录制界面的实例示意图之六;Figure 4B is a sixth example of a video recording interface provided in an embodiment of this application;
图5A是本申请实施例提供的视频录制界面的实例示意图之七;Figure 5A is a seventh example of a video recording interface provided in an embodiment of this application;
图5B是本申请实施例提供的视频录制界面的实例示意图之八;Figure 5B is an eighth example of a video recording interface provided in an embodiment of this application;
图6A是本申请实施例提供的视频显示界面的实例示意图之一;Figure 6A is one of the schematic diagrams of an example video display interface provided in an embodiment of this application;
图6B是本申请实施例提供的视频显示界面的实例示意图之二;Figure 6B is a second example of a video display interface provided in an embodiment of this application;
图7是本申请实施例提供的一种视频录制装置的结构示意图;Figure 7 is a schematic diagram of a video recording device provided in an embodiment of this application;
图8是本申请实施例提供的一种电子设备的硬件结构示意图之一;Figure 8 is one of the hardware structure diagrams of an electronic device provided in an embodiment of this application;
图9是本申请实施例提供的一种电子设备的硬件结构示意图之二。Figure 9 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and/or" indicates at least one of the connected objects, and the character "/" generally indicates that the preceding and following objects are in an "or" relationship.
本申请的说明书和权利要求书中的术语“至少一个(项)”、“至少之一”等指其包含对象中的任意一个、任意两个或两个以上的组合。例如,a、b、c中的至少一个(项),可以表示:“a”、“b”、“c”、“a和b”、“a和c”、“b和c”以及“a、b和c”,其中a,b,c可以是单个,也可以是多个。同理,“至少两个(项)”是指两个或两个以上,其表达的含义与“至少一个(项)”类似。The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的视频录制方法、装置、电子设备及存储介质进行详细地说明。The video recording method, apparatus, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
本申请实施例提供的视频录制方法、装置、电子设备及存储介质可以应用在分享导航路线或生成导航路线场景中。The video recording method, apparatus, electronic device, and storage medium provided in this application embodiment can be applied in scenarios of sharing or generating navigation routes.
目前,第一电子设备在拍摄旅游视频之后,可以在旅游视频中添加位置标识,以使得第一电子设备的用户可以查看该旅游视频的拍摄地点,通常,第一电子设备拍摄的旅游视频仅记录一个地理位置信息。在第一电子设备将该包含地理位置信息的旅游视频发送至第二电子设备之后,由于旅游视频仅记录一个地理位置信息,不能准确地反映出拍摄者的移动轨迹,所以在第二电子设备的用户想要获知该旅游视频中的各景点之间的旅游路线,可以通过以下两种方式得到各景点之间的旅游路线。Currently, after recording a travel video, the first electronic device can add a location marker to the video, allowing users to view the filming location. Typically, the travel video recorded by the first electronic device only records one geographical location. After the first electronic device sends this video containing geographical location information to the second electronic device, because the video only records one geographical location, it cannot accurately reflect the filmer's movement trajectory. Therefore, if the user of the second electronic device wants to know the travel routes between the various attractions in the video, they can obtain the routes through the following two methods.
方式一、第二电子设备的用户需要将旅游视频中的景点信息输入至地图应用程序中,从而获得各景点之间的旅游路线。Method 1: Users of the second electronic device need to input the attraction information from the travel video into the map application to obtain travel routes between the attractions.
方式二、第二电子设备的用户可以向第一电子设备的用户索要各景点之间的旅游路线,然后,第一电子设备的用户可以手动编辑一个旅游路线文本分享给第二电子设备的用户,该旅游路线文本中会记载各景点之间的详细路线信息。Method 2: The user of the second electronic device can request the travel routes between the attractions from the user of the first electronic device. Then, the user of the first electronic device can manually edit a travel route text and share it with the user of the second electronic device. The travel route text will record detailed route information between the attractions.
然而,针对上述方式一,第二电子设备的用户需要通过地图应用程序查找旅游视频中的各景点之间的旅游路线,才可以知晓旅游视频中的各景点之间的旅游路线,整个过程较为繁琐且耗时;而且,第二电子设备通过地图应用程序查找旅游视频中的各景点之间的旅游路线也不一定与第一电子设备拍摄的旅游视频中的旅游路线一致。However, for the first method mentioned above, the user of the second electronic device needs to use a map application to find the travel routes between the attractions in the travel video in order to know the travel routes between the attractions in the travel video. The whole process is cumbersome and time-consuming. Moreover, the travel routes between the attractions in the travel video found by the second electronic device through the map application may not be consistent with the travel routes in the travel video shot by the first electronic device.
针对上述方式二,由于需要第一电子设备的用户手动编辑各个景点之间的旅游路线信息,从而导致整个旅游路线分享过程较为繁琐且耗时。如此,电子设备获取旅游路线的效率较差。Regarding method two, the process of sharing travel routes is cumbersome and time-consuming because users of the first electronic device need to manually edit the travel route information between various attractions. Therefore, the efficiency of electronic devices in acquiring travel routes is relatively low.
本申请实施例中,由于电子设备第一视频的视频文件包括第一导航路线信息,所以,在第一电子设备可以基于第一视频直接得到第一导航路线信息对应的第一导航路线,无需进行手动编辑;而且,也无需通过地图应用程序查找旅游视频中的各景点之间的旅游路线,提升了电子设备获取旅游路线的效率。In this embodiment, since the video file of the first video of the electronic device includes the first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing; moreover, it is not necessary to search for the tourist routes between various attractions in the tourist video through a map application, thus improving the efficiency of the electronic device in obtaining tourist routes.
本申请实施例提供的视频录制方法的执行主体可以为视频录制装置,该视频录制装置可以为电子设备,或电子设备中的功能模块。以下以电子设备为例,对本申请实施例提供的技术方案进行说明。The video recording method provided in this application can be executed by a video recording device, which can be an electronic device or a functional module within an electronic device. The following description uses an electronic device as an example to illustrate the technical solution provided in this application.
本申请实施例提供一种视频录制方法,图1示出了本申请实施例提供的一种视频录制方法的流程图,该方法可以应用于第一电子设备。如图1所示,本申请实施例提供的视频录制方法可以包括下述的步骤201至步骤203。This application provides a video recording method. Figure 1 shows a flowchart of a video recording method provided by this application, which can be applied to a first electronic device. As shown in Figure 1, the video recording method provided by this application may include the following steps 201 to 203.
步骤201、第一电子设备显示视频录制界面。Step 201: The first electronic device displays the video recording interface.
可选地,本申请实施例中,上述视频录制界面中包括视频录制控件。Optionally, in this embodiment of the application, the video recording interface includes video recording controls.
可选地,本申请实施例中,第一电子设备可以基于用户对相机应用程序的输入,显示视频录制界面。Optionally, in this embodiment of the application, the first electronic device may display a video recording interface based on the user's input to the camera application.
步骤202、第一电子设备接收对上述视频录制界面的第一输入。Step 202: The first electronic device receives the first input to the video recording interface.
可选地,本申请实施例中,上述第一输入可以为对视频录制控件的输入。Optionally, in this embodiment of the application, the first input can be an input to a video recording control.
可选地,本申请实施例中,上述第一输入用于从视频录制界面中确定视频录制控件。Optionally, in this embodiment of the application, the first input is used to determine the video recording control from the video recording interface.
可选地,上述第一输入可以为用户在视频录制界面的点击输入、长按输入、预设轨迹输入、滑动输入;或对物理控件,例如音量键和电源键的组合输入;或者语音输入。Optionally, the first input can be a user's click input, long press input, preset trajectory input, or swipe input on the video recording interface; or a combination of physical controls, such as volume buttons and power buttons; or voice input.
步骤203、第一电子设备响应于上述第一输入,录制视频,得到第一视频的视频文件。Step 203: The first electronic device responds to the first input and records video to obtain a video file of the first video.
本申请实施例中,上述第一视频的视频文件中包括第一导航路线信息,该导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。In this embodiment of the application, the video file of the first video includes first navigation route information, and the first navigation route indicated by the navigation route information matches the location information of the first electronic device when the first video was recorded.
本申请实施例中,第一电子设备响应于第一输入,可以采集N帧视频帧,从而录制视频,从而得到第一视频。In this embodiment of the application, the first electronic device responds to the first input and can collect N video frames to record video, thereby obtaining the first video.
可选地,本申请实施例中,上述第一导航路线信息可以存储在第一视频的视频文件的扩展字段中。Optionally, in this embodiment of the application, the aforementioned first navigation route information may be stored in the extended field of the video file of the first video.
可选地,本申请实施例中,上述第一导航路线信息可以为第一电子设备在采集N帧视频帧中的每帧视频帧时得到的。Optionally, in this embodiment of the application, the first navigation route information can be obtained by the first electronic device when acquiring each video frame in N video frames.
示例性地,第一电子设备可以在视频录制界面显示导入控件,若用户需求在拍摄视频的过程中,得到与录制后的第一视频匹配的导航路线信息,则用户可以点击导入控件,以使得电子设备可以在录制视频的过程中,采集与第一电子设备录制第一视频时第一电子设备的位置信息匹配的第一导航路线信息。For example, the first electronic device can display an import control on the video recording interface. If the user needs to obtain navigation route information that matches the first video after recording during the video recording process, the user can click the import control so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.
举例说明,如图2A所示,第一电子设备可以在视频录制界面10显示导入控件11,若用户需求在拍摄视频的过程中,得到与第一电子设备录制第一视频时第一电子设备的位置信息匹配的第一导航路线信息,则用户可以点击导入控件11,如图2B所示,以使得电子设备可以在弹窗窗口12中显示生成新路线标识13和导入路线标识14。然后,用户可以点击生成新路线标识13,以使得电子设备可以在录制视频的过程中,采集与第一电子设备录制第一视频时第一电子设备的位置信息匹配的第一导航路线信息。For example, as shown in Figure 2A, the first electronic device can display an import control 11 on the video recording interface 10. If the user needs to obtain first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process, the user can click the import control 11, as shown in Figure 2B, so that the electronic device can display a new route identifier 13 and an import route identifier 14 in the pop-up window 12. Then, the user can click to generate a new route identifier 13, so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.
可选地,本申请实施例中,上述第一导航路线信息可以为第二电子设备发送给第一电子设备的。Optionally, in this embodiment of the application, the aforementioned first navigation route information may be sent from the second electronic device to the first electronic device.
可选地,本申请实施例中,上述步骤201具体可以通过下述的步骤201a实现,并且上述步骤203中的“第一电子设备响应于第一输入,录制视频”具体可以通过下述的步骤203a实现。Optionally, in the embodiments of this application, step 201 can be implemented by step 201a, and the "first electronic device responds to the first input and records video" in step 203 can be implemented by step 203a.
步骤201a、第一电子设备在视频录制界面中显示地图界面。Step 201a: The first electronic device displays the map interface in the video recording interface.
可选地,本申请实施例中,第一电子设备可以在视频录制界面中通过弹窗显示地图界。Optionally, in this embodiment of the application, the first electronic device may display a map boundary via a pop-up window in the video recording interface.
可选地,本申请实施例中,第一电子设备可以在视频录制界面中的空白区域显示地图界面。Optionally, in this embodiment of the application, the first electronic device may display a map interface in a blank area of the video recording interface.
可选地,本申请实施例中,第一电子设备可以在视频录制界面中的预设区域显示地图界面。Optionally, in this embodiment of the application, the first electronic device may display a map interface in a preset area of the video recording interface.
示例性地,第一电子设备可以在视频录制界面中左上角或右上角显示地图界面。For example, the first electronic device may display a map interface in the upper left or upper right corner of the video recording interface.
举例说明,如图3A所示,若用户需求显示地图界面,则用户可以在第一电子设备的视频录制界面10对地图控件17进行点击输入,如图3B所示,以以使得第一电子设备可以在视频录制界面10的右上角通过弹窗显示地图界面18。For example, as shown in Figure 3A, if the user needs to display a map interface, the user can click and input the map control 17 on the video recording interface 10 of the first electronic device, as shown in Figure 3B, so that the first electronic device can display the map interface 18 in the upper right corner of the video recording interface 10 through a pop-up window.
步骤203a、第一电子设备响应于第一输入,获取采集到第一视频帧时电子设备的第一位置信息,并基于第一位置信息和地图界面中显示的位置标识,在地图界面中更新路线轨迹。Step 203a: The first electronic device responds to the first input, acquires the first position information of the electronic device when the first video frame is acquired, and updates the route trajectory in the map interface based on the first position information and the position markers displayed in the map interface.
本申请实施例中,上述地图界面中显示的位置标识为电子设备采集至少一个第二视频帧时电子设备的位置信息对应的位置标识,至少一个第二视频帧为电子设备采集第一视频帧之前采集的视频帧。In this embodiment of the application, the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device collects at least one second video frame, and the at least one second video frame is a video frame collected by the electronic device before the first video frame is collected.
示例性地,上述第一视频帧为第一视频中的任一个视频帧。For example, the first video frame mentioned above is any video frame in the first video.
示例性地,上述第一位置信息包括经度和纬度。For example, the aforementioned first location information includes longitude and latitude.
本申请实施例中,上述更新路线轨迹可以为在地图界面中显示的位置标识的基础上,在地图界面中添加第一位置信息对应的位置标识,并将在地图界面中添加第一位置信息对应的位置标识与地图界面中已经显示的位置标识之间进行连线,从而得到更新后的路线轨迹,并在地图界面中显示更新路线轨迹。In this embodiment of the application, the above-mentioned updated route trajectory can be obtained by adding a location marker corresponding to the first location information to the map interface based on the location markers displayed in the map interface, and connecting the location markers corresponding to the first location information added in the map interface with the location markers already displayed in the map interface, thereby obtaining the updated route trajectory, and displaying the updated route trajectory in the map interface.
可选地,本申请实施例中,在上述导航路线信息为第二电子设备发送的导航路线信息的情况下,第一电子设备可以在地图界面中显示导航路线信息对应的导航路线,在第一电子设备的当前位置信息不在导航路线信息对应的导航路线之内时,第一电子设备可以将当前位置信息添加至上述导航路线信息中,并得到新的导航路线信息。Optionally, in this embodiment of the application, when the navigation route information is sent by the second electronic device, the first electronic device can display the navigation route corresponding to the navigation route information in the map interface. When the current location information of the first electronic device is not within the navigation route corresponding to the navigation route information, the first electronic device can add the current location information to the navigation route information and obtain new navigation route information.
本申请实施例提供的电子设备中,电子设备可以显示视频录制界面;接收对视频录制界面的第一输入;响应于第一输入,录制视频,得到第一视频的视频文件,并在第一视频的视频文件中存入导航路线信息,导航路线信息指示的第一导航路线与第一视频的视频内容匹配。本方案中,由于电子设备可以将导航路线信息导入第一视频的视频文件中,所以,在第一电子设备可以基于第一视频直接得到导航路线信息对应的导航路线,无需进行手动编辑,提升了第一电子设备获取旅游路线的效率。In the electronic device provided in this application embodiment, the electronic device can display a video recording interface; receive a first input to the video recording interface; respond to the first input, record a video, obtain a video file of the first video, and store navigation route information in the video file of the first video, wherein the first navigation route indicated by the navigation route information matches the video content of the first video. In this solution, since the electronic device can import navigation route information into the video file of the first video, the first electronic device can directly obtain the navigation route corresponding to the navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
可选地,本申请实施例中,在上述步骤202之后,本申请实施例提供的视频录制方法还包括下述的步骤301和步骤302。Optionally, in this embodiment of the application, after step 202 above, the video recording method provided in this embodiment of the application further includes the following steps 301 and 302.
步骤301、第一电子设备响应于上述第一输入,在录制视频的过程中,获取在采集每帧视频帧时第一电子设备的位置信息。Step 301: In response to the first input, the first electronic device acquires the position information of the first electronic device when capturing each video frame during the video recording process.
本申请实施例中,第一电子设备获取在采集每帧视频帧时,可以通过第一电子设备中的定位硬件采集电子设备所处的位置的经度和纬度,从而得到第一电子设备在采集每帧视频帧时第一电子设备的位置信息。In this embodiment of the application, when the first electronic device acquires each video frame, it can acquire the longitude and latitude of the location of the electronic device through the positioning hardware in the first electronic device, thereby obtaining the location information of the first electronic device when acquiring each video frame.
可以理解,一个视频帧可以对应的一个位置信息。It's understandable that a video frame can correspond to a single location.
可选地,本申请实施例中,上述视频录制界面中还包括第一控件,第一电子设备可以基于用户对第一控件的点击输入,从而在录制视频的过程中,获取在采集每帧视频帧时第一电子设备的位置信息。Optionally, in this embodiment of the application, the video recording interface further includes a first control. The first electronic device can obtain the position information of the first electronic device when capturing each video frame based on the user's click input on the first control.
示例性地,如图4A所示,第一电子设备显示视频录制界面10,该视频录制界面10中包括第一控件19,若用户需求在录制视频的过程中,第一电子设备可以实时获取位置信息,则用户可以对第一控件19进行点击输入,以使得第一电子设备可以开启获取位置信息功能;然后,如图4B所示,用户可以对视频录制界面10中的视频录制控件20进行点击输入,以使得第一电子设备可以在录制视频的过程中,获取在采集每帧视频帧时第一电子设备的位置信息。For example, as shown in FIG4A, the first electronic device displays a video recording interface 10, which includes a first control 19. If the user requires the first electronic device to obtain location information in real time during the video recording process, the user can click on the first control 19 to enable the first electronic device to obtain location information. Then, as shown in FIG4B, the user can click on the video recording control 20 in the video recording interface 10 to enable the first electronic device to obtain the location information of the first electronic device when capturing each video frame during the video recording process.
步骤302、第一电子设备按照每帧视频帧的采集时间以及每帧视频帧对应的第一电子设备的位置信息,生成导航路线信息。Step 302: The first electronic device generates navigation route information according to the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame.
本申请实施例中,第一电子设备在得到每帧视频帧的采集时间,以及每帧视频帧对应的第一电子设备的位置信息之后,第一电子设备可以将每帧视频帧的采集时间与每帧视频帧对应的第一电子设备的位置信息进行关联存储,从而按照关联存储后的每帧视频帧的采集时间的先后顺序,确定每帧视频帧对应的第一电子设备的位置信息的先后位置,从而生成导航路线信息。In this embodiment of the application, after obtaining the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame, the first electronic device can associate and store the acquisition time of each video frame with the location information of the first electronic device corresponding to each video frame. In this way, according to the order of acquisition time of each video frame after association and storage, the order of the location information of the first electronic device corresponding to each video frame is determined, thereby generating navigation route information.
本申请实施例中,第一电子设备可以在采集每帧视频帧时,获取第一电子设备的位置信息,从而根据每帧视频帧的采集时间点和每帧视频帧对应的位置信息,生成导航路线信息,无需用户手动查找,提升了第一电子设备生成导航路线信息的效率。In this embodiment, the first electronic device can obtain its location information when acquiring each video frame, thereby generating navigation route information based on the acquisition time of each video frame and the location information corresponding to each video frame. This eliminates the need for manual searching by the user and improves the efficiency of the first electronic device in generating navigation route information.
可选地,本申请实施例中,在上述步骤203之后,本申请实施例提供的视频录制方法还包括下述的步骤401至步骤403。Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes steps 401 to 403 as described below.
步骤401、第一电子设备接收第二输入。Step 401: The first electronic device receives the second input.
本申请实施例中,上述第二输入用于从视频录制界面中确定导入控件。In this embodiment of the application, the second input is used to determine the import control from the video recording interface.
可选地,本申请实施例中,上述第二输入可以为用户对导入控件的点击输入、长按输入、预设轨迹输入、滑动输入等。具体可以根据实际使用情况确定,本申请实施例不作限制。Optionally, in this embodiment, the second input can be user input via clicking, long-pressing, preset trajectory input, or swiping on the imported control. The specific input can be determined based on actual usage, and this embodiment does not impose any limitations.
步骤402、第一电子设备响应于上述第二输入,获取第二视频的视频文件。Step 402: The first electronic device responds to the second input and acquires the video file of the second video.
可选地,本申请实施例中,上述第二视频为第二电子设备发送的;或第一电子设备中存储的。Optionally, in this embodiment of the application, the second video is sent by a second electronic device or stored in a first electronic device.
本申请实施例中,上述第二视频中包含第二导航路线信息。In this embodiment of the application, the second video includes second navigation route information.
可选地,在本申请实施例中,上述第二视频文件可以是第一视频文件,也可以是除第一视频文件外的其他视频文件。Optionally, in the embodiments of this application, the second video file may be the first video file or other video files besides the first video file.
可选地,本申请实施例中,第一电子设备可以在聊天界面中接收第二电子设备发送的视频文件。Optionally, in this embodiment of the application, the first electronic device can receive video files sent by the second electronic device in a chat interface.
可选地,本申请实施例中,第一电子设备可以在接收第二电子设备发送的视频文件之后,将上述第二视频存储在相册应用程序中。Optionally, in this embodiment of the application, the first electronic device may store the second video in a photo album application after receiving the video file sent by the second electronic device.
步骤402、第一电子设备从上述第二视频的视频文件中提取第二导航路线信息。Step 402: The first electronic device extracts the second navigation route information from the video file of the second video.
可选地,本申请实施例中,上述第二导航路线信息可以为第一导航路线信息。Optionally, in this embodiment of the application, the second navigation route information can be the first navigation route information.
可选地,本申请实施例中,上述第二导航路线信息中包含的导航路线可以与第一导航路线信息中包含的导航路线部分相同或完全不同。Optionally, in this embodiment of the application, the navigation route included in the second navigation route information may be partially the same as or completely different from the navigation route included in the first navigation route information.
本申请实施例中,第一电子设备可以从第二视频的视频文件中的扩展字段中获取第二导航路线信息,从而基于该第二导航路线信息生成该第二导航路线信息对应的第二导航路线。In this embodiment of the application, the first electronic device can obtain the second navigation route information from the extended field of the video file of the second video, and then generate the second navigation route corresponding to the second navigation route information based on the second navigation route information.
可选地,本申请实施例中,在上述第一电子设备从第二视频的视频文件中提取第二导航路线信息之后,第一电子设备可以通过地图应用程序显示第二导航路线信息对应的导航路线。Optionally, in this embodiment of the application, after the first electronic device extracts the second navigation route information from the video file of the second video, the first electronic device can display the navigation route corresponding to the second navigation route information through a map application.
可选地,本申请实施例中,在第一电子设备显示第二导航路线信息对应的导航路线之后,第一电子设备可以在地图应用程序中对第二导航路线信息对应的导航路线进行编辑处理,以得到编辑处理后的导航路线。Optionally, in this embodiment of the application, after the first electronic device displays the navigation route corresponding to the second navigation route information, the first electronic device can edit the navigation route corresponding to the second navigation route information in a map application to obtain the edited navigation route.
本申请实施例中,第一电子设备可以将导航路线信息从第二视频的视频文件中提取出来,从而第一电子设备可以根据提取出的导航路线信息直接进行导航,如此,简化了第一电子设备获取导航路线的过程,提升了第一电子设备获取导航路线的效率。In this embodiment, the first electronic device can extract navigation route information from the video file of the second video, so that the first electronic device can directly navigate according to the extracted navigation route information. This simplifies the process of the first electronic device obtaining navigation routes and improves the efficiency of the first electronic device in obtaining navigation routes.
可选地,本申请实施例中,在上述步骤402之后,本申请实施例提供的视频录制方法还包括下述的步骤501和步骤502。Optionally, in this embodiment of the application, after step 402 above, the video recording method provided in this embodiment of the application further includes the following steps 501 and 502.
步骤501、在录制视频的过程中,第一电子设备在视频录制界面中显示第二导航路线信息中与第一电子设备的位置信息匹配的路线指引信息。Step 501: During the video recording process, the first electronic device displays route guidance information in the second navigation route information that matches the location information of the first electronic device in the video recording interface.
示例性地,电子设备可以在视频录制界面中的地图界面中显示第二导航路线信息中与第一电子设备的位置信息匹配的路线指引信息。For example, the electronic device can display route guidance information that matches the location information of the first electronic device in the map interface of the video recording interface, which is part of the second navigation route information.
可选地,本申请实施例中,上述路线指引信息包括以下至少一项:方向指引标识和路线指引消息。Optionally, in this embodiment of the application, the route guidance information includes at least one of the following: direction guidance identifier and route guidance message.
示例性地,上述方向指引标识包括以下任一项:东方向指引标识、西方向指引标识、南方向指引标识、北方向指引标识、东北方向指引标识、东南方向指引标识等。具体可以根据实际使用情况确定,本申请实施例不作限制。For example, the aforementioned directional signs include any of the following: east directional signs, west directional signs, south directional signs, north directional signs, northeast directional signs, southeast directional signs, etc. The specific type can be determined based on actual usage, and this application embodiment does not impose any limitations.
可选地,本申请实施例中,第一电子设备在录制视频的过程中,第一电子设备可以实时获取地理位置,然后与第二导航路线信息中的导航路线信息进行对比,然后在视频录制界面中的地图界面中显示第二导航路线信息中与第一电子设备的位置信息匹配的路线指引信息。Optionally, in this embodiment of the application, during the recording of video, the first electronic device can obtain the geographical location in real time, compare it with the navigation route information in the second navigation route information, and then display the route guidance information in the second navigation route information that matches the location information of the first electronic device in the map interface of the video recording interface.
示例性地,若用户需求使用第二导航路线信息,则用户可以点击导入控件,以使得电子设备可以在录制视频中过程中,显示第二导航路线信息对应的第二导航路线。For example, if a user needs to use the second navigation route information, the user can click the import control so that the electronic device can display the second navigation route corresponding to the second navigation route information during video recording.
示例性地,第一电子设备可以在视频录制界面中通过地图界面显示第二导航路线信息对应的导航路线。For example, the first electronic device can display the navigation route corresponding to the second navigation route information through a map interface in the video recording interface.
可选地,本申请实施例中,第一电子设备可以基于第一电子设备所处的位置在地图界面中实时显示第一电子设备的位置标识,并根据导入的第二导航路线生成实时的箭头指引导航。Optionally, in this embodiment of the application, the first electronic device can display the location identifier of the first electronic device in the map interface in real time based on the location of the first electronic device, and generate real-time arrow guidance navigation according to the imported second navigation route.
示例性地,结合图2A,如图5A所示,若用户需求导入第二电子设备采集的导航路线信息,下述简称为第二导航路线信息,则用户可以对导入路线标识14进行点击输入,如图5B所示,以使得第一电子设备可以将第二导航路线信息通过地图界面15显示在第一电子设备中的视频录制界面中,以使得第一电子设备可以在拍摄视频的过程中,显示第二导航路线信息对应的第二导航路线16。For example, referring to Figure 2A and as shown in Figure 5A, if the user needs to import navigation route information collected by the second electronic device (hereinafter referred to as the second navigation route information), the user can click to input the import route identifier 14, as shown in Figure 5B, so that the first electronic device can display the second navigation route information in the video recording interface of the first electronic device through the map interface 15, so that the first electronic device can display the second navigation route 16 corresponding to the second navigation route information during the video recording process.
步骤502、第一电子设备基于路线指引信息,拍摄得到第三视频。Step 502: The first electronic device captures a third video based on the route guidance information.
本申请实施例中,上述第三视频中包括第三导航路线信息。In this embodiment of the application, the third video includes third navigation route information.
本申请实施例中,上述第三航路线信息与录制第三视频时第一电子设备的位置信息匹配。In this embodiment of the application, the aforementioned third route information is matched with the location information of the first electronic device when recording the third video.
可选地,本申请实施例中,上述第三导航路线信息可以为第二导航路线。Optionally, in this embodiment of the application, the aforementioned third navigation route information may be the second navigation route.
可选地,本申请实施例中,上述第三导航路线信息中包含的导航路线可以与第二导航路线信息中包含的导航路线部分相同或完全不同。Optionally, in this embodiment of the application, the navigation route included in the third navigation route information may be partially the same as or completely different from the navigation route included in the second navigation route information.
示例性地,第一电子设备的第一用户在根据第二导航路线信息进行导航时,若第一用户是从第二导航路线的中间某个位置开始录制的,或者第一用户又额外走了一些地方等,则第一电子设备根据第一用户的行走路线得到第三导航路线信息。For example, when the first user of the first electronic device is navigating according to the second navigation route information, if the first user starts recording from a certain position in the middle of the second navigation route, or if the first user walks to some additional places, the first electronic device obtains the third navigation route information based on the first user's walking route.
示例性地,假设第一电子设备获取的第二导航路线信息包括A、B、C、D,4个导航点,该第二导航路线信息对应的导航路线为A到B,B到C,C到D;第一电子设备的用户在根据第二路线信息进行导航指引时,若第一用户在走到C点之后,走向E点,然后返回D点,则第一电子设备可以确定更新后的导航路线信息对应的导航路线为A到B,B到C,C到E,E到D,如此得到第三导航路线。For example, suppose the second navigation route information obtained by the first electronic device includes four navigation points: A, B, C, and D. The navigation route corresponding to this second navigation route information is A to B, B to C, and C to D. When the user of the first electronic device is guided by the second route information, if the user goes to point C, then to point E, and then returns to point D, the first electronic device can determine that the updated navigation route information corresponds to the navigation route A to B, B to C, C to E, and E to D, thus obtaining the third navigation route.
本申请实施例中,第一电子设备可以通过第二导航路线进行导航指引,如此,第一电子设备的第一用户在确定旅游路线时,可以直接根据导航指引进行游览,无需第一用户通过导航应用进行导航。提高了第一电子设备导航时的便捷性。In this embodiment, the first electronic device can be guided by a second navigation route. Thus, when a first user of the first electronic device determines a travel route, they can directly follow the navigation guidance without needing to use a navigation application. This improves the convenience of navigation for the first electronic device.
可选地,本申请实施例中,在上述步骤203之后,本申请实施例提供的视频录制方法还包括下述的步骤601和步骤602。Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes the following steps 601 and 602.
步骤601、第一电子设备接收对第一视频的第三输入。Step 601: The first electronic device receives a third input to the first video.
本申请实施例中,上述第三输入用于确定第一视频。In this embodiment of the application, the third input is used to determine the first video.
可选地,本申请实施例中,上述第三输入可以为用户在相册应用程序中对第一视频的输入。Optionally, in this embodiment of the application, the third input can be the user's input of the first video in the photo album application.
可选地,本申请实施例中,上述第三输入可以为以下任一项:用户对第一视频的点击输入、长按输入、预设轨迹输入或滑动输入等。具体可以根据实际使用情况确定,本申请实施例不作限制。Optionally, in this embodiment, the third input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc. The specific input can be determined according to actual usage, and this embodiment does not impose any limitations.
步骤602、第一电子设备响应于第三输入,在第一显示区域中显示第一导航路线的导航图像,在第二显示区域中显示第一视频。Step 602: In response to the third input, the first electronic device displays a navigation image of the first navigation route in the first display area and displays the first video in the second display area.
可选地,本申请实施例中,上述第一显示区域可以为视频播放界面中的部分区域,上述第二显示区域可以为在视频播放界面中的另一部分区域。Optionally, in this embodiment of the application, the first display area can be a part of the video playback interface, and the second display area can be another part of the video playback interface.
在一种示例中,第一电子设备可以通过弹窗在视频播放界面中叠加显示第一导航路线的导航图像。In one example, the first electronic device can display a navigation image of the first navigation route overlaid on the video playback interface via a pop-up window.
在另一种示例中,在第一电子设备为可折叠电子设备的情况下,该可折叠电子设备的第一屏幕可以为第一显示区域,可折叠电子设备的第二屏幕可以为第二显示区域。In another example, where the first electronic device is a foldable electronic device, the first screen of the foldable electronic device can be a first display area, and the second screen of the foldable electronic device can be a second display area.
可选地,本申请实施例中,上述第一屏幕可以为可折叠电子设备的左屏幕或上屏幕,上述第二屏幕可以为可折叠电子设备的右屏幕或下屏幕;或者,上述第一屏幕可以为可折叠电子设备的右屏幕或下屏幕,上述第二屏幕可以为可折叠电子设备的左屏幕或上屏幕。Optionally, in this embodiment of the application, the first screen may be the left or top screen of the foldable electronic device, and the second screen may be the right or bottom screen of the foldable electronic device; or, the first screen may be the right or bottom screen of the foldable electronic device, and the second screen may be the left or top screen of the foldable electronic device.
示例性地,第一电子设备可以在左屏幕显示第一视频,第一电子设备可以在右屏幕显示第一导航路线的导航图像。For example, the first electronic device may display a first video on the left screen and a navigation image of a first navigation route on the right screen.
可选地,本申请实施例中,上述第一显示区域可以为相册界面中的部分区域,上述第二显示区域可以为在相册界面中的另一部分区域。Optionally, in this embodiment of the application, the first display area can be a part of the album interface, and the second display area can be another part of the album interface.
示例性地,第一电子设备可以在相册界面中的上半部分区域显示第一视频,在相册界面中的下半部分区域显示第一导航路线的导航图像。For example, the first electronic device may display a first video in the upper half of the album interface and a navigation image of a first navigation route in the lower half of the album interface.
举例说明,如图6A所示,若用户需求显示第一导航路线,则用户可以对第一视频的视频标识进行上滑输入,如图6B所示,以使得第一电子设备可以在相册界面21中的第一显示区域22中显示第一视频的视频标识,在相册界面21中的第二显示区域23中显示第一导航路线的导航图像。For example, as shown in Figure 6A, if the user needs to display the first navigation route, the user can swipe up to input the video icon of the first video, as shown in Figure 6B, so that the first electronic device can display the video icon of the first video in the first display area 22 of the album interface 21, and display the navigation image of the first navigation route in the second display area 23 of the album interface 21.
本申请实施例中,第一电子设备可以通过不同的显示区域分别显示第一视频和第一视频对应的第一导航路线的导航图像,以使得第一电子设备可以快速显示第一视频对应的第一导航路线的导航图像,提升了第一电子设备显示第一视频对应的第一导航路线的导航图像的效率。In this embodiment, the first electronic device can display the first video and the navigation image of the first navigation route corresponding to the first video in different display areas, so that the first electronic device can quickly display the navigation image of the first navigation route corresponding to the first video, thereby improving the efficiency of the first electronic device in displaying the navigation image of the first navigation route corresponding to the first video.
可选地,本申请实施例中,在上述步骤203之后,本申请实施例提供的视频录制方法还包括下述的步骤701和步骤702。Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes the following steps 701 and 702.
步骤701、第一电子设备接收对第一视频的第四输入。Step 701: The first electronic device receives the fourth input to the first video.
本申请实施例中,上述第四输入用于确定第一视频。In this embodiment of the application, the fourth input is used to determine the first video.
可选地,本申请实施例中,上述第四输入可以为以下任一项:用户对第一视频的点击输入、长按输入、预设轨迹输入或滑动输入等。具体可以根据实际使用情况确定,本申请实施例不作限制。Optionally, in this embodiment, the fourth input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc. The specific input can be determined according to actual usage, and this embodiment does not impose any limitations.
步骤702、第一电子设备响应于上述第四输入,向第二电子设备发送第一视频的视频文件。Step 702: In response to the fourth input mentioned above, the first electronic device sends the video file of the first video to the second electronic device.
本申请实施例中,上述第一视频中携带第一导航路线信息。In this embodiment of the application, the first video carries first navigation route information.
本申请实施例中,第一电子设备可以通过第四输入向第二电子设备分享第一视频的视频文件,以使得第二电子设备的用户可以直接查看到第一导航路线信息对应的第一导航路线。In this embodiment of the application, the first electronic device can share the video file of the first video with the second electronic device through the fourth input, so that the user of the second electronic device can directly view the first navigation route corresponding to the first navigation route information.
可选地,本申请实施例中,第一电子设备可以在相册应用程序中对第一视频的视频文件进行分享操作。Optionally, in this embodiment of the application, the first electronic device can share the video file of the first video in a photo album application.
可选地,本申请实施例中,第一电子设备可以在聊天应用程序中对第一视频的视频文件进行分享操作。Optionally, in this embodiment of the application, the first electronic device can share the video file of the first video in a chat application.
本申请实施例中,第一电子设备可以将第一视频的视频文件分享至第二电子设备,以使得第二电子设备的用户可以通过第一视频的视频文件中携带的第一导航路线信息查看第一导航路线,简化了第二电子设备确定导航路线的过程,提升了第二电子设备确定导航路线的效率。In this embodiment, the first electronic device can share the video file of the first video to the second electronic device, so that the user of the second electronic device can view the first navigation route through the first navigation route information carried in the video file of the first video, which simplifies the process of the second electronic device determining the navigation route and improves the efficiency of the second electronic device in determining the navigation route.
上述各个方法实施例,或者各个方法实施例中的各种可能的实现方式可以单独执行,或者,在不存在矛盾的前提下,也可以相互结合执行,具体可以根据实际使用需求确定,本申请实施例对此不做限制。The above-described method embodiments, or various possible implementations of the method embodiments, can be executed individually, or, provided there are no contradictions, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.
需要说明的是,本申请实施例提供的视频录制方法,执行主体可以为视频录制装置,或者电子设备,或者还可以为电子设备中的功能模块或实体。本申请实施例中以视频录制装置执行视频录制方法为例,说明本申请实施例提供的视频录制装置。It should be noted that the video recording method provided in this application can be executed by a video recording device, an electronic device, or a functional module or entity within an electronic device. This application uses a video recording device executing the video recording method as an example to illustrate the video recording device provided in this application.
图7示出了本申请实施例中涉及的视频录制装置的一种可能的结构示意图。如图7所示,该视频录制装置70可以包括:显示模块71、接收模块72和处理模块73。Figure 7 shows a possible structural schematic diagram of the video recording device involved in an embodiment of this application. As shown in Figure 7, the video recording device 70 may include: a display module 71, a receiving module 72, and a processing module 73.
其中,显示模块71,用于显示视频录制界面。接收模块72,用于接收对视频录制界面的第一输入。处理模块73,用于响应于接收模块72接收的第一输入,录制视频,得到第一视频的视频文件,该第一视频的视频文件中包括第一导航路线信息,该第一导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。The display module 71 is used to display the video recording interface. The receiving module 72 is used to receive the first input to the video recording interface. The processing module 73 is used to record video in response to the first input received by the receiving module 72, and obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
在一种可能的实现方式中,上述处理模块73,还用于接收对所述视频录制界面的第一输入之后,响应于接收模块72接收的第一输入,在录制视频的过程中,获取在采集每帧视频帧时第一电子设备的位置信息;并按照每帧视频帧的采集时间以及每帧视频帧对应的第一电子设备的位置信息,生成导航路线信息。In one possible implementation, the processing module 73 is further configured to, after receiving the first input to the video recording interface, respond to the first input received by the receiving module 72, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.
在一种可能的实现方式中,上述处理模块73,还用于得到第一视频的视频文件之后,接收第二输入,响应于第二输入,获取第二视频的视频文件;从第二视频的视频文件中提取第二导航路线信息。In one possible implementation, the processing module 73 is further configured to, after obtaining the video file of the first video, receive a second input, and in response to the second input, obtain the video file of the second video; and extract the second navigation route information from the video file of the second video.
在一种可能的实现方式中,上述处理模块73,还用于从第二视频的视频文件中提取第二导航路线信息之后,在录制视频的过程中,在视频录制界面中显示第二导航路线信息中与第一电子设备的位置信息匹配的路线指引信息;基于路线指引信息,拍摄得到第三视频;其中,第三视频中包括第三导航路线信息。In one possible implementation, the processing module 73 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.
在一种可能的实现方式中,上述接收模块72,还用于处理模块73得到第一视频的视频文件之后,接收对第一视频的第三输入。上述显示模块71,还用于响应于接收模块72接收的第三输入,在第一显示区域中显示第一导航路线的导航图像,在第二显示区域中显示第一视频。In one possible implementation, the receiving module 72 is further configured to receive a third input to the first video after the processing module 73 obtains the video file of the first video. The display module 71 is further configured to, in response to the third input received by the receiving module 72, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.
在一种可能的实现方式中,上述接收模块72,还用于处理模块73得到第一视频的视频文件之后,接收对第一视频的第四输入。上述处理模块73,还用于响应于接收模块71接收的第四输入,向第二电子设备发送第一视频的视频文件,第一视频中携带导航路线信息。In one possible implementation, the receiving module 72 is further configured to receive a fourth input to the first video after the processing module 73 obtains the video file of the first video. The processing module 73 is also configured to, in response to the fourth input received by the receiving module 71, send the video file of the first video to the second electronic device, wherein the first video carries navigation route information.
在一种可能的实现方式中,上述显示模块71,具体用于在视频录制界面中显示地图界面。上述处理模块73,具体用于获取采集到第一视频帧时电子设备的第一位置信息,并基于第一位置信息和地图界面中显示的位置标识,在地图界面中更新路线轨迹;其中,地图界面中显示的位置标识为电子设备采集至少一个第二视频帧时电子设备的位置信息对应的位置标识,至少一个第二视频帧为电子设备采集第一视频帧之前采集的视频帧。In one possible implementation, the display module 71 is specifically used to display a map interface in the video recording interface. The processing module 73 is specifically used to acquire the first location information of the electronic device when the first video frame is captured, and update the route trajectory in the map interface based on the first location information and the location markers displayed in the map interface; wherein, the location markers displayed in the map interface are the location markers corresponding to the location information of the electronic device when the electronic device captures at least one second video frame, and at least one second video frame is a video frame captured by the electronic device before capturing the first video frame.
本申请实施例提供一种视频录制装置,由于视频录制装置第一视频的视频文件包括第一导航路线信息,所以,在视频录制装置可以基于第一视频直接得到第一导航路线信息对应的第一导航路线,无需进行手动编辑,提升了视频录制装置获取旅游路线的效率。This application provides a video recording device. Since the video file of the first video of the video recording device includes first navigation route information, the video recording device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the video recording device in obtaining travel routes.
本申请实施例中的视频录制装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The video recording device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR)/virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
本申请实施例中的视频录制装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The video recording device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
本申请实施例提供的视频录制装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The video recording device provided in this application embodiment can implement all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.
可选地,如图8所示,本申请实施例还提供一种电子设备90,包括处理器91和存储器92,存储器92上存储有可在所述处理器91上运行的程序或指令,该程序或指令被处理器91执行时实现上述视频录制方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG8, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described video recording method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.
图9为实现本申请实施例的一种电子设备的硬件结构示意图。Figure 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in Figure 9 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
其中,显示单元106,用于显示视频录制界面。用户输入单元107,用于接收对视频录制界面的第一输入。处理器110,用于响应于第一输入,录制视频,得到第一视频的视频文件,该第一视频的视频文件中包括第一导航路线信息,该第一导航路线信息指示的第一导航路线与录制第一视频时第一电子设备的位置信息匹配。The display unit 106 is used to display the video recording interface. The user input unit 107 is used to receive a first input to the video recording interface. The processor 110 is used to record video in response to the first input, and obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.
本申请实施例提供一种电子设备,由于电子设备第一视频的视频文件包括第一导航路线信息,所以,在第一电子设备可以基于第一视频直接得到第一导航路线信息对应的第一导航路线,无需进行手动编辑,提升了第一电子设备获取旅游路线的效率。This application provides an electronic device. Since the video file of the first video of the electronic device includes first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.
可选地,本申请实施例中,上述处理器110,还用于接收对视频录制界面的第一输入之后,响应于第一输入,在录制视频的过程中,获取在采集每帧视频帧时第一电子设备的位置信息;按照每帧视频帧的采集时间以及每帧视频帧对应的第一电子设备的位置信息,生成导航路线信息。Optionally, in this embodiment of the application, the processor 110 is further configured to, after receiving the first input to the video recording interface, in response to the first input, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.
可选地,本申请实施例中,上述处理器110,还用于接收对视频录制界面的第一输入之后,接收第二输入,响应于第二输入,获取第二视频的视频文件;从第二视频的视频文件中提取第二导航路线信息。Optionally, in this embodiment of the application, the processor 110 is further configured to receive a second input after receiving a first input to the video recording interface, and in response to the second input, obtain a video file of the second video; and extract second navigation route information from the video file of the second video.
可选地,本申请实施例中,上述处理器110,还用于从第二视频的视频文件中提取第二导航路线信息之后,在录制视频的过程中,在视频录制界面中显示第二导航路线信息中与第一电子设备的位置信息匹配的路线指引信息;基于路线指引信息,拍摄得到第三视频;其中,第三视频中包括第三导航路线信息。Optionally, in this embodiment of the application, the processor 110 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.
可选地,本申请实施例中,上述用户输入单元107,还用于得到第一视频的视频文件之后,接收对第一视频的第三输入。上述显示单元106,还用于响应于第三输入,在第一显示区域中显示第一导航路线的导航图像,在第二显示区域中显示第一视频。Optionally, in this embodiment, the user input unit 107 is further configured to receive a third input to the first video after obtaining the video file of the first video. The display unit 106 is further configured to, in response to the third input, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.
可选地,本申请实施例中,上述用户输入单元107,还用于在得到第一视频的视频文件之后,接收对第一视频的第四输入。上述处理器110,还用于响应于第四输入,向第二电子设备发送第一视频的视频文件,第一视频中携带导航路线信息。Optionally, in this embodiment, the user input unit 107 is further configured to receive a fourth input to the first video after obtaining the video file of the first video. The processor 110 is further configured to send the video file of the first video to the second electronic device in response to the fourth input, wherein the first video carries navigation route information.
可选地,本申请实施例中,上述显示单元106,具体用于在视频录制界面中显示地图界面。上述处理器110,具体用于响应于第一输入,获取采集到第一视频帧时电子设备的第一位置信息,并基于第一位置信息和地图界面中显示的位置标识,在地图界面中更新路线轨迹;其中,地图界面中显示的位置标识为电子设备采集至少一个第二视频帧时电子设备的位置信息对应的位置标识,至少一个第二视频帧为电子设备采集第一视频帧之前采集的视频帧。Optionally, in this embodiment, the display unit 106 is specifically used to display a map interface in the video recording interface. The processor 110 is specifically used to respond to the first input, acquire the first location information of the electronic device when the first video frame is acquired, and update the route trajectory in the map interface based on the first location information and the location identifier displayed in the map interface; wherein, the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device acquires at least one second video frame, and the at least one second video frame is a video frame acquired by the electronic device before acquiring the first video frame.
本申请实施例提供的电子设备能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。This application embodiment also provides a chip, which 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 various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述视频录制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the video recording method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims (19)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410500729.9 | 2024-04-24 | ||
| CN202410500729.9A CN118400483A (en) | 2024-04-24 | 2024-04-24 | Video recording method, device, electronic equipment and storage medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025223325A1 true WO2025223325A1 (en) | 2025-10-30 |
Family
ID=91986380
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/089886 Pending WO2025223325A1 (en) | 2024-04-24 | 2025-04-18 | Video recording method and apparatus, and electronic device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118400483A (en) |
| WO (1) | WO2025223325A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118400483A (en) * | 2024-04-24 | 2024-07-26 | 维沃移动通信有限公司 | Video recording method, device, electronic equipment and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101640775A (en) * | 2009-08-24 | 2010-02-03 | 深圳华为通信技术有限公司 | Video recording method, photo taking method and mobile terminal |
| CN101701827A (en) * | 2009-10-20 | 2010-05-05 | 深圳市凯立德计算机系统技术有限公司 | Way guidance method and way guidance equipment |
| US20100122208A1 (en) * | 2007-08-07 | 2010-05-13 | Adam Herr | Panoramic Mapping Display |
| CN105120168A (en) * | 2015-09-01 | 2015-12-02 | 上海由零网络科技有限公司 | Video shooting method based on moving camera and moving camera |
| CN105227830A (en) * | 2015-09-01 | 2016-01-06 | 上海由零网络科技有限公司 | A kind of method for processing video frequency and processing system for video |
| CN118400483A (en) * | 2024-04-24 | 2024-07-26 | 维沃移动通信有限公司 | Video recording method, device, electronic equipment and storage medium |
-
2024
- 2024-04-24 CN CN202410500729.9A patent/CN118400483A/en active Pending
-
2025
- 2025-04-18 WO PCT/CN2025/089886 patent/WO2025223325A1/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100122208A1 (en) * | 2007-08-07 | 2010-05-13 | Adam Herr | Panoramic Mapping Display |
| CN101640775A (en) * | 2009-08-24 | 2010-02-03 | 深圳华为通信技术有限公司 | Video recording method, photo taking method and mobile terminal |
| CN101701827A (en) * | 2009-10-20 | 2010-05-05 | 深圳市凯立德计算机系统技术有限公司 | Way guidance method and way guidance equipment |
| CN105120168A (en) * | 2015-09-01 | 2015-12-02 | 上海由零网络科技有限公司 | Video shooting method based on moving camera and moving camera |
| CN105227830A (en) * | 2015-09-01 | 2016-01-06 | 上海由零网络科技有限公司 | A kind of method for processing video frequency and processing system for video |
| CN118400483A (en) * | 2024-04-24 | 2024-07-26 | 维沃移动通信有限公司 | Video recording method, device, electronic equipment and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118400483A (en) | 2024-07-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9424255B2 (en) | Server-assisted object recognition and tracking for mobile devices | |
| EP2583254B1 (en) | Mobile device based content mapping for augmented reality environment | |
| US8400548B2 (en) | Synchronized, interactive augmented reality displays for multifunction devices | |
| US20140152852A1 (en) | Predetermined-area management system, communication method, and computer program product | |
| US20140300775A1 (en) | Method and apparatus for determining camera location information and/or camera pose information according to a global coordinate system | |
| CN103685960A (en) | Method and system for processing image with matched position information | |
| US20130120450A1 (en) | Method and apparatus for providing augmented reality tour platform service inside building by using wireless communication device | |
| CN112740179A (en) | Application program starting method and device | |
| JP5419644B2 (en) | Method, system and computer-readable recording medium for providing image data | |
| WO2025223325A1 (en) | Video recording method and apparatus, and electronic device and storage medium | |
| JP2017049956A (en) | Information providing system, information processing apparatus, terminal device, information providing program, and information providing method | |
| JP2017108356A (en) | Image management system, image management method, and program | |
| CN111680238A (en) | Information sharing method and device and storage medium | |
| CN104008129A (en) | Position information processing method, device and terminal | |
| CN113268961A (en) | Travel note generation method and device | |
| WO2021238721A1 (en) | Photo display method and apparatus | |
| GB2513865A (en) | A method for interacting with an augmented reality scene | |
| CN108108485A (en) | A kind of album creating method and terminal | |
| WO2024088209A1 (en) | Position information acquisition method and apparatus | |
| CN115442471B (en) | Information sharing method, device, equipment and medium | |
| WO2024230571A1 (en) | Screenshot file control method and apparatus, and electronic device and storage medium | |
| CN116744065A (en) | Video playback method and device | |
| KR102204721B1 (en) | Method and user terminal for providing AR(Augmented Reality) documentary service | |
| CN115278378B (en) | Information display method, information display device, electronic device and storage medium | |
| CN114827744B (en) | Bullet screen processing method and device |
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: 25793711 Country of ref document: EP Kind code of ref document: A1 |