Video processing method and device, electronic equipment and storage medium

By providing a graphical user interface in the game, players can shoot virtual scenes and control virtual objects, and generate target videos, solving the cumbersome problems of multi-person collaboration in the existing technology and improving the efficiency of video production.

CN119857267AActive Publication Date: 2025-04-22NETEASE (HANGZHOU) NETWORK CO LTD

Patent Information

Application Number
CN202411920763.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-22
Estimated Expiration
2044-12-24

AI Technical Summary

Technical Problem

In the prior art, players need multiple players to control multiple characters and cameras when making interactive videos in games, resulting in cumbersome production steps, time-consuming and inefficient.

Method used

By providing a graphical user interface, players can first shoot virtual scenes to obtain basic videos, then control the virtual objects in the basic video, record their action information, and finally update the basic video based on this information to generate the target video.

Benefits of technology

It realizes that only one player can create a target video that includes multiple virtual objects that perform target actions, simplifies the video production steps, saves manpower and time, and improves the efficiency of video production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119857267A_ABST
    Figure CN119857267A_ABST
Patent Text Reader

Abstract

The invention discloses a video processing method and device, electronic equipment and a storage medium, and the method comprises the steps: carrying out the photographing of a virtual scene through responding to a scene photographing operation for the virtual scene, and obtaining a basic video; in response to a selection operation for a first target virtual object in the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object, the first object recording page comprising a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; in response to a control operation for the first target virtual object, controlling the first target virtual object to execute a first target action, and obtaining first action record information of the first target virtual object; and updating the basic video based on the basic video and the first action record information of the first target virtual object to obtain a target video. The video production steps are simplified, a large amount of manpower and time are saved, and the video production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a video processing method, device, electronic device and storage medium. Background Art

[0002] In order to meet people's pursuit of spiritual life, entertainment games that can be operated on terminals have emerged, such as role-playing games, tactical competitive games, shooting competitive games or massively multiplayer online role-playing games developed based on client or server architecture. In the game, players can manipulate the virtual characters on the screen to play the game, and can perform related operations such as walking, running, jumping, picking up props and fighting in the game scene based on the first or third perspective of the characters operated by the players, so that players can experience the visual impact brought by the game in an immersive way, greatly enhancing the initiative and realism of the game.

[0003] At present, in order to share their gaming fun, entertain the audience, demonstrate gaming techniques and strategies, and create and express their own ideas and creativity, some game players usually record the game screen in the game to produce interactive short videos with plots, and publish the interactive short videos on some content platforms for video display. However, in the prior art, when players produce interactive videos in the game, multiple players are required to control multiple characters for interpretation, and one player is required to record as a camera perspective. Therefore, the production of such videos requires the cooperation of many players to shoot at the same time, and the production steps required are cumbersome, which consumes a lot of manpower and time, resulting in low efficiency of video production. Summary of the invention

[0004] The embodiments of the present application provide a video processing method, device, electronic device and storage medium. A player can trigger the shooting of a virtual scene through a graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects that perform target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production.

[0005] In a first aspect, an embodiment of the present application provides a video processing method, which provides a graphical user interface through a terminal device, and the method includes:

[0006] Displaying a virtual scene through the graphical user interface;

[0007] In response to a scene shooting operation for the virtual scene, shooting the virtual scene to obtain a basic video;

[0008] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene;

[0009] In response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action;

[0010] Based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video.

[0011] In a second aspect, an embodiment of the present application provides a video processing device, which provides a graphical user interface through a terminal device, including:

[0012] A first display unit, configured to display a virtual scene via the graphical user interface;

[0013] A shooting unit, configured to shoot the virtual scene in response to a scene shooting operation on the virtual scene to obtain a basic video;

[0014] A second display unit, configured to display, in response to a selection operation on a first target virtual object among the at least one virtual object, a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene;

[0015] a control unit, configured to control the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and to obtain first action record information of the first target virtual object, wherein the first action record information includes the first target action and an execution time of the first target action;

[0016] An updating unit is used to update the basic video based on the basic video and the first action record information of the first target virtual object to obtain a target video.

[0017] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which stores a plurality of instructions suitable for loading by a processor to execute the steps of any one of the video processing methods provided in the embodiments of the present application.

[0018] In a fifth aspect, an embodiment of the present application further provides a computer program product, including a computer program or instructions, which, when executed by a processor, implements the steps of any one of the video processing methods provided in the embodiments of the present application.

[0019] By adopting the scheme of the embodiment of the present application, the player can trigger the shooting of the virtual scene through the graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects performing target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a schematic diagram of a scenario of a video processing system provided in an embodiment of the present application;

[0022] Figure 2 This is a schematic diagram of an embodiment of a video processing method provided by an embodiment of the present application;

[0023] Figure 3 This is a schematic diagram of a scenario of the video processing method provided in an embodiment of the present application;

[0024] Figure 4 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0025] Figure 5 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0026] Figure 6 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0027] Figure 7 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0028] Figure 8 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0029] Fig. 9is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0030] Fig.10 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0031] Fig.11 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0032] Fig.12 is another scenario schematic diagram of the video processing method provided in an embodiment of the present application;

[0033] Fig.13 is a schematic diagram of the structure of a video processing device provided in an embodiment of the present application;

[0034] Fig.14 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0036] The embodiments of the present application provide a video processing method, device, electronic device, and computer-readable storage medium. Specifically, the present embodiment will be described from the perspective of a video processing device, which can be integrated in an electronic device, that is, the video processing method of the embodiment of the present application can be executed by an electronic device, and optionally, the electronic device can include: a terminal device. The terminal device can be a mobile phone, a tablet computer, a smart Bluetooth device, a laptop computer, a game console, or a personal computer (PC) and other devices.

[0037] The video processing method provided in the embodiment of the present application can be applied to a video processing system. The video processing system may include a player terminal device and a server, and the terminal may be a device including both receiving and transmitting hardware, that is, a device having receiving and transmitting hardware capable of performing two-way communication on a two-way communication link. The player terminal device and the server may perform two-way communication via a network.

[0038] Optionally, the server may be an independent server, or a server network or server cluster composed of servers, including but not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of multiple servers. The cloud server is composed of a large number of computers or network servers based on cloud computing.

[0039] The video processing method in one embodiment of the present disclosure can be run on a local terminal device or a server. When the video processing method is run on a server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system includes a server and a client device.

[0040] For example, when the video processing method is run on a terminal, the terminal device stores a game application and is used to present a virtual scene in the game screen. The terminal device is used to interact with the user through a graphical user interface, for example, the game application is downloaded and installed by the terminal device and run. The terminal device may provide the graphical user interface to the user in a variety of ways, for example, it may be rendered and displayed on the display screen of the terminal device, or the graphical user interface may be presented through holographic projection. For example, the terminal device may include a touch display screen and a processor, the touch display screen is used to present the graphical user interface and receive the operation instructions generated by the user acting on the graphical user interface, the graphical user interface includes a game screen, and the processor is used to run the game, generate a graphical user interface, respond to the operation instructions, and control the display of the graphical user interface on the touch display screen.

[0041] For example, when the video processing method is run on a server, it can be a cloud game. Cloud gaming refers to a gaming method based on cloud computing. In the operation mode of cloud gaming, the operating body of the game application and the main body of the game screen presentation are separated, and the storage and operation of the video processing method are completed on the cloud gaming server. The game screen presentation is completed on the client of the cloud gaming. The cloud gaming client is mainly used for receiving and sending game data and presenting the game screen. For example, the cloud gaming client can be a display device with data transmission function close to the user side, such as a mobile terminal, a TV, a computer, a handheld computer, a personal digital assistant, etc., but the terminal device for processing game data is a cloud gaming server in the cloud. When playing the game, the user operates the cloud gaming client to send an operation instruction to the cloud gaming server. The cloud gaming server runs the game according to the operation instruction, encodes and compresses the game screen and other data, and returns it to the cloud gaming client through the network. Finally, the cloud gaming client decodes and outputs the game screen.

