WO2023130544A1 - 三维场景互动视频生成方法及生成装置 - Google Patents

三维场景互动视频生成方法及生成装置 Download PDF

Info

Publication number
WO2023130544A1
WO2023130544A1 PCT/CN2022/077937 CN2022077937W WO2023130544A1 WO 2023130544 A1 WO2023130544 A1 WO 2023130544A1 CN 2022077937 W CN2022077937 W CN 2022077937W WO 2023130544 A1 WO2023130544 A1 WO 2023130544A1
Authority
WO
WIPO (PCT)
Prior art keywords
scene
elements
video
dimensional
parameter
Prior art date
Application number
PCT/CN2022/077937
Other languages
English (en)
French (fr)
Inventor
马志友
邓辉中
Original Assignee
深圳看到科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳看到科技有限公司 filed Critical 深圳看到科技有限公司
Publication of WO2023130544A1 publication Critical patent/WO2023130544A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/156Mixing image signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/172Processing image signals image signals comprising non-image signal components, e.g. headers or format information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/20Image signal generators
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present invention relates to the technical field of image processing, in particular to a method and device for generating a three-dimensional scene interactive video.
  • the existing multimedia video content includes 3D video, 2D video, 3D image, 2D image, audio and other content.
  • Video generally requires professional video processing personnel to edit and process different multimedia video content according to customer requirements. The processing process is highly professional and difficult.
  • Embodiments of the present invention provide a 3D scene interactive video generation method and generation device that can integrate multiple different types of multimedia image content, so as to solve the problem of the existing 3D scene interactive video generation method and generation device for different multimedia image contents. Professional and difficult technical issues that need to be edited and dealt with.
  • An embodiment of the present invention provides a method for generating a three-dimensional scene interactive video, which includes:
  • the 3D scene interaction template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; and the fixed scene elements include 2D Image elements, 2D video elements or text elements;
  • the hot spot preview interface of the fixed scene hot spot Displaying the hot spot preview interface of the fixed scene hot spot, and creating at least one active scene element in the hot spot preview interface based on the user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element or a text element ;
  • a storage operation is performed on the fixed scene hot spots, the fixed scene elements and the active scene elements to generate a three-dimensional scene interactive video.
  • the present invention also provides a method for generating a three-dimensional scene interactive video, which includes:
  • the three-dimensional scene interactive template includes fixed scene hotspots, fixed scene elements in fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include three-dimensional pictures and/or three-dimensional videos; the fixed scene hotspots include three-dimensional pictures and/or three-dimensional videos;
  • the scene elements include two-dimensional picture elements, two-dimensional video elements or text elements;
  • the template activity scene elements include two-dimensional picture elements, two-dimensional video elements or text elements;
  • the hotspot preview interface of the fixed scene hotspot Displaying the hotspot preview interface of the fixed scene hotspot, and creating at least one local activity scene element in the hotspot preview interface based on the user's local media library, wherein the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or Text elements;
  • a storage operation is performed on the fixed scene hot spots, the fixed scene elements, the template active scene elements and the local active scene elements to generate a three-dimensional scene interactive video.
  • the present invention also provides a three-dimensional scene interactive video generation device, which includes:
  • a template acquiring module configured to acquire a 3D scene interactive template, wherein the 3D scene interactive template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; the Fixed scene elements include 2D picture elements, 2D video elements or text elements;
  • An active scene element creation module configured to display the hot spot preview interface of the fixed scene hot spot, and create at least one active scene element in the hot spot preview interface based on the user's local media library, wherein the active scene element includes a two-dimensional image element , two-dimensional video elements or text elements;
  • a scene element setting module used to set the parameters of the active scene element and trigger conditions of all scene elements
  • a video generating module configured to store the fixed scene hotspots, the fixed scene elements and the active scene elements, so as to generate a 3D scene interactive video.
  • the present invention also provides a three-dimensional scene interactive video generation device, which includes:
  • a template acquiring module configured to acquire a three-dimensional scene interactive template, wherein the three-dimensional scene interactive template includes fixed scene hotspots, fixed scene elements in fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include three-dimensional pictures and/or Three-dimensional video; the fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; the template active scene elements include two-dimensional picture elements, two-dimensional video elements or text elements;
  • An active scene element creation module configured to display the hot spot preview interface of the fixed scene hot spot, and create at least one local active scene element in the hot spot preview interface based on the user's local media library, wherein the local active scene element includes two-dimensional Image elements, 2D video elements or text elements;
  • a scene element setting module configured to set parameters of the template active scene element and the local active scene element and trigger conditions of all scene elements
  • the video generating module is used to store the fixed scene hot spots, the fixed scene elements, the template active scene elements and the local active scene elements, so as to generate a three-dimensional scene interactive video.
  • An embodiment of the present invention also provides a computer-readable storage medium, which stores processor-executable instructions, and the instructions are loaded by one or more processors to execute any of the above-mentioned methods for generating interactive 3D scene videos.
  • the 3D scene interactive video generating method and generating device of the present invention use a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface , the generation process of the 3D scene interactive video is simple and relatively low in difficulty, effectively solving the technical problem that the existing 3D scene interactive video generation method and generation device edit and process different multimedia image contents with strong professionalism and relatively high difficulty .
  • Fig. 1 is the flow chart of an embodiment of the three-dimensional scene interactive video generation method of the present invention
  • Fig. 2 is a flow chart of generating a 3D scene interactive template in the first embodiment of the method for generating a 3D scene interactive video of the present invention
  • FIG. 3 is a flowchart of a second embodiment of the method for generating a 3D scene interactive video of the present invention
  • Fig. 4 is a flow chart of generating a 3D scene interactive template in the second embodiment of the method for generating a 3D scene interactive video of the present invention
  • FIG. 5 is a schematic structural diagram of the first embodiment of the three-dimensional scene interactive video generating device of the present invention.
  • FIG. 6 is a schematic structural diagram of the second embodiment of the 3D scene interactive video generating device of the present invention.
  • Fig. 7 is the template creation flowchart of the three-dimensional scene interactive template of the present invention.
  • 8a-8i are schematic diagrams of template creation process.
  • the three-dimensional scene interactive video generation method and generation device of the present invention are used for electronic equipment that integrates and edits different types of multimedia image content
  • the electronic equipment includes but is not limited to wearable equipment, head-mounted equipment, medical and health platforms, personal computers, Server computers, handheld or laptop devices, mobile devices (such as mobile phones, personal digital assistants (PDAs), media players, etc.), multiprocessor systems, consumer electronics, minicomputers, mainframe computers, including the above Distributed computing environments for arbitrary systems or devices, etc.
  • the electronic device is preferably a content editing electronic device for integrating and editing multimedia image content, so as to integrate and edit different types of multimedia image content to generate corresponding three-dimensional scene interactive videos.
  • FIG. 1 is a flowchart of a first embodiment of a method for generating a 3D scene interactive video according to the present invention.
  • the method for generating a 3D scene interactive video in this embodiment can be implemented by using the above-mentioned content editing electronic device.
  • the method for generating a three-dimensional scene interactive video in this embodiment includes the following steps:
  • Step S101 obtaining a 3D scene interaction module, wherein the 3D scene interaction template includes fixed scene hotspots and fixed scene elements in the fixed scene hotspots; the fixed scene hotspots include 3D pictures and/or 3D videos; the fixed scene elements include 2D picture elements, 2D video elements or text elements;
  • Step S102 displaying a hotspot preview interface of fixed scene hotspots, and creating at least one active scene element in the hotspot preview interface based on the user's local media library, wherein the active scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
  • Step S103 setting parameters of active scene elements and trigger conditions of all scene elements
  • Step S104 storing the fixed scene hotspots, fixed scene elements and active scene elements to generate a 3D scene interactive video.
  • step S101 the content editing electronic device obtains a 3D scene interaction template;
  • the 3D scene interaction template includes fixed scene hotspots and fixed scene elements, wherein the fixed scene hotspots include 3D pictures and/or 3D videos, and the fixed scene elements include 2D picture elements , 2D video features, or text features.
  • the 3D scene interactive template is a video scene template with multiple fixed scene hotspots and multiple fixed scene elements preset, such as winter snow scene templates, Christmas templates, New Year templates, etc., so that users only need to click on the corresponding 3D scene interactive template. Add your own personalized activity scene elements to form a personalized 3D scene interactive video, thereby effectively reducing the difficulty for users to make personalized 3D scene interactive videos.
  • the content editing electronic device displays a hotspot preview interface of fixed scene hotspots.
  • the hot spot preview interface is a scene interface for setting corresponding active scene elements on corresponding fixed scene hot spots.
  • the user can set the 2D picture, 2D video and/or text elements in the user's local media library to the hotspot preview interface, so as to create at least one active scene element in the hotspot preview interface, and then edit the active scene element subsequently.
  • step S103 the content editing electronic device sets parameters of active scene elements and trigger conditions of all scene elements.
  • the content editing electronic device sets the size parameters, position parameters, image transparency and element life parameters of the two-dimensional image element.
  • the size parameter of the 2D image element refers to the size parameter of the 2D image
  • the position parameter of the 2D image element refers to the position information of the 2D image in the hotspot preview interface
  • the image transparency of the 2D image element refers to the Transparency information in the hotspot preview interface
  • the element life parameter of the 2D image element refers to the embedded life of the 2D image in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D image in the 3D video wait.
  • the content editing electronic device sets the size parameters, position parameters, text transparency and element life parameters of the text element.
  • the size parameter of the text element refers to the size parameter of the text element; the size parameter of the text element refers to the position information of the text element in the hotspot preview interface; the text transparency of the text element refers to the transparency information of the text element in the hotspot preview interface;
  • the element life parameter of the text element refers to the embedding life of the text element in the hotspot preview interface, such as setting the embedding in point time and embedding out point time of the text element in the 3D video, etc.
  • the content editing electronic device sets the size parameter, position parameter, picture transparency, video progress parameter and element life parameter of the two-dimensional video element.
  • the size parameter of the 2D video element refers to the screen size parameter of the 2D video; the position parameter of the 2D video element refers to the position information of the 2D video in the hotspot preview interface; the screen transparency of the 2D video element refers to the 2D The transparency information of the video in the hotspot preview interface; the video progress parameter of the 2D video element refers to the playback parameters of the 2D video in the hotspot preview interface, such as whether to play in a loop, set the playback content, and set the playback controller and other parameters.
  • the element life parameter of the 2D video element refers to the embedded life of the 2D video in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D video in the 3D video, etc.
  • the triggering condition of the scene element refers to the condition of triggering the 2D picture element, 2D video element or text element in the hotspot preview interface.
  • the trigger here can be a display operation on a 2D picture element or a text element, and a playback operation on a 2D video element.
  • the content editing electronic device can set the position parameter of the scene element to be within the display range of the scene hotspot, open the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or Play the corresponding 2D video element. If the position parameter of the scene element is not within the display range of the scene hotspot, since the user cannot observe the scene element outside the display range of the scene hotspot, the scene element outside the display range is closed to save the resources of the video playback client .
  • the corresponding scene element can also be turned on or off based on the user's click operation on the scene element, that is, the user controls the scene element to be turned on or off manually.
  • the content editing electronic device can set the open association relationship and close association relationship of different scene elements under the same hotspot preview interface.
  • Other scene elements that have an open association relationship are opened together. For example, if there is a 2D picture element of a TV open button, you can set the 2D video element of the next TV on the hotspot preview interface to establish an open relationship with it.
  • the TV open button is triggered, the 2D video element of the TV is also activated at the same time. trigger.
  • the two-dimensional picture element of the radio is triggered, the sound element of setting the radio station is also triggered at the same time, thereby causing the display effect of turning on the radio to the user.
  • the closing of scene elements here can also be associated with the opening of other scene elements, and the opening of scene elements can also be associated with the closing of other scene elements, so that users can click on a scene element to realize the association between multiple scene elements Triggered or closed, it is convenient for the user to set the linkage of multiple scene elements under the same hotspot preview interface, which improves the user's interactive video viewing experience.
  • step S104 the electronic content editing device stores the fixed scene hot spots obtained in step S101, the fixed scene elements and active scene elements obtained in step S103, so as to generate a three-dimensional scene interactive video. Users can interact with the 3D scene interactive video to watch all scene hotspots and scene elements in the scene hotspots.
  • FIG. 2 is a flowchart for generating a 3D scene interaction template in the first embodiment of the method for generating a 3D scene interaction video according to the present invention.
  • the generation process of the 3D scene interactive template includes:
  • Step S201 obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
  • Step S202 displaying the scene preview interface, and creating at least one scene hot spot in the scene preview interface based on the user's first operation, where the scene hot spot is a 3D picture and/or 3D video;
  • Step S203 based on the user's second operation, setting the parameters of the scene hotspot
  • Step S204 displaying a hotspot preview interface of scene hotspots, and creating at least one scene element in the hotspot preview interface based on a third user operation, wherein the scene element is a 2D image element, a 2D video element or a text element;
  • Step S205 based on the user's fourth operation, setting the parameters of the scene elements and the trigger conditions of the scene elements;
  • Step S206 setting scene hotspots as fixed scene hotspots, setting scene elements as fixed scene elements;
  • Step S207 generating a three-dimensional scene interaction template according to the fixed scene hot spots and the fixed scene elements in the fixed scene hot spots.
  • step S201 the content editing electronic device acquires a preset media library, which is used to store multimedia image content such as 3D pictures, 2D pictures, 3D videos, and 2D videos.
  • the three-dimensional picture is a panoramic picture of the surrounding 360-degree content image with the user's observation point as the center point;
  • the three-dimensional video is a panoramic video of the surrounding 360-degree content image with the user's observation point as the center point;
  • the two-dimensional image is a certain area range A flat image of a content image;
  • 3D video is a flat video of an area-wide content image.
  • the 3D pictures and 3D videos can be set as scene hotspots to create a virtual scene around the user.
  • the content images displayed by 2D pictures and 2D videos are generally smaller than the user's actual observation range, so 2D pictures and 2D videos can be set as scene elements in scene hotspots, so as to create part of the virtual scene in the virtual scene around the user. elements. Then go to step S202.
  • step S202 the content editing electronic device displays a scene preview interface.
  • the scene preview interface refers to an interface for setting scene hotspots. The user can set the 3D pictures and 3D videos in the preset media library to the scene preview interface, In order to edit scene hotspots.
  • 3D pictures and 3D videos can be displayed in the preset media library in the form of content previews, so that users can add scene hotspots such as 3D pictures and 3D videos to the scene preview interface by dragging and dropping the content previews middle.
  • the content editing electronic device can also be based on the user's first operation (creating different scene hotspots). Connecting line) to create a connection relationship between multiple scene hotspots, so as to realize switching between different scene hotspots.
  • the connection relationship of the scene hotspot is used to set the adjacent hotspot link corresponding to the connection relationship in the corresponding hotspot preview interface. Then go to step S203.
  • step S203 the content editing electronic device sets parameters of scene hotspots based on the user's second operation.
  • the content editing electronic device sets the initial angle parameter and the initial range parameter of the 3D picture based on the user's second operation.
  • the initial angle parameter refers to an initial angle of the 3D picture that the user can observe when entering a scene hotspot corresponding to the 3D picture.
  • the initial range parameter refers to the angle range of the 3D picture that the user can observe when entering the scene hotspot corresponding to the 3D picture.
  • the second operation here may be an operation in which the user directly inputs the parameters of the scene hotspot or adjusts the parameters of the scene hotspot on the basis of preset parameters.
  • the initial angle parameter of the 3D picture may be the angle at which the user faces away from the door of the bedroom
  • the initial range parameter of the 3D picture may be the 3D picture that the user can observe while standing at the door of the bedroom In this way, the scene where the user enters the interior of the bedroom in the interactive video can be better reconstructed.
  • the content editing electronic device generates a hotspot preview interface of the 3D picture based on the set initial angle parameter and initial range parameter of the 3D picture. If the scene hotspot has an adjacent scene hotspot, the adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface of the 3D image.
  • the content editing electronic device sets the initial angle parameter, initial range parameter and video progress parameter of the 3D video based on the user's second operation.
  • the initial supervision parameter refers to an initial angle of the 3D video that the user can observe when entering a scene hotspot corresponding to the 3D video.
  • the initial range parameter refers to an angle range of the 3D video that the user can observe when entering a scene hotspot corresponding to the 3D video.
  • the video progress parameter refers to the playback progress of the 3D video when entering the scene hotspot corresponding to the 3D video.
  • the content editing electronic device can generate a hotspot preview interface of the 3D video based on the set initial angle parameter, initial range parameter and video progress parameter of the 3D video. If the scene hotspot has an adjacent scene hotspot, the adjacent hotspot link of the adjacent scene hotspot can be set on the hotspot preview interface of the 3D video.
  • a scene hotspot can have multiple adjacent scene hotspots, and each adjacent scene hotspot has a corresponding adjacent hotspot link, wherein some adjacent hotspot links are set at fixed positions of the 3D video or 3D picture, and some The adjacent hotspot link can be set on a certain active object on the 3D video (such as a certain active character on the 3D video), and then the content editing electronic device can actively set the location of the scene hotspot on the 3D video based on the video progress parameters of the 3D video.
  • Adjacent hot links that is, based on different video progress parameters of the 3D video, the positions of the adjacent hot links in the 3D video are also different. Then go to step S204.
  • the content editing electronic device displays a hotspot preview interface of scene hotspots.
  • the hotspot preview interface is a scene interface for setting corresponding scene elements on corresponding scene hotspots.
  • the user can set the 2D pictures, 2D video and/or text elements in the preset media library to the hotspot preview interface through the third operation, so as to create at least one scene element in the hotspot preview interface, and then perform subsequent scene elements edit.
  • the third operation may also be a user's drag operation or selection operation on the content preview image of the scene element.
  • the 3D video of the scene hotspot since the 3D video of the scene hotspot has active content, it may conflict with the display of the content of the scene element.
  • the display interface of general scene elements should cover the display interface of scene hotspots, so as to realize the effective display of scene elements in scene hotspots.
  • Video should be on the topmost display screen.
  • the display interface of the scene elements has been covering the display interface of the scene hot spot, if the scene hot spot also has an active object (such as an active person), it may cause the active object in the scene hot spot to pass in front of the TV, but the picture is the TV The conflict effect that the content obscures the active object.
  • the content editing electronic device will obtain a static area in the 3D video, and the static area refers to an area where the picture content does not change during the playback of the 3D video.
  • static scene elements scene elements set in the static area
  • the content of the 3D video in the static area does not change, it will not To generate display conflicts of active content where static scene elements block scene hotspots, it is sufficient to set the display interface of scene elements to cover the display interface of scene hotspots. Then go to step S205.
  • step S205 the content editing electronic device sets parameters of scene elements and trigger conditions of scene elements based on the user's fourth operation.
  • the content editing electronic device sets the size parameter, position parameter, image transparency and element life parameter of the two-dimensional image element based on the fourth operation.
  • the size parameter of the 2D image element refers to the size parameter of the 2D image;
  • the position parameter of the 2D image element refers to the position information of the 2D image in the hotspot preview interface;
  • the image transparency of the 2D image element refers to the Transparency information in the hotspot preview interface;
  • the element life parameter of the 2D image element refers to the embedded life of the 2D image in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D image in the 3D video wait.
  • the fourth operation here may be an operation in which the user directly inputs the parameters of the two-dimensional picture element or adjusts the parameters of the two-dimensional picture element on the basis of preset parameters.
  • the content editing electronic device sets the size parameter, position parameter, text transparency and element life parameter of the text element.
  • the size parameter of the text element refers to the size parameter of the text element; the size parameter of the text element refers to the position information of the text element in the hotspot preview interface; the text transparency of the text element refers to the transparency information of the text element in the hotspot preview interface;
  • the element life parameter of the text element refers to the embedding life of the text element in the hotspot preview interface, such as setting the embedding in point time and embedding out point time of the text element in the 3D video, etc.
  • the fourth operation here may be an operation in which the user directly inputs the parameters of the text element or adjusts the parameters of the text element on the basis of preset parameters.
  • the content editing electronic device sets the size parameter, position parameter, screen transparency, video progress parameter and element life parameter of the two-dimensional video element based on the fourth operation.
  • the size parameter of the 2D video element refers to the screen size parameter of the 2D video;
  • the position parameter of the 2D video element refers to the position information of the 2D video in the hotspot preview interface;
  • the screen transparency of the 2D video element refers to the 2D The transparency information of the video in the hotspot preview interface;
  • the video progress parameter of the 2D video element refers to the playback parameters of the 2D video in the hotspot preview interface, such as whether to play in a loop, set the playback content, and set the playback controller and other parameters.
  • the element life parameter of the 2D video element refers to the embedded life of the 2D video in the hotspot preview interface, such as setting the embedded in point time and embedded out point time of the 2D video in the 3D video, etc.
  • the fourth operation here can be an operation in which the user directly inputs the parameters of the two-dimensional video elements or adjusts the parameters of the two-dimensional video elements on the basis of preset parameters.
  • the triggering condition of the scene element refers to the condition of triggering the 2D picture element, 2D video element or text element in the hotspot preview interface.
  • the trigger here can be a display operation on a 2D picture element or a text element, and a playback operation on a 2D video element.
  • the content editing electronic device can set the position parameter of the scene element to be within the display range of the scene hotspot, open the scene element of the display range content, that is, display the corresponding two-dimensional picture element or text element, or Play the corresponding 2D video element. If the position parameter of the scene element is not within the display range of the scene hotspot, since the user cannot observe the scene element outside the display range of the scene hotspot, the scene element outside the display range is closed to save the resources of the video playback client .
  • the corresponding scene element can also be turned on or off based on the user's click operation on the scene element, that is, the user controls the scene element to be turned on or off manually.
  • the content editing electronic device can set the open association relationship and close association relationship of different scene elements under the same hotspot preview interface.
  • Other scene elements that have an open association relationship are opened together. For example, if there is a 2D picture element of a TV open button, you can set the 2D video element of the next TV on the hotspot preview interface to establish an open relationship with it.
  • the TV open button is triggered, the 2D video element of the TV is also activated at the same time. trigger.
  • the two-dimensional picture element of the radio is triggered, the sound element of setting the radio station is also triggered at the same time, thereby giving the user the display effect of turning on the radio.
  • the closing of scene elements here can also be associated with the opening of other scene elements, and the opening of scene elements can also be associated with the closing of other scene elements, so that users can click on a scene element to realize the association between multiple scene elements Triggered or closed, it is convenient for the user to set the linkage of multiple scene elements under the same hotspot preview interface, which improves the user's interactive video viewing experience. Then go to step S206.
  • step S206 the content editing electronic device sets the scene hot spot set in step S202 as a fixed scene hot spot, and sets the scene element set in step S204 as a fixed scene element;
  • the fixed scene hot spot is a three-dimensional scene interactive template that cannot be modified by parameters Scene hotspots, fixed scene elements are scene elements whose parameters cannot be changed in the 3D scene interactive template, so that later users can easily add active scene elements to the 3D scene interactive template. Then go to step S207.
  • step S207 the content editing electronic device generates a 3D scene interactive template according to the fixed scene hot spots and the fixed scene elements in the fixed scene hot spots, so that subsequent users can call the 3D scene interactive templates.
  • the method for generating a 3D scene interactive video in this embodiment uses a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface, and the generation process of a 3D scene interactive video is simple. And the difficulty is low.
  • FIG. 3 is a flowchart of a second embodiment of the method for generating a 3D scene interactive video according to the present invention.
  • the method for generating a 3D scene interactive video in this embodiment can be implemented by using the above-mentioned content editing electronic device.
  • the method for generating a three-dimensional scene interactive video in this embodiment includes the following steps:
  • Step S301 obtaining a 3D scene interaction template, wherein the 3D scene interaction template includes fixed scene hotspots, fixed scene elements in the fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include 3D pictures and/or 3D videos; the fixed scene elements include Two-dimensional image elements, two-dimensional video elements or text elements; template activity scene elements include two-dimensional image elements, two-dimensional video elements or text elements;
  • Step S302 displaying a hotspot preview interface of fixed scene hotspots, and creating at least one local event scene element in the hotspot preview interface based on the user's local media library, wherein the local event scene element includes a two-dimensional picture element, a two-dimensional video element or a text element;
  • Step S303 setting the parameters of template active scene elements and local active scene elements and the trigger conditions of all scene elements
  • Step S304 storing the fixed scene hot spots, fixed scene elements, template active scene elements and local active scene elements to generate a 3D scene interactive video.
  • the fixed scene hot spot of the three-dimensional scene interactive template of the three-dimensional scene interactive video generation method of this embodiment is also provided with template active scene elements, where the template active scene elements Refers to the active scene elements that the user can personalize and edit.
  • the content editing electronic device displays a hotspot preview interface of fixed scene hotspots.
  • the hot spot preview interface is a scene interface for setting corresponding active scene elements on corresponding fixed scene hot spots.
  • the user can set two-dimensional pictures, two-dimensional video and/or text elements in the user's local media library to the hotspot preview interface, so as to create at least one local activity scene element in the hotspot preview interface, and then perform subsequent local activity scene elements edit.
  • step S303 the content editing electronic device sets the parameters of the template active scene element and the local active scene element and trigger conditions of all scene elements.
  • the specific setting process of template active scene elements and local active scene elements is the same or similar to the setting process of active scene elements in step S103.
  • the setting process of active scene elements in step S103 please refer to the setting process of active scene elements in step S103 above.
  • step S304 the content editing electronic device stores the acquired fixed scene hotspots, fixed scene elements, template active scene elements and local active scene elements to generate a 3D scene interactive video. Users can interact with the 3D scene interactive video to watch all scene hotspots, template active scene elements and local active scene elements in scene hotspots.
  • FIG. 4 is a flowchart for generating a 3D scene interaction template in the second embodiment of the method for generating a 3D scene interaction video of the present invention.
  • the generation process of the 3D scene interactive template includes:
  • Step S401 obtaining a preset media library, wherein the preset media library includes 3D pictures, 2D pictures, 3D videos and 2D videos;
  • Step S402 displaying the scene preview interface, and creating at least one scene hot spot in the scene preview interface based on the user's first operation, where the scene hot spot is a 3D picture and/or 3D video;
  • Step S403 based on the user's second operation, setting the parameters of the scene hotspot;
  • Step S404 displaying a hotspot preview interface of scene hotspots, and creating at least one scene element in the hotspot preview interface based on the user's third operation, where the scene element is a 2D image element, a 2D video element or a text element;
  • Step S405 based on the user's fourth operation, setting the parameters of the scene elements and the trigger conditions of the scene elements;
  • Step S406 setting the scene hotspot as a fixed scene hotspot, setting the fixed scene elements and template active scene elements in the scene elements;
  • Step S407 generating a three-dimensional scene interactive template according to the fixed scene hot spot, the fixed scene elements in the fixed scene hot spot, and the template active scene elements.
  • the 3D scene interactive template of the 3D scene interactive video generation method of this embodiment when the 3D scene interactive template of the 3D scene interactive video generation method of this embodiment is generated, fixed scene elements and template active scene elements are set in the fixed scene elements, wherein the fixed scene hot spots are 3D
  • the scene hotspots whose parameters cannot be changed in the scene interaction template, the fixed scene elements are the scene elements whose parameters cannot be changed in the 3D scene interaction template, and the template active scene elements are the scene elements in the 3D scene interaction template that can be changed in parameters, so that later users can Based on your individual needs, you can edit the elements of the active scene in the template to generate the 3D scene interactive video you want.
  • the 3D scene interactive template of this embodiment is provided with fixed scene elements and template active scene elements at the same time, and the user can edit the template active scene elements in the 3D scene interactive template, which further improves the user experience.
  • the present invention also provides a three-dimensional scene interactive video generation device, please refer to Figure 5, which is a schematic structural diagram of the first embodiment of the three-dimensional scene interactive video generation device of the present invention.
  • the 3D scene interactive video generation device of this embodiment can be implemented using the above-mentioned 3D scene interactive video generation method.
  • the 3D scene interactive video generation device 50 includes a template acquisition module 51, an active scene element creation module 52, a scene element setting module 53 and Video generation module 54 .
  • the template acquiring module 51 is used to obtain a three-dimensional scene interactive template, wherein the three-dimensional scene interactive template includes fixed scene hot spots and fixed scene elements in the fixed scene hot spots; wherein the fixed scene hot spots include three-dimensional pictures and/or three-dimensional videos; the fixed scene elements include two-dimensional Picture elements, two-dimensional video elements or text elements; the active scene element creation module 52 is used to display the hotspot preview interface of fixed scene hotspots, and create at least one active scene element in the hotspot preview interface based on the user's local media library, wherein the active scene element Including two-dimensional picture elements, two-dimensional video elements or text elements; scene element setting module 53 is used to set the parameters of active scene elements and the trigger conditions of all scene elements; video generation module 54 is used for fixed scene hotspots, fixed scene elements and Active scene elements are stored to generate 3D scene interactive video.
  • the active scene element creation module 52 is used to display the hotspot preview interface of fixed scene hotspots, and create at least one active scene element in the hotspot preview
  • the template acquisition module 51 obtains a 3D scene interactive template;
  • the 3D scene interactive template includes fixed scene hot spots and fixed scene elements, wherein the fixed scene hot spots include 3D pictures and/or 3D scene elements.
  • fixed scene elements include 2D picture elements, 2D video elements or text elements.
  • the active scene element creation module 52 displays a hotspot preview interface of fixed scene hotspots.
  • the hot spot preview interface is a scene interface for setting corresponding active scene elements on corresponding fixed scene hot spots.
  • the user can set the 2D picture, 2D video and/or text elements in the user's local media library to the hotspot preview interface, so as to create at least one active scene element in the hotspot preview interface, and then edit the active scene element subsequently.
  • the scene element setting module 53 sets the parameters of the active scene element and the trigger conditions of all scene elements.
  • the video generation module 54 stores the acquired fixed scene hotspots, acquired fixed scene elements and active scene elements to generate a three-dimensional scene interactive video. Users can interact with the 3D scene interactive video to watch all scene hotspots and scene elements in the scene hotspots.
  • the generation process of the 3D scene interactive video in this embodiment is the same or similar to the generation process of the 3D scene interactive video in the first embodiment of the above-mentioned 3D scene interactive video generation method. A related description in an embodiment.
  • FIG. 6 is a schematic structural diagram of a second embodiment of the device for generating 3D scene interactive video according to the present invention.
  • the 3D scene interactive video generation device of this embodiment can be implemented using the above-mentioned 3D scene interactive video generation method.
  • the 3D scene interactive video generation device 60 includes a template acquisition module 61, an active scene element creation module 62, a scene element setting module 63 and Video generation module 64 .
  • the template acquisition module 61 is used to obtain a three-dimensional scene interactive template, wherein the three-dimensional scene interactive template includes fixed scene hotspots, fixed scene elements in fixed scene hotspots, and template active scene elements; wherein the fixed scene hotspots include three-dimensional pictures and/or three-dimensional videos ; Fixed scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; template active scene elements include two-dimensional picture elements, two-dimensional video elements or text elements; active scene element creation module 62 is used to display hot spots of fixed scene hot spots Preview the interface, and create at least one local activity scene element in the hotspot preview interface based on the user's local media library, where the local activity scene element includes a two-dimensional picture element, a two-dimensional video element or a text element; the scene element setting module 63 is used to set the template The parameters of active scene elements and local active scene elements and the trigger conditions of all scene elements; the video generation module 64 is used to store fixed scene hotspots, fixed scene elements, template active scene elements and local active scene elements
  • the three-dimensional scene interactive template of the three-dimensional scene interactive video generation device 60 of this embodiment when the three-dimensional scene interactive template of the three-dimensional scene interactive video generation device 60 of this embodiment is generated, fixed scene elements and template active scene elements are set in the fixed scene elements, wherein the fixed scene hot spots are 3D scene interactive templates are scene hotspots where parameters cannot be changed.
  • Fixed scene elements are scene elements whose parameters cannot be changed in 3D scene interactive templates
  • template active scene elements are scene elements that can be changed in parameters in 3D scene interactive templates. In this way, later users Based on your own individual needs, you can edit the elements of the active scene in the template to generate the 3D scene interactive video you want.
  • the generation process of the 3D scene interactive video in this embodiment is the same or similar to the generation process of the 3D scene interactive video in the second embodiment of the above-mentioned 3D scene interactive video generation method.
  • the 3D scene interactive template of this embodiment is provided with fixed scene elements and template active scene elements at the same time, and the user can edit the template active scene elements in the 3D scene interactive template, which further improves the user experience.
  • FIG. 7 is a template creation flow chart of the 3D scene interactive template of the present invention.
  • 8a-8i are schematic diagrams of template creation process.
  • the process of creating a 3D scene interactive template by the content editing electronic device includes:
  • step S701 the content editing electronic device creates a preset media library, that is, stores the prepared 3D pictures, 2D pictures, 3D videos and 2D videos in the preset media library, as shown by 81 in FIG. 8a.
  • step S702 the content editing electronic device displays a scene preview interface, such as the scene preview interface 82 shown in FIG. Scene hotspots and connection relationships among multiple scene hotspots (creating adjacent hotspot links in scene hotspots at the same time). As shown in the hotspot preview interface 84 shown in FIG. 8 b , there are adjacent hotspot links 85 of adjacent scene hotspots.
  • Step S703 the content editing electronic device sets the parameters of scene hotspots.
  • the scene hotspot is a 3D video
  • the video progress parameter of the 3D video can be set by the progress controller 86
  • the initial range parameter of the 3D video can be set by adjusting the field of view angle of the scene viewing angle setting 87
  • the horizontal adjustment of scene angle of view setting 87 sets the initial angle parameter of this three-dimensional video, promptly changes the first horizontal axis (the left-right direction axis based on existing user observation point), the second horizontal axis (based on existing user observation point) of user observation point. the position of the vertical axis (the up-down axis based on the existing user point of view).
  • the position of the adjacent hotspot link 85 in the hotspot preview interface 84 can be adjusted, as this adjacent hotspot link 85 is arranged on an active object of the scene hotspot corresponding to a hotspot preview interface, then this adjacent hotspot link 85 can be Based on the video progress parameters of scene hotspots, adjust their positions on the hotspot preview interface.
  • step S704 the content editing electronic device displays a hotspot preview interface of scene hotspots.
  • the hot spot preview interface 84 in Figure 8d the user can embed two-dimensional pictures, three-dimensional pictures, two-dimensional video, three-dimensional video, text elements and audio elements in the hot spot preview interface through the embedded material interface 88, so as to preview Create multiple scene elements in the interface.
  • Step S705 based on the user's fourth operation, the content editing electronic device sets the parameters of the scene elements and the trigger conditions of the scene elements.
  • the parameter setting of the scene element of the text element is shown in FIG. 8e .
  • the user can set the size parameter, position parameter, display angle parameter, text transparency and element life parameter of the text element through the text material embedding interface 89 .
  • the parameter settings of scene elements of 2D pictures and 3D pictures are shown in Figure 8f. Users can set the size parameters, position parameters, display angle parameters, text transparency and element life parameters of 2D pictures and 3D pictures through the picture material embedding interface 8a .
  • the parameter settings of the scene elements of 2D video and 3D video are shown in Figure 8g. Users can set the size parameters, position parameters, picture transparency, video progress parameters and element life parameters of 2D video and 3D video through the video material embedding interface 8b. .
  • the parameter setting of the audio element is shown in Fig. 8h.
  • the user can set the position parameter, the volume parameter and the element life parameter of the audio element through the audio material embedding interface 8c.
  • the content editing electronic device can also set the open association relationship and close association relationship of different scene elements, specifically as shown in the interface 8d of the audio material embedding interface 8c in Figure 8h, the user can set the audio material and other scene elements. Association relationship, similarly, users can set the association relationship between all different types of scene elements.
  • step S706 the content editing electronic device saves the edited scene hotspot and the scene elements in the scene hotspot, and generates a three-dimensional scene interactive template, as shown in FIG. 8i.
  • the 3D scene interactive video generating method and generating device of the present invention use a 3D scene interactive template to create scene hotspots and scene elements, so that users can easily integrate different types of multimedia image content in the hotspot preview interface and generate 3D scene interactive videos
  • the process is simple and the difficulty is relatively low, and effectively solves the technical problem that the existing three-dimensional scene interactive video generation method and the generation device edit and process different multimedia image contents with strong professionalism and relatively high difficulty.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

