<p>This is effectively a streaming media server tied to a live renderer.  Rather than save a recorded video, when you make a request for the video, it accesses a live stream.  That live stream uses the contents of the request to run a template video and encode in real time.  That real time stream is then played for the user.</p>

<p>You could probably manage to wire something like Red5 up to be able to do this with some alterations.  The big trick would be kicking off the live stream as part of the processes.  You also need sufficient rendering hardware to be able to generate a distinct live stream for each request.  You also need a real time video rendering system that can work with templates.  There is tech like this for video mixers, but I'm not sure of any particular software that does it in software in real time.  Some streaming oriented software may be able to do it though.</p>

CC BY-SA 3.0
2014-11-15T02:50:25.240Z
How does Facebook do it ?
Ali Gajani
CC BY-SA 3.0
2014-11-15T17:06:20.087Z
@AliGajani - not sure what you mean?  While I was an early facebook user, I haven't used it much on the main site since the introduction of apps, so you'll have to clarify a bit more.
AJ Henderson
CC BY-SA 3.0
2014-11-21T20:29:24.387Z
Couldn't this also be done with Flash? Pre-render a video with transparency, then put it on top of a dynamically generated background?
Corey
CC BY-SA 3.0
2014-11-21T20:31:26.233Z
@Corey - sure, you would be better off at that point to play the video flat as the back plate and use Flash to place the text though.  But in this day and age Flash video is EXTREMELY limiting.  Most mobile devices don't support it and an increasing number of desktops have it blocked or not installed from security concerns.  The quality also probably wouldn't be quite as good without quite a lot of careful development of the Flash animation.
AJ Henderson
CC BY-SA 3.0
2014-11-14T22:10:37.557Z
2014-11-14T22:10:37.557Z
AJ Henderson
<p>I would like to achieve a video with custom text pulled from a database or user input as the following : 
<a href="http://videopersonalization.net/kia.html" rel="nofollow">http://videopersonalization.net/kia.html</a></p>

<p>Can somebody shed some light on the process without using a third party please ?</p>

<video><webvideos>
Real Time personalized videos
Bastien Bastiens
# Real Time personalized videos

(Asked by: username_0 on 2014-11-14)

I would like to achieve a video with custom text pulled from a database or user input as the following :
<http://videopersonalization.net/kia.html>

Can somebody shed some light on the process without using a third party please ?

**Tags:** video, webvideos


---

## 1 answers

### Answer by username_1 on 2014-11-14. Score: 1 | Accepted answer

This is effectively a streaming media server tied to a live renderer. Rather than save a recorded video, when you make a request for the video, it accesses a live stream. That live stream uses the contents of the request to run a template video and encode in real time. That real time stream is then played for the user.

You could probably manage to wire something like Red5 up to be able to do this with some alterations. The big trick would be kicking off the live stream as part of the processes. You also need sufficient rendering hardware to be able to generate a distinct live stream for each request. You also need a real time video rendering system that can work with templates. There is tech like this for video mixers, but I'm not sure of any particular software that does it in software in real time. Some streaming oriented software may be able to do it though.

> **Comments:**
> **username_2**: How does Facebook do it ?  
> **username_1**: @AliGajani - not sure what you mean?  While I was an early facebook user, I haven't used it much on the main site since the introduction of apps, so you'll have to clarify a bit more.  
> **username_3**: Couldn't this also be done with Flash? Pre-render a video with transparency, then put it on top of a dynamically generated background?  
> **username_1**: @username_3 - sure, you would be better off at that point to play the video flat as the back plate and use Flash to place the text though.  But in this day and age Flash video is EXTREMELY limiting.  Most mobile devices don't support it and an increasing number of desktops have it blocked or not installed from security concerns.  The quality also probably wouldn't be quite as good without quite a lot of careful development of the Flash animation.  

---