[0042] See also Figure 1 , Figure 1 A schematic diagram of a scenario of a video processing system provided by an embodiment of the present application. The system may include at least one terminal, at least one server, at least one database, and a network. The terminal held by the user can be connected to the servers of different games through the network. The terminal is any device with computing hardware that can support and execute software products corresponding to the game. In addition, when the system includes multiple terminals, multiple servers, and multiple networks, different terminals can be connected to each other through different networks and different servers. The network can be a wireless network or a wired network, such as a wireless network such as a wireless local area network (WLAN), a local area network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals can also use their own Bluetooth network or hotspot network to connect to other terminals or to servers, etc. For example, multiple users can be online through different terminals and connected and synchronized with each other through appropriate networks to support multi-player games. In addition, the system may include multiple databases, multiple databases are coupled to different servers, and information related to the game environment can be continuously stored in the database when different users are online for multi-player games.

[0043] The embodiment of the present application provides a video processing method, which can be executed by a terminal or a server. The embodiment of the present application takes the video processing method executed by a terminal as an example for explanation. Among them, the terminal may include a touch display screen and a processor (of course, the terminal may also use peripherals such as a mouse and a keyboard as input devices, and only the touch display screen is used as an example for explanation here), and the touch display screen is used to present a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. When the user operates the graphical user interface through the touch display screen, the graphical user interface can control the local content of the terminal by responding to the received operation instructions, and can also control the content of the opposite server by responding to the received operation instructions. For example, the operation instructions generated by the user acting on the graphical user interface include instructions for starting a game application, and the processor is configured to start the game application after receiving the instructions for starting the game application provided by the user. In addition, the processor is configured to render and draw a graphical user interface associated with the game on the touch display screen. The touch display screen is a multi-touch sensitive screen that can sense touch or sliding operations performed simultaneously at multiple points on the screen. The user uses a finger to perform a touch operation on the graphical user interface, and when the graphical user interface detects the touch operation, the different virtual objects in the graphical user interface of the game are controlled to perform actions corresponding to the touch operation.

[0044] It should be noted that Figure 1 The scene diagram of the video processing system shown is only an example. The video processing system and scene described in the embodiment of the present application are intended to more clearly illustrate the technical solution of the embodiment of the present application, and do not constitute a limitation on the technical solution provided in the embodiment of the present application. Ordinary technicians in this field can know that with the emergence of new business scenarios, the technical solution provided in the embodiment of the present application is also applicable to similar technical problems.

[0045] The embodiment of the present application provides a video processing method, which can be executed by a terminal or a server. The embodiment of the present application takes the video processing method executed by a terminal as an example for explanation, and a graphical user interface can be provided by a terminal device, and the graphical user interface includes at least part of a virtual scene and a controlled virtual character located in the virtual scene and controlled by the terminal device. The graphical user interface, virtual scene, and virtual object are explained below.

[0046] The game scene (or virtual scene) is a virtual scene displayed (or provided) when the application is running on a terminal or server. Optionally, the virtual scene is a simulation environment of the real world, or a semi-simulation and semi-fictitious virtual environment, or a purely fictitious virtual environment. The virtual scene is any one of a two-dimensional virtual scene and a three-dimensional virtual scene, and the virtual environment can be the sky, land, ocean, etc., wherein the land includes environmental elements such as deserts and cities. Among them, the virtual scene is a scene with complete game logic of virtual objects such as user control. For example, for sandbox 3D shooting games, the virtual scene is a 3D game world for players to control virtual objects to fight. Example virtual scenes may include: at least one element of mountains, plains, rivers, lakes, oceans, deserts, skies, plants, buildings, and vehicles; for example, for 2D card games, the virtual scene is a scene for displaying released cards or displaying virtual objects corresponding to cards. Example virtual scenes may include: an arena, a decisive battlefield, or other "field" elements or other elements that can display the status of card battles; for 2D or 3D multiplayer online tactical competitive games, the virtual scene is a 2D or 3D terrain scene for virtual objects to fight. Example virtual scenes may include: canyon-style mountains, lines, rivers, classrooms, tables and chairs, podiums and other elements.

[0047] The graphical user interface is obtained by executing a software application on a processor of a mobile terminal or other terminal and rendering it on a display, and can be a display screen interface of a terminal device. The graphical user interface can present the entire game scene, or only a part of the game scene. The game scene includes multiple static virtual objects, specifically including ground, mountains, rocks, vegetation, buildings, etc. When the game scene is relatively large, only the local content of the game scene is displayed on the graphical user interface of the terminal device during the game. Optionally, the game scene contains game characters, which can be game characters controlled by players, or NPCs (abbreviation of Non-Player Character, which is a type of character in the game, meaning non-player characters), which is not limited in this exemplary embodiment. The graphical user interface can include a UI interface and a game screen for players to interact. In an optional embodiment, the UI interface can include game controls (such as skill controls, mobile controls, function controls, etc.), indicator signs (such as direction indicator signs, role indicator signs, etc.), information display areas (such as the number of kills, game time, etc.), or game setting controls (such as system settings, stores, gold coins, etc.). In an optional implementation, the game screen is a display screen corresponding to a virtual scene displayed by a terminal device, and the game screen may include virtual objects such as game characters, NPC characters, AI characters, etc. that execute game logic in the virtual scene.

[0048] A game object (or virtual object, virtual character, game character) refers to a dynamic object that can be controlled in a virtual scene. Optionally, the dynamic object can be a virtual character, a virtual animal, a cartoon character, etc. The virtual object is a character controlled by a player through an input device, or an artificial intelligence (AI) set in a virtual environment battle through training, or a non-player character (NPC) set in a virtual scene battle. Optionally, the virtual object is a virtual character competing in a virtual scene. Optionally, the number of virtual objects in the virtual scene battle is preset, or is dynamically determined according to the number of clients joining the battle, and the embodiment of the present application does not limit this. In a possible implementation, a user can control a virtual object to move in the virtual scene, for example, control a virtual object to run, jump, crawl, etc., and can also control a virtual object to fight with other virtual objects using skills, virtual props, etc. provided by an application. (Game) props refer to props that can be used by virtual objects in a virtual environment, including but not limited to firearms, cold weapons, grenades, shields, springboards, puppets, etc., which can be used by virtual objects to speed up their own attributes, assist in combat, or launch damage to other virtual objects. Virtual props can also be supply props such as bullets, and can also be equipped on designated virtual weapons for accessories such as extended magazines, aiming scopes, flash suppressors, and stocks. The virtual camera is a necessary component for the game scene screen, which is used to present the game scene screen. A game scene corresponds to at least one virtual camera. According to actual needs, there can be two or more virtual cameras, which serve as the game rendering window to capture and present the game world's screen content to the player. By setting the parameters of the virtual camera, the player's perspective of viewing the game world can be adjusted, such as the first-person perspective and the third-person perspective.

[0049] The following is a detailed description in conjunction with the accompanying drawings. In this embodiment, the execution subject is a terminal device as an example. It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings.

[0050] See also Figure 2 , Figure 2 The flowchart of a video processing method provided in an embodiment of the present application is as follows: Steps 101 to 105:

[0051] Step 101: Display a virtual scene through the graphical user interface.

