Space video processing method and device, equipment and medium
By providing a unified processing method for viewing and editing in the spatial video player, the problem of lack of spatial video editing functions in the prior art is solved, and a low-cost and high-efficiency spatial video editing experience is achieved.
Patent Information
- Application Number
- CN202411613002.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-25
AI Technical Summary
The existing spatial video player only supports playback, and the editing function requires professional software, which is costly to learn, is difficult to get started, and has poor editing experience.
It provides a spatial video processing method, which supports basic attribute editing of spatial videos on the viewing page, and further editing on the production page through mode switching, realizing the unity of viewing and editing functions of spatial videos.
It reduces the difficulty and cost of spatial video editing, improves the efficiency and experience of editing, and realizes the viewing and basic attribute editing of spatial videos through a program.
Smart Images

Figure CN119520884A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of spatial video technology, and in particular to a spatial video processing method, device, equipment and medium. Background Art
[0002] Spatial video technology can be used to produce spatial videos and watch them in spatial video players. In related technologies, spatial video players only support spatial video playback. Spatial video editing requires professional software, which has a high learning cost and is difficult to get started. The spatial video editing experience is not good and needs to be improved. Summary of the invention
[0003] In order to solve the above technical problems, the present disclosure provides a spatial video processing method, device, equipment and medium.
[0004] The present disclosure provides a method for processing spatial video, the method comprising:
[0005] In response to a viewing operation on a first spatial video, playing the first spatial video on a viewing page;
[0006] In response to a first editing operation on the viewing page, editing the first spatial video with a first attribute to generate a second spatial video;
[0007] In response to the first mode switching operation, closing the viewing page and displaying the second space video on the production page;
[0008] In response to a second editing operation on the production page, a second attribute of the second spatial video is edited to generate a third spatial video.
[0009] The present disclosure also provides a spatial video processing device, the device comprising:
[0010] A viewing module, configured to play the first spatial video on a viewing page in response to a viewing operation on the first spatial video;
[0011] A first editing module, configured to edit the first spatial video with a first attribute to generate a second spatial video in response to a first editing operation on the viewing page;
[0012] A switching module, configured to close the viewing page and display the second space video on the production page in response to a first mode switching operation;
[0013] The second editing module is used to edit the second spatial video according to the second attribute to generate a third spatial video in response to a second editing operation on the production page.
[0014] An embodiment of the present disclosure also provides an electronic device, which includes: a processor; a memory for storing executable instructions of the processor; the processor is used to read the executable instructions from the memory and execute the instructions to implement the spatial video processing method provided by the embodiment of the present disclosure.
[0015] The embodiments of the present disclosure further provide a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the spatial video processing method provided by the embodiments of the present disclosure.
[0016] The technical solution provided by the embodiment of the present disclosure has the following advantages over the prior art: the spatial video processing solution provided by the embodiment of the present disclosure, in response to the viewing operation of the first spatial video, plays the first spatial video on the viewing page; in response to the first editing operation on the viewing page, edits the first attribute of the first spatial video to generate a second spatial video; in response to the first mode switching operation, closes the viewing page and displays the second spatial video on the production page; in response to the second editing operation on the production page, edits the second attribute of the second spatial video to generate a third spatial video. By adopting the above technical solution, when the spatial video is played on the viewing page, it supports editing the first attribute of the spatial video, and it can switch from the viewing mode to the production mode to further edit the second attribute of the spatial video on the production page, so that the viewing of the spatial video and the editing of some basic attributes can be supported simultaneously through one spatial video processing program, and the mode switching can switch to the production mode of the spatial video to perform attribute editing of a deeper dimension, which not only reduces the difficulty of editing the spatial video, but also effectively improves the efficiency of editing. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0018] Figure 1 A schematic diagram of a flow chart of a spatial video processing method provided by an embodiment of the present disclosure;
[0019] Figure 2 A schematic diagram of a viewing page provided by an embodiment of the present disclosure;
[0020] Figure 3 A schematic diagram of another viewing page provided by an embodiment of the present disclosure;
[0021] Figure 4 A schematic diagram of another viewing page provided in an embodiment of the present disclosure;
[0022] Figure 5 A schematic diagram of making a page provided in an embodiment of the present disclosure;
[0023] Figure 6 A schematic diagram of a flow chart of another spatial video processing method provided by an embodiment of the present disclosure;
[0024] Figure 7 A schematic diagram of the structure of a spatial video processing device provided by an embodiment of the present disclosure;
[0025] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0029] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] In order to solve the problem of editing spatial videos in the related art, an embodiment of the present disclosure provides a method for processing spatial videos, which is introduced below in conjunction with a specific embodiment.
[0033] Figure 1 The present invention provides a flowchart of a spatial video processing method provided by an embodiment of the present invention. The method can be executed by a spatial video processing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method includes:
[0034] Step 101: In response to a viewing operation on a first spatial video, the first spatial video is played on a viewing page.
[0035] The spatial video processing method of the disclosed embodiment can be executed by a spatial video processing program. The spatial video processing program can be used for viewing and producing spatial videos and generating corresponding two-dimensional videos, etc. It is a multifunctional processing program for spatial videos, which can realize a series of processing operations of spatial videos and has low learning cost and difficulty.
[0036] Space video is a new video format that uses virtual reality technology to present video content to viewers in a three-dimensional way. This video allows viewers to move, rotate, and scale freely in a virtual three-dimensional space, thereby obtaining a more realistic and vivid visual experience. Space video can use space video technology plus cloud services to gain advantages in production efficiency, content quality, and overall cost.
[0037] The first spatial video may be a spatial video that the current user is about to watch, and may be any type of spatial video, for example, the first spatial video may be a spatial video of a sports game. The viewing operation may be a gesture control operation (such as clicking, long pressing, double clicking, etc.) on the play button after the current user imports the first spatial video into the spatial video processing program. The viewing page may be a page for implementing spatial video playback so that the user can watch the spatial video. When the viewing page is opened, it indicates that the spatial video processing program is in viewing mode, and the user can adjust the viewing angle, zoom, rotate, move, and perform other operations on the viewing page.
[0038] When the user wants to watch the first spatial video, the user can import the first spatial video into the spatial video processing program and perform a viewing operation. The spatial video processing device can receive the user's viewing operation on the first spatial video and play the first spatial video on the viewing page.
[0039] For example, Figure 2 A schematic diagram of a viewing page provided by an embodiment of the present disclosure, such as Figure 2 As shown in the figure, a viewing page 200 of an exemplary spatial video processing program is shown, and the viewing page 200 may include a first spatial video 201, and is provided with two perspective transformation function controls, namely an overview mode 202 and a first perspective 203. The overview mode 202 is filled with white to indicate that it is selected, indicating that the first spatial video 201 is played in the overview mode. When the user triggers the first perspective 203, the first spatial video 201 can be switched from the overview mode to the first perspective for playback, and the first perspective can be the perspective of a certain camera.
[0040] Step 102: In response to a first editing operation on a viewing page, a first attribute of the first spatial video is edited to generate a second spatial video.
[0041] Among them, the first editing operation can be an editing operation on the basic attributes of the spatial video, and can be a gesture control operation on the editing control in the viewing page, such as clicking, long pressing, double-clicking, etc. The first attribute is the basic attribute of the spatial video. In the embodiment of the present disclosure, the first attribute can include at least one of scene, light, etc.
[0042] Specifically, the spatial video processing device can receive the user's first editing operation on the viewing page, and then display a function control for editing the first attribute. Based on the user's trigger operation on the function control for editing the first attribute, the first attribute of the first spatial video is edited, and the edited first spatial video is the second spatial video.
[0043] In some embodiments, the first editing operation includes scene editing and / or lighting editing.
[0044] Optionally, when the first editing operation includes scene editing, in response to the first editing operation on the viewing page, the first attribute of the first spatial video is edited to generate a second spatial video, including: in response to a triggering operation on the scene control of the viewing page, displaying at least one draft scene; in response to a selection operation on a target scene in at least one draft scene, switching the initial scene of the first spatial video to the target scene to generate the second spatial video.
[0045] Among them, scene editing can be an operation for editing the spatial scene in which the spatial video is located. Scene editing can include a triggering operation on a scene control and a selection operation on a draft scene. The scene control can be a functional control for triggering scene selection. The draft scene can be a three-dimensional scene material pre-set in the spatial video processing program. The number of draft scenes can include one or more, which is set according to actual needs. The target scene can be a draft scene corresponding to the selection operation in at least one draft scene. The initial scene can be a scene of the first spatial video before the first editing operation, and can be an original scene or a modified scene. The second spatial video can be a spatial video of the first spatial video after the first editing operation of the first attribute, and can be a first spatial video after scene change and / or lighting change.
[0046] After receiving a trigger operation of a scene control by a user on a viewing page, the processing device of the spatial video can display an interface including at least one draft scene. When receiving a selection operation of a user on a certain draft scene of the at least one draft scene, the draft scene can be determined as the target scene. After that, the initial scene of the first spatial video can be deleted, and the target scene can be used as a new scene to generate a second spatial video, and the second spatial video under the target scene can continue to be played on the viewing page.
[0047] For example, Figure 3 A schematic diagram of another viewing page provided by an embodiment of the present disclosure, such as Figure 3 As shown, the figure shows a viewing page 300, and area 301 of the viewing page 300 shows the draft scene after the scene control is triggered. The figure takes 9 draft scenes as an example, and the arrows in the figure indicate that the user selects the draft scene, and the draft scene is the target scene. After that, the scene of the first spatial video can be replaced from the initial scene to the target scene to obtain the second spatial video.
[0048] For example, Figure 4 A schematic diagram of another viewing page provided in an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the figure shows a viewing page 400, in which the viewing page 400 can be Figure 3 The second space video after the scene editing. Figure 3 In the first spatial video, the initial scene of the first spatial video is black, and the target scene of the second spatial video is white, which is only an example.
[0049] Optionally, when the first editing operation includes lighting editing, in response to the first editing operation on the viewing page, editing the first attribute of the first spatial video to generate the second spatial video may include: in response to the triggering operation of the lighting control of the viewing page, displaying the lighting editing interface; in response to the editing operation of the target lighting attribute in the lighting editing interface, switching the initial lighting attribute of the first spatial video to the target lighting attribute to generate the second spatial video.
[0050] Among them, light editing can be an operation for editing the lights in the spatial video. Light editing can include triggering operations on light controls and editing operations on light properties. Light controls can be functional controls for triggering light property editing. The light editing interface can be a page for editing light properties, and can include one or more functional controls for editing light properties. Light properties can include light angles, light colors, etc. Light angles can include top light, side light, bottom light, etc. The initial light properties can be the light properties of the first spatial video before the first editing operation, and can be original light properties or modified light properties. The target light properties can be light properties obtained after adjusting the initial light properties.
[0051] After receiving the user's trigger operation on the light control on the viewing page, the spatial video processing device can display the light editing interface, and then receive the user's editing operation on the light editing interface to obtain the target light attributes. The initial light attributes of the first spatial video can be switched to the target light attributes, and the switched first spatial video can be determined as the second spatial video.
[0052] In the above scheme, spatial videos can be viewed interactively and flexibly in viewing mode, and support editing of basic attributes such as scene change and lighting change, which effectively reduces the difficulty and cost of editing and improves the flexibility and efficiency of spatial video editing.
[0053] Step 103: In response to the first mode switching operation, the viewing page is closed and the second space video is displayed on the production page.
[0054] The first mode switching operation may be an operation of switching the spatial video processing program from the viewing mode to the production mode, and may include a gesture control operation (such as clicking, long pressing, double clicking, etc.) on the mode switching control in the viewing page, see Figure 2The viewing page 200 may include a mode switching control 204. The gray fill color of the mode switching control 204 indicates that the viewing mode is in progress. When the user triggers the mode switching control 204, the first mode switching operation is performed. The production page may be a page for producing and deeply editing spatial videos. When the production page is opened, it indicates that the spatial video processing program is in production mode. In the production page, users can perform 3D editing of spatial videos in multiple dimensions according to their needs, achieving the effect of professional editing software.
[0055] After receiving the user's first mode switching operation on the viewing page, the spatial video processing device can close the current viewing page and start the production page. Before the production page displays the second spatial video opened on the viewing page, if the first spatial video is being displayed on the viewing page, the production page will display the first spatial video at this time.
[0056] For example, Figure 5 A schematic diagram of a page making method provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown in the figure, a production page 500 in an exemplary spatial video processing program is shown. The production page 500 includes a mode switching control 501. The mode switching control 501 is used by the user to Figure 2 After the mode switching control 204 in the figure is triggered, the fill color changes from gray to white, indicating that it is in the production mode.
[0057] Step 104: In response to the second editing operation on the production page, edit the second attribute of the second spatial video to generate a third spatial video.
[0058] The second editing operation may be an editing operation on the depth attribute of the spatial video, which may be implemented by operating various functional controls included in the production page. The second attribute is the depth attribute of the spatial video. In the embodiment of the present disclosure, the second attribute may include at least one of special effects, camera movement, etc. The third spatial video may be a spatial video after the second spatial video has undergone the second editing operation on the second attribute, and may be the second spatial video edited with the depth attribute.
[0059] In some embodiments, the second editing operation includes special effect addition and / or camera movement setting. Special effect addition can be a processing method of adding special effect objects to the spatial video so that it presents a corresponding special display effect. Here, the special effect object can be a carrier of a three-dimensional special effect. Different special effect objects have different special effect effects. The special effect objects are not limited in the embodiments of the present disclosure. For example, the special effect object can include at least one of makeup, filters, stickers, text, etc. Camera movement setting can be an operation of setting the camera movement parameters of the spatial video. Camera movement is an important part of spatial video shooting. It involves the movement of the camera and the change of the lens. It can increase the dynamic sense and viewing experience of the spatial video. The camera movement parameters can include camera movement trajectory, camera movement speed, etc. The camera movement trajectory can be the camera in the spatial video moving in a specific path and manner to create a specific visual effect and narrative style. The camera movement speed can be the speed of the camera moving in the spatial video.
[0060] Specifically, the spatial video processing device can receive the user's second editing operation on the production page, and then display a function control for editing the second attribute. Based on the user's trigger operation on the function control, the second attribute of the second spatial video is edited, and the edited second spatial video is the third spatial video.
[0061] For example, Figure 6 A flowchart of another spatial video processing method provided by an embodiment of the present disclosure, in a feasible implementation manner, when the second editing operation includes adding special effects, in response to the second editing operation on the production page, editing the second attribute of the second spatial video to generate a third spatial video may include:
[0062] Step 601: In response to a triggering operation on a special effect control of a production page, display at least one special effect object.
[0063] The special effect control may be a function control for triggering special effect editing. After receiving a trigger operation of the special effect control by the user on the production page, the spatial video processing device may display at least one special effect object for the user to select.
[0064] Step 602: In response to a selection operation of a target special effect object among at least one special effect object, add the target special effect object to the second spatial video to generate a third spatial video.
[0065] The target special effect object may be the special effect object currently selected by the user from among the at least one special effect object. After displaying at least one special effect object, the spatial video processing device may determine the special effect object as the target special effect object when receiving a selection operation of a special effect object from among the at least one special effect object by the user, and then may add the target special effect object to the second spatial video to generate a third spatial video, and may continue to play the second spatial video under the target scene on the production page.
[0066] See also Figure 5 In the figure, the production page 500 may include a special effect control 502. By triggering the special effect control 502, at least one special effect object may be displayed and one of them may be selected as a target special effect object to add the target special effect object to the spatial video. In addition, Figure 5 The bottom area of the production page 500 may also include setting controls for two cameras, through which the camera movement settings are implemented, and may also include sound effect setting controls to implement sound effect editing. Figure 5 The production page is only an example and is not limiting.
[0067] The spatial video processing scheme provided by the embodiment of the present disclosure is, in response to a viewing operation on a first spatial video, to play the first spatial video on a viewing page; in response to a first editing operation on the viewing page, to edit the first attribute of the first spatial video to generate a second spatial video; in response to a first mode switching operation, to close the viewing page and display the second spatial video on a production page; in response to a second editing operation on a production page, to edit the second attribute of the second spatial video to generate a third spatial video. By adopting the above technical scheme, when a spatial video is played on a viewing page, it is supported to edit the first attribute of the spatial video, and the spatial video can be further edited on the production page by switching from the viewing mode to the production mode, so that the viewing of the spatial video and the editing of some basic attributes can be supported simultaneously through a spatial video player, and the mode switching can be switched to the production mode of the spatial video to perform attribute editing of a deeper dimension, which not only reduces the difficulty of editing the spatial video, but also effectively improves the efficiency of editing.
[0068] In some embodiments, in response to a first mode switching operation, after closing the viewing page and displaying the second spatial video on the production page, the spatial video processing method further includes: in response to a second mode switching operation, closing the production page and displaying the second spatial video on the viewing page.
[0069] The second mode switching operation may be an operation of switching the spatial video processing program from the production mode to the viewing mode, and may include gesture control operations such as clicking, long pressing, and double-clicking on the mode switching control in the production page, see Figure 5, the filling color of the mode switching control 501 in the production page 500 is white, indicating that it is in the production mode at this time. When the user triggers the mode switching control 501 at this time, the second mode switching operation is performed.
[0070] After receiving the user's second mode switching operation on the production page, the spatial video processing device can close the current production page and start the viewing page, and display the second spatial video opened on the production page before the viewing page is displayed. If the third spatial video is being displayed on the production page, the viewing page will display the third spatial video at this time.
[0071] In the above scheme, the viewing mode and production mode of the spatial video processing program can be flexibly switched according to user needs, thereby improving the convenience and efficiency of using different modes, thereby effectively improving the playback and editing effects of spatial videos.
[0072] Optionally, the spatial video processing method of the embodiment of the present disclosure may further include: in response to an export operation on a third spatial video, generating a two-dimensional video corresponding to the third spatial video and performing an export operation, which can be exported to a local or cloud location, where the second video corresponding to the third spatial video can be a three-dimensional video under a fixed perspective and fixed camera parameters; then in response to a publishing operation on the two-dimensional video, publishing the two-dimensional video so that other users can see the two-dimensional video, through which they can see the visual effect of the third spatial video, except that interactive operations such as changing the perspective cannot be performed.
[0073] Optionally, in response to an exit operation during the first editing operation or the second editing operation, an operation record of the first editing operation or the second editing operation is saved, so that the operation record can be loaded later to continue editing without starting editing from the beginning.
[0074] This solution uses a spatial video processing program to serve as a player that supports basic editing. In viewing mode, basic editing functions are implemented in an interactive manner, which reduces the difficulty of getting started, supports background display and replacement, and improves the interactive spatial video viewing experience. It can also serve as a professional editing program to achieve deep editing in production mode, and provide a special effects self-made interface, allowing users to build their own special effects to add special effects to spatial videos. Spatial videos also support export and publishing, which attracts more users to watch and produce spatial videos and improves the viewing and production experience of spatial videos.
[0075] Figure 7 This is a schematic diagram of the structure of a spatial video processing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. Figure 7 As shown, the device comprises:
[0076] A viewing module 701 is configured to play the first spatial video on a viewing page in response to a viewing operation on the first spatial video;
[0077] A first editing module 702, configured to edit the first spatial video with a first attribute to generate a second spatial video in response to a first editing operation on the viewing page;
[0078] A switching module 703 is used to close the viewing page and display the second space video on the production page in response to the first mode switching operation;
[0079] The second editing module 704 is used to edit the second spatial video according to the second attribute to generate a third spatial video in response to the second editing operation on the production page.
[0080] Optionally, the first editing operation includes scene editing and / or lighting editing.
[0081] Optionally, when the first editing operation includes the scene editing, the first editing module 702 is used to:
[0082] In response to a triggering operation on a scene control of the viewing page, displaying at least one draft scene;
[0083] In response to a selection operation of a target scene in the at least one draft scene, an initial scene of the first spatial video is switched to the target scene to generate a second spatial video.
[0084] Optionally, when the first editing operation includes the lighting editing, the first editing module 702 is used to:
[0085] In response to a triggering operation on a light control of the viewing page, displaying a light editing interface;
[0086] In response to an editing operation on a target light attribute in the light editing interface, the initial light attribute of the first spatial video is switched to the target light attribute to generate a second spatial video.
[0087] Optionally, the second editing operation includes adding special effects and / or setting camera movement.
[0088] Optionally, when the second editing operation includes adding the special effect, the second editing module 704 is used to:
[0089] In response to a triggering operation on a special effect control of the production page, displaying at least one special effect object;
[0090] In response to a selection operation of a target special effect object among the at least one special effect object, the target special effect object is added to the second spatial video to generate a third spatial video.
[0091] Optionally, the method further includes a second switching module, which is used to: in response to the first mode switching operation, close the viewing page and after displaying the second space video on the production page,
[0092] In response to the second mode switching operation, the production page is closed and the second space video is displayed on the viewing page.
[0093] The spatial video processing device provided in the embodiments of the present disclosure can execute the spatial video processing method provided in any embodiment of the present disclosure, and has the functional modules and beneficial effects corresponding to the execution method.
[0094] The embodiments of the present disclosure further provide a computer program product, including a computer program / instruction, which, when executed by a processor, implements the spatial video processing method provided by any embodiment of the present disclosure.
[0095] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
[0096] The following specific reference Figure 8 , which shows a schematic diagram of the structure of an electronic device 800 suitable for implementing the embodiment of the present disclosure. The electronic device 800 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0097] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0098] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0099] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the processing method of the spatial video of the embodiment of the present disclosure are performed.
[0100] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0101] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0102] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0103] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to a viewing operation on a first spatial video, plays the first spatial video on a viewing page; in response to a first editing operation on the viewing page, edits the first spatial video with a first attribute to generate a second spatial video; in response to a first mode switching operation, closes the viewing page and displays the second spatial video on a production page; in response to a second editing operation on the production page, edits the second spatial video with a second attribute to generate a third spatial video.
[0104] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0105] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0106] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0107] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0108] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0109] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0110] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0111] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0112] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A method for processing spatial video, characterized in that: include: In response to a viewing operation on a first spatial video, playing the first spatial video on a viewing page; In response to a first editing operation on the viewing page, editing the first spatial video with a first attribute to generate a second spatial video; In response to the first mode switching operation, closing the viewing page and displaying the second space video on the production page; In response to a second editing operation on the production page, a second attribute of the second spatial video is edited to generate a third spatial video.
2. The method according to claim 1, characterized in that The first editing operation includes scene editing and / or lighting editing.
3. The method according to claim 2, characterized in that When the first editing operation includes the scene editing, in response to the first editing operation on the viewing page, editing the first attribute of the first spatial video to generate a second spatial video includes: In response to a triggering operation on a scene control of the viewing page, displaying at least one draft scene; In response to a selection operation of a target scene in the at least one draft scene, an initial scene of the first spatial video is switched to the target scene to generate a second spatial video.
4. The method according to claim 2, characterized in that: When the first editing operation includes the lighting editing, in response to the first editing operation on the viewing page, editing the first attribute of the first spatial video to generate a second spatial video includes: In response to a triggering operation on a light control of the viewing page, displaying a light editing interface; In response to an editing operation on a target light attribute in the light editing interface, the initial light attribute of the first spatial video is switched to the target light attribute to generate a second spatial video.
5. The method according to claim 1, characterized in that The second editing operation includes adding special effects and / or setting camera movement.
6. The method according to claim 5, characterized in that When the second editing operation includes adding the special effect, in response to the second editing operation on the production page, editing the second spatial video with a second attribute to generate a third spatial video includes: In response to a triggering operation on a special effect control of the production page, displaying at least one special effect object; In response to a selection operation of a target special effect object among the at least one special effect object, the target special effect object is added to the second spatial video to generate a third spatial video.
7. The method according to claim 1, characterized in that In response to the first mode switching operation, after the viewing page is closed and the second space video is displayed on the production page, the method further includes: In response to the second mode switching operation, the production page is closed and the second space video is displayed on the viewing page.
8. A spatial video processing device, characterized in that: include: A viewing module, configured to play the first spatial video on a viewing page in response to a viewing operation on the first spatial video; A first editing module, configured to edit the first spatial video with a first attribute to generate a second spatial video in response to a first editing operation on the viewing page; A switching module, configured to close the viewing page and display the second space video on the production page in response to a first mode switching operation; The second editing module is used to edit the second spatial video according to the second attribute to generate a third spatial video in response to a second editing operation on the production page.
9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the spatial video processing method described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the spatial video processing method described in any one of claims 1 to 7.