本发明提供一种三维场景互动视频生成方法,其包括:获取三维场景互动模板;展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素;设置活动场景要素的参数以及所有场景要素的触发条件;对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。

Description

三维场景互动视频生成方法及生成装置 技术领域
本发明涉及图像处理技术领域,特别是涉及一种三维场景互动视频生成方法及生成装置。
背景技术
随着科技的发展,用户对视频图像的要求越来越高,比如与视频图像中的展示内容可以进行交互、对视频图像进行个性化设置等。
但是现有的多媒体影像内容包括了三维视频、二维视频、三维图像、二维图像以及音频等多种内容,如需要对多种不同类型的多媒体影像内容进行整合,以生成对应的三维场景互动视频,一般需要专业的视频处理人员按照客户的要求对不同的多媒体影像内容进行编辑处理,处理过程专业性强、难度较大。
故,有必要提供一种三维场景互动视频生成方法及生成装置,以解决现有技术所存在的问题。
发明内容
本发明实施例提供一种可对多种不同类型的多媒体影像内容进行整合的三维场景互动视频生成方法及生成装置,以解决现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。
本发明实施例提供一种三维场景互动视频生成方法,其包括:
获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;
展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;
设置所述活动场景要素的参数以及所有场景要素的触发条件;以及
对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频。
本发明还提供一种三维场景互动视频生成方法,其包括:
获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景 热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;所述模板活动场景要素包括二维图片要素、二维视频要素或文字要素;
展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个本地活动场景要素,其中所述本地活动场景要素包括二维图片要素、二维视频要素或文字要素;
设置所述模板活动场景要素和所述本地活动场景要素的参数以及所有场景要素的触发条件;以及
对所述固定场景热点、所述固定场景要素、所述模板活动场景要素以及所述本地活动场景要素进行存储操作,以生成三维场景互动视频。
本发明还提供一种三维场景互动视频生成装置,其包括:
模板获取模块,用于获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;
活动场景要素创建模块,用于展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;
场景要素设置模块,用于设置所述活动场景要素的参数以及所有场景要素的触发条件;以及
视频生成模块,用于对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频。
本发明还提供一种三维场景互动视频生成装置,其包括:
模板获取模块,用于获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;所述模板活动场景要素包括二维图片要素、二维视频要素或文字要素;
活动场景要素创建模块,用于展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个本地活动场景要素,其中所述本地活动场景要素包括二维图片要素、二维视频要素或文字要素;
场景要素设置模块,用于设置所述模板活动场景要素和所述本地活动场景要素的参数以及所有场景要素的触发条件;以及
视频生成模块,用于对所述固定场景热点、所述固定场景要素、所述模板活动场景要素以及所述本地活动场景要素进行存储操作,以生成三维场景互动 视频。
本发明实施例还提供一种计算机可读存储介质,其内存储有处理器可执行指令,所述指令由一个或一个以上处理器加载,以执行上述任一三维场景互动视频生成方法。
相较于现有技术,本发明的三维场景互动视频生成方法和生成装置使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低,有效解决了现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。
附图说明
图1为本发明的三维场景互动视频生成方法的一实施例的流程图;
图2为本发明的三维场景互动视频生成方法的第一实施例中的三维场景互动模板的生成流程图;
图3为本发明的三维场景互动视频生成方法的第二实施例的流程图;
图4为本发明的三维场景互动视频生成方法的第二实施例中的三维场景互动模板的生成流程图;
图5为本发明的三维场景互动视频生成装置的第一实施例的结构示意图;
图6为本发明的三维场景互动视频生成装置的第二实施例的结构示意图;
图7为本发明的三维场景互动模板的模板创建流程图;
图8a-8i为模板创建流程的示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的三维场景互动视频生成方法及生成装置用于对不同类型的多媒体影像内容进行整合编辑的电子设备,该电子设备包括但不限于可穿戴设备、头戴设备、医疗健康平台、个人计算机、服务器计算机、手持式或膝上型设备、移动设备(比如移动电话、个人数字助理(PDA)、媒体播放器等等)、多处理器系统、消费型电子设备、小型计算机、大型计算机、包括上述任意系统或设备的分布式计算环境,等等。该电子设备优选为对多媒体影像内容进行整合编辑的内容编辑电子设备,以便对不同类型的多媒体影像内容进行整合编辑,生成对应的三维场景互动视频。
请参照图1,图1为本发明的三维场景互动视频生成方法的第一实施例的流程图。本实施例的三维场景互动视频生成方法可使用上述的内容编辑电子设备进行实施。本实施例的三维场景互动视频生成方法包括以下步骤:
步骤S101,获取三维场景互动模块,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;
步骤S102,展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素,其中活动场景要素包括二维图片要素、二维视频要素或文字要素;
步骤S103,设置活动场景要素的参数以及所有场景要素的触发条件;
步骤S104,对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。
下面详细说明本实施例的三维场景互动视频生成方法的互动视频生成过程。
在步骤S101中,内容编辑电子设备获取三维场景互动模板;该三维场景互动模板包括固定场景热点以及固定场景要素,其中固定场景热点包括三维图片和/或三维视频,固定场景要素包括二维图片要素、二维视频要素或文字要素。
该三维场景互动模板为预先设置的多个固定场景热点以及多个固定场景要素的视频场景模板,比如冬季的雪景模板、圣诞模板、新年模板等,这样用户只需要在对应的三维场景互动模板上加上自己个性化的活动场景要素,即可形成个性化的三维场景互动视频,从而有效降低的用户制作个性化的三维场景互动视频的难度。
在步骤S102中,内容编辑电子设备展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个活动场景要素,进而后续对活动场景要素进行编辑。
在步骤S103中,内容编辑电子设备设置活动场景要素的参数以及所有场景要素的触发条件。
具体的,如活动场景要素为二维图片要素,则内容编辑电子设备设置二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数。二维图片要素的尺寸参数是指二维图片的尺寸大小参数;二维图片要素的位置参数是指二维图片在热点预览界面中的位置信息;二维图片要素的图片透明度是指二维图片 在热点预览界面中的透明度信息;二维图片要素的要素寿命参数是指二维图片在热点预览界面中的嵌入寿命,如设置二维图片在三维视频中的嵌入入点时间以及嵌入出点时间等。
如活动场景要素为文字要素,则内容编辑电子设备设置文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数。文字要素的尺寸参数是指文字要素的尺寸大小参数;文字要素的尺寸参数是指文字要素在热点预览界面中的位置信息;文字要素的文字透明度是指文字要素在热点预览界面中的透明度信息;文字要素的要素寿命参数是指文字要素在热点预览界面中的嵌入寿命,如设置文字要素在三维视频中的嵌入入点时间以及嵌入出点时间等。
如活动场景要素为二维视频要素,则内容编辑电子设备设置二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。二维视频要素的尺寸参数是指二维视频的画面尺寸大小参数;二维视频要素的位置参数是指二维视频在热点预览界面中的位置信息;二维视频要素的画面透明度是指二维视频在热点预览界面中的透明度信息;二维视频要素的视频进度参数是指二维视频在热点预览界面中播放参数,比如是否循环播放、设置播放内容、以及设置播放控制器等参数。二维视频要素的要素寿命参数是指二维视频在热点预览界面中的嵌入寿命,如设置二维视频在三维视频中的嵌入入点时间以及嵌入出点时间等。
场景要素的触发条件是指在热点预览界面中触发二维图片要素、二维视频要素或文字要素的条件。这里的触发可为对二维图片要素或文字要素的显示操作,以及对二维视频要素的播放操作。
为了进一步节省视频播放客户端的资源,内容编辑电子设备可设置场景要素的位置参数位于场景热点的显示范围内时,开启显示范围内容的场景要素,即显示对应的二维图片要素或文字要素,或播放对应的二维视频要素。如场景要素的位置参数没有位于场景热点的显示范围内时,由于用户本来就无法观察到场景热点的显示范围外的场景要素,因此关闭该显示范围外的场景要素,以节省视频播放客户端的资源。
当然这里也可基于用户对场景要素的点击操作,开启或关闭对应的场景要素,即用户对场景要素进行手动开启或关闭控制。
为了提高同一热点预览界面下不同场景要素的关联性,内容编辑电子设备可设置同一热点预览界面下不同场景要素的开启关联关系以及关闭关联关系,当一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启。比如有一个电视打开按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频要素与其建立开启关联关系,当电视打开按钮被触发时,该电视的二维视频要素同时也被触发。或者当收音机的二维图片要素被触 发时,设定广播电台的声音要素也同时被触发,从而给用户造成打开收音机的展示效果。
同理,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。比如有一个电视关闭按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频与其建立关闭关联关系,当电视关闭按钮被触发时,该电视的二维视频要素同时被关闭。
当然这里场景要素的关闭也可与其他场景要素的开启相关联,场景要素的开启也可与其他场景要素的关闭相关联,这样用户可通过点击一个场景要素,实现多个场景要素之间的关联触发或关闭,便于用户对同一热点预览界面下多个场景要素的联动设置,提高了用户的互动视频的观看体验。
由于固定场景要素的编辑和活动场景要素的编辑方法类似,且不会对整个三维场景互动模板的场景框架造成不可逆转的影响,因此这里设置用户可设置固定场景要素和活动场景要素的触发条件,但是不能改变固定场景要素的参数。
在步骤S104中,内容编辑电子设备对步骤S101获取的固定场景热点、对步骤S103获取的固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的场景要素。
这样即完成了本实施例的三维场景互动视频生成方法的三维场景互动视频的创建过程。
下面详细说明本实施例中三维场景互动模板的生成过程,具体请参照图2,图2为本发明的三维场景互动视频生成方法的第一实施例中的三维场景互动模板的生成流程图。该三维场景互动模板的生成流程包括:
步骤S201,获取预设媒体库,其中预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;
步骤S202,展示场景预览界面,并基于用户的第一操作在场景预览界面中创建至少一个场景热点,其中场景热点为三维图片和/或三维视频;
步骤S203,基于用户的第二操作,设置场景热点的参数;
步骤S204,展示场景热点的热点预览界面,并基于用户的第三操作在热点预览界面中创建至少一个场景要素,其中场景要素为二维图片要素、二维视频要素或文字要素;
步骤S205,基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件;
步骤S206,将场景热点设置为固定场景热点,将场景要素设置为固定场景要素;
步骤S207,根据固定场景热点以及固定场景热点中的固定场景要素,生成三维场景互动模板。
下面详细说明本实施例的三维场景互动模板的生成流程。
在步骤S201中,内容编辑电子设备获取预设媒体库,该预设媒体库用于存储三维图片、二维图片、三维视频以及二维视频等多媒体影像内容。
其中三维图片是以用户观察点为中心点的周围360度内容影像的全景图片;三维视频是以用户观察点为中心点的周围360度内容影像的全景视频;二维图片是某个区域范围的内容影像的平面图片;三维视频是某个区域范围的内容影像的平面视频。
由于三维图片和三维视频展示的内容影像一般大于用户的实际观察范围,因此可将三维图片和三维视频设置为场景热点,以便创造用户周边的虚拟场景。同时二维图片和二维视频展示的内容影像一般小于用户的实际观察范围,因此可将二维图片和二维视频设置为场景热点中的场景要素,以便创造用户周边的虚拟场景中的部分虚拟要素。随后转到步骤S202。
在步骤S202中,内容编辑电子设备展示场景预览界面,该场景预览界面是指用于设置场景热点的界面,用户可通过将预设媒体库中的三维图片以及三维视频设置到场景预览界面中,以便对场景热点进行编辑。
具体的,三维图片和三维视频可通过内容预览图的方式在预设媒体库中进行展示,这样用户可通过拖扯该内容预览图的方式将三维图片以及三维视频等场景热点添加到场景预览界面中。
此外,如基于用户的第一操作(拖扯内容预览图等),在场景预览界面中创建了多个场景热点,内容编辑电子设备还可基于用户的第一操作(创建不同场景热点之间的连接线)创建多个场景热点之间的连接关系,以便实现不同场景热点之间的切换。该场景热点的连接关系用于在对应的热点预览界面中设置连接关系对应的相邻热点链接。随后转到步骤S203。
在步骤S203中,内容编辑电子设备基于用户的第二操作,设置场景热点的参数。
具体的,如场景热点为三维图片,则内容编辑电子设备则基于用户的第二操作,设置该三维图片的初始角度参数以及初始范围参数。该初始角度参数是指进入三维图片对应的场景热点时,用户可观察到的三维图片的初始角度。该初始范围参数是指进入三维图片对应的场景热点时,用户可观察到的三维图片的角度范围。这里的第二操作可为用户直接输入场景热点的参数或者在预设参数的基础上调整场景热点的参数的操作。
比如该三维图片是个卧室内部结构的三维图片,则该三维图片的初始角度参数可为用户背对卧室门口的角度,该三维图片的初始范围参数可为用户站在 卧室门口可观察到的三维图片的大致120度范围的图片内容,这样即可较好的重建互动视频中用户进入该卧室内部的场景。
随后内容编辑电子设备基于设置的三维图片的初始角度参数以及初始范围参数,生成三维图片的热点预览界面。如该场景热点具有相邻场景热点,则可在三维图片的热点预览界面上设置该相邻场景热点的相邻热点链接。
如场景热点为三维视频,则内容编辑电子设备则基于用户的第二操作,设置该三维视频的初始角度参数、初始范围参数以及视频进度参数。该初始监督参数是指进入三维视频对应的场景热点时,用户可观察到的三维视频的初始角度。该初始范围参数是指进入三维视频对应的场景热点时,用户可观察到的三维视频的角度范围。视频进度参数是指进入三维视频对应的场景热点时,该三维视频的播放进度。
随后内容编辑电子设备可基于设置的三维视频的初始角度参数、初始范围参数以及视频进度参数,生成三维视频的热点预览界面。如该场景热点具有相邻场景热点,则可在三维视频的热点预览界面上设置该相邻场景热点的相邻热点链接。
这里一个场景热点可具有多个相邻场景热点,每个相邻场景热点均具有对应的相邻热点链接,其中某些相邻热点链接是设置在三维视频或三维图片的固定位置,某些相邻热点链接可设置在三维视频上的某个活动物体上(如三维视频上某个活动的人物),则内容编辑电子设备可基于三维视频的视频进度参数,在三维视频上活动设置场景热点的相邻热点链接,即基于该三维视频的视频进度参数的不同,该相邻热点链接在三维视频中的位置也有所不同。随后转到步骤S204。
在步骤S204中,内容编辑电子设备展示场景热点的热点预览界面。该热点预览界面为在对应的场景热点上设置对应的场景要素的场景界面。用户可通过第三操作将预设媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个场景要素,进而后续对场景要素进行编辑。该第三操作也可以是用户对场景要素的内容预览图的拖扯操作或者选择操作。
具体的,由于场景热点的三维视频中具有活动内容,因此可能会与场景要素内容的展示发生冲突。
比如一般场景要素的展示界面应覆盖场景热点的展示界面,以实现场景要素在场景热点中的有效展示,比如在场景热点中设置一电视内容的二维视频作为场景要素,该电视内容的二维视频应位于最高层的展示界面。但是如场景要素的展示界面一直覆盖了场景热点的展示界面,如场景热点也具有活动的物体(如一活动的人),可能造成场景热点中活动的物体应该从电视前面经过,但 是画面却是电视内容将该活动的物体遮挡住的冲突效果。
为了避免场景热点中的三维视频与场景要素中的内容发生冲突。这里内容编辑电子设备会获取三维视频中的静态区域,该静态区域是指三维视频播放过程中画面内容没有发生变化的区域。这样在展示场景热点的热点预览界面中,可在热点预览界面的静态区域创建静态场景要素(设置在静态区域的场景要素),由于静态区域的三维视频的内容是没有发生变化的,因此不会产生静态场景要素遮挡场景热点的活动内容的展示冲突,设置场景要素的展示界面覆盖场景热点的展示界面即可。随后转到步骤S205。
在步骤S205中,内容编辑电子设备基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件。
具体的,如场景要素为二维图片要素,则内容编辑电子设备基于第四操作,设置二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数。二维图片要素的尺寸参数是指二维图片的尺寸大小参数;二维图片要素的位置参数是指二维图片在热点预览界面中的位置信息;二维图片要素的图片透明度是指二维图片在热点预览界面中的透明度信息;二维图片要素的要素寿命参数是指二维图片在热点预览界面中的嵌入寿命,如设置二维图片在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入二维图片要素的参数或者在预设参数的基础上调整二维图片要素的参数的操作。
如场景要素为文字要素,则内容编辑电子设备基于第四操作,设置文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数。文字要素的尺寸参数是指文字要素的尺寸大小参数;文字要素的尺寸参数是指文字要素在热点预览界面中的位置信息;文字要素的文字透明度是指文字要素在热点预览界面中的透明度信息;文字要素的要素寿命参数是指文字要素在热点预览界面中的嵌入寿命,如设置文字要素在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入文字要素的参数或者在预设参数的基础上调整文字要素的参数的操作。
如场景要素为二维视频要素,则内容编辑电子设备基于第四操作,设置二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。二维视频要素的尺寸参数是指二维视频的画面尺寸大小参数;二维视频要素的位置参数是指二维视频在热点预览界面中的位置信息;二维视频要素的画面透明度是指二维视频在热点预览界面中的透明度信息;二维视频要素的视频进度参数是指二维视频在热点预览界面中播放参数,比如是否循环播放、设置播放内容、以及设置播放控制器等参数。二维视频要素的要素寿命参数是指二维视频在热点预览界面中的嵌入寿命,如设置二维视频在三维视频中的嵌入入点时间以及嵌入出点时间等。这里的第四操作可为用户直接输入二维视频要 素的参数或者在预设参数的基础上调整二维视频要素的参数的操作。
场景要素的触发条件是指在热点预览界面中触发二维图片要素、二维视频要素或文字要素的条件。这里的触发可为对二维图片要素或文字要素的显示操作,以及对二维视频要素的播放操作。
为了进一步节省视频播放客户端的资源,内容编辑电子设备可设置场景要素的位置参数位于场景热点的显示范围内时,开启显示范围内容的场景要素,即显示对应的二维图片要素或文字要素,或播放对应的二维视频要素。如场景要素的位置参数没有位于场景热点的显示范围内时,由于用户本来就无法观察到场景热点的显示范围外的场景要素,因此关闭该显示范围外的场景要素,以节省视频播放客户端的资源。
当然这里也可基于用户对场景要素的点击操作,开启或关闭对应的场景要素,即用户对场景要素进行手动开启或关闭控制。
为了提高同一热点预览界面下不同场景要素的关联性,内容编辑电子设备可设置同一热点预览界面下不同场景要素的开启关联关系以及关闭关联关系,当一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启。比如有一个电视打开按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频要素与其建立开启关联关系,当电视打开按钮被触发时,该电视的二维视频要素同时也被触发。或者当收音机的二维图片要素被触发时,设定广播电台的声音要素也同时被触发,从而给用户造成打开收音机的展示效果。
同理,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。比如有一个电视关闭按钮的二维图片要素,可设置该热点预览界面下一电视的二维视频与其建立关闭关联关系,当电视关闭按钮被触发时,该电视的二维视频要素同时被关闭。
当然这里场景要素的关闭也可与其他场景要素的开启相关联,场景要素的开启也可与其他场景要素的关闭相关联,这样用户可通过点击一个场景要素,实现多个场景要素之间的关联触发或关闭,便于用户对同一热点预览界面下多个场景要素的联动设置,提高了用户的互动视频的观看体验。随后转到步骤S206。
在步骤S206中,内容编辑电子设备将步骤S202中设置的场景热点设置为固定场景热点,将步骤S204中设置的场景要素设置为固定场景要素;固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,这样后面用户可方便的在三维场景互动模板上增加活动场景要素。随后转到步骤S207。
在步骤S207中,内容编辑电子设备根据固定场景热点以及固定场景热点 中的固定场景要素,生成三维场景互动模板,以便后续用户对该三维场景互动模板进行调用。
本实施例的三维场景互动视频生成方法使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低。
请参照图3,图3为本发明的三维场景互动视频生成方法的第二实施例的流程图。本实施例的三维场景互动视频生成方法可使用上述的内容编辑电子设备进行实施。本实施例的三维场景互动视频生成方法包括以下步骤:
步骤S301,获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;模板活动场景要素包括二维图片要素、二维视频要素或文字要素;
步骤S302,展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个本地活动场景要素,其中本地活动场景要素包括二维图片要素、二维视频要素或文字要素;
步骤S303,设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件;
步骤S304,对固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。
在三维场景互动视频生成方法的第一实施例的基础上,本实施例的三维场景互动视频生成方法的三维场景互动模板的固定场景热点中还设置有模板活动场景要素,这里的模板活动场景要素是指用户可以对其进行个性化编辑的活动场景要素。
在步骤S302中,内容编辑电子设备展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个本地活动场景要素,进而后续对本地活动场景要素进行编辑。
在步骤S303中,内容编辑电子设备设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件。
模板活动场景要素和本地活动场景要素的具体设置流程与步骤S103中活动场景要素的设置流程相同或相似,具体请参见上述步骤S103中活动场景要素的设置流程。
在步骤S304中,内容编辑电子设备对获取的固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的模板活动场景要素以及本地活动场景要素。
这样即完成了本实施例的三维场景互动视频生成方法的三维场景互动视频的创建过程。
下面详细说明本实施例中三维场景互动模板的生成过程,具体请参照图4,图4为本发明的三维场景互动视频生成方法的第二实施例中的三维场景互动模板的生成流程图。该三维场景互动模板的生成流程包括:
步骤S401,获取预设媒体库,其中预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;
步骤S402,展示场景预览界面,并基于用户的第一操作在场景预览界面中创建至少一个场景热点,其中场景热点为三维图片和/或三维视频;
步骤S403,基于用户的第二操作,设置场景热点的参数;
步骤S404,展示场景热点的热点预览界面,并基于用户的第三操作在热点预览界面中创建至少一个场景要素,其中场景要素为二维图片要素、二维视频要素或文字要素;
步骤S405,基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件;
步骤S406,将场景热点设置为固定场景热点,设置场景要素中的固定场景要素以及模板活动场景要素;
步骤S407,根据所述固定场景热点以及所述固定场景热点中的固定场景要素以及模板活动场景要素,生成三维场景互动模板。
在第一实施例的基础上,本实施例的三维场景互动视频生成方法的三维场景互动模板在生成时,在固定场景要素中设置有固定场景要素以及模板活动场景要素,其中固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,而模板活动场景要素为三维场景互动模板中能够进行参数更改的场景要素,这样后面用户可基于自己的个性化需要,在模板活动场景要素进行编辑,生成自己想要的三维场景互动视频。
在第一实施例的基础上,本实施例的三维场景互动模板中同时设置有固定场景要素和模板活动场景要素,用户可对三维场景互动模板中的模板活动场景要素进行编辑,进一步提高了用户对三维场景互动视频的编辑能力。
本发明还提供一种三维场景互动视频生成装置,请参照图5,图5为本发 明的三维场景互动视频生成装置的第一实施例的结构示意图。本实施例的三维场景互动视频生成装置可使用上述的三维场景互动视频生成方法进行实施,该三维场景互动视频生成装置50包括模板获取模块51、活动场景要素创建模块52、场景要素设置模块53以及视频生成模块54。
模板获取模块51用于获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;活动场景要素创建模块52用于展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个活动场景要素,其中活动场景要素包括二维图片要素、二维视频要素或文字要素;场景要素设置模块53用于设置活动场景要素的参数以及所有场景要素的触发条件;视频生成模块54用于对固定场景热点、固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。
本实施例的三维场景互动视频生成装置50使用时,首先模板获取模块51获取三维场景互动模板;该三维场景互动模板包括固定场景热点以及固定场景要素,其中固定场景热点包括三维图片和/或三维视频,固定场景要素包括二维图片要素、二维视频要素或文字要素。
随后活动场景要素创建模块52展示固定场景热点的热点预览界面。该热点预览界面为在对应的固定场景热点上设置对应的活动场景要素的场景界面。用户可将用户本地媒体库中的二维图片、二维视频和/或文字要素设置到热点预览界面中,以便在热点预览界面中创建至少一个活动场景要素,进而后续对活动场景要素进行编辑。
然后场景要素设置模块53设置活动场景要素的参数以及所有场景要素的触发条件。
最后视频生成模块54对获取的固定场景热点、对获取的固定场景要素以及活动场景要素进行存储操作,以生成三维场景互动视频。用户可通过与三维场景互动视频进行互动,观看所有的场景热点以及场景热点中的场景要素。
这样即完成了本实施例的三维场景互动视频生成装置50的三维场景互动视频的生成过程。
本实施例的三维场景互动视频的生成过程与上述的三维场景互动视频生成方法的第一实施例中的三维场景互动视频的生成过程的相同或相似,具体请参见三维场景互动视频生成方法的第一实施例中的相关描述。
请参照图6,图6为本发明的三维场景互动视频生成装置的第二实施例的结构示意图。本实施例的三维场景互动视频生成装置可使用上述的三维场景互 动视频生成方法进行实施,该三维场景互动视频生成装置60包括模板获取模块61、活动场景要素创建模块62、场景要素设置模块63以及视频生成模块64。
模板获取模块61用于获取三维场景互动模板,其中三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;固定场景要素包括二维图片要素、二维视频要素或文字要素;模板活动场景要素包括二维图片要素、二维视频要素或文字要素;活动场景要素创建模块62用于展示固定场景热点的热点预览界面,并基于用户本地媒体库在热点预览界面中创建至少一个本地活动场景要素,其中本地活动场景要素包括二维图片要素、二维视频要素或文字要素;场景要素设置模块63用于设置模板活动场景要素和本地活动场景要素的参数以及所有场景要素的触发条件;视频生成模块64用于对固定场景热点、固定场景要素、模板活动场景要素以及本地活动场景要素进行存储操作,以生成三维场景互动视频。
在第一实施例的基础上,本实施例的三维场景互动视频生成装置60的三维场景互动模板在生成时,在固定场景要素中设置有固定场景要素以及模板活动场景要素,其中固定场景热点为三维场景互动模板不能进行参数更改的场景热点,固定场景要素为三维场景互动模板不能进行参数更改的场景要素,而模板活动场景要素为三维场景互动模板中能够进行参数更改的场景要素,这样后面用户可基于自己的个性化需要,在模板活动场景要素进行编辑,生成自己想要的三维场景互动视频。
本实施例的三维场景互动视频的生成过程与上述的三维场景互动视频生成方法的第二实施例中的三维场景互动视频的生成过程的相同或相似,具体请参见三维场景互动视频生成方法的第一实施例中的相关描述。
在第一实施例的基础上,本实施例的三维场景互动模板中同时设置有固定场景要素和模板活动场景要素,用户可对三维场景互动模板中的模板活动场景要素进行编辑,进一步提高了用户对三维场景互动视频的编辑能力。
下面通过一具体实施例说明本发明的三维场景互动模板的创建过程。请参照图7以及图8a-8i,图7为本发明的三维场景互动模板的模板创建流程图。图8a-8i为模板创建流程的示意图。
该内容编辑电子设备创建三维场景互动模板的流程包括:
步骤S701,内容编辑电子设备创建预设媒体库,即将预备好的三维图片、二维图片、三维视频以及二维视频存储到预设媒体库中,如图8a所示的81所示。
步骤S702,内容编辑电子设备展示场景预览界面,如图8b的场景预览界面82,用户可通过拖扯预设媒体库83中的场景热点的内容预览图至场景预览界面82中,以创建多个场景热点以及多个场景热点之间的连接关系(同时创建场景热点中的相邻热点链接)。如图8b中的热点预览界面84中即设置有相邻场景热点的相邻热点链接85。
步骤S703,内容编辑电子设备设置场景热点的参数。具体如图8c所示,该场景热点为三维视频,因此可通过进度控制器86设置该三维视频的视频进度参数,通过场景视角设置87的视场角调整设置该三维视频的初始范围参数,通过场景视角设置87的水平调整设置该三维视频的初始角度参数,即改变用户观察点的第一水平轴(基于现有用户观察点的左右方向轴)、第二水平轴(基于现有用户观察点的前后方向轴)、以及垂直轴(基于现有用户观察点的上下方向轴)的位置。同时可对热点预览界面84中的相邻热点链接85的位置进行调整,如该相邻热点链接85设置在一热点预览界面对应的场景热点的一活动物体上,则该相邻热点链接85可基于场景热点的视频进度参数,调整其在热点预览界面的位置。
步骤S704,内容编辑电子设备展示场景热点的热点预览界面。如图8d中的热点预览界面84所示,用户可通过嵌入素材界面88在该热点预览界面中嵌入二维图片、三维图片、二维视频、三维视频、文字要素以及音频要素,从而在热点预览界面中创建多个场景要素。
步骤S705,内容编辑电子设备基于用户的第四操作,设置场景要素的参数以及场景要素的触发条件。
文字要素的场景要素的参数设置如图8e所示,用户可通过文字素材嵌入界面89设置文字要素的尺寸参数、位置参数、展示角度参数、文字透明度和要素寿命参数。
二维图片、三维图片的场景要素的参数设置如图8f所示,用户可通过图片素材嵌入界面8a设置二维图片和三维图片的尺寸参数、位置参数、展示角度参数、文字透明度和要素寿命参数。
二维视频、三维视频的场景要素的参数设置如图8g所示,用户可通过视频素材嵌入界面8b设置二维视频和三维视频的尺寸参数、位置参数、画面透明度、视频进度参数以及要素寿命参数。
音频要素的参数设置如图8h所示,用户可通过音频素材嵌入界面8c设置音频要素的位置参数、音量参数以及要素寿命参数。
进一步的,内容编辑电子设备还可设置不同场景要素的开启关联关系以及关闭关联关系,具体如图8h中的音频素材嵌入界面8c的界面8d所示,用户可设置该音频素材和其他场景要素的关联关系,同理用户可设置所有不同类型 的场景要素之间的关联关系。
步骤S706,内容编辑电子设备将编辑好的场景热点以及场景热点中的场景要素进行保存,生成三维场景互动模板,如图8i所示。
本发明的三维场景互动视频生成方法和生成装置使用三维场景互动模板进行场景热点和场景要素的创建,使得用户便于在热点预览界面中进行不同类型的多媒体影像内容的整合,三维场景互动视频的生成流程简单且难度较低,有效解决了现有的三维场景互动视频生成方法及生成装置对不同的多媒体影像内容进行编辑处理的专业性较强、难度较大的技术问题。
综上所述,虽然本发明已以实施例揭露如上,实施例前的序号仅为描述方便而使用,对本发明各实施例的顺序不造成限制。并且,上述实施例并非用以限制本发明,本领域的普通技术人员,在不脱离本发明的精神和范围内,均可作各种更动与润饰,因此本发明的保护范围以权利要求界定的范围为准。