[0052] In an embodiment of the present application, a player can trigger a virtual scene editing instruction in the game, and the computer device responds to the virtual scene editing instruction for the virtual scene, and displays the virtual scene to be edited and multiple virtual objects located in the virtual scene to be edited through the graphical user interface. Among them, the virtual object can be an object added to the virtual scene by the player himself, or it can be an object set by default in the virtual scene. The virtual object can be a virtual element such as a movable virtual character, virtual object or virtual building. Furthermore, the player can trigger a virtual scene saving instruction to save the current virtual scene to be edited, and the saved virtual scene to be edited is used as the virtual scene for subsequent shooting.

[0053] In a specific embodiment, the step of “displaying the virtual scene through the graphical user interface” includes:

[0054] In response to a scene display instruction for a virtual scene, the virtual scene and target recording controls are displayed through the graphical user interface.

[0055] For example, see Figure 3 The computer device may provide a graphical user interface, and in response to a scene display instruction for a virtual scene, the computer device displays the virtual scene, the first virtual object “Role 1” located in the virtual scene, and the target recording control “Start Recording” through the graphical user interface.

[0056] Step 102: In response to a scene shooting operation for the virtual scene, the virtual scene is shot to obtain a basic video.

[0057] Specifically, the player can trigger the scene shooting operation for the virtual scene by performing a touch operation on the graphical user interface. For example, the player can perform a specified touch operation (double-click operation or long press operation) on the graphical user interface to trigger the scene shooting operation for the virtual scene. For another example, the player can perform a touch operation on the target recording control "Start Recording" on the graphical user interface to trigger the scene shooting operation for the virtual scene. Furthermore, the virtual camera can use a specified shooting angle to shoot the corresponding specified scene position in the virtual scene to obtain a basic video.

[0058] For example, please participate Figure 4 and Figure 5, the computer device may provide a graphical user interface, and the computer device may respond to the scene display instruction for the virtual scene, and display the virtual scene, the first virtual object "character 1" located in the virtual scene, and the target recording control "start recording" through the graphical user interface. The player may perform a trigger operation on the target recording control "start recording", and the computer device may respond to the trigger operation on the target recording control, and use the first shooting angle to shoot the corresponding first scene position in the virtual scene to obtain a basic video.

[0059] During the recording process, the virtual scene can be filmed by changing the acquisition parameters of the virtual camera. For example, the position of the virtual camera in the virtual scene can be changed by controlling the movement of the virtual camera to achieve the effect of moving the virtual camera while recording the virtual scene; optionally, the player can also change the acquisition angle of the virtual camera by changing the direction of the virtual camera.

[0060] In an embodiment of the present application, a scene shooting operation can be performed on a virtual scene, and the virtual scene can be continuously shot for a specified time to obtain a scene video as a basic video, that is, a complete video can be recorded as a basic video; or, multiple scene shooting operations can be performed on the virtual scene, and different scene positions of the virtual scene can be shot respectively to obtain multiple scene videos, and then the multiple scene videos can be merged into one video as a basic video in chronological order of shooting time, that is, multiple videos can be recorded and merged and spliced ​​to form a complete video as a basic video.

[0061] For details, please refer to Figure 5 In the embodiment of the present application, the first recording control can be used to control the recording or pause of the scene video. The first recording control displays the recording status icon, recording status information, and the current recording duration. Specifically, the recording status icon includes the first recording status icon "□" and the second recording status icon The recording status information includes the first recording status information "recording" and the second recording status information "pause recording". When the first recording status icon "□" is displayed in the first recording control, it means that the current state is the first recording status "recording". By performing a trigger operation on the first recording control or the first recording status icon "□", the current first recording status "recording" can be switched to the second recording status "pause recording". When the second recording status icon "□" is displayed in the first recording control, the recording status can be switched to the second recording status "pause recording". , it indicates that the second recording state "Pause Recording" is currently in progress. Executing a trigger operation can switch the current second recording state "pause recording" to the first recording state "recording", so as to continue shooting the virtual scene. The first recording control displays the current recording time. For example, when the current recording time displays "00:00:01", it means that the virtual scene has been recorded for 1 second.

[0062] In a specific embodiment, the virtual scene includes a first type of scene components and a second type of scene components, and the basic video is a video obtained based on a scene shooting operation on the virtual scene and does not include the second type of scene components, wherein the first type of scene components are components that constitute the background elements of the virtual scene, and the second type of scene components are components that constitute the character elements in the virtual scene.

[0063] Among them, the above-mentioned background elements generally refer to the visual elements of the scene, which are used for visual presentation. For example, background elements include but are not limited to buildings, natural landscapes, props, etc.

[0064] The above-mentioned character elements include but are not limited to game characters and NPCs controlled by players.

[0065] Step 103: In response to a selection operation on a first target virtual object among at least one virtual object, a first object recording page corresponding to the first target virtual object is displayed, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene.

[0066] Specifically, the player can perform a selection operation on any virtual object in the virtual scene corresponding to the basic video, thereby determining the first target virtual object from at least one virtual object. Alternatively, the player can select a virtual object from a preset object library through an object adding control and add it to the virtual scene corresponding to the basic video as the first target virtual object.

[0067] In a specific embodiment, when the basic video is a video obtained according to a scene shooting operation of the virtual scene and does not include the second category of scene components, the target virtual object belongs to at least one of the following categories: first category scene components and second category scene components, that is, although the second category scene components are not recorded in the basic video, the first category scene components and / or the second category scene components can still be edited in the subsequent animation editing process.

[0068] Step 104: In response to a control operation on the first target virtual object, control the first target virtual object to perform a first target action, and obtain first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action.

[0069] Specifically, the player can trigger a control operation on the first target virtual object through a trigger operation of the graphical user interface, for example, trigger an action control operation or a language control operation on the first target virtual object, control the first target virtual object to perform a target action gesture through an action control operation, and control the first target virtual object to conduct a language conversation through a language control operation.

[0070] Step 105: Based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video.

[0071] In an embodiment of the present application, the first target virtual object in the basic video can be updated based on the first target action of the first target virtual object and the execution time of the first target action, so that the first target virtual object in the virtual scene corresponding to the basic video starts to execute the first target action at the execution time, thereby obtaining a target video showing the first target virtual object executing the first target action.

[0072] Based on the above introduction, the video processing method of the present application will be further illustrated by examples below. The specific embodiment of the video processing method is as follows.

[0073] In one embodiment, the step of “shooing the virtual scene in response to the scene shooting operation on the virtual scene to obtain a basic video” may include:

[0074] In response to a trigger operation on the target recording control, obtaining target shooting parameters;

[0075] The virtual scene is photographed based on the target shooting parameters to obtain a basic video.

[0076] In a specific embodiment, the target shooting parameters include at least one shooting angle and at least one corresponding scene position; the step of "shooting the virtual scene based on the target shooting parameters to obtain a basic video" includes:

[0077] The corresponding scene position in the virtual scene is photographed using each of the shooting perspectives to obtain a basic video.

[0078] In one embodiment, a computer device may obtain target shooting parameters in response to a trigger operation on the target recording control. The target shooting parameters may include shooting angles and scene positions corresponding to multiple specified time points. The computer device may control the virtual camera to sequentially shoot corresponding scene positions in the virtual scene using corresponding shooting angles at specified time points to obtain a basic video.

[0079] For example, see also Figure 4 , Figure 5 and Figure 6 , the computer device may provide a graphical user interface, and the computer device responds to the scene display instruction for the virtual scene, and displays the virtual scene, the first virtual object "character 1" located in the virtual scene, and the target recording control "start recording" through the graphical user interface. The player may perform a trigger operation on the target recording control "start recording", and the computer device responds to the trigger operation on the target recording control, and at the first specified time point 0 second, the computer device uses the first shooting angle to shoot the corresponding first scene position in the virtual scene, and then at the second specified time point 50 seconds, the computer device uses the second shooting time to shoot the corresponding second scene position in the virtual scene, thereby obtaining a basic video.

