Video file editing method, device and system

By building a web server in the panoramic camera, the terminal device edits the panoramic camera video files in real time, solving the problems of complex and low-efficiency video editing in the existing technology, and achieving efficient video editing interaction and compatibility improvement.

CN118632083APending Publication Date: 2024-09-10SHENZHEN LABPANO ARTIFICIAL INTELLIGENCE CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410897530.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

The existing video file editing process is complex and inefficient. It requires the mobile terminal to install an app and obtain the original quality video file for editing, resulting in low processing efficiency.

Method used

Build a web server in the panoramic camera. The terminal device communicates with the panoramic camera through a browser or built-in web browsing function, obtains video files, detects user editing operations, and generates video editing files. The panoramic camera performs editing processing according to the edited files and generates the edited video files. video files.

Benefits of technology

It improves the portability and efficiency of video editing, reduces the complexity and cost of connecting terminal equipment to panoramic cameras, enhances system compatibility and security, and expands the scope and scenarios of end users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632083A
    Figure CN118632083A
Patent Text Reader

Abstract

The invention provides a video file editing method, device and system, the editing method is applied to a panorama camera and a terminal device, the panorama camera is provided with a web server, the terminal device is in communication connection with the web server through a browser or an application program with a built-in webpage browsing function, a video file in the panorama camera is obtained, and the video file is edited by the terminal device. The video file is a panoramic video file or a planar video file obtained by cutting a visual angle picture from the panoramic video file, and the editing method further comprises the following steps: after the terminal equipment acquires the video file, generating a video editing file by detecting a video editing operation of a user on the video file, the information is sent to the panorama camera through a browser or an application program with a built-in webpage browsing function; and the panoramic camera obtains the video editing file, and edits the video file according to the video editing file to obtain an edited video file. According to the method and the device, a user can conveniently and quickly edit and process the video file on the mobile phone terminal without an app.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of video editing technology, and specifically to a method, device and system for editing a video file. Background Art

[0002] Existing video files require users to edit the video to obtain the viewing angle they need. Usually, users need to connect the panoramic camera with the app of the mobile terminal, obtain the video file on the app of the mobile terminal and perform corresponding video editing operations. This operation is complicated and requires the mobile terminal to install the app application. The mobile app needs to obtain the video file with the original quality for video editing, which results in lower processing efficiency. Summary of the invention

[0003] The embodiments of the present application provide a method, device and system for editing a video file. The technical problem to be solved is that, in view of the defects of the prior art, existing video file users have technical problems of complex operation and low efficiency during the video editing process.

[0004] In order to solve the above technical problems, a technical solution adopted by the present application is to provide a video file editing method, which is applied to a panoramic camera and a terminal device, and is characterized in that:

[0005] The panoramic camera is equipped with a web server, the terminal device is connected to the web server through a browser or an application program with a built-in web browsing function, and obtains a video file in the panoramic camera, the video file is a panoramic video file, or a flat video file obtained by cutting a viewing angle of the panoramic video file, and the video file editing method further includes:

[0006] After the terminal device acquires the video file, it detects the video editing operation of the user on the video file, generates a video editing file, and sends the file to the panoramic camera through the browser or the application with a built-in web browsing function;

[0007] The panoramic camera obtains the video editing file, and edits the video file according to the video editing file to obtain an edited video file.

[0008] In a specific implementation, the planar video file obtained by cutting the viewing angle picture of the panoramic video file includes:

[0009] The terminal device obtains a flat video file of the default perspective of the panoramic video file sent by the panoramic camera, detects a user's instruction to change the perspective of the flat video file, and sends the instruction to the panoramic camera in real time; the panoramic camera obtains the instruction to change the perspective, adjusts the perspective of the panoramic video file according to the instruction to change the perspective, and crops the adjusted perspective of the panoramic video file into a flat video file and sends it to the terminal device.

[0010] In a specific implementation, the detecting a user's video editing operation on the video file and generating a video editing file includes:

[0011] Detecting the video editing operation of the user, obtaining a video editing data sequence according to the video editing operation, and generating a video editing file corresponding to the video file according to the video editing data sequence.