Claims (13)

  1. 一种三维场景互动视频生成方法,其包括:
    获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;
    展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;
    设置所述活动场景要素的参数以及所有场景要素的触发条件;以及
    对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频。
  2. 根据权利要求1所述的三维场景互动视频生成方法,其中通过以下步骤生成所述三维场景互动模板:
    获取预设媒体库,其中所述预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;
    展示场景预览界面,并基于用户的第一操作在所述场景预览界面中创建至少一个场景热点,其中所述场景热点为三维图片和/或三维视频;
    基于用户的第二操作,设置所述场景热点的参数;
    展示所述场景热点的热点预览界面,并基于用户的第三操作在所述热点预览界面中创建至少一个场景要素,其中所述场景要素为二维图片要素、二维视频要素或文字要素;
    基于用户的第四操作,设置所述场景要素的参数以及所述场景要素的触发条件;
    将所述场景热点设置为固定场景热点,将所述场景要素设置为固定场景要素;
    根据所述固定场景热点以及所述固定场景热点中的固定场景要素,生成三维场景互动模板。
  3. 根据权利要求1所述的三维场景互动视频生成方法,其中所述设置所述活动场景要素的参数的步骤包括:
    如所述活动场景要素为二维图片要素,则设置所述二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数;
    如所述活动场景要素为文字要素,则设置所述文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数;
    如所述活动场景要素为二维视频要素,则基于设置所述二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数和要素寿命参数。
  4. 根据权利要求3所述的三维场景互动视频生成方法,其中所述设置所有场景要素的触发条件包括:
    当所述场景要素的位置参数位于所述场景热点的显示范围内时,开启所述显示范围内的场景要素;当所述场景要素的位置参数不位于所述场景热点的显示范围内时,关闭所述显示范围外的场景要素;
    基于用户对所述场景要素的点击操作,开启或关闭对应的场景要素;
    设置场景要素的开启关联关系,当一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启;和/或
    设置场景要素的关闭关联关系,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。
  5. 根据权利要求2所述的三维场景互动视频生成方法,其中所述基于用户的第二操作,设置所述场景热点的参数的步骤包括:
    如所述场景热点为三维图片,则基于所述用户的第二操作,设置所述三维图片的初始角度参数以及初始范围参数;
    基于所述三维图片的初始角度参数以及初始范围参数,生成所述三维图片的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接;
    如所述场景热点为三维视频,则基于所述用户的第二操作,设置所述三维视频的初始角度参数、初始范围参数以及视频进度参数;
    基于所述三维视频的初始角度参数、初始范围参数以及视频进度参数,生成所述三维视频的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接。
  6. 根据权利要求5所述的三维场景互动视频生成方法,其中基于所述三维视频的视频进度参数,在所述三维视频上活动设置所述场景热点的相邻热点链接。
  7. 一种三维场景互动视频生成方法,其包括:
    获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素以及模板活动场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;所述模板活动场景要素包括二维图片要素、二维视频要素或文字要素;
    展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个本地活动场景要素,其中所述本地活动场景要素包括二维图片要素、二维视频要素或文字要素;
    设置所述模板活动场景要素和所述本地活动场景要素的参数以及所有场 景要素的触发条件;以及
    对所述固定场景热点、所述固定场景要素、所述模板活动场景要素以及所述本地活动场景要素进行存储操作,以生成三维场景互动视频。
  8. 根据权利要求7所述的三维场景互动视频生成方法,其中通过以下步骤生成所述三维场景互动模板:
    获取预设媒体库,其中所述预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;
    展示场景预览界面,并基于用户的第一操作在所述场景预览界面中创建至少一个场景热点,其中所述场景热点为三维图片和/或三维视频;
    基于用户的第二操作,设置所述场景热点的参数;
    展示所述场景热点的热点预览界面,并基于用户的第三操作在所述热点预览界面中创建至少一个场景要素,其中所述场景要素为二维图片要素、二维视频要素或文字要素;
    基于用户的第四操作,设置所述场景要素的参数以及所述场景要素的触发条件;
    将所述场景热点设置为固定场景热点,设置所述场景要素中的固定场景要素以及模板活动场景要素;
    根据所述固定场景热点以及所述固定场景热点中的固定场景要素以及模板活动场景要素,生成三维场景互动模板。
  9. 根据权利要求7所述的三维场景互动视频生成方法,其中所述设置所述模板活动场景要素和所述本地活动场景要素的参数的步骤包括:
    如所述模板活动场景要素和所述本地活动场景要素为二维图片要素,则设置所述二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数;
    如所述模板活动场景要素和所述本地活动场景要素为文字要素,则设置所述文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数;
    如所述模板活动场景要素和所述本地活动场景要素为二维视频要素,则基于设置所述二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数和要素寿命参数。
  10. 根据权利要求9所述的三维场景互动视频生成方法,其中所述设置所有场景要素的触发条件包括:
    当所述场景要素的位置参数位于所述场景热点的显示范围内时,开启所述显示范围内的场景要素;当所述场景要素的位置参数不位于所述场景热点的显示范围内时,关闭所述显示范围外的场景要素;
    基于用户对所述场景要素的点击操作,开启或关闭对应的场景要素;
    设置场景要素的开启关联关系,当一场景要素开启时,与状态切换的场景 要素具有开启关联关系的其他场景要素一并开启;和/或
    设置场景要素的关闭关联关系,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭。
  11. 根据权利要求8所述的三维场景互动视频生成方法,其中所述基于用户的第二操作,设置所述场景热点的参数的步骤包括:
    如所述场景热点为三维图片,则基于所述用户的第二操作,设置所述三维图片的初始角度参数以及初始范围参数;
    基于所述三维图片的初始角度参数以及初始范围参数,生成所述三维图片的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接;
    如所述场景热点为三维视频,则基于所述用户的第二操作,设置所述三维视频的初始角度参数、初始范围参数以及视频进度参数;
    基于所述三维视频的初始角度参数、初始范围参数以及视频进度参数,生成所述三维视频的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接。
  12. 根据权利要求11所述的三维场景互动视频生成方法,其中基于所述三维视频的视频进度参数,在所述三维视频上活动设置所述场景热点的相邻热点链接。
  13. 一种三维场景互动视频生成装置,其包括:
    模板获取模块,用于获取三维场景互动模板,其中所述三维场景互动模板包括固定场景热点以及固定场景热点中的固定场景要素;其中所述固定场景热点包括三维图片和/或三维视频;所述固定场景要素包括二维图片要素、二维视频要素或文字要素;
    活动场景要素创建模块,用于展示所述固定场景热点的热点预览界面,并基于用户本地媒体库在所述热点预览界面中创建至少一个活动场景要素,其中所述活动场景要素包括二维图片要素、二维视频要素或文字要素;
    场景要素设置模块,用于如所述活动场景要素为二维图片要素,则设置所述二维图片要素的尺寸参数、位置参数、图片透明度和要素寿命参数;如所述活动场景要素为文字要素,则设置所述文字要素的尺寸参数、位置参数、文字透明度和要素寿命参数;如所述活动场景要素为二维视频要素,则基于设置所述二维视频要素的尺寸参数、位置参数、画面透明度、视频进度参数和要素寿命参数;当所述场景要素的位置参数位于所述场景热点的显示范围内时,开启所述显示范围内的场景要素;当所述场景要素的位置参数不位于所述场景热点的显示范围内时,关闭所述显示范围外的场景要素;基于用户对所述场景要素的点击操作,开启或关闭对应的场景要素;设置场景要素的开启关联关系,当 一场景要素开启时,与状态切换的场景要素具有开启关联关系的其他场景要素一并开启;和/或设置场景要素的关闭关联关系,当一场景要素关闭时,与状态切换的场景要素具有关闭关联关系的其他场景要素一并关闭;以及
    视频生成模块,用于对所述固定场景热点、所述固定场景要素以及所述活动场景要素进行存储操作,以生成三维场景互动视频;
    其中通过以下步骤生成所述三维场景互动模板:
    获取预设媒体库,其中所述预设媒体库中包括三维图片、二维图片、三维视频以及二维视频;
    展示场景预览界面,并基于用户的第一操作在所述场景预览界面中创建至少一个场景热点,其中所述场景热点为三维图片和/或三维视频;
    基于所述三维图片的初始角度参数以及初始范围参数,生成所述三维图片的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接;如所述场景热点为三维视频,则基于所述用户的第二操作,设置所述三维视频的初始角度参数、初始范围参数以及视频进度参数;基于所述三维视频的初始角度参数、初始范围参数以及视频进度参数,生成所述三维视频的热点预览界面,基于用户的第二操作,在所述热点预览界面上设置相邻热点链接;
    展示所述场景热点的热点预览界面,并基于用户的第三操作在所述热点预览界面中创建至少一个场景要素,其中所述场景要素为二维图片要素、二维视频要素或文字要素;
    基于用户的第四操作,设置所述场景要素的参数以及所述场景要素的触发条件;
    将所述场景热点设置为固定场景热点,将所述场景要素设置为固定场景要素;
    根据所述固定场景热点以及所述固定场景热点中的固定场景要素,生成三维场景互动模板。