[0080] Optionally, the method further includes:

[0081] In response to a trigger operation on the target recording control, displaying a scene recording page corresponding to the virtual scene, the scene recording page including the virtual scene and a target adjustment control corresponding to the virtual scene;

[0082] In the process of photographing the virtual scene, in response to a triggering operation on the target adjustment control, determining new target photographing parameters;

[0083] The virtual scene is photographed based on the new target shooting parameters to obtain a basic video.

[0084] For example, see also Figure 4 and Figure 7, the computer device may provide a graphical user interface, and the computer device responds to the scene display instruction for the virtual scene, and displays the virtual scene, the first virtual object "character 1" located in the virtual scene, and the target recording control "start recording" through the graphical user interface. The player may perform a trigger operation on the target recording control "start recording", and the computer device responds to the trigger operation on the target recording control to display the scene recording page corresponding to the virtual scene, and the scene recording page includes the virtual scene and the target adjustment control corresponding to the virtual scene, and the target adjustment control includes a first target adjustment control and a second target adjustment control; the first target adjustment control includes a circular sub-control and a joystick, and the shooting parameters of the shooting angle in the horizontal direction can be adjusted by controlling the display position of the joystick in the circular sub-control; the second target adjustment control includes a first arrow sub-control and a second arrow sub-control, and the second target adjustment control is used to control the shooting parameters of the shooting angle in the vertical direction, for example, the first arrow sub-control controls the shooting angle to move upward, and the second arrow sub-control controls the shooting angle to move downward. At this time, the current scene position can be photographed according to the current default shooting angle. During the process of shooting the virtual scene, the player can perform a trigger operation on the first target adjustment control and / or the second target adjustment control, thereby adjusting the default shooting angle in the horizontal direction or vertical direction to determine new target shooting parameters; thereby controlling the virtual camera to shoot the virtual scene based on the new target shooting parameters to obtain a basic video.

[0085] In one embodiment, the step of “after photographing the virtual scene in response to a scene photographing operation on the virtual scene to obtain a basic video” further includes:

[0086] An object display page is displayed, wherein the object display page includes an object selection control corresponding to at least one virtual object located in the virtual scene and / or an object selection control corresponding to a preset virtual object provided by the system, and the object selection control is configured to select the corresponding virtual object after being triggered to display the object recording page corresponding to the virtual object.

[0087] Among them, the object selection control corresponding to the preset virtual object provided by the system can directly select the scene component provided by the system, rather than the component created in advance by the user). After clicking the object selection control corresponding to this type of scene component, the corresponding virtual object is created at the preset position in the scene.

[0088] For example, see Figure 8, an object display page is displayed through a graphical user interface, wherein the object display page includes object selection controls corresponding to multiple virtual objects located in the virtual scene, specifically including a first object selection control of a first virtual object “Role 1”, a second object selection control of a second virtual object “Role 2”, a third object selection control of a third virtual object “Role 3”, and a fourth object selection control of a fourth virtual object “Role 4”.

[0089] In a specific embodiment, the first object recording page includes at least one action control control; the step of “controlling the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and obtaining first action record information of the first target virtual object” includes:

[0090] In response to a trigger operation on a target action control control in at least one action control control, the first target virtual object is controlled to execute a target action corresponding to the target action control control, and the first target action of the first target virtual object and the execution time of the first target action are obtained as first action record information.

[0091] For example, see also Fig. 9 and Fig.10 , the player can perform a trigger operation on the fourth object selection control. In response to the trigger operation on the fourth object selection control, the computer device uses the fourth virtual object as the first target virtual object and displays at least one action control control on the first object recording page. Specifically, the mobile control, the first action control control, the second action control control, the third action control control and the fourth action control control can be displayed. Each action control control is used to control the virtual object to perform a type of target action. In response to the trigger operation on the target action control control in at least one action control control, for example, the target action control control is the first action control control, the computer device controls the first target virtual object to perform the target action "jump" corresponding to the first action control control, and obtains the first target action of the first target virtual object and the execution time of the first target action as the first action recording information.

[0092] For details, please refer to Fig.10, the graphical user interface also displays a second recording control and a progress bar, which corresponds to the total duration of the basic video. The playback progress of the progress bar can be used to determine the various playback time points in the basic video. For example, when it is necessary to perform an action interpretation of the first target virtual object at the 30th second of the basic video, the player can click the second recording control at the 30th second to pause the playback of the basic video; then, the player can control the first target virtual object to perform an action interpretation for 5 seconds. Then, click the second recording control again, the basic video continues to play from the 30th second and the first target virtual object performs an action interpretation for 5 seconds at the same time, and the 5-second action interpretation of the first target virtual object can be saved from the 30th to the 35th second of the basic video.

[0093] Furthermore, the first target virtual object can be kept still at the 35th second, and the progress bar continues to move so that the basic video is automatically played to the 40th second. At this time, since the first target virtual object does not move from the 35th second to the 40th second, the first target virtual object will not appear in the basic video corresponding to this section. At the 40th second, the second recording control is clicked, and at this time, the first target virtual object can be controlled at the 40th second to perform an action in the virtual scene of the basic video corresponding to the 40th second.

[0094] Optionally, the first object recording page includes a text setting control, and the method includes:

[0095] In response to a trigger operation on the text setting control, acquiring target text information and display time information of the target text information;

[0096] Based on the scene position of the first target virtual object in the virtual scene and the display time, the target text information is displayed on the graphical user interface, and / or the target audio corresponding to the target text information is played through the graphical user interface.

[0097] For example, see Fig.11 The first object recording page includes a text setting control. The player can obtain user input information as target text information by triggering the text setting control. The user input information can be text or voice. The embodiment of the present application can generate target text information based on the text or voice input by the user.

[0098] For further information, see Fig.12, the computer device may display the target text information in the graphical user interface based on the scene position of the first target virtual object in the virtual scene and the display time. Specifically, a text bubble may be displayed above the fourth virtual object at the first minute, and the target text information "Have you eaten?" may be displayed in the text bubble. Furthermore, a text bubble may be displayed above the fourth virtual object at the first minute, and the target text information "Have you eaten?" may be displayed in the text bubble, and the target audio "Have you eaten?" may be played.

[0099] Specifically, the step of “displaying a first object recording page corresponding to the first target virtual object in response to a selection operation on the first target virtual object among the at least one virtual object” includes:

[0100] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object;

[0101] The virtual scene corresponding to the video screen of the basic video at the first moment is displayed through the first object recording page.

[0102] Furthermore, the step of “controlling the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and obtaining first action record information of the first target virtual object” includes:

[0103] In a process of controlling the basic video to start running at a first moment to present a virtual scene, in response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action;

[0104] First action record information of the first target virtual object is generated based on the first moment and the first target action.

[0105] Among them, the process of controlling the basic video to start running at the first moment to present the virtual scene can be a process of controlling the automatic change of the scene picture through a target recording control, so as to control the target virtual object to perform actions while controlling the automatic change of the scene picture, and then the actions of the target virtual object are recorded.

[0106] Specifically, the step of “generating the first action record information of the first target virtual object based on the first moment and the first target action” includes:

[0107] Determining a second moment of the base video, wherein the second moment is different from the first moment;

[0108] First action record information of the first target virtual object is generated based on the first moment, the second moment and the first target action.

[0109] The second moment may be a stop moment, for example, an end moment of the basic video, or a stop moment of the basic video, such as a moment when the user stops playing the basic video by clicking on the basic video being played.

[0110] Specifically, the step of “generating first action record information of the first target virtual object based on the first moment, the second moment and the first target action” includes:

[0111] Based on the first moment, the second moment, the first target action and the target duration required to complete the first target action, the basic video is updated to obtain a target video.

[0112] In a specific embodiment, the graphical user interface includes a playback control control and a progress bar control, wherein the playback control control is configured to control the playback of the basic video or pause the playback of the basic video in response to a trigger operation; the progress bar control is configured to display the playback progress of the basic video and / or determine the moment information of the basic video in response to a trigger operation.

[0113] Specifically, in response to a first operation on the playback control widget, the basic video can be controlled to be paused, and a first virtual scene screen can be displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause moment. Then, while maintaining the state of controlling the basic video to be paused, in response to a viewing angle adjustment operation, the first virtual scene screen is controlled to be updated to a second virtual scene screen. Finally, in response to a second operation on the playback control widget, the graphical user interface is controlled to be switched from the second virtual scene screen to the first virtual scene screen, and the basic video is run from the pause moment to present a virtual scene.

[0114] The first operation and the second operation may be the same or different, such as a click operation, a press operation, a slide operation, etc.

[0115] In this embodiment, while the basic video is paused, different perspectives of the picture presented when the basic video is paused can be dragged so that the user can better understand the surrounding environment. When the playback control is triggered again to continue playing the basic video, it will jump back to the picture at the temporary moment, and then continue to play the basic video from the picture at the pause moment.

[0116] Specifically, in response to a first operation on the playback control widget, the basic video can be controlled to be paused, and a first virtual scene screen can be displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause moment. Then, while maintaining the state of controlling the basic video to be paused, in response to a viewing angle adjustment operation, the first virtual scene screen is controlled to be updated to a second virtual scene screen. Finally, in response to a trigger operation on the progress bar widget, the second virtual scene screen displayed by the graphical user interface is controlled to be updated to a third virtual scene screen, wherein the third virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at a third moment determined according to the trigger operation.

[0117] In this embodiment, during the pause of the basic video, different perspectives of the screen presented when the basic video is paused can be dragged so that the user can better understand the surrounding environment, and when the progress bar control is triggered, a new progress node can be selected based on the current triggered position in the progress bar control, and then jump back to the screen corresponding to the third moment where the new progress node is located. In the embodiment of the present application, virtual objects A and B are used as examples for explanation. Specifically, the player can control the virtual camera to shoot the virtual scene based on the director's perspective (that is, the specified shooting perspective), thereby generating a basic video based on the content in the viewfinder corresponding to the virtual camera, for example, a basic video with a total duration of two minutes can be generated. Then, the virtual object A located in the virtual scene can be selected for action interpretation. The initial position of the virtual object A is the position of the virtual object A in the virtual scene when it is created. At this time, if the player wants the virtual object A to walk through the virtual scene shot by the viewfinder at the 30th second of the basic video, the virtual object A can be selected for action interpretation starting at the 30th second. The specific action interpretation can be that the virtual object A walks into the virtual scene shot by the viewfinder from the 30th second and stops at the designated position, and then performs the first dialogue action. The total duration of the walking and execution of the first dialogue action of the above-mentioned virtual object A can be from the 30th second to the 50th second of the basic video. Then, the above-mentioned action interpretation and interpretation time are saved, and the content of the action interpretation is recorded in the basic video. Further, the virtual object B can also be selected in the virtual scene, and the virtual object B can be controlled to perform the second dialogue action and interact with the virtual object A at the 40th second. The start time of the second dialogue action is the 40th second and the end time is the 45th second. The above-mentioned action interpretation and interpretation time are saved, and the content of the action interpretation is recorded in the basic video. Thus, the target video can be generated according to the action interpretation of the above-mentioned two virtual objects in the virtual scene corresponding to the basic video.

[0118] In a specific embodiment, after obtaining the target video, the method may further include: in response to a selection operation on a second target virtual object in at least one virtual object, displaying a second object recording page corresponding to the second target virtual object, wherein the second object recording page includes a virtual scene corresponding to the target video and the second target virtual object located in the virtual scene. Then, in response to a control operation on the second target virtual object, the second target virtual object may be controlled to perform a second target action, and second action recording information of the second target virtual object may be obtained, wherein the second action recording information includes the second target action and the execution time of the second target action. Finally, the target video may be updated based on the target video and the second action recording information of the second target virtual object to obtain an updated target video.

[0119] In an embodiment of the present application, if at least one virtual object corresponding to an action is superimposed on the basis of a basic video, if a new virtual object needs to be added, it is necessary to control the action of the new virtual object again based on the time of the latest version, that is, the video containing the basic video and the action of the corresponding virtual object, that is, the above-mentioned target video, so as to further superimpose the new virtual object on the basic video, and the new virtual object performs the corresponding action. In summary, an embodiment of the present application provides a video processing method, which displays a virtual scene through the graphical user interface; then, in response to a scene shooting operation for the virtual scene, the virtual scene is shot to obtain a basic video; then, in response to a selection operation for a first target virtual object among at least one virtual object, a first object recording page corresponding to the first target virtual object is displayed, and the first object recording page includes the virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; thereafter, in response to a control operation for the first target virtual object, the first target virtual object is controlled to perform a first target action, and first action record information of the first target virtual object is obtained, wherein the first action record information includes the first target action and the execution time of the first target action; finally, based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video. By adopting the scheme of the embodiment of the present application, the player can trigger the shooting of the virtual scene through the graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects performing target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production.

[0120] This embodiment also provides a video processing device, which can be integrated into a terminal device. Fig.13 As shown, the video processing device may include:

[0121] A first display unit 201, configured to display a virtual scene via the graphical user interface;

[0122] A shooting unit 202, configured to shoot the virtual scene in response to a scene shooting operation on the virtual scene to obtain a basic video;

[0123] A second display unit 203 is used to display a first object recording page corresponding to the first target virtual object in response to a selection operation on the first target virtual object among the at least one virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene;

[0124] a control unit 204, configured to control the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and obtain first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action;

[0125] The updating unit 205 is used to update the basic video based on the basic video and the first action record information of the first target virtual object to obtain a target video.

[0126] In some embodiments, the virtual scene includes a first type of scene components and a second type of scene components, and the basic video is a video obtained based on a scene shooting operation of the virtual scene and does not include the second type of scene components, wherein the first type of scene components are components that constitute the background elements of the virtual scene, and the second type of scene components are components that constitute the character elements in the virtual scene.

[0127] In some embodiments, the first target virtual object belongs to at least one of the following categories: a first category of scene components and a second category of scene components.

[0128] In some embodiments, the video processing device includes a character control unit for:

[0129] In response to a selection operation on a second target virtual object among the at least one virtual object, displaying a second object recording page corresponding to the second target virtual object, wherein the second object recording page includes a virtual scene corresponding to the target video and the second target virtual object located in the virtual scene;

[0130] In response to a control operation on the second target virtual object, controlling the second target virtual object to perform a second target action, and acquiring second action record information of the second target virtual object, wherein the second action record information includes the second target action and the execution time of the second target action;

[0131] Based on the target video and the second action record information of the second target virtual object, the target video is updated to obtain an updated target video.

[0132] In some embodiments, the video processing device includes a processing subunit configured to:

[0133] In response to a scene display instruction for a virtual scene, the virtual scene and target recording controls are displayed through the graphical user interface.

[0134] In some embodiments, the video processing device includes a processing subunit configured to:

[0135] In response to a trigger operation on the target recording control, obtaining target shooting parameters;

[0136] The virtual scene is photographed based on the target shooting parameters to obtain a basic video.

[0137] In some embodiments, the video processing device includes a processing subunit configured to:

[0138] The corresponding scene position in the virtual scene is photographed using each of the shooting perspectives to obtain a basic video.