[0012] In a specific implementation, the step of editing the video file according to the video editing file to obtain the edited video file includes:

[0013] The video editing file is parsed to obtain the video editing data sequence, and the video file is edited according to the video editing data sequence to obtain the edited video file.

[0014] In a specific implementation, the video editing operation includes any one of an operation of adjusting the field of view, an operation of dot editing, an operation of cropping, an operation of changing the speed, and an operation of changing the screen display mode, or a combination of any two or more of the above.

[0015] In a specific implementation, the video editing operation is a dot editing operation, and the video editing data sequence includes key frame parameters and animation transition types between adjacent key frames;

[0016] The key frame parameters include a timestamp, a viewing angle and a zoom level of the key frame;

[0017] The animation transition type between adjacent key frames includes one or any combination of linear uniform transition, slow-in-fast-out transition, fast-in-slow-out transition, and fast-in-fast-out transition between adjacent key frames.

[0018] In a specific implementation, the video file is a video file that has been subjected to panoramic stitching and anti-shake processing in the panoramic camera;

[0019] The video file is a video file with a target tracking result in which target tracking has been completed in the panoramic camera.

[0020] In a specific implementation, the video file editing method further includes:

[0021] The terminal device obtains the edited video file through the browser or the application with built-in web browsing function, and saves the edited video file to the local storage of the terminal device.

[0022] In a specific implementation, a video file editing device is also included, including a panoramic camera module and a terminal device module, characterized in that:

[0023] A web server module is built on the panoramic camera module, and the terminal device module is connected to the web server module through a browser module or an application module with a built-in web browsing function, and obtains a video file in the panoramic camera module, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file;

[0024] The terminal device module further includes a generation module, which detects the user's video editing operation on the video file after the terminal device module obtains the video file, generates a video editing file, and sends the file to the panoramic camera through the browser module or the application module with a built-in web browsing function;

[0025] The panoramic camera module further includes an editing processing module, which is used for editing the video file according to the video editing file after the panoramic camera module obtains the video editing file to obtain an edited video file;

[0026] The terminal device module also includes a saving module, which is used to save the edited video file to the local memory of the terminal device module after the terminal device module obtains the edited video file through the browser module or the application module with built-in web browsing function.

[0027] In a specific embodiment, a video file editing system is also included, including a panoramic camera unit and a terminal device unit, characterized in that:

[0028] A web server unit is built on the panoramic camera unit, and the terminal device unit is connected to the web server unit through a browser unit or an application unit with a built-in web browsing function, and obtains a video file in the panoramic camera unit, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file;

[0029] The terminal device unit further includes a generating unit, which detects a user's video editing operation on the video file after the terminal device unit acquires the video file, generates a video editing file, and sends the file to the panoramic camera through the browser unit or the application unit with a built-in web browsing function;

[0030] The panoramic camera unit further includes an editing processing unit, which is used to edit the video file according to the video editing file after the panoramic camera unit obtains the video editing file to obtain an edited video file;

[0031] The terminal device unit also includes a saving unit, which is used to save the edited video file to the local memory of the terminal device unit after the terminal device unit obtains the edited video file through the browser unit or the application unit with built-in web browsing function.

[0032] The beneficial effects of the present application are as follows: Different from the prior art, the present application provides a method, device and system for editing a video file, wherein the method for editing a video file is applied to a panoramic camera and a terminal device, wherein the panoramic camera is provided with a web server, and the terminal device communicates with the web server through a browser or an application program with a built-in web browsing function, and obtains a video file in the panoramic camera, wherein the video file is a panoramic video file or a flat video file obtained by cropping a viewing angle of the panoramic video file, and the method for editing a video file further includes:

[0033] After the terminal device acquires the video file, it detects the video editing operation of the user on the video file, generates a video editing file, and sends the file to the panoramic camera through the browser or the application with a built-in web browsing function;

[0034] The panoramic camera obtains the video editing file, and edits the video file according to the video editing file to obtain an edited video file.

