System and Method to Generate a Video on the Fly
The present invention provides a method for real-time generation and streaming of context based video according to video template and raw context related data. The method comprising the steps of: receiving context based video request that is containing a template identifier and required template input, receiving input data related to the identified template and context related data; choosing and generating audible and visual materials, according to the predefined logic of the identified template, generating and encoding video frames for pre-defined portion based generated visual materials, generating audio streams of the video based on generated audible materials, accumulating a predefined number of generated frames to fill a predefined duration of predefined portion according to per-decided frame-rate per second and providing streamable data of the predefined video portion at the external entity side, while the subsequent portion of video is still in generation.
1 . A method for real-time generation and streaming of context based video according to video template and raw context related data, said method comprising the steps of:
receiving context based video request that is containing a template identifier and required template input;
receiving input data related to the identified template and context related data;
choosing and generating audible and visual materials, according to the predefined logic of the identified template;
generating and encoding video frames for pre-defined portion based generated visual materials;
generating audio streams of the video based on generated audible materials;
accumulating a predefined number of generated frames to fill a predefined duration of predefined portion according to per-decided frame-rate per second; and
providing streamable data of the predefined video portion at the external entity side, while the subsequent portion of video is still in generation.
2 . The method of claim 1 wherein the context based video is customized video based on context input data.
3 . The method of claim 1 the received input data is validated and translated into a valid canonical entity for generating material for the context based video.
4 . The method of claim 1 wherein the audio stream generation includes: refining and concatenating audio streams in proper gaps and order according to rules defined during the Visual and Audible materials preparation
5 . The method of claim 4 wherein the audio stream generation further includes: processing and mixing together audio streams to create a single audio stream to be used as the final audio stream for the video.
6 . The method of claim 4 wherein based audio stream length, the expected movie length is deduced.
7 . The method of claim 1 wherein the providing playable video data comprise the steps of creating at least two HLS segments and generating an HLS manifest file.
8 . A system for real-time generation and streaming of context based video according to video template and context input data , said system comprised of:
interception module for receiving context based video request that is containing a template identifier and required template input, receiving input data related to the identified template and to specific context based on context input data;
visual and audio material preparation module choosing and generating audible and visual materials, according to the predefined logic of the identified template;
video generating management module for generating and encoding video frames for pre-defined portion based generated visual materials;
audio generation module for generating audio streams of the video based on generated audible materials,
video encoding module for accumulating a predefined number of generated frames to fill a predefined duration of predefined portion according to per-decided frame-rate per second; and
video distribution module for providing streamable/playable data of the predefined video portion at the client side, while the subsequent portion of video is still in generation process;.
9 . The system of claim 9 wherein the context based video is customized video based on context input data.
10 . The system of claim 9 wherein the received input data is translated into a valid canonical entity for generating material for the context based video.
11 . The system of claim 9 wherein the audio stream generation module further enable refining and concatenating audio in proper gaps and ordering according to rules defined during the Visual and Audible materials preparation module
12 . The system of claim 12 wherein the audio stream generation module further enable and processing and mixing together audio streams to create a single audio stream to be used as the final audio stream for the video.
13 . A method for real-time generation and streaming of customized/personalized video based on video template and raw personal data , said method comprising the steps of:
estimating video characteristics base on video template and raw data before the video generation, said estimating includes at least the video length; and
preparing at least a portion of the video , according to pre-defined length of at least the minimum required amount to convey a live stream to the remote entity while the subsequent portions of the video are being generated.