[0139] In some embodiments, the video processing device includes a processing subunit configured to:

[0140] In response to a trigger operation on the target recording control, displaying a scene recording page corresponding to the virtual scene, the scene recording page including the virtual scene and a target adjustment control corresponding to the virtual scene;

[0141] In the process of photographing the virtual scene, in response to a triggering operation on the target adjustment control, determining new target photographing parameters;

[0142] The virtual scene is photographed based on the new target shooting parameters to obtain a basic video.

[0143] In some embodiments, the video processing device includes a processing subunit configured to:

[0144] An object display page is displayed, wherein the object display page includes an object selection control corresponding to at least one virtual object located in the virtual scene and / or an object selection control corresponding to a preset virtual object provided by the system, and the object selection control is configured to select the corresponding virtual object after being triggered to display the object recording page corresponding to the virtual object.

[0145] In some embodiments, the video processing device includes a processing subunit configured to:

[0146] In response to a trigger operation on a target action control control in at least one action control control, the first target virtual object is controlled to execute a target action corresponding to the target action control control, and the first target action of the first target virtual object and the execution time of the first target action are obtained as first action record information.

[0147] In some embodiments, the video processing device includes a processing subunit configured to:

[0148] In response to a trigger operation on the text setting control, acquiring target text information and display time information of the target text information;

[0149] Based on the scene position of the first target virtual object in the virtual scene and the display time, the target text information is displayed on the graphical user interface, and / or the target audio corresponding to the target text information is played through the graphical user interface.

[0150] In some embodiments, the video processing device includes a processing subunit configured to:

[0151] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object;

[0152] The virtual scene corresponding to the video screen of the basic video at the first moment is displayed through the first object recording page.

[0153] In some embodiments, the video processing device includes a processing subunit configured to:

[0154] In a process of controlling the basic video to start running at a first moment to present a virtual scene, in response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action;

[0155] First action record information of the first target virtual object is generated based on the first moment and the first target action.

[0156] In some embodiments, the video processing device includes a processing subunit configured to:

[0157] Determining a second moment of the base video, wherein the second moment is different from the first moment;

[0158] First action record information of the first target virtual object is generated based on the first moment, the second moment and the first target action.

[0159] In some embodiments, the video processing device includes a processing subunit configured to:

[0160] Based on the first moment, the second moment, the first target action and the target duration required to complete the first target action, the basic video is updated to obtain a target video.

[0161] In some embodiments, the graphical user interface includes a playback control and a progress bar control, wherein the playback control is configured to control the playback of the basic video or pause the playback of the basic video in response to a trigger operation; the progress bar control is configured to display the playback progress of the basic video and / or determine the moment information of the basic video in response to a trigger operation.

[0162] In some embodiments, the video processing device includes a processing subunit configured to:

[0163] In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time;

[0164] In a state where the basic video is kept under control of being paused, in response to a viewing angle adjustment operation, controlling an update from the first virtual scene picture to a second virtual scene picture;

[0165] In response to a second operation on the playback control widget, the graphical user interface is controlled to switch from the second virtual scene screen to the first virtual scene screen, and the basic video is run from the pause moment to present a virtual scene.

[0166] In some embodiments, the video processing device includes a processing subunit configured to:

[0167] In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time;

[0168] In a state where the basic video is kept under control of being paused, in response to a viewing angle adjustment operation, controlling an update from the first virtual scene picture to a second virtual scene picture;

[0169] In response to a trigger operation on the progress bar control, the second virtual scene screen displayed on the graphical user interface is controlled to be updated to a third virtual scene screen, wherein the third virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at a third moment determined according to the trigger operation.

[0170] An embodiment of the present application discloses a video processing device, which displays a virtual scene through the graphical user interface through a first display unit 201; a shooting unit 202 shoots the virtual scene in response to a scene shooting operation on the virtual scene to obtain a basic video; a second display unit 203 displays a first object recording page corresponding to the first target virtual object in response to a selection operation on a first target virtual object among at least one virtual object, wherein the first object recording page includes the virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; a control unit 204 controls the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and obtains first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action; an updating unit 205 updates the basic video based on the basic video and the first action record information of the first target virtual object to obtain a target video. By adopting the scheme of the embodiment of the present application, the player can trigger the shooting of the virtual scene through the graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects performing target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production.

[0171] Accordingly, an embodiment of the present application further provides an electronic device, which may be a terminal, and the terminal may be a smart phone, a tablet computer, a laptop computer, a touch screen, a game console, a personal computer (PC, Personal Computer), a personal digital assistant (Personal Digital Assistant, PDA) and other terminal devices. Alternatively, the electronic device may be a server.

[0172] like Fig.14 As shown, Fig.14A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored in the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or arrange components differently.

[0173] The processor 301 is the control center of the electronic device 300. It uses various interfaces and lines to connect various parts of the entire electronic device 300, and executes various functions and processes data of the electronic device 300 by running or loading software programs and / or units stored in the memory 302, and calling data stored in the memory 302, so as to monitor the electronic device 300 as a whole. The processor 301 can be a central processing unit CPU, a graphics processing unit GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0174] In the embodiment of the present application, the processor 301 in the electronic device 300 will load instructions corresponding to the processes of one or more application programs into the memory 302 according to the following steps, and the processor 301 will run the application programs stored in the memory 302 to implement various functions, such as:

[0175] Displaying a virtual scene through the graphical user interface;

[0176] In response to a scene shooting operation for the virtual scene, shooting the virtual scene to obtain a basic video;

[0177] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene;

[0178] In response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action;

[0179] Based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video.

[0180] In some embodiments, the virtual scene includes a first type of scene components and a second type of scene components, and the basic video is a video obtained based on a scene shooting operation of the virtual scene and does not include the second type of scene components, wherein the first type of scene components are components that constitute the background elements of the virtual scene, and the second type of scene components are components that constitute the character elements in the virtual scene.

[0181] In some embodiments, the first target virtual object belongs to at least one of the following categories: a first category of scene components and a second category of scene components.

[0182] In some embodiments, after obtaining the target video, the method further includes:

[0183] In response to a selection operation on a second target virtual object among the at least one virtual object, displaying a second object recording page corresponding to the second target virtual object, wherein the second object recording page includes a virtual scene corresponding to the target video and the second target virtual object located in the virtual scene;

[0184] In response to a control operation on the second target virtual object, controlling the second target virtual object to perform a second target action, and acquiring second action record information of the second target virtual object, wherein the second action record information includes the second target action and the execution time of the second target action;

[0185] Based on the target video and the second action record information of the second target virtual object, the target video is updated to obtain an updated target video.

[0186] In one embodiment, displaying a virtual scene through the graphical user interface includes:

[0187] In response to a scene display instruction for a virtual scene, the virtual scene and target recording controls are displayed through the graphical user interface.

[0188] In one embodiment, in response to the scene shooting operation for the virtual scene, shooting the virtual scene to obtain a basic video includes:

[0189] In response to a trigger operation on the target recording control, obtaining target shooting parameters;

[0190] The virtual scene is photographed based on the target shooting parameters to obtain a basic video.

[0191] In one embodiment, the target shooting parameters include at least one shooting angle of view and at least one corresponding scene position;

[0192] The step of shooting the virtual scene based on the target shooting parameters to obtain a basic video includes:

[0193] The corresponding scene position in the virtual scene is photographed using each of the shooting perspectives to obtain a basic video.

[0194] In one embodiment, the method further comprises:

[0195] In response to a trigger operation on the target recording control, displaying a scene recording page corresponding to the virtual scene, the scene recording page including the virtual scene and a target adjustment control corresponding to the virtual scene;

[0196] In the process of photographing the virtual scene, in response to a triggering operation on the target adjustment control, determining new target photographing parameters;

