WO2022022363A1 - 视频生成及播放方法、装置、电子设备及存储介质 - Google Patents

视频生成及播放方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2022022363A1
WO2022022363A1 PCT/CN2021/107665 CN2021107665W WO2022022363A1 WO 2022022363 A1 WO2022022363 A1 WO 2022022363A1 CN 2021107665 W CN2021107665 W CN 2021107665W WO 2022022363 A1 WO2022022363 A1 WO 2022022363A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
image area
image
information
present disclosure
Prior art date
Application number
PCT/CN2021/107665
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 北京字节跳动网络技术有限公司
Priority to EP21850417.3A priority Critical patent/EP4171017A4/en
Publication of WO2022022363A1 publication Critical patent/WO2022022363A1/zh
Priority to US18/089,363 priority patent/US11832017B2/en
Priority to US18/491,382 priority patent/US20240048665A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2624Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects for obtaining an image which is composed of whole input images, e.g. splitscreen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/036Insert-editing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Definitions

  • the present disclosure relates to the technical field of video processing, and in particular, the present disclosure relates to a video generation and playback method, apparatus, electronic device, and computer-readable storage medium.
  • a video generation method including:
  • the additional motion effect is a dynamic image that presents relevant information of the first video with the motion effect
  • the image area of the fourth video includes a first image area and a second image area
  • the first image area is used to present the image of the first video
  • the first image area is used to present the image of the first video.
  • the second image area is used to present images of the third video.
  • a video playback method including:
  • the original video is played in the information flow display interface, and in response to meeting the predetermined condition, a fourth video is played in the information flow display interface.
  • the image area of the fourth video includes a first image area and a second image area.
  • the first image area uses For presenting the image of the first video
  • the second image area is used for presenting the image of the third video;
  • the first video is a video obtained by adjusting the size of the original video according to the preset size
  • the second video is a video obtained by performing Gaussian blurring on the first video
  • the third video is superimposing additional motion effects on the second video.
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented in a dynamic effect
  • the fourth video is a video obtained by splicing the first video and the third video.
  • a video generating apparatus including:
  • a processing module configured to perform Gaussian blurring special effects processing on the first video to obtain a second video
  • an overlay module for superimposing an additional motion effect on the second video to generate a third video, wherein the additional motion effect is a dynamic image that presents the relevant information of the first video with the motion effect;
  • a splicing module configured to perform splicing processing on the first video and the third video to generate a fourth video, wherein the image area of the fourth video includes a first image area and a second image area, and the first image area is used to present the first image area The image of the video, the second image area is used to present the image of the third video.
  • a video playback device including:
  • a playing module configured to play the original video in the information flow display interface, and in response to satisfying a predetermined condition, play a fourth video in the information flow display interface, the image area of the fourth video includes the first image area and the second image area, The first image area is used to present the image of the first video, and the second image area is used to present the image of the third video;
  • the first video is a video obtained by adjusting the size of the original video according to the preset size
  • the second video is a video obtained by performing Gaussian blurring on the first video
  • the third video is superimposing additional motion effects on the second video.
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented in a dynamic effect
  • the fourth video is a video obtained by splicing the first video and the third video.
  • an electronic device comprising:
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform the above-described video generation and playback methods.
  • a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned video generation and playback method is implemented.
  • FIG. 1 is a schematic flowchart of a video generation method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a video playback method according to an embodiment of the present disclosure
  • FIG. 3(a)-FIG. 3(f) are reference diagrams of a group of video playback processes provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a video generation apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a video playback device according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • the processing process for adding video to the information flow is relatively rough, and cannot meet the user's viewing and feeling requirements.
  • the present disclosure provides a video generation and playback method, device, electronic device, and computer-readable storage medium, which are used to solve the technical problem of how to meet the user's viewing and feeling requirements.
  • the present disclosure obtains a second video by performing special effects processing on the first video, and superimposes a dynamic image presented with dynamic effects related to the first video to generate a third video, which makes the generated video more interesting, attracts users to click, and converts the first video into The first video in the three video domains is spliced to obtain a fourth video, so that the user can watch the first video content and the dynamic effect content at the same time, thereby further improving the user's viewing experience.
  • the video generation method, apparatus, electronic device and computer-readable storage medium provided by the present disclosure are intended to solve the above technical problems in the prior art.
  • An embodiment of the present disclosure provides a video generation method, and the video generation method of the embodiment of the present disclosure can be applied to the server side. As shown in FIG. 1 , the method includes:
  • Step S101 Acquire a first video.
  • the first video may be a video obtained from a server, or a video saved locally on a terminal, an advertisement video, or a news video. It should be noted that this disclosure does not limit the source method and the source of the first video. video content.
  • step S101 includes:
  • the original video is resized according to the preset size to obtain the first video.
  • the present disclosure also does not limit the source method and video content of the original video, but it should be noted that the content in the original video is the same as the content in the first video.
  • the preset size can be based on the display mode of the video, such as full-screen display, horizontal display, or vertical display and other display methods. It can also be determined based on the video display area in the information stream.
  • the size of the original video based on the information stream video display area may be adjusted on the server side.
  • the preset size may match the ratio of the size of the video display area of the information stream.
  • the size of the video display area proportional to the preset size.
  • Step S102 Perform Gaussian blur special effect processing on the first video to obtain a second video.
  • Step S103 superimposing an additional motion effect on the second video to generate a third video, where the additional motion effect is a dynamic image that presents relevant information of the first video with the motion effect.
  • Gaussian blurring can be performed on any video, and then a new video can be superimposed to enrich the user's viewing experience.
  • additional motion effects may be superimposed on the second video obtained after the Gaussian blurring special effect processing to generate a third video.
  • the additional dynamic effect is a dynamic image of the related information of the first video presented by the dynamic effect.
  • additional motion effects can be generated in the following ways:
  • Additional motion effects are generated according to the relevant information and the display method, display area and display time of the relevant information.
  • the related information of the first video may include video content in the first video, and the video content in the first video is presented with dynamic effects to generate additional dynamic effects.
  • the relevant information of the first video includes the material in the first video. It can be understood that, taking the first video including an advertisement video as an example, when the first video includes an advertisement video, the corresponding advertisement video can be obtained from the background of the advertisement system. material.
  • a dynamic image presented by the material with a dynamic effect is used as an additional dynamic effect.
  • the display manner of the related information may be determined based on the type or content of the related information.
  • the related information of the first video may be mobile phone name, mobile phone image, mobile phone description information, mobile phone sales volume, and mobile phone price (including original price and current price).
  • the relevant information can be displayed in a predetermined position of the mobile phone image, such as the mobile phone name in the center of the image, and the mobile phone description information, mobile phone sales volume and original price of the mobile phone are displayed under the mobile phone name, and the mobile phone sales volume can be displayed in a scrolling manner to attract users to watch. , until the latest mobile phone sales are fixed; and after the original price of the mobile phone is displayed for a period of time, the current price of the mobile phone is used to replace the original price of the mobile phone in the position of the original price of the mobile phone, so as to attract users to click through obvious price changes.
  • the display manner of related information can also be configured by itself.
  • Step S104 splicing the first video and the third video to generate a fourth video, the image area of the fourth video includes the first image area and the second image area, and the first image area is used to present the image of the first video, The second image area is used to present images of the third video.
  • the third video is a video with blurred special effects and additional motion effects added.
  • the first video and the third video can be spliced to generate a fourth video. It can be understood that the video size of the fourth video matches the size of the video display area of the information stream.
  • the fourth image area displayed in the information flow video display area may include a first image area and a second image area, and the areas of the first image area and the second image area may be the same or different. same.
  • the video size of the first video and the third video can be the same, that is, the width of the first video and the third video is equal to the width of the information flow video display area, and the length of the first video and the third video is equal to the information flow
  • the video display area is half the length, and the user's viewing experience is better by displaying two videos in the same proportion.
  • the present disclosure obtains a second video by performing special effects processing on the first video, and superimposes a dynamic image presented with dynamic effects related to the first video to generate a third video, which makes the generated video more interesting, attracts users to click, and converts the first video into The first video in the three video domains is spliced to obtain a fourth video, so that the user can watch the first video content and the dynamic effect content at the same time, thereby further improving the user's viewing experience.
  • An embodiment of the present disclosure provides a video playback method, which is applied to a client. As shown in FIG. 2 , the method includes:
  • Step S201 Play the original video in the information flow display interface, and in response to satisfying the predetermined condition, play the fourth video in the information flow display interface, the image area of the fourth video includes the first image area and the second image area, the first image area The image area is used to present the image of the first video, and the second image area is used to present the image of the third video.
  • the first video is a video obtained by resizing the original video according to the preset size;
  • the second video is a video obtained by performing Gaussian blurring on the first video;
  • the third video is superimposed on the second video with additional motion effects
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented by the dynamic effect;
  • the fourth video is a video obtained by splicing the first video and the third video.
  • the predetermined condition includes: the original video playback time reaches a predetermined time, and/or a predetermined object is captured during the original video playback process.
  • the fourth video when the original video is played on the information flow display interface, when a predetermined time, such as 5 seconds, can be played, the fourth video can be played in the information flow display interface, and can be displayed in the video display area of the information flow display interface. Play the fourth video in .
  • the original video including the mobile phone advertisement video as an example, when a close-up image of the mobile phone is played in the original video, it is considered that the predetermined object is captured, and the fourth video can be played in the display area of the information flow display interface.
  • the fourth video is generated based on the original video and related information in the original video.
  • the size of the original video can be adjusted according to the preset size to obtain the first video; then the Gaussian blur special effect processing is performed on the first video to obtain the second video; and the additional motion effects generated according to the relevant information are superimposed on the second video.
  • the video generates a third video, and finally the first video and the third video are spliced to obtain a fourth video.
  • the additional dynamic effect generated according to the related information includes presenting the dynamic image including the related information with the dynamic effect.
  • additional motion effects may also be generated according to the related information and the display mode, display area, and display time of the related information.
  • the relevant information of the first video includes the material in the first video. It can be understood that, taking the first video including an advertisement video as an example, when the first video includes an advertisement video, the corresponding advertisement video can be obtained from the background of the advertisement system. material.
  • the material corresponding to the advertisement video includes the graphic logo avatar of the promotion object, the name of the promotion object, description information of the promotion object, and network address information corresponding to the promotion object.
  • the material corresponding to the mobile phone advertisement video may be the mobile phone image, the mobile phone name, the mobile phone description information, and the product purchase website corresponding to the mobile phone.
  • the display method, display area, and display time of these materials can be determined through the above-mentioned creative materials, so as to generate additional motion effects of the mobile phone advertisement video.
  • the fourth video includes a first preset control, and the first preset control is used to link to a network address corresponding to the relevant information, and the video playback method further includes:
  • a trigger operation for the first preset control input by the user is received, a detailed information page corresponding to the relevant information is acquired based on the network address, and the detailed information page is displayed.
  • the first preset control is displayed.
  • the first preset control may be the purchase button of the displayed product in the advertisement video. After receiving the user's click operation on the purchase button, the purchase details page of the product may be displayed.
  • the first preset control may also be a download button of the application displayed in the advertised product. After receiving the user's click operation on the download button, the download detailed information page of the application may be displayed .
  • the conversion rate of the product in the fourth video can be more effectively improved.
  • the fourth video includes a second preset control
  • the second preset control is used to close the fourth video
  • the video playback method further includes:
  • a trigger operation for the second preset control inputted by the user is received, and the fourth video is closed.
  • a second preset control such as a close button
  • the fourth video may be closed, so as to improve the viewing experience of the user.
  • the original video is displayed in the information flow display interface, and after a predetermined condition is met, a fourth video is played in the video display area of the information flow display interface, and the fourth video is generated based on the relevant information in the original video , making the generated video more interesting, attracting users to watch and click, and then pay attention to related information.
  • This embodiment of the present disclosure provides a set of reference diagrams for changing states of a fourth video playback process, as shown in FIG. 3 ,
  • the fourth video is played in the video display area in the information flow display interface, and in the video playback interface Among them, the left half plays the first video cropped from the original video by the preset size, and the right half plays the third video that has been Gaussian blurred and superimposed with additional motion effects; in the video played on the right half, the mobile phone
  • the image, mobile phone name and mobile phone description information are fixed at the predetermined position, and the change status diagram of the original price and the current price is displayed below, which forms a visual impact on the user.
  • a first preset control such as a purchase button is displayed on the lower right side of the third video playback interface, and a ring special effect is added around the button to The user is attracted to click, and after receiving the user's click on the purchase button, the detailed information purchase page of the mobile phone can be displayed.
  • An embodiment of the present disclosure provides a video generation apparatus, wherein the video generation apparatus of the embodiment of the present disclosure may be located on a server side.
  • the video generation apparatus 40 may include: an acquisition module 401 , a processing module 402 , an overlay module 403 and splicing module 404.
  • the obtaining module 401 is configured to obtain the first video.
  • the first video may be a video obtained from a server, or a video saved locally on a terminal, an advertisement video, or a news video. It should be noted that this disclosure does not limit the source method and the source of the first video. video content.
  • the obtaining module 401 includes:
  • the adjustment sub-module is configured to adjust the size of the original video according to the preset size to obtain the first video.
  • the present disclosure also does not limit the source method and video content of the original video, but it should be noted that the content in the original video is the same as the content in the first video.
  • the preset size can be based on the display mode of the video, such as full-screen display, horizontal display, or vertical display and other display methods. It can also be determined based on the video display area in the information stream.
  • the size of the original video based on the information stream video display area may be adjusted on the server side.
  • the preset size may match the ratio of the size of the video display area of the information stream.
  • the size of the video display area proportional to the preset size.
  • the processing module 402 is configured to perform Gaussian blur special effect processing on the first video to obtain a second video.
  • the superimposing module 403 is configured to superimpose an additional dynamic effect on the second video to generate a third video; wherein the additional dynamic effect is a dynamic image that presents the relevant information of the first video with the dynamic effect.
  • Gaussian blurring can be performed on any video, and then a new video can be superimposed to enrich the user's viewing experience.
  • additional motion effects may be superimposed on the second video obtained after the Gaussian blurring special effect processing to generate a third video.
  • the additional dynamic effect is a dynamic image of the related information of the first video presented by the dynamic effect.
  • generating additional motion effects in the overlay module includes:
  • Obtain sub-module configured to obtain relevant information, and determine the display mode, display area and display time of relevant information
  • a generating sub-module is configured to generate additional motion effects according to the relevant information and the display mode, display area and display time of the relevant information.
  • the related information of the first video may include video content in the first video, and the video content in the first video is presented with dynamic effects to generate additional dynamic effects.
  • the relevant information of the first video includes the material in the first video. It can be understood that, taking the first video including an advertisement video as an example, when the first video includes an advertisement video, the corresponding advertisement video can be obtained from the background of the advertisement system. material.
  • a dynamic image presented by the material with a dynamic effect is used as an additional dynamic effect.
  • generating sub-modules includes:
  • the determining unit is configured to determine a display manner of the related information based on the type or content of the related information.
  • the related information of the first video may be mobile phone name, mobile phone image, mobile phone description information, mobile phone sales volume, and mobile phone price (including original price and current price).
  • the relevant information can be displayed in a predetermined position of the mobile phone image, such as the mobile phone name in the center of the image, and the mobile phone description information, mobile phone sales volume and original price of the mobile phone are displayed under the mobile phone name, and the mobile phone sales volume can be displayed in a scrolling manner to attract users to watch. , until the latest mobile phone sales are fixed; and after the original price of the mobile phone is displayed for a period of time, the current price of the mobile phone is used to replace the original price of the mobile phone in the position of the original price of the mobile phone, so as to attract users to click through obvious price changes.
  • the display manner of the related information can also be configured by itself.
  • the splicing module 404 is configured to perform splicing processing on the first video and the third video to generate a fourth video; wherein, the image area of the fourth video includes a first image area and a second image area, and the first image area is used to present the first image area. An image of a video, and the second image area is used to present an image of a third video.
  • the third video is a video with blurred special effects and additional motion effects added.
  • the first video and the third video can be spliced to generate a fourth video. It can be understood that the video size of the fourth video matches the size of the video display area of the information stream.
  • the fourth image area displayed in the information flow video display area may include a first image area and a second image area, wherein the area of the first image area and the second image area may be the same, or They may be different.
  • the video size of the first video and the third video can be the same, that is, the width of the first video and the third video is equal to the width of the information flow video display area, and the length of the first video and the third video is equal to the information flow
  • the video display area is half the length, and the user's viewing experience is better by displaying two videos in the same proportion.
  • the present disclosure obtains a second video by performing special effects processing on the first video, and superimposes a dynamic image presented with dynamic effects related to the first video to generate a third video, which makes the generated video more interesting, attracts users to click, and converts the first video into The first video in the three video domains is spliced to obtain a fourth video, so that the user can watch the first video content and the dynamic effect content at the same time, thereby further improving the user's viewing experience.
  • An embodiment of the present disclosure provides a schematic structural diagram of a video playback apparatus, wherein the video playback apparatus of the embodiment of the present disclosure may be located on a client. As shown in FIG. 5 , the video playback apparatus 50 may include a playback module 501 .
  • the playing module 501 is configured to play the original video in the information flow display interface, and in response to satisfying a predetermined condition, play a fourth video in the information flow display interface, the image area of the fourth video includes the first image area and the second image area , the first image area is used to present the image of the first video, and the second image area is used to present the image of the third video;
  • the first video is a video obtained by resizing the original video according to the preset size;
  • the second video is a video obtained by performing Gaussian blurring on the first video;
  • the third video is superimposed on the second video with additional motion effects
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented by the dynamic effect;
  • the fourth video is a video obtained by splicing the first video and the third video.
  • the predetermined condition includes: the original video playback time reaches a predetermined time, and/or a predetermined object is captured during the original video playback process.
  • the fourth video when the original video is played on the information flow display interface, when a predetermined time, such as 5 seconds, can be played, the fourth video can be played in the information flow display interface, and can be displayed in the video display area of the information flow display interface. Play the fourth video in .
  • the original video including the mobile phone advertisement video as an example, when a close-up image of the mobile phone is played in the original video, it is considered that the predetermined object is captured, and the fourth video can be played in the display area of the information flow display interface.
  • the fourth video is generated based on the original video and related information in the original video.
  • the size of the original video can be adjusted according to the preset size to obtain the first video; then the Gaussian blur special effect processing is performed on the first video to obtain the second video; and the additional motion effects generated according to the relevant information are superimposed on the second video.
  • the video generates a third video, and finally the first video and the third video are spliced to obtain a fourth video.
  • the additional dynamic effect generated according to the related information includes presenting the dynamic image including the related information with the dynamic effect.
  • additional motion effects may also be generated according to the related information and the display mode, display area, and display time of the related information.
  • the relevant information of the first video includes the material in the first video. It can be understood that, taking the first video including an advertisement video as an example, when the first video includes an advertisement video, the corresponding advertisement video can be obtained from the background of the advertisement system. material.
  • the material corresponding to the advertisement video includes the graphic logo avatar of the promotion object, the name of the promotion object, description information of the promotion object, and network address information corresponding to the promotion object.
  • the material corresponding to the mobile phone advertisement video may be the mobile phone image, the mobile phone name, the mobile phone description information, and the product purchase website corresponding to the mobile phone.
  • the display method, display area, and display time of these materials can be determined through the above-mentioned creative materials, so as to generate additional motion effects of the mobile phone advertisement video.
  • the fourth video includes a first preset control, and the first preset control is used to link to a network address corresponding to the relevant information
  • the playback module further includes:
  • the display sub-module is configured to receive a trigger operation for the first preset control input by the user during the process of playing the fourth video, obtain a detailed information page corresponding to the relevant information based on the network address, and display the detailed information page.
  • the first preset control is displayed.
  • the first preset control may be a purchase button of the product displayed in the advertisement video, and after receiving the user's click operation on the purchase button, the purchase details page of the product may be displayed. .
  • the first preset control may also be a download button of the application displayed in the advertised product. After receiving the user's click operation on the download button, the download detailed information page of the application may be displayed .
  • the conversion rate of the product in the fourth video can be more effectively improved.
  • the fourth video includes a second preset control
  • the second preset control is used to close the fourth video
  • the playback module further includes:
  • the closing sub-module is configured to, during the process of playing the fourth video, receive a trigger operation for the second preset control input by the user, and close the fourth video.
  • a second preset control such as a close button
  • the fourth video may be closed, so as to improve the viewing experience of the user.
  • the original video is displayed in the information flow display interface, and after a predetermined condition is met, a fourth video is played in the video display area of the information flow display interface, and the fourth video is generated based on the relevant information in the original video , making the generated video more interesting, attracting users to watch and click, and then pay attention to related information.
  • FIG. 6 it shows a schematic structural diagram of an electronic device 600 suitable for implementing an embodiment of the present disclosure.
  • the electronic devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • the electronic device includes: a memory and a processor, wherein the processor here may be referred to as a processing device 601 described below, and the memory may include a read-only memory (ROM) 602, a random access memory (RAM) 603, and a storage device hereinafter At least one of 608 as follows:
  • an electronic device 600 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 601 that may be loaded into random access according to a program stored in a read only memory (ROM) 602 or from a storage device 608 Various appropriate actions and processes are executed by the programs in the memory (RAM) 603 . In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored.
  • the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to bus 604 .
  • I/O interface 605 input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 607 of a computer, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609.
  • Communication means 609 may allow electronic device 600 to communicate wirelessly or by wire with other devices to exchange data. While FIG. 6 shows electronic device 600 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 609, or from the storage device 608, or from the ROM 602.
  • the processing apparatus 601 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:
  • the additional motion effect is a dynamic image that presents the relevant information of the first video with the motion effect
  • the image area of the fourth video includes a first image area and a second image area
  • the first image area is used to present the image of the first video
  • the first image area is used to present the image of the first video.
  • the second image area is used to present images of the third video.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:
  • the original video is played in the information flow display interface, and in response to meeting the predetermined condition, a fourth video is played in the information flow display interface.
  • the image area of the fourth video includes a first image area and a second image area.
  • the first image area uses For presenting the image of the first video
  • the second image area is used for presenting the image of the third video.
  • the first video is a video obtained by resizing the original video according to the preset size;
  • the second video is a video obtained by performing Gaussian blurring on the first video;
  • the third video is superimposed on the second video with additional motion effects
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented by the dynamic effect;
  • the fourth video is a video obtained by splicing the first video and the third video.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the modules or units involved in the embodiments of the present disclosure may be implemented in software or hardware. Among them, the name of the module or unit does not constitute a limitation of the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a video generation method comprising:
  • the additional motion effect is a dynamic image that presents the relevant information of the first video with the motion effect
  • the image area of the fourth video includes a first image area and a second image area, the first image area is used to present the image of the first video, and the second image The area is used to render the image of the third video.
  • acquiring the first video includes:
  • the original video is resized according to the preset size to obtain the first video.
  • additional motion effects are generated in the following manner:
  • Additional motion effects are generated according to the relevant information, display method, display area and display time.
  • the method includes:
  • the display manner of the related information is determined based on the type or content of the related information.
  • the video size of the fourth video matches the size of the information flow video display area.
  • a video playback method including:
  • the original video is played in the information flow display interface, and in response to meeting the predetermined condition, a fourth video is played in the information flow display interface.
  • the image area of the fourth video includes a first image area and a second image area.
  • the first image area uses For presenting the image of the first video
  • the second image area is used for presenting the image of the third video.
  • the first video is a video obtained by resizing the original video according to the preset size;
  • the second video is a video obtained by performing Gaussian blurring on the first video;
  • the third video is superimposed on the second video with additional motion effects
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented by the dynamic effect;
  • the fourth video is a video obtained by splicing the first video and the third video.
  • the predetermined condition includes: the original video playback time reaches a predetermined time, and/or a predetermined object is captured during the original video playback process.
  • the fourth video includes a first preset control, and the first preset control is used to link to a network address corresponding to the related information, and the method further includes:
  • a trigger operation for the first preset control input by the user is received, a detailed information page corresponding to the relevant information is acquired based on the network address, and the detailed information page is displayed.
  • the fourth video includes a second preset control, and the second preset control is used to close the fourth video, and the method further includes:
  • a trigger operation for the second preset control inputted by the user is received, and the fourth video is closed.
  • a video generation apparatus comprising:
  • an acquisition module configured to acquire the first video
  • a processing module configured to perform Gaussian blur special effects processing on the first video to obtain a second video
  • the superimposing module is configured to superimpose the additional motion effect on the second video to generate the third video;
  • the additional motion effect is a dynamic image that presents the relevant information of the first video with the dynamic effect;
  • the splicing module is configured to perform splicing processing on the first video and the third video to generate a fourth video; wherein, the image area of the fourth video includes a first image area and a second image area, and the first image area is used to present the first image area. The image of the video, the second image area is used to present the image of the third video.
  • the acquisition module includes:
  • the adjustment sub-module is configured to adjust the size of the original video according to the preset size to obtain the first video.
  • generating additional motion effects in the overlay module includes:
  • Obtain sub-module configured to obtain relevant information, and determine the display mode, display area and display time of relevant information
  • a sub-module is generated, configured to generate additional motion effects according to the relevant information and display method, display area and display time.
  • generating submodules includes:
  • the determining unit is configured to determine a display manner of the related information based on the type or content of the related information.
  • the video size of the fourth video matches the size of the information flow video display area.
  • a video playback apparatus including:
  • a video playback method is provided, including:
  • a playing module configured to play the original video in the information flow display interface, and in response to satisfying a predetermined condition, play a fourth video in the information flow display interface, the image area of the fourth video includes the first image area and the second image area, The first image area is used to present the image of the first video, and the second image area is used to present the image of the third video.
  • the first video is a video obtained by resizing the original video according to the preset size;
  • the second video is a video obtained by performing Gaussian blurring on the first video;
  • the third video is superimposed on the second video with additional motion effects
  • the additional dynamic effect is a dynamic image in which the related information of the first video is presented by the dynamic effect;
  • the fourth video is a video obtained by splicing the first video and the third video.
  • the predetermined condition includes: the original video playback time reaches a predetermined time, and/or a predetermined object is captured during the original video playback process.
  • the fourth video includes a first preset control, and the first preset control is used to link to a network address corresponding to the relevant information
  • the playback module further includes:
  • the display sub-module is configured to receive a trigger operation for the first preset control input by the user during the process of playing the fourth video, obtain a detailed information page corresponding to the relevant information based on the network address, and display the detailed information page.
  • the fourth video includes a second preset control
  • the second preset control is used to close the fourth video
  • the playback module further includes:
  • the closing sub-module is configured to, during the process of playing the fourth video, receive a trigger operation for the second preset control input by the user, and close the fourth video.
  • an electronic device comprising:
  • processors one or more processors
  • One or more application programs wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform the above-described video generation and playback methods.
  • a computer-readable storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the above-mentioned video generation and playback method is implemented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