PCT/CN2022/077937 2022-01-07 2022-02-25 三维场景互动视频生成方法及生成装置 WO2023130544A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210016488.1 2022-01-07
CN202210016488.1A CN114363598B (zh) 2022-01-07 2022-01-07 三维场景互动视频生成方法及生成装置

Publications (1)

Publication Number Publication Date
WO2023130544A1 true WO2023130544A1 (zh) 2023-07-13

Family

ID=81106480

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077937 WO2023130544A1 (zh) 2022-01-07 2022-02-25 三维场景互动视频生成方法及生成装置

Country Status (2)

Country Link
CN (2) CN116233382A (zh)
WO (1) WO2023130544A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872814A (zh) * 2016-03-31 2016-08-17 北京奇艺世纪科技有限公司 一种视频信息的展示方法及装置
CN106408631A (zh) * 2016-09-30 2017-02-15 厦门亿力吉奥信息科技有限公司 三维宏观展示方法及系统
CN106530392A (zh) * 2016-10-20 2017-03-22 中国农业大学 一种农耕文化虚拟场景互动展示的方法及系统
US10019415B1 (en) * 2015-08-28 2018-07-10 Animoto Inc. System and method for consistent cross-platform text layout
CN109003334A (zh) * 2017-06-07 2018-12-14 上海福沁高科技企业发展有限公司 一种基于WebGL的双目三维虚拟现实场景构建系统

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5067476B2 (ja) * 2010-12-28 2012-11-07 カシオ計算機株式会社 三次元モデル作成システム
CN107801083A (zh) * 2016-09-06 2018-03-13 星播网(深圳)信息有限公司 一种基于三维虚拟技术的网络实时互动直播方法及装置
CN112616063B (zh) * 2020-12-11 2022-10-28 北京字跳网络技术有限公司 一种直播互动方法、装置、设备及介质
CN113691796B (zh) * 2021-08-16 2023-06-02 福建凯米网络科技有限公司 通过二维模拟的三维场景互动方法及计算机可读存储介质
CN114363687B (zh) * 2022-01-07 2023-11-24 深圳看到科技有限公司 三维场景互动视频创建方法及创建装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10019415B1 (en) * 2015-08-28 2018-07-10 Animoto Inc. System and method for consistent cross-platform text layout
CN105872814A (zh) * 2016-03-31 2016-08-17 北京奇艺世纪科技有限公司 一种视频信息的展示方法及装置
CN106408631A (zh) * 2016-09-30 2017-02-15 厦门亿力吉奥信息科技有限公司 三维宏观展示方法及系统
CN106530392A (zh) * 2016-10-20 2017-03-22 中国农业大学 一种农耕文化虚拟场景互动展示的方法及系统
CN109003334A (zh) * 2017-06-07 2018-12-14 上海福沁高科技企业发展有限公司 一种基于WebGL的双目三维虚拟现实场景构建系统