[0197] The virtual scene is photographed based on the new target shooting parameters to obtain a basic video.

[0198] In one embodiment, after the virtual scene is photographed in response to a scene photographing operation for the virtual scene to obtain a basic video, the method further includes:

[0199] An object display page is displayed, wherein the object display page includes an object selection control corresponding to at least one virtual object located in the virtual scene and / or an object selection control corresponding to a preset virtual object provided by the system, and the object selection control is configured to select the corresponding virtual object after being triggered to display the object recording page corresponding to the virtual object.

[0200] In one embodiment, the first object recording page includes at least one action control control;

[0201] In response to the control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, comprises:

[0202] In response to a trigger operation on a target action control control in at least one action control control, the first target virtual object is controlled to execute a first target action corresponding to the target action control control, and the first target action of the first target virtual object and the execution time of the first target action are obtained as first action record information.

[0203] In one embodiment, the first object recording page includes a text setting control, and the method includes:

[0204] In response to a trigger operation on the text setting control, acquiring target text information and display time information of the target text information;

[0205] Based on the scene position of the first target virtual object in the virtual scene and the display time, the target text information is displayed on the graphical user interface, and / or the target audio corresponding to the target text information is played through the graphical user interface.

[0206] In one embodiment, in response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object includes:

[0207] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object;

[0208] The virtual scene corresponding to the video screen of the basic video at the first moment is displayed through the first object recording page.

[0209] In one embodiment, in response to the control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object includes:

[0210] In a process of controlling the basic video to start running at a first moment to present a virtual scene, in response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action;

[0211] First action record information of the first target virtual object is generated based on the first moment and the first target action.

[0212] In one embodiment, the step of generating the first action record information of the first target virtual object based on the first moment and the first target action includes:

[0213] Determining a second moment of the base video, wherein the second moment is different from the first moment;

[0214] First action record information of the first target virtual object is generated based on the first moment, the second moment and the first target action.

[0215] In one embodiment, the updating process of the basic video based on the basic video and the first action record information of the first target virtual object to obtain the target video includes:

[0216] Based on the first moment, the second moment, the first target action and the target duration required to complete the first target action, the basic video is updated to obtain a target video.

[0217] In some embodiments, the graphical user interface includes a playback control and a progress bar control, wherein the playback control is configured to control the playback of the basic video or pause the playback of the basic video in response to a trigger operation; the progress bar control is configured to display the playback progress of the basic video and / or determine the moment information of the basic video in response to a trigger operation.

[0218] In some embodiments, the method further comprises:

[0219] In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time;

[0220] In a state where the basic video is kept under control of being paused, in response to a viewing angle adjustment operation, controlling an update from the first virtual scene picture to a second virtual scene picture;

[0221] In response to a second operation on the playback control widget, the graphical user interface is controlled to switch from the second virtual scene screen to the first virtual scene screen, and the basic video is run from the pause moment to present a virtual scene.

[0222] In some embodiments, the method further comprises:

[0223] In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time;

[0224] In a state where the basic video is kept under control of being paused, in response to a viewing angle adjustment operation, controlling an update from the first virtual scene picture to a second virtual scene picture;

[0225] In response to a trigger operation on the progress bar control, the second virtual scene screen displayed on the graphical user interface is controlled to be updated to a third virtual scene screen, wherein the third virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at a third moment determined according to the trigger operation.

[0226] The electronic device provided by the embodiment of the present application displays a virtual scene through the graphical user interface; then, in response to a scene shooting operation for the virtual scene, the virtual scene is shot to obtain a basic video; then, in response to a selection operation for a first target virtual object among at least one virtual object, a first object recording page corresponding to the first target virtual object is displayed, wherein the first object recording page includes the virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; thereafter, in response to a control operation for the first target virtual object, the first target virtual object is controlled to perform a first target action, and first action record information of the first target virtual object is obtained, wherein the first action record information includes the first target action and the execution time of the first target action; finally, based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video. By adopting the scheme of the embodiment of the present application, the player can trigger the shooting of the virtual scene through the graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects performing target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production.

[0227] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0228] Optional, such as Fig.14 As shown, the electronic device 300 further includes: a touch screen 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power supply 307. The processor 301 is electrically connected to the touch screen 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power supply 307, respectively. Those skilled in the art can understand that Fig.14 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0229] The touch display screen 303 can be used to display a graphical user interface and receive operation instructions generated by the user acting on the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. Among them, the display panel can be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device, and these graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. Optionally, the display panel can be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode) and the like. The touch panel can be used to collect the user's touch operation on or near it (such as the user uses any suitable object or attachment such as a finger, a stylus, etc. on the touch panel or near the touch panel), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Optionally, the touch panel may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch direction, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 301, and can receive the command sent by the processor 301 and execute it. The touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it is transmitted to the processor 301 to determine the type of touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of touch event. In an embodiment of the present application, the touch panel and the display panel can be integrated into the touch display screen 303 to realize the input and output functions. However, in some embodiments, the touch panel and the touch panel can be used as two independent components to realize the input and output functions. That is, the touch display screen 303 can also be used as a part of the input unit 306 to realize the input function.

[0230] The radio frequency circuit 304 may be used to send and receive radio frequency signals, so as to establish wireless communication with a network device or other electronic devices through wireless communication, and to send and receive signals with the network device or other electronic devices.

[0231] The audio circuit 305 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 305 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is output to the processor 301 for processing, and then sent to another electronic device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earplug jack to provide communication between an external headset and the electronic device.

[0232] The input unit 306 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0233] The power supply 307 is used to supply power to various components of the electronic device 300. Optionally, the power supply 307 can be logically connected to the processor 301 through a power management system, so that the power management system can manage charging, discharging, and power consumption. The power supply 307 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0234] although Fig.14 Not shown, the electronic device 300 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.

[0235] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0236] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0237] To this end, an embodiment of the present application provides a computer-readable storage medium, in which multiple computer programs are stored, and the computer program can be loaded by a processor to execute any video processing method provided in the embodiment of the present application. The computer program can execute the following steps of the video processing method:

[0238] Displaying a virtual scene through the graphical user interface;

[0239] In response to a scene shooting operation for the virtual scene, shooting the virtual scene to obtain a basic video;

[0240] In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene;

[0241] In response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action;

[0242] Based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video.

[0243] Due to the computer program stored in the storage medium, a virtual scene can be displayed through the graphical user interface; then, in response to a scene shooting operation for the virtual scene, the virtual scene is shot to obtain a basic video; then, in response to a selection operation for a first target virtual object among at least one virtual object, a first object recording page corresponding to the first target virtual object is displayed, and the first object recording page includes the virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; thereafter, in response to a control operation for the first target virtual object, the first target virtual object is controlled to perform a first target action, and first action record information of the first target virtual object is obtained, wherein the first action record information includes the first target action and the execution time of the first target action; finally, based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video. By adopting the scheme of the embodiment of the present application, the player can trigger the shooting of the virtual scene through the graphical user interface to obtain a basic video, and then control at least one virtual object in the basic video to generate a target video based on the basic video and the first action record information of the virtual object, thereby achieving the goal of only one player to produce a target video including multiple virtual objects performing target actions, simplifying the video production steps, saving a lot of manpower and time, and improving the efficiency of video production.

[0244] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0245] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0246] Since the computer program stored in the computer-readable storage medium can execute any one of the video processing methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the video processing methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0247] According to one aspect of the present application, a computer program product or a computer program is also provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the methods provided in various optional implementations of the above embodiments.

[0248] In the above-mentioned video processing device, computer-readable storage medium, electronic device, and computer program product embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, reference can be made to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the above-mentioned video processing device, computer-readable storage medium, computer program product, electronic device and its corresponding units can refer to the description of the video processing method in the above embodiment, and will not be repeated here.