提供了一种视频生成及播放方法、装置、电子设备及计算机可读存储介质,涉及视频处理领域。该方法包括:获取第一视频;对第一视频执行高斯模糊特效处理,得到第二视频;将附加动效叠加至第二视频上以生成第三视频;其中附加动效是以动态效果呈现第一视频的相关信息的动态图像;对第一视频以及第三视频进行拼接处理,生成第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。本公开提高了用户的观感体验。

Description

视频生成及播放方法、装置、电子设备及存储介质
本申请要求于2020年7月30日递交的中国专利申请第202010753983.1号的优先权,该中国专利申请的全文以引入的方式并入以作为本申请的一部分。
技术领域
本公开涉及视频处理技术领域,具体而言,本公开涉及一种视频生成及播放方法、装置、电子设备及计算机可读存储介质。
背景技术
互联网技术的不断发展,使得用户接收越来越多的碎片化信息,尤其是千篇一律的信息流,使得用户在浏览时感到很枯燥。因此可以为信息流增加视频,以吸引用户进行点击。
发明内容
第一方面,提供了一种视频生成方法,包括:
获取第一视频;
对第一视频执行高斯模糊特效处理,得到第二视频;
将附加动效叠加至第二视频上以生成第三视频,其中,附加动效是以动态效果呈现第一视频的相关信息的动态图像;以及
对第一视频以及第三视频进行拼接处理,生成第四视频,其中,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第二方面,提供了一种视频播放方法,包括:
在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像;
其中,第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
第三方面,提供了一种视频生成装置,包括:
获取模块,用于获取第一视频;
处理模块,用于对第一视频执行高斯模糊特效处理,得到第二视频;
叠加模块,用于将附加动效叠加至第二视频上以生成第三视频,其中,附加动效是以动态效果呈现第一视频的相关信息的动态图像;以及
拼接模块,用于对第一视频以及第三视频进行拼接处理,生成第四视频,其中,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第四方面,提供了一种视频播放装置,包括:
播放模块,用于在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像;以及
其中,第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
第五方面,提供了一种电子设备,该电子设备包括:
存储器;
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于执行上述视频生成及播放方法。
第六方面,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述视频生成及播放方法。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种视频生成方法的流程示意图;
图2为本公开实施例提供的一种视频播放方法的流程示意图;
图3(a)-图3(f)为本公开实施例提供的一组视频播放过程的变化状态参考图;
图4为本公开实施例提供的一种视频生成装置的结构示意图;
图5为本公开实施例提供的一种视频播放装置的结构示意图;
图6为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/ 或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对装置、模块或单元进行区分,并非用于限定这些装置、模块或单元一定为不同的装置、模块或单元,也并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。
相关技术中对于信息流中添加视频的处理过程比较粗糙,不能满足用户的观感需求。
本公开提供了一种视频生成及播放方法、装置、电子设备及计算机可读存储介质,用于解决如何满足用户的观感需求的技术问题。
本公开提供的技术方案带来的有益效果是:
本公开通过对第一视频进行特效处理得到第二视频,并叠加与第一视频相关信息以动态效果呈现的动态图像生成第三视频,使得生成的视频更加有趣,吸引用户进行点击,并且将第三视频域第一视频进行拼接,得到第四视频,使得用户可以同时观看第一视频内容及动效内容,进一步提高用户的观感体验。
本公开提供的视频生成方法、装置、电子设备和计算机可读存储介质,旨在解决现有技术的如上技术问题。
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。
本公开实施例中提供了一种视频生成方法,本公开实施例视频生成方法可以应用在服务器端,如图1所示,该方法包括:
步骤S101:获取第一视频。
第一视频可以是从服务器端获取的视频,也可以是保存在终端本地的视频,可以是广告视频,也可以是新闻视频,需要说明的是,本公开并不限制第一视频的来源方式及视频内容。
在本公开的一个实施例中,步骤S101,包括:
根据预设尺寸对原始视频进行尺寸调整,得到第一视频。
本公开也并不限制原始视频的来源方式及视频内容,但是需要说明的是,原始视频中的内容与第一视频中的内容是相同的。
可以理解的是,在信息流的显示界面中,如果在信息流的显示界面中显示视频,预设尺寸可以基于视频的显示方式,比如全屏显示、横版显示或竖版显示等多种显示方式来确定,还可以基于信息流中的视频显示区域来确定。
具体的,在本开的一个实施例中,为了使得视频尺寸可以与信息流的视频显示区域相匹配,可以在服务器侧对原始视频基于信息流的视频显示区域进行尺寸调整。
在本公开的一个实施例中,为了使信息流的视频显示区域中视频的播放数量为整数,预设尺寸可以与信息流的视频显示区域的尺寸的比例相匹配,具体的,可以根据信息流的视频显示区域的尺寸,成比例地确定预设尺寸。
步骤S102:对第一视频执行高斯模糊特效处理,得到第二视频。
步骤S103:将附加动效叠加至第二视频上以生成第三视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像。
可以理解的是,假设在信息流的视频显示区域显示多个视频时,可以在任一视频中做高斯模糊的特效处理,然后叠加新的视频,使得用户的观看体验更为丰富。
在本公开的一个实施例中,可以将附加动效叠加至进行高斯模糊特效处理后得到的第二视频上,生第三视频。并且附加动效是以动态效果呈现的与第一视频的相关信息的动态图像。
在本公开的一个实施例中,附加动效可以通过以下方式生成:
获取相关信息,并确定相关信息的显示方式、显示区域及显示时间;
根据相关信息及相关信息的显示方式、显示区域及显示时间,生成附加动效。
第一视频的相关信息可以包括第一视频中的视频内容,将第一视频中的视频内容以动态效果进行呈现,生成附加动效。
具体的,第一视频的相关信息包括第一视频中的素材,可以理解的是,以第一视频包括广告视频举例,当第一视频包括广告视频时,可以从广告系统后台获取该广告视频对应的素材。
然后根据该素材及该素材在视频中的显示方式、显示区域及显示时间,将该素材以动态效果呈现的动态图像作为附加动效。
在本公开的一个实施例中,可以基于相关信息的类型或内容确定相关信息的显示方式。
具体的,以第一视频包括手机广告视频为例,第一视频的相关信息可以是手机名称、手机图像、手机描述信息、手机销量、手机价格(包括原价及现价)。
相关信息的显示方式可以是在手机图像预定位置,比如图像中央显示手机名称,并且在手机名称下面显示手机描述信息、手机销量及手机原价,并且手机销量可以以滚动方式 显示,以吸引用户进行观看,直至定格到最新手机销量;并且在显示手机原价一段时间后,在手机原价的位置上使用手机现价替换手机原价,以通过明显的价格变化吸引用户进行点击。
在本公开的一个实施例中,相关信息的显示方式还可以自行配置。
步骤S104:对第一视频以及第三视频进行拼接处理,生成第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
可以理解的是,第三视频是经过模糊特效并添加附加动效的视频,为了给用户带来更好地观感体验,即使用户既可以观看到原始视频的内容,还可以观看到附加动效的内容,可以将第一视频与第三视频进行拼接处理,生成第四视频,可以理解的是,第四视频的视频尺寸与信息流的视频显示区域的尺寸相匹配。
在本公开的一个实施例中,在信息流视频显示区域显示的第四图像区域可以包括第一图像区域与第二图像区域,第一图像区域与第二图像区域的面积可以相同,也可以不相同。通过在第一图像区域内显示第一视频的图像,在第二图像区域内显示第三视频的图像,可以实现同时观看原始视频内容与附加动效内容。
具体的,可以使第一视频与第三视频的视频尺寸相同,即第一视频与第三视频的宽等同于信息流视频显示区域的宽,第一视频与第三视频的长等同于信息流视频显示区域长的一半,通过同比例显示两个视频,使得用户的观感体验更佳。
本公开通过对第一视频进行特效处理得到第二视频,并叠加与第一视频相关信息以动态效果呈现的动态图像生成第三视频,使得生成的视频更加有趣,吸引用户进行点击,并且将第三视频域第一视频进行拼接,得到第四视频,使得用户可以同时观看第一视频内容及动效内容,进一步提高用户的观感体验。
本公开实施例中提供了一种视频播放方法,应用于客户端,如图2所示,该方法包括:
步骤S201:在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
在本公开的一个实施例中,预定条件包括:原始视频播放时间达到预定时间,和/或在原始视频播放过程中捕捉到预定对象。
可以理解的是,当原始视频在信息流显示界面进行播放时,当达到预定时间,比如5秒时,可以在信息流显示界面中播放第四视频,可以在信息流显示界面中的视频显示区域中播放第四视频。
或者,以原始视频包括手机广告视频为例,可以原始视频中播放该手机的特写图时,认为捕捉到了预定对象,此时可以在信息流显示界面中的显示区域中播放第四视频。
需要说明的是,第四视频是基于原始视频及原始视频中的相关信息生成的。
具体的,可以根据预设尺寸对原始视频进行尺寸调整,获得第一视频;然后对第一视频进行高斯模糊特效处理,得到第二视频;然后将根据相关信息生成的附加动效叠加至第二视频生成第三视频,最后将第一视频与第三视频进行拼接得到第四视频。
根据相关信息生成的附加动效包括以动态效果呈现包括相关信息的动态图像。
在本公开的一个实施例中,还可以根据相关信息及相关信息的显示方式、显示区域及显示时间,生成附加动效。
具体的,第一视频的相关信息包括第一视频中的素材,可以理解的是,以第一视频包括广告视频举例,当第一视频包括广告视频时,可以从广告系统后台获取该广告视频对应的素材。
广告视频对应的素材包括推广对象的图形化标识头像、推广对象的名称、推广对象的描述信息、与推广对象相应的网络地址信息。
以第一视频包括手机广告视频为例,手机广告视频对应的素材可以是手机图像、手机名称、手机描述信息、与手机相应的商品购买网址。
通过上述广告素材可以确定这些素材的显示方式、显示区域及显示时间,进而生成手机广告视频的附加动效。
在本公开的一个实施例中,第四视频中包括第一预置控件,第一预置控件用于链接至与相关信息对应的网络地址,视频播放方法还包括:
在播放第四视频的过程中,接收到用户输入的针对第一预置控件的触发操作,基于网络地址获取与相关信息对应的详细信息页面,并显示详细信息页面。
可以理解的是,在第四视频的播放过程中,显示第一预置控件,以第四视频中的内容包括广告视频为例,第一预置控件可以是广告视频中展示商品的购买按钮,在接收到用户对于购买按钮的点击操作后,可以显示该商品的购买详细信息页面。
在本公开的一个实施例中,第一预置控件还可以是广告商品中展示的应用程序的下载按钮,在接收到用户对于下载按钮的点击操作后,可以显示该应用程序的下载详细信息页面。
通过吸引用户点击第一预置控件,可以更有效地提高第四视频中商品的转化率。
在本公开的一个实施例中,第四视频中包括第二预置控件,第二预置控件用于关闭第四视频,视频播放方法还包括:
在播放第四视频的过程中,接收到用户输入的针对第二预置控件的触发操作,关闭第四视频。
可以理解的是,当用户对第四视频不满意或者已经观看过第四视频时,为了不使用户得到反感,可以在第四视频的播放过程中显示第二预置控件,比如关闭按钮,当接收到用 户输入的针对关闭按钮的点击操作时,可以关闭第四视频,以提高用户的观看体验。
本公开通过在信息流显示界面中显示原始视频,并且在满足预定条件后,在信息流显示界面的视频显示区域中播放第四视频,并且第四视频是基于原始视频中的相关信息进行生成的,使得生成的视频更加有趣,吸引用户进行观看和点击,进而可以对相关信息的关注。
本公开实施例提供了一组第四视频播放过程的变化状态参考图,如图3所示,
具体的,以原始视频包括手机广告视频举例,在图3(a)-图3(c)第四视频的播放过程中,第四视频在信息流显示界面中视频显示区域播放,在视频播放界面中,其左半侧播放原始视频经过预设尺寸裁剪后的第一视频,其右半侧播放经过高斯模糊处理后叠加附加动效的第三视频;在右半侧播放的视频内,其中手机图像、手机名称及手机描述信息固定在预定位置处,并在下方显示原价及现价的变化状态图,对用户形成视觉上的冲击。在图3(d)-图3(f)第四视频播放过程中,在第三视频播放界面右下侧显示第一预置控件如购买按钮,,并且在该按钮周围增加圆环特效,以吸引用户进行点击,在接收到用户针对该购买按钮的点击后,可以显示该手机的详细信息购买页面。
本公开实施例提供了一种视频生成装置,其中,本公开实施例的视频生成装置可位于服务器端,如图4所示,该视频生成装置40可以包括:获取模块401、处理模块402、叠加模块403以及拼接模块404。
获取模块401,配置为获取第一视频。
第一视频可以是从服务器端获取的视频,也可以是保存在终端本地的视频,可以是广告视频,也可以是新闻视频,需要说明的是,本公开并不限制第一视频的来源方式及视频内容。
在本公开的一个实施例中,获取模块401,包括:
调整子模块,配置为根据预设尺寸对原始视频进行尺寸调整,得到第一视频。
本公开也并不限制原始视频的来源方式及视频内容,但是需要说明的是,原始视频中的内容与第一视频中的内容是相同的。
可以理解的是,在信息流的显示界面中,如果在信息流的显示界面中显示视频,预设尺寸可以基于视频的显示方式,比如全屏显示、横版显示或竖版显示等多种显示方式来确定,还可以基于信息流中的视频显示区域来确定。
具体的,在本开的一个实施例中,为了使得视频尺寸可以与信息流的视频显示区域相匹配,可以在服务器侧对原始视频基于信息流的视频显示区域进行尺寸调整。
在本公开的一个实施例中,为了使信息流的视频显示区域中视频的播放数量为整数,预设尺寸可以与信息流的视频显示区域的尺寸的比例相匹配,具体的,可以根据信息流的视频显示区域的尺寸,成比例地确定预设尺寸。
处理模块402,配置为对第一视频执行高斯模糊特效处理,得到第二视频。
叠加模块403,配置为将附加动效叠加至第二视频上以生成第三视频;其中附加动效 是以动态效果呈现第一视频的相关信息的动态图像。
可以理解的是,假设在信息流的视频显示区域显示多个视频时,可以在任一视频中做高斯模糊的特效处理,然后叠加新的视频,使得用户的观看体验更为丰富。
在本公开的一个实施例中,可以将附加动效叠加至进行高斯模糊特效处理后得到的第二视频上,生第三视频。并且附加动效是以动态效果呈现的与第一视频的相关信息的动态图像。
在本公开的一个实施例中,生成叠加模块中的附加动效包括:
获取子模块,配置为获取相关信息,并确定相关信息的显示方式、显示区域及显示时间;
生成子模块,配置为根据相关信息及相关信息的显示方式、显示区域及显示时间,生成附加动效。
第一视频的相关信息可以包括第一视频中的视频内容,将第一视频中的视频内容以动态效果进行呈现,生成附加动效。
具体的,第一视频的相关信息包括第一视频中的素材,可以理解的是,以第一视频包括广告视频举例,当第一视频包括广告视频时,可以从广告系统后台获取该广告视频对应的素材。
然后根据该素材及该素材在视频中的显示方式、显示区域及显示时间,将该素材以动态效果呈现的动态图像作为附加动效。
在本公开的一个实施例中,在本公开的一个实施例中,生成子模块,包括:
确定单元,配置为基于相关信息的类型或内容确定相关信息的显示方式。
具体的,以第一视频包括手机广告视频为例,第一视频的相关信息可以是手机名称、手机图像、手机描述信息、手机销量、手机价格(包括原价及现价)。
相关信息的显示方式可以是在手机图像预定位置,比如图像中央显示手机名称,并且在手机名称下面显示手机描述信息、手机销量及手机原价,并且手机销量可以以滚动方式显示,以吸引用户进行观看,直至定格到最新手机销量;并且在显示手机原价一段时间后,在手机原价的位置上使用手机现价替换手机原价,以通过明显的价格变化吸引用户进行点击。
在本公开的一个实施例中,相关信息的显示方式还可以自行配置。
拼接模块404,配置为对第一视频以及第三视频进行拼接处理,生成第四视频;其中,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
可以理解的是,第三视频是经过模糊特效并添加附加动效的视频,为了给用户带来更好地观感体验,即使用户既可以观看到原始视频的内容,还可以观看到附加动效的内容,可以将第一视频与第三视频进行拼接处理,生成第四视频,可以理解的是,第四视频的视频尺寸与信息流的视频显示区域的尺寸相匹配。
在本公开的一个实施例中,在信息流视频显示区域显示的第四图像区域可以包括第一图像区域与第二图像区域,其中,第一图像区域与第二图像区域的面积可以相同,也可以不相同,通过在第一图像区域内显示第一视频的图像,在第二图像区域内显示第三视频的图像,可以实现同时观看原始视频内容与附加动效内容。
具体的,可以使第一视频与第三视频的视频尺寸相同,即第一视频与第三视频的宽等同于信息流视频显示区域的宽,第一视频与第三视频的长等同于信息流视频显示区域长的一半,通过同比例显示两个视频,使得用户的观感体验更佳。
本公开通过对第一视频进行特效处理得到第二视频,并叠加与第一视频相关信息以动态效果呈现的动态图像生成第三视频,使得生成的视频更加有趣,吸引用户进行点击,并且将第三视频域第一视频进行拼接,得到第四视频,使得用户可以同时观看第一视频内容及动效内容,进一步提高用户的观感体验。
本公开实施例提供了一种视频播放装置的结构示意图,其中,本公开实施例的视频播放装置可位于客户端,如图5所示,该视频播放装置50可以包括:播放模块501。
播放模块501,配置为在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像;
第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
在本公开的一个实施例中,预定条件包括:原始视频播放时间达到预定时间,和/或,在原始视频播放过程中捕捉到预定对象。
可以理解的是,当原始视频在信息流显示界面进行播放时,当达到预定时间,比如5秒时,可以在信息流显示界面中播放第四视频,可以在信息流显示界面中的视频显示区域中播放第四视频。
或者,以原始视频包括手机广告视频为例,可以原始视频中播放该手机的特写图时,认为捕捉到了预定对象,此时可以在信息流显示界面中的显示区域中播放第四视频。
需要说明的是,第四视频是基于原始视频及原始视频中的相关信息生成的。
具体的,可以根据预设尺寸对原始视频进行尺寸调整,获得第一视频;然后对第一视频进行高斯模糊特效处理,得到第二视频;然后将根据相关信息生成的附加动效叠加至第二视频生成第三视频,最后将第一视频与第三视频进行拼接得到第四视频。
根据相关信息生成的附加动效包括以动态效果呈现包括相关信息的动态图像。
在本公开的一个实施例中,还可以根据相关信息及相关信息的显示方式、显示区域及显示时间,生成附加动效。
具体的,第一视频的相关信息包括第一视频中的素材,可以理解的是,以第一视频包 括广告视频举例,当第一视频包括广告视频时,可以从广告系统后台获取该广告视频对应的素材。
广告视频对应的素材包括推广对象的图形化标识头像、推广对象的名称、推广对象的描述信息、与推广对象相应的网络地址信息。
以第一视频包括手机广告视频为例,手机广告视频对应的素材可以是手机图像、手机名称、手机描述信息、与手机相应的商品购买网址。
通过上述广告素材可以确定这些素材的显示方式、显示区域及显示时间,进而生成手机广告视频的附加动效。
在本公开的一个实施例中,第四视频中包括第一预置控件,第一预置控件用于链接至与相关信息对应的网络地址,播放模块还包括:
显示子模块,配置为在播放第四视频的过程中,接收到用户输入的针对第一预置控件的触发操作,基于网络地址获取与相关信息对应的详细信息页面,并显示详细信息页面。
可以理解的是,在第四视频的播放过程中,显示第一预置控件。以第四视频中的内容包括广告视频为例,第一预置控件可以是广告视频中展示商品的购买按钮,在接收到用户对于购买按钮的点击操作后,可以显示该商品的购买详细信息页面。
在本公开的一个实施例中,第一预置控件还可以是广告商品中展示的应用程序的下载按钮,在接收到用户对于下载按钮的点击操作后,可以显示该应用程序的下载详细信息页面。
通过吸引用户点击第一预置控件,可以更有效地提高第四视频中商品的转化率。
在本公开的一个实施例中,第四视频中包括第二预置控件,第二预置控件用于关闭第四视频,播放模块还包括:
关闭子模块,配置为在播放第四视频的过程中,接收到用户输入的针对第二预置控件的触发操作,关闭第四视频。
可以理解的是,当用户对第四视频不满意或者已经观看过第四视频时,为了不使用户得到反感,可以在第四视频的播放过程中显示第二预置控件,比如关闭按钮,当接收到用户输入的针对关闭按钮的点击操作时,可以关闭第四视频,以提高用户的观看体验。
本公开通过在信息流显示界面中显示原始视频,并且在满足预定条件后,在信息流显示界面的视频显示区域中播放第四视频,并且第四视频是基于原始视频中的相关信息进行生成的,使得生成的视频更加有趣,吸引用户进行观看和点击,进而可以对相关信息的关注。
下面参考图6,其示出了适于用来实现本公开实施例的电子设备600的结构示意图。本公开实施例中的电子设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限 制。
电子设备包括:存储器以及处理器,其中,这里的处理器可以称为下文所述的处理装置601,存储器可以包括下文中的只读存储器(ROM)602、随机访问存储器(RAM)603以及存储装置608中的至少一项,具体如下所示:
如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有电子设备600操作所需的各种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有各种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、 光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:
获取第一视频;
对第一视频执行高斯模糊特效处理,得到第二视频;
将附加动效叠加至第二视频上以生成第三视频;其中附加动效是以动态效果呈现第一视频的相关信息的动态图像;
对第一视频以及第三视频进行拼接处理,生成第四视频,其中,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
或者,上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:
在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产 品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的模块或单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块或单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种视频生成方法,包括:
获取第一视频;
对第一视频执行高斯模糊特效处理,得到第二视频;
将附加动效叠加至第二视频上以生成第三视频;其中附加动效是以动态效果呈现第一视频的相关信息的动态图像;
对第一视频以及第三视频进行拼接处理,生成第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
在本公开的一个实施例中,获取第一视频,包括:
根据预设尺寸对原始视频进行尺寸调整,得到第一视频。
在本公开的一个实施例中,附加动效通过以下方式生成:
获取相关信息,并确定相关信息的显示方式、显示区域及显示时间;
根据相关信息及显示方式、显示区域及显示时间,生成附加动效。
在本公开的一个实施例中,方法包括:
基于相关信息的类型或内容确定相关信息的显示方式。
在本公开的一个实施例中,第四视频的视频尺寸与信息流视频显示区域的尺寸相匹配。
根据本公开的一个或多个实施例,提供了一种视频播放方法,包括:
在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
在本公开的一个实施例中,预定条件包括:原始视频播放时间达到预定时间,和/或,在原始视频播放过程中捕捉到预定对象。
在本公开的一个实施例中,第四视频中包括第一预置控件,第一预置控件用于链接至与相关信息对应的网络地址,该方法还包括:
在播放第四视频的过程中,接收到用户输入的针对第一预置控件的触发操作,基于网络地址获取与相关信息对应的详细信息页面,并显示详细信息页面。
在本公开的一个实施例中,第四视频中包括第二预置控件,第二预置控件用于关闭第四视频,该方法还包括:
在播放第四视频的过程中,接收到用户输入的针对第二预置控件的触发操作,关闭第四视频。
根据本公开的一个或多个实施例,提供了一种视频生成装置,包括:
获取模块,配置为获取第一视频;
处理模块,配置为对第一视频执行高斯模糊特效处理,得到第二视频;
叠加模块,配置为将附加动效叠加至第二视频上以生成第三视频;附加动效是以动态效果呈现第一视频的相关信息的动态图像;
拼接模块,配置为对第一视频以及第三视频进行拼接处理,生成第四视频;其中,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
在本公开的一个实施例中,获取模块,包括:
调整子模块,配置为根据预设尺寸对原始视频进行尺寸调整,得到第一视频。
在本公开的一个实施例中,生成叠加模块中的附加动效包括:
获取子模块,配置为获取相关信息,并确定相关信息的显示方式、显示区域及显示时间;
生成子模块,配置为根据相关信息及显示方式、显示区域及显示时间,生成附加动效。
在本公开的一个实施例中,生成子模块,包括:
确定单元,配置为基于相关信息的类型或内容确定相关信息的显示方式。
在本公开的一个实施例中,第四视频的视频尺寸与信息流视频显示区域的尺寸相匹配。
根据本公开的一个或多个实施例,提供了一种视频播放装置,包括:根据本公开的一个或多个实施例,提供了一种视频播放方法,包括:
播放模块,配置为在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,第四视频的图像区域包括第一图像区域和第二图像区域,第一图像区域用于呈现第一视频的图像,第二图像区域用于呈现第三视频的图像。
第一视频为根据预设尺寸对原始视频进行尺寸调整而得到的视频;第二视频为对第一视频执行高斯模糊特效处理得到的视频;第三视频为将附加动效叠加至第二视频上生成的视频,附加动效是以动态效果呈现第一视频的相关信息的动态图像;第四视频为第一视频以及第三视频进行拼接处理后的视频。
在本公开的一个实施例中,预定条件包括:原始视频播放时间达到预定时间,和/或,在原始视频播放过程中捕捉到预定对象。
在本公开的一个实施例中,第四视频中包括第一预置控件,第一预置控件用于链接至与相关信息对应的网络地址,播放模块还包括:
显示子模块,配置为在播放第四视频的过程中,接收到用户输入的针对第一预置控件的触发操作,基于网络地址获取与相关信息对应的详细信息页面,并显示详细信息页面。
在本公开的一个实施例中,第四视频中包括第二预置控件,第二预置控件用于关闭第四视频,播放模块还包括:
关闭子模块,配置为在播放第四视频的过程中,接收到用户输入的针对第二预置控件的触发操作,关闭第四视频。
根据本公开的一个或多个实施例,提供了一种电子设备,包括:
一个或多个处理器;
存储器;
一个或多个应用程序,其中一个或多个应用程序被存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序配置用于执行上述视频生成及播放方法。
根据本公开的一个或多个实施例,提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现上述视频生成及播放方法。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的 技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (13)

  1. 一种视频生成方法,包括:
    获取第一视频;
    对所述第一视频执行高斯模糊特效处理,得到第二视频;
    将附加动效叠加至所述第二视频上以生成第三视频,其中,所述附加动效是以动态效果呈现所述第一视频的相关信息的动态图像;以及
    对所述第一视频以及所述第三视频进行拼接处理,生成第四视频,其中,所述第四视频的图像区域包括第一图像区域和第二图像区域,所述第一图像区域用于呈现所述第一视频的图像,所述第二图像区域用于呈现所述第三视频的图像。
  2. 根据权利要求1所述的方法,其中,所述获取第一视频,包括:
    根据预设尺寸对原始视频进行尺寸调整,得到所述第一视频。
  3. 根据权利要求1或2所述的方法,其中,所述附加动效通过以下方式生成:
    获取所述相关信息,并确定所述相关信息的显示方式、显示区域及显示时间;以及
    根据所述相关信息及所述显示方式、所述显示区域及所述显示时间,生成所述附加动效。
  4. 根据权利要求3所述的方法,其中,所述确定所述相关信息的显示方式包括:
    基于所述相关信息的类型或内容,确定所述相关信息的显示方式。
  5. 根据权利要求1-4任一项所述的方法,其中,所述第四视频的视频尺寸与信息流视频显示区域的尺寸相匹配。
  6. 一种视频播放方法,包括:
    在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,所述第四视频的图像区域包括第一图像区域和第二图像区域,所述第一图像区域用于呈现第一视频的图像,所述第二图像区域用于呈现第三视频的图像;
    其中,所述第一视频为根据预设尺寸对所述原始视频进行尺寸调整而得到的视频;第二视频为对所述第一视频执行高斯模糊特效处理得到的视频;所述第三视频为将附加动效叠加至所述第二视频上生成的视频,所述附加动效是以动态效果呈现所述第一视频的相关信息的动态图像;所述第四视频为所述第一视频以及所述第三视频进行拼接处理后的视频。
  7. 根据权利要求6所述的方法,其中,所述预定条件包括:
    所述原始视频播放时间达到预定时间;和/或
    在所述原始视频播放过程中捕捉到预定对象。
  8. 根据权利要求6或7所述的方法,其中,所述第四视频中包括第一预置控件,所述第一预置控件用于链接至与所述相关信息对应的网络地址,该方法还包括:
    在播放所述第四视频的过程中,接收到用户输入的针对所述第一预置控件的触发操 作,基于所述网络地址获取与所述相关信息对应的详细信息页面,并显示所述详细信息页面。
  9. 根据权利要求6~8任一项所述的方法,其中,所述第四视频中包括第二预置控件,所述第二预置控件用于关闭所述第四视频,该方法还包括:
    在播放所述第四视频的过程中,接收到用户输入的针对所述第二预置控件的触发操作,关闭所述第四视频。
  10. 一种视频生成装置,包括:
    获取模块,配置为获取第一视频;
    处理模块,配置为对所述第一视频执行高斯模糊特效处理,得到第二视频;
    叠加模块,配置为将附加动效叠加至所述第二视频上以生成第三视频,其中,所述附加动效是以动态效果呈现所述第一视频的相关信息的动态图像;
    拼接模块,配置为对所述第一视频以及所述第三视频进行拼接处理,生成第四视频,其中,所述第四视频的图像区域包括第一图像区域和第二图像区域,所述第一图像区域用于呈现所述第一视频的图像,所述第二图像区域用于呈现所述第三视频的图像。
  11. 一种视频播放装置,包括:
    播放模块,配置为在信息流显示界面中播放原始视频,并响应于满足预定条件,在信息流显示界面中播放第四视频,所述第四视频的图像区域包括第一图像区域和第二图像区域,所述第一图像区域用于呈现第一视频的图像,所述第二图像区域用于呈现第三视频的图像;
    其中,所述第一视频为根据预设尺寸对所述原始视频进行尺寸调整而得到的视频;第二视频为对所述第一视频执行高斯模糊特效处理得到的视频;所述第三视频为将附加动效叠加至所述第二视频上生成的视频,并且所述附加动效是以动态效果呈现所述第一视频的相关信息的动态图像;所述第四视频为所述第一视频以及所述第三视频进行拼接处理后的视频。
  12. 一种电子设备,包括:
    一个或多个处理器;
    存储器;
    一个或多个应用程序,其中所述一个或多个应用程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行根据权利要求1~9任一项所述的方法。
  13. 一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现权利要求1-9任一项所述的方法。