[0035] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0036] A web server is built in the panoramic camera, and the panoramic camera is used as the server. The terminal device can achieve communication connection with the panoramic camera through the server or an application with a built-in web browsing function. The video files in the panoramic camera can be easily and real-time acquired through the server or the application with a built-in web browsing function. Video editing operations are performed in real time on the terminal device. By detecting the video editing operations of the user on the video file on the terminal device, a corresponding video editing file is generated. The panoramic camera only needs to obtain the video editing file to quickly and conveniently perform video editing processing on the video file, restore the user's video editing operations, and obtain the edited video file required by the user.

[0037] This application improves the portability and efficiency of the video editing and processing interaction between the panoramic camera and the terminal device, and facilitates users to quickly browse the video files in the panoramic camera and perform quick video editing operations at any time through the browser of the terminal device or an application with a built-in web browsing function. The panoramic camera can quickly generate a complete edited video file based on the video editing file generated by the user's video editing operation. This application effectively reduces the complexity and cost of connecting the terminal device with the panoramic camera, enhances the compatibility and security of the terminal device and the panoramic camera system, and expands the scope and scenarios of terminal users' use of the panoramic camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the implementation modes of the present application, the drawings required for use in the description of the implementation modes will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 This is a schematic diagram of the implementation process of a method for editing a video file provided in Example 1 of the present application;

[0040] Figure 2 This is a schematic diagram of the module composition of a video file editing device provided in Embodiment 2 of the present application;

[0041] Figure 3 This is a schematic diagram of the functional unit structure of a video file editing system provided in Example 3 of the present application. DETAILED DESCRIPTION

[0042] The present application is further described in detail below in conjunction with the accompanying drawings and implementation methods. It is particularly noted that the following implementation methods are only used to illustrate the present application, but do not limit the scope of the present application. Similarly, the following implementation methods are only some implementation methods of the present application rather than all implementation methods. All other implementation methods obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0043] The terms "including" and "having" and any variations thereof in this application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or modules is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other steps or modules inherent to these processes, methods, products or devices.

[0044] The above terms are only for the convenience of description and should not be construed as limitations on the present technical solution.

[0045] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0046] The specific implementation of this application is described in detail below in conjunction with specific embodiments:

[0047] Embodiment 1:

[0048] Figure 1 The implementation process of a method for editing a video file provided in Example 1 of the present application is shown. For the sake of convenience of explanation, only the part related to the embodiment of the present application is shown, which is described in detail as follows.

[0049] The video file editing method is applied to a panoramic camera and a terminal device. A web server is built on the panoramic camera. The terminal device communicates with the web server through a browser or an application with a built-in web browsing function, and obtains the video file in the panoramic camera. The video file is a panoramic video file, or a flat video file obtained by cropping the viewing angle of the panoramic video file.

[0050] It should be noted that a web server is built on the panoramic camera, and the panoramic camera is configured as a high-performance web server, so that the panoramic camera has stable storage space and network connection capabilities. The web server supports HTTP protocol requests and processing, and can execute access and management of the album files of the panoramic camera to process the management and interaction requests of the terminal device to the panoramic camera album, so as to preview and download the album files of the panoramic camera, including video files, panoramic images, flat videos and flat images.

[0051] The panoramic camera may generate a network address for accessing the web server, and the network address may be opened by a browser of a terminal device or an application program with a built-in web browsing function.

[0052] Furthermore, the panoramic camera and the terminal device are connected to the same local area network.

[0053] Furthermore, the network address is stored in a coding graphic, and the coding graphic can be scanned and opened by a browser of the terminal device or an application with a built-in web browsing function, such as WeChat app, to store the network address in the coding graphic.

[0054] Furthermore, the coding graphic is one of a two-dimensional code graphic, a three-dimensional code graphic, an AR code, a barcode graphic, and a text graphic, or any combination of two or more thereof.

[0055] Furthermore, the terminal device includes a smart phone, a tablet computer, a computer and other devices with a browser application.

[0056] In one specific implementation manner, the planar video file obtained by cutting the viewing angle picture of the panoramic video file includes:

[0057] The terminal device obtains a plane video file of the default perspective of the panoramic video file sent by the panoramic camera, detects a user's instruction to change the perspective of the plane video file, and sends the instruction to the panoramic camera in real time; the panoramic camera obtains the instruction to change the perspective, adjusts the perspective of the panoramic video file according to the instruction to change the perspective, and crops the adjusted perspective of the panoramic video file into a plane video and sends it to the terminal device.