Also Published As

Publication number Publication date
CN114363598A (zh) 2022-04-15
CN116233382A (zh) 2023-06-06
CN114363598B (zh) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2021135655A1 (zh) 生成多媒体资源的方法及设备
US8584043B2 (en) Mobile terminal including touch screen and method of controlling operation thereof
KR101537598B1 (ko) 영상 프로젝터를 구비한 휴대 단말기 및 그 제어 방법
US8885068B2 (en) Mobile terminal and control method for the same
JP6754968B2 (ja) 動画再生方法、動画再生装置及び動画再生プログラムを記憶したコンピュータ読み取り可能な記憶媒体
CN111107418A (zh) 视频数据处理方法、装置、计算机设备和存储介质
US9852764B2 (en) System and method for providing and interacting with coordinated presentations
US11037600B2 (en) Video processing method and apparatus, terminal and medium
CN110321048B (zh) 三维全景场景信息处理、交互方法及装置
WO2021082639A1 (zh) 操作用户界面的方法、装置、电子设备及存储介质
WO2020062683A1 (zh) 视频获取方法、装置、终端和介质
CN110636365B (zh) 视频字符添加方法、装置、电子设备及存储介质
CN112230914B (zh) 小程序的制作方法、装置、终端及存储介质
CN112839190B (zh) 虚拟图像与现实场景同步视频录制或直播的方法
CN114363687B (zh) 三维场景互动视频创建方法及创建装置
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
CN113055750A (zh) 直播方法、装置、终端及存储介质
CN112131422A (zh) 表情图片生成方法、装置、设备及介质
CN111835972B (zh) 拍摄方法、装置和电子设备
CN112995401A (zh) 控件显示方法、装置、设备及介质
WO2023130544A1 (zh) 三维场景互动视频生成方法及生成装置
WO2023093637A1 (zh) 来电显示界面的处理方法、装置和电子设备
US10805684B2 (en) Systems and methods for creating and editing multi-component media
WO2022127524A1 (zh) 视频会议呈现方法、装置、终端设备和存储介质
CN114125297B (zh) 视频拍摄方法、装置、电子设备及存储介质

Legal Events

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

Ref document number: 22918011

Country of ref document: EP

Kind code of ref document: A1