PCT/CN2021/107665 2020-07-30 2021-07-21 视频生成及播放方法、装置、电子设备及存储介质 WO2022022363A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP21850417.3A EP4171017A4 (en) 2020-07-30 2021-07-21 METHOD AND DEVICE FOR VIDEO GENERATION AND PLAYBACK AND ELECTRONIC DEVICE AND STORAGE MEDIUM
US18/089,363 US11832017B2 (en) 2020-07-30 2022-12-27 Video generation method, video playing method, video generation device, video playing device, electronic apparatus and computer-readable storage medium
US18/491,382 US20240048665A1 (en) 2020-07-30 2023-10-20 Video generation method, video playing method, video generation device, video playing device, electronic apparatus and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010753983.1 2020-07-30
CN202010753983.1A CN114071028B (zh) 2020-07-30 2020-07-30 视频生成及播放方法、装置、电子设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/089,363 Continuation US11832017B2 (en) 2020-07-30 2022-12-27 Video generation method, video playing method, video generation device, video playing device, electronic apparatus and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2022022363A1 true WO2022022363A1 (zh) 2022-02-03

Family

ID=80037126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/107665 WO2022022363A1 (zh) 2020-07-30 2021-07-21 视频生成及播放方法、装置、电子设备及存储介质

Country Status (4)