[0249] The above is a detailed introduction to a video processing method, device, electronic device, computer-readable storage medium and computer program product provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A video processing method, characterized in that: Providing a graphical user interface through a terminal device, the method comprising: Displaying a virtual scene through the graphical user interface; In response to a scene shooting operation for the virtual scene, shooting the virtual scene to obtain a basic video; In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; In response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, wherein the first action record information includes the first target action and the execution time of the first target action; Based on the basic video and the first action record information of the first target virtual object, the basic video is updated to obtain a target video.

2. The method according to claim 1, characterized in that The virtual scene includes a first type of scene components and a second type of scene components, and the basic video is a video obtained according to a scene shooting operation of the virtual scene and does not include the second type of scene components, wherein the first type of scene components are components constituting the background elements of the virtual scene, and the second type of scene components are components constituting the character elements in the virtual scene.

3. The method according to claim 2, characterized in that The first target virtual object belongs to at least one of the following categories: a first category of scene components and a second category of scene components.

4. The method according to claim 1, characterized in that: After getting the target video, it also includes: In response to a selection operation on a second target virtual object among the at least one virtual object, displaying a second object recording page corresponding to the second target virtual object, wherein the second object recording page includes a virtual scene corresponding to the target video and the second target virtual object located in the virtual scene; In response to a control operation on the second target virtual object, controlling the second target virtual object to perform a second target action, and acquiring second action record information of the second target virtual object, wherein the second action record information includes the second target action and the execution time of the second target action; Based on the target video and the second action record information of the second target virtual object, the target video is updated to obtain an updated target video.

5. The method according to claim 1, characterized in that The displaying of the virtual scene through the graphical user interface comprises: In response to a scene display instruction for a virtual scene, the virtual scene and target recording controls are displayed through the graphical user interface.

6. The method according to claim 5, characterized in that The step of shooting the virtual scene in response to the scene shooting operation on the virtual scene to obtain a basic video includes: In response to a trigger operation on the target recording control, obtaining target shooting parameters; The virtual scene is photographed based on the target shooting parameters to obtain a basic video.

7. The method according to claim 6, characterized in that The target shooting parameters include at least one shooting angle of view and at least one corresponding scene position; The step of shooting the virtual scene based on the target shooting parameters to obtain a basic video includes: The corresponding scene position in the virtual scene is photographed using each of the shooting perspectives to obtain a basic video.

8. The method according to claim 6, characterized in that The method further comprises: In response to a trigger operation on the target recording control, displaying a scene recording page corresponding to the virtual scene, the scene recording page including the virtual scene and a target adjustment control corresponding to the virtual scene; In the process of photographing the virtual scene, in response to a triggering operation on the target adjustment control, determining new target photographing parameters; The virtual scene is photographed based on the new target shooting parameters to obtain a basic video.

9. The method according to claim 1, characterized in that: After the virtual scene is photographed in response to the scene photographing operation for the virtual scene to obtain a basic video, the method further includes: An object display page is displayed, wherein the object display page includes an object selection control corresponding to at least one virtual object located in the virtual scene and / or an object selection control corresponding to a preset virtual object provided by the system, and the object selection control is configured to select the corresponding virtual object after being triggered to display the object recording page corresponding to the virtual object.

10. The method according to claim 1, characterized in that The first object recording page includes at least one action control control; In response to the control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, comprises: In response to a trigger operation on a target action control control in at least one action control control, the first target virtual object is controlled to execute a target action corresponding to the target action control control, and the first target action of the first target virtual object and the execution time of the first target action are obtained as first action record information.

11. The method according to claim 1, characterized in that: The first object recording page includes a text setting control, and the method includes: In response to a trigger operation on the text setting control, acquiring target text information and display time information of the target text information; Based on the scene position of the first target virtual object in the virtual scene and the display time, the target text information is displayed on the graphical user interface, and / or the target audio corresponding to the target text information is played through the graphical user interface.

12. The method according to claim 1, characterized in that The method of displaying a first object recording page corresponding to the first target virtual object in response to a selection operation on the first target virtual object among the at least one virtual object includes: In response to a selection operation on a first target virtual object among the at least one virtual object, displaying a first object recording page corresponding to the first target virtual object; The virtual scene corresponding to the video screen of the basic video at the first moment is displayed through the first object recording page.

13. The method according to claim 12, characterized in that In response to the control operation on the first target virtual object, controlling the first target virtual object to perform a first target action, and acquiring first action record information of the first target virtual object, comprises: In a process of controlling the basic video to start running at a first moment to present a virtual scene, in response to a control operation on the first target virtual object, controlling the first target virtual object to perform a first target action; First action record information of the first target virtual object is generated based on the first moment and the first target action.

14. The method according to claim 13, characterized in that The step of generating first action record information of the first target virtual object based on the first moment and the first target action includes: Determining a second moment of the base video, wherein the second moment is different from the first moment; First action record information of the first target virtual object is generated based on the first moment, the second moment and the first target action.

15. The method according to claim 14, characterized in that The generating the first action record information of the first target virtual object based on the first moment, the second moment and the first target action includes: Based on the first moment, the second moment, the first target action and the target duration required to complete the first target action, the basic video is updated to obtain a target video.

16. The method according to any one of claims 12 to 15, characterized in that The graphical user interface includes a playback control control and a progress bar control. The playback control control is configured to control the playback of the basic video or pause the playback of the basic video in response to a trigger operation; the progress bar control is configured to display the playback progress of the basic video and / or determine the moment information of the basic video in response to a trigger operation.

17. The method according to claim 16, characterized in that The method further comprises: In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time; In a state where the basic video is kept paused, in response to a viewing angle adjustment operation, the first virtual scene picture is controlled to be updated to a second virtual scene picture; In response to a second operation on the playback control widget, the graphical user interface is controlled to switch from the second virtual scene screen to the first virtual scene screen, and the basic video is run from the pause moment to present a virtual scene.

18. The method according to claim 16, characterized in that The method further comprises: In response to a first operation on the playback control component, the basic video is paused, and a first virtual scene screen is displayed through the graphical user interface, wherein the first virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at the pause time; In a state where the basic video is kept paused, in response to a viewing angle adjustment operation, the first virtual scene picture is controlled to be updated to a second virtual scene picture; In response to a trigger operation on the progress bar control, the second virtual scene screen displayed on the graphical user interface is controlled to be updated to a third virtual scene screen, wherein the third virtual scene screen is a screen formed by a virtual scene corresponding to the video screen of the basic video at a third moment determined according to the trigger operation.

19. A video processing device, characterized in that: A graphical user interface is provided through a terminal device, including: A first display unit, configured to display a virtual scene via the graphical user interface; A shooting unit, configured to shoot the virtual scene in response to a scene shooting operation on the virtual scene to obtain a basic video; A second display unit, configured to display, in response to a selection operation on a first target virtual object among the at least one virtual object, a first object recording page corresponding to the first target virtual object, wherein the first object recording page includes a virtual scene corresponding to the basic video and the first target virtual object located in the virtual scene; a control unit, configured to control the first target virtual object to perform a first target action in response to a control operation on the first target virtual object, and to obtain first action record information of the first target virtual object, wherein the first action record information includes the first target action and an execution time of the first target action; An updating unit is used to update the basic video based on the basic video and the first action record information of the first target virtual object to obtain a target video.

20. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the video processing method according to any one of claims 1 to 18.

21. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps of the video processing method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Video generation method and device, electronic equipment and storage medium

    CN113727039A

Cited By

  • Video processing method and apparatus, electronic device, and storage medium

    WO2026138320A1