[0058] It should be noted that, in order to reduce the bandwidth requirements of the terminal device and improve the real-time browsing experience of the user, the panoramic camera sends to the terminal device a partial viewing angle picture of the panoramic video file, and the partial viewing angle picture is a plane video picture under the default viewing angle. When the user needs to watch other viewing angle pictures, the display screen of the terminal device slides. The terminal device detects that the user slides the picture of the plane video file, that is, the picture viewing angle conversion instruction is sent to the panoramic camera in real time. The panoramic camera obtains the picture viewing angle conversion instruction, adjusts the viewing angle picture of the panoramic video file according to the picture viewing angle conversion instruction, and cuts the adjusted viewing angle picture of the panoramic video file into a plane video, that is, cuts the current picture into a plane video file, and sends it to the terminal device. The terminal device obtains the real-time cropped plane video file in real time and displays it on the display screen for the user to further perform the picture viewing angle conversion operation. Through this real-time communication method, the bandwidth requirements of the terminal device are effectively reduced, which facilitates users to quickly browse the video file and convert the picture viewing angle according to their needs.

[0059] The video file editing method also includes:

[0060] After acquiring the video file, the terminal device detects the user's video editing operation on the video file, generates a video editing file, and sends it to the panoramic camera through the browser or the application with built-in web browsing function.

[0061] It should be noted that the terminal device accesses the server in the panoramic camera through the browser or the application with built-in web browsing function, opens the photo album of the panoramic camera, and obtains the video file in the photo album of the panoramic camera. The user previews the video file through the browser or the application with built-in web browsing function, and performs video editing operations on the video file. The terminal device detects the video editing operation of the user, generates a video editing file, and sends it to the panoramic camera through the browser or the application with built-in web browsing function.

[0062] In one specific implementation manner, the detecting a video editing operation of a user on the video file and generating a video editing file comprises:

[0063] Detecting the video editing operation of the user, obtaining a video editing data sequence according to the video editing operation, and generating a video editing file corresponding to the video file according to the video editing data sequence.

[0064] It should be noted that the video editing data sequence is a data file that records the video editing operations of the user.

[0065] One specific implementation method is that the video file is edited according to the video editing file to obtain an edited video file, including:

[0066] The video editing file is parsed to obtain the video editing data sequence, and the video file is edited according to the video editing data sequence to obtain the edited video file.

[0067] In one specific implementation manner, the video editing operation includes any one of an operation of adjusting the field of view angle, an operation of dot editing, an operation of cropping, an operation of changing the speed, and an operation of changing the screen display mode, or a combination of any two or more of the above.

[0068] It should be noted that the video editing operation includes any video editing operation performed by the user on the video file on the terminal device, including but not limited to any one or a combination of any two or more of the following operations: adjusting the field of view angle, dot editing, cropping, speed changing, and changing the screen display mode. Any video editing operation performed by the user on the video file can be detected and identified by the terminal device, and converted and recorded into the video editing data sequence, and a corresponding video editing file of the video file can be generated based on the video editing data sequence.

[0069] In one specific implementation, the video editing operation is a dot editing operation, and the video editing data sequence includes key frame parameters and animation transition types between adjacent key frames;

[0070] The key frame parameters include a timestamp, a viewing angle, and a zoom level of the key frame;

[0071] The animation transition type between adjacent key frames includes one or any combination of linear uniform transition, slow-in-fast-out transition, fast-in-slow-out transition, and fast-in-fast-out transition between adjacent key frames

[0072] It should be noted that the dot editing operation is an adjustment of the viewing angle of the video file by the user on the screen of the terminal device to obtain the viewing angle required by the user.

[0073] Furthermore, the video editing data sequence is encoded data with the dot editing operation logic, and a video editing file of the video file storing the encoded data is generated through the encoded data. The video editing file can be sent to the web server of the panoramic camera by the browser of the terminal device or the application with built-in web browsing function, and can be parsed by the panoramic camera.