Country Link
US (2) US11832017B2 (zh)
EP (1) EP4171017A4 (zh)
CN (1) CN114071028B (zh)
WO (1) WO2022022363A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114630057B (zh) * 2022-03-11 2024-01-30 北京字跳网络技术有限公司 确定特效视频的方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180109585A1 (en) * 2015-06-12 2018-04-19 Sony Corporation Information processing apparatus and information processing method
CN109168034A (zh) * 2018-08-28 2019-01-08 百度在线网络技术(北京)有限公司 商品信息显示方法、装置、电子设备和可读存储介质
CN110446097A (zh) * 2019-08-26 2019-11-12 维沃移动通信有限公司 录屏方法及移动终端
US20190379876A1 (en) * 2017-09-26 2019-12-12 Lg Electronics Inc. Overlay processing method in 360 video system, and device thereof
CN110650304A (zh) * 2019-10-23 2020-01-03 维沃移动通信有限公司 一种视频生成方法及电子设备
CN111314761A (zh) * 2016-12-27 2020-06-19 广州华多网络科技有限公司 视频流关联信息直播交互方法及其终端设备

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8370395B1 (en) * 2004-10-15 2013-02-05 Amazon Technologies, Inc. Providing a reliable distributed queuing service
US8190588B1 (en) * 2005-09-19 2012-05-29 Amazon Technologies, Inc. Providing a distributed transaction information storage service
US10282563B2 (en) * 2009-02-06 2019-05-07 Tobii Ab Video-based privacy supporting system
WO2011084890A1 (en) * 2010-01-06 2011-07-14 Hillcrest Laboratories Inc. Overlay device, system and method
JP2014239382A (ja) * 2013-06-10 2014-12-18 オリンパス株式会社 画像処理装置、撮像装置、画像処理方法、及び画像処理プログラム
JP6102602B2 (ja) * 2013-07-23 2017-03-29 ソニー株式会社 画像処理装置、画像処理方法、画像処理プログラムおよび撮像装置
US20150082239A1 (en) * 2013-09-13 2015-03-19 Curious Olive, Inc. Remote Virtualization of Mobile Apps with Transformed Ad Target Preview
EP3099081B1 (en) * 2015-05-28 2020-04-29 Samsung Electronics Co., Ltd. Display apparatus and control method thereof
CN104866755B (zh) * 2015-06-11 2018-03-30 北京金山安全软件有限公司 应用程序解锁界面背景图片的设置方法、装置及电子设备
CN107493441B (zh) * 2016-06-12 2020-03-06 杭州海康威视数字技术股份有限公司 一种摘要视频生成方法及装置
US10769496B2 (en) * 2018-10-25 2020-09-08 Adobe Inc. Logo detection
CN109640188B (zh) * 2018-12-28 2020-02-07 北京微播视界科技有限公司 视频预览方法、装置、电子设备及计算机可读存储介质
CN110111125A (zh) * 2019-03-21 2019-08-09 北京奇艺世纪科技有限公司 一种信息输出方法、装置、终端和可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180109585A1 (en) * 2015-06-12 2018-04-19 Sony Corporation Information processing apparatus and information processing method
CN111314761A (zh) * 2016-12-27 2020-06-19 广州华多网络科技有限公司 视频流关联信息直播交互方法及其终端设备
US20190379876A1 (en) * 2017-09-26 2019-12-12 Lg Electronics Inc. Overlay processing method in 360 video system, and device thereof
CN109168034A (zh) * 2018-08-28 2019-01-08 百度在线网络技术(北京)有限公司 商品信息显示方法、装置、电子设备和可读存储介质
CN110446097A (zh) * 2019-08-26 2019-11-12 维沃移动通信有限公司 录屏方法及移动终端
CN110650304A (zh) * 2019-10-23 2020-01-03 维沃移动通信有限公司 一种视频生成方法及电子设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4171017A4 *

