Wednesday 15 September 2010

Real Time personalized videos -



Real Time personalized videos -

i accomplish video custom text pulled database or user input next : http://videopersonalization.net/kia.html

can shed lite on process without using 3rd party please ?

ok, going high-level reply (no code), because it's pretty major undertaking. you'll need research details.

first need feature tracking in original video. gives set of moving points track objects or parts of objects in frame. know adobe premiere pro includes way of doing this; i'm assuming provides way save coordinates format can utilize in software, although haven't checked. i'm guessing final cutting pro has equivalent feature.

opencv (a computer vision library) can feature tracking, if want programmatically.

for each video, you'll want manually take few points on surface want text appear on. render text in relation points. how render moving text huge topic, , depend on things how realistic want appear, , whether want match lighting conditions of original video. know bit graphics.

in server software, then, each time request comes in personalized video, you'll decode video whatever format it's in raw bitmap frames, render text onto each frame, , encode delivery format mp4 or webm. can ffmpeg, either piping through command-line version of ffmpeg or using library in software. if want low latency, might have stream video client it's beingness rendered. best guess illustration linked this, although videos short plenty might able encode whole video file, transmit it.

or, save cpu processing on server, might able send original video web client, plus coordinates of tracked points, , utilize webgl render text in browser. might hard maintain synchronized.

video video-streaming html5-video

No comments:

Post a Comment