[0074] Furthermore, the video editing file is parsed to obtain the video editing data sequence, that is, the encoded data with the dot editing operation logic; based on the encoded data with the dot editing operation logic, further processing is performed to obtain the dot editing animation action sequence; based on the dot editing animation action sequence, the video file is edited and processed, the user's dot editing operation is restored to obtain the edited video file.

[0075] The animation action sequence of the dot editing includes the animation effects of each time stamp of the video file. The video file is edited according to the animation effects of each time stamp, so that the dot editing operation of the user can be restored to obtain the edited video file.

[0076] Furthermore, the video editing data sequence includes key frame parameters and animation transition types between adjacent key frames, that is, the dot-editing animation action sequence obtained after further processing includes key frame parameters and animation transition types between adjacent key frames.

[0077] It should be noted that the key frame parameters and the animation transition types between adjacent key frames are animation effects of each time stamp of the video file, which are dot-editing operations performed by the user on the video file.

[0078] Furthermore, the key frame parameters include a timestamp, a viewing angle and a zoom level of the key frame.

[0079] It should be noted that the key frame parameters include the timestamp corresponding to each key frame, the picture viewing angle at the current timestamp, the picture viewing angle may specifically include yaw angle information, pitch angle information and roll angle information, and the zoom degree may specifically include the field of view angle and / or the distance between the rendering model camera and the center of the rendering model.

[0080] Furthermore, the animation transition type between adjacent key frames is the speed of switching the perspective transition between adjacent key frames, such as linear uniform transition, slow-in-fast-out transition, fast-in-slow-out transition, and fast-in-fast-out transition performed according to the timestamp parameters of the two adjacent key frames after the perspective direction and the zoom degree are determined.

[0081] One specific implementation method is that the video editing operation is a screen display mode changing operation.

[0082] It should be noted that the screen display mode is the user's adjustment of the screen display mode of the video file. For example, when the user adjusts the screen display mode to target tracking, the picture-in-picture display mode can be turned on to display the currently tracked target perspective in the first screen and the panoramic screen perspective in the second screen.

[0083] The picture display modes also include immersive mode, asteroid mode, and plane mode.

[0084] In one specific implementation manner, the video file is a video file that has been subjected to panoramic stitching and anti-shake processing in the panoramic camera;

[0085] The video file is a video file with a target tracking result in which target tracking has been completed in the panoramic camera.

[0086] It should be noted that when the panoramic camera captures the video file, it can instantly perform panoramic stitching and anti-shake processing on the video file. The video file previewed by the user through the terminal device is a completely processed video file, which greatly improves the user experience. There is no need for the user to perform stitching or anti-shake processing on the back end, reducing the user's waiting time.

[0087] Furthermore, the panoramic camera can detect and track the target object in the video file, and output a video file with the target tracking result, so that the user can directly watch the video file with the specific target object perspective. The user can also select the picture-in-picture display mode in the video file with the specific target object perspective, further improving the user's viewing experience.

[0088] In one specific implementation, the video file editing method further includes:

[0089] The terminal device obtains the edited video file through the browser or the application with built-in web browsing function, and saves the edited video file to the local storage of the terminal device.

[0090] Embodiment 2:

[0091] Figure 2 A schematic diagram of the module composition of a video file editing device provided in the second embodiment of the present application is shown. For the sake of convenience of explanation, only the parts related to the embodiment of the present application are shown.

[0092] A video file editing device according to an embodiment of the present application includes a panoramic camera module and a terminal device module:

[0093] A web server module is built on the panoramic camera module, and the terminal device module is connected to the web server module through a browser module or an application module with a built-in web browsing function, and obtains a video file in the panoramic camera module, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file;

[0094] The terminal device module further includes a generation module, which detects the user's video editing operation on the video file after the terminal device module obtains the video file, generates a video editing file, and sends the file to the panoramic camera through the browser module or the application module with a built-in web browsing function;

[0095] The panoramic camera module further includes an editing processing module, which is used for editing the video file according to the video editing file after the panoramic camera module obtains the video editing file to obtain an edited video file;

[0096] The terminal device module also includes a saving module, which is used to save the edited video file to the local memory of the terminal device module after the terminal device module obtains the edited video file through the browser module or the application module with built-in web browsing function.