Also Published As

Publication number Publication date
US11832017B2 (en) 2023-11-28
CN114071028B (zh) 2023-06-06
EP4171017A4 (en) 2023-11-15
US20240048665A1 (en) 2024-02-08
EP4171017A1 (en) 2023-04-26
CN114071028A (zh) 2022-02-18
US20230224429A1 (en) 2023-07-13

Similar Documents

Publication Publication Date Title
CN111291220B (zh) 标签展示方法、装置、电子设备和计算机可读介质
US20220368980A1 (en) Video interaction method and device, electronic device and storage medium
CN112259062B (zh) 特效展示方法、装置、电子设备及计算机可读介质
CN112380379B (zh) 歌词特效展示方法、装置、电子设备及计算机可读介质
CN110784754A (zh) 视频显示方法、装置和电子设备
WO2023051297A1 (zh) 信息显示方法、装置、电子设备和存储介质
WO2022017184A1 (zh) 交互方法、装置、电子设备及计算机可读存储介质
CN111970571B (zh) 视频制作方法、装置、设备及存储介质
WO2022057348A1 (zh) 音乐海报生成方法、装置、电子设备及介质
US20230011395A1 (en) Video page display method and apparatus, electronic device and computer-readable medium
WO2023088442A1 (zh) 一种直播预览方法、装置、设备、程序产品及介质
WO2022095942A1 (zh) 信息显示方法、装置、电子设备及计算机可读存储介质
CN110519645B (zh) 视频内容的播放方法、装置、电子设备及计算机可读介质
US20240048665A1 (en) Video generation method, video playing method, video generation device, video playing device, electronic apparatus and computer-readable storage medium
CN114363686B (zh) 多媒体内容的发布方法、装置、设备和介质
CN114860139A (zh) 视频播放方法、装置、电子设备、存储介质和程序产品
CN112312225A (zh) 信息展示方法、装置和电子设备
CN109714626B (zh) 信息交互方法、装置、电子设备、和计算机可读存储介质
WO2022022316A1 (zh) 多媒体信息播放方法、装置、电子设备及计算机存储介质
CN114491098A (zh) 评论提示方法、装置、电子设备、存储介质和程序产品
CN115086734A (zh) 一种基于视频的信息展示方法、装置、设备及介质
WO2022218109A1 (zh) 交互方法, 装置, 电子设备及计算机可读存储介质
CN112579218A (zh) 用户界面展示方法、装置、计算机可读介质及电子设备
CN115550723A (zh) 多媒体信息展示方法、装置和电子设备
CN115933921A (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: 21850417

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021850417

Country of ref document: EP

Effective date: 20230123

NENP Non-entry into the national phase

Ref country code: DE