[0097] It should be noted that, for technical details not fully described in this embodiment, reference can be made to the video file editing method provided in the above-mentioned embodiment 1, which will not be described in detail here.

[0098] Embodiment three:

[0099] In an embodiment of the present application, a video file editing system is provided, such as Figure 3 As shown, Figure 3 Schematic diagram of the functional unit structure of the video file editing system.

[0100] The video file editing system includes a panoramic camera unit and a terminal device unit:

[0101] A web server unit is built on the panoramic camera unit, and the terminal device unit is connected to the web server unit through a browser unit or an application unit with a built-in web browsing function, and obtains a video file in the panoramic camera unit, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file;

[0102] The terminal device unit further includes a generating unit, which detects a user's video editing operation on the video file after the terminal device unit acquires the video file, generates a video editing file, and sends the file to the panoramic camera through the browser unit or the application unit with a built-in web browsing function;

[0103] The panoramic camera unit further includes an editing processing unit, which is used to edit the video file according to the video editing file after the panoramic camera unit obtains the video editing file to obtain an edited video file;

[0104] The terminal device unit also includes a saving unit, which is used to save the edited video file to the local memory of the terminal device unit after the terminal device unit obtains the edited video file through the browser unit or the application unit with built-in web browsing function.

[0105] It should be noted that, for technical details not fully described in this embodiment, reference can be made to the video file editing method provided in the above-mentioned embodiment 1, which will not be described in detail here.

[0106] Different from the prior art, the embodiments of the present application provide a method, device and system for editing a video file. The method for editing a video file is applied to a panoramic camera and a terminal device. The panoramic camera is equipped with a web server. The terminal device communicates with the web server through a browser or an application with a built-in web browsing function, and obtains a video file in the panoramic camera. The video file is a panoramic video file, or a flat video file obtained by cropping a viewing angle of the panoramic video file. The method for editing a video file also includes:

[0107] After the terminal device acquires the video file, it detects the video editing operation of the user on the video file, generates a video editing file, and sends the file to the panoramic camera through the browser or the application with a built-in web browsing function;

[0108] The panoramic camera obtains the video editing file, and edits the video file according to the video editing file to obtain an edited video file.

[0109] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0110] A web server is built in the panoramic camera, and the panoramic camera is used as the server. The terminal device can achieve communication connection with the panoramic camera through the server or an application with a built-in web browsing function. The video files in the panoramic camera can be easily and real-time acquired through the server or the application with a built-in web browsing function. Video editing operations are performed in real time on the terminal device. By detecting the video editing operations of the user on the video file on the terminal device, a corresponding video editing file is generated. The panoramic camera only needs to obtain the video editing file to quickly and conveniently perform video editing processing on the video file, restore the user's video editing operations, and obtain the edited video file required by the user.

[0111] This application improves the portability and efficiency of the video editing and processing interaction between the panoramic camera and the terminal device, and facilitates users to quickly browse the video files in the panoramic camera and perform quick video editing operations at any time through the browser of the terminal device or an application with a built-in web browsing function. The panoramic camera can quickly generate a complete edited video file based on the video editing file generated by the user's video editing operation. This application effectively reduces the complexity and cost of connecting the terminal device with the panoramic camera, enhances the compatibility and security of the terminal device and the panoramic camera system, and expands the scope and scenarios of terminal users' use of the panoramic camera.

[0112] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0113] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0114] If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a terminal device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

[0115] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A video file editing method, applied to panoramic cameras and terminal devices, Features: The panoramic camera is equipped with a web server, the terminal device is connected to the web server through a browser or an application program with a built-in web browsing function, and obtains a video file in the panoramic camera, the video file is a panoramic video file, or a flat video file obtained by cutting a viewing angle of the panoramic video file, and the video file editing method further includes: After the terminal device acquires the video file, it detects the video editing operation of the user on the video file, generates a video editing file, and sends the file to the panoramic camera through the browser or the application with a built-in web browsing function; The panoramic camera obtains the video editing file, and edits the video file according to the video editing file to obtain an edited video file.

2. A method for editing a video file according to claim 1, It is characterized in that The planar video file obtained by cutting the viewing angle picture of the panoramic video file includes: The terminal device obtains a flat video file of the default perspective of the panoramic video file sent by the panoramic camera, detects a user's instruction to change the perspective of the flat video file, and sends the instruction to the panoramic camera in real time; the panoramic camera obtains the instruction to change the perspective, adjusts the perspective of the panoramic video file according to the instruction to change the perspective, and crops the adjusted perspective of the panoramic video file into a flat video file and sends it to the terminal device.

3. A method for editing a video file according to claim 1, It is characterized in that The detecting the video editing operation of the user on the video file and generating the video editing file comprises: Detecting the video editing operation of the user, obtaining a video editing data sequence according to the video editing operation, and generating a video editing file corresponding to the video file according to the video editing data sequence.

4. A method for editing a video file according to claim 3, It is characterized in that The step of editing the video file according to the video editing file to obtain an edited video file comprises: The video editing file is parsed to obtain the video editing data sequence, and the video file is edited according to the video editing data sequence to obtain the edited video file.

5. A method for editing a video file according to claim 4, It is characterized in that The video editing operation includes any one of an operation of adjusting the field of view angle, an operation of dot editing, an operation of cropping, an operation of changing the speed, and an operation of changing the screen display mode, or a combination of any two or more of the above.

6. A method for editing a video file according to claim 4, Features: The video editing operation is a dot editing operation, and the video editing data sequence includes key frame parameters and animation transition types between adjacent key frames; The key frame parameters include a timestamp, a viewing angle, and a zoom level of the key frame; The animation transition type between adjacent key frames includes one or any combination of linear uniform transition, slow-in-fast-out transition, fast-in-slow-out transition, and fast-in-fast-out transition between adjacent key frames.

7. A method for editing a video file according to any one of claims 1 to 6, Features: The video file is a video file that has been subjected to panoramic stitching and anti-shake processing in the panoramic camera; The video file is a video file with a target tracking result in which target tracking has been completed in the panoramic camera.

8. A method for editing a video file according to any one of claims 1 to 6, It is characterized in that The video file editing method also includes: The terminal device obtains the edited video file through the browser or the application with built-in web browsing function, and saves the edited video file to the local storage of the terminal device.

9. A video file editing device, comprising a panoramic camera module and a terminal device module, Features: A web server module is built on the panoramic camera module, and the terminal device module is connected to the web server module through a browser module or an application module with a built-in web browsing function, and obtains a video file in the panoramic camera module, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file; The terminal device module further includes a generation module, which detects the user's video editing operation on the video file after the terminal device module obtains the video file, generates a video editing file, and sends the file to the panoramic camera through the browser module or the application module with a built-in web browsing function; The panoramic camera module further includes an editing processing module, which is used for editing the video file according to the video editing file after the panoramic camera module obtains the video editing file to obtain an edited video file; The terminal device module also includes a saving module, which is used to save the edited video file to the local memory of the terminal device module after the terminal device module obtains the edited video file through the browser module or the application module with built-in web browsing function.

10. A video file editing system, comprising a panoramic camera unit and a terminal device unit, Features: A web server unit is built on the panoramic camera unit, and the terminal device unit is connected to the web server unit through a browser unit or an application unit with a built-in web browsing function, and obtains a video file in the panoramic camera unit, wherein the video file is a panoramic video file or a flat video file obtained by cutting a viewing angle picture from the panoramic video file; The terminal device unit further includes a generating unit, which detects a user's video editing operation on the video file after the terminal device unit acquires the video file, generates a video editing file, and sends the file to the panoramic camera through the browser unit or the application unit with a built-in web browsing function; The panoramic camera unit further includes an editing processing unit, which is used to edit the video file according to the video editing file after the panoramic camera unit obtains the video editing file to obtain an edited video file; The terminal device unit also includes a saving unit, which is used to save the edited video file to the local memory of the terminal device unit after the terminal device unit obtains the edited video file through the browser unit or the application unit with built-in web browsing function.

Citation Information

Cited By

  • Video generation method and device and panoramic camera

    CN119183022A

  • Video file editing method, apparatus and system

    WO2026007376A1