Solved

Real-time video processing

Posted on 2008-06-19
4
781 Views
Last Modified: 2013-11-11
Hi,
Can I load a video into flash (flv format) and convert it into monochrome (ie only one colour, e.g. black-n-white), and increase the contrast so that it ends up looking like line drawing when playing in the flash player? I don't need to touch the original video but only to show the effects when playing it.

If I cannot do that with flash in real-time, is there any software can be installed in the server to do the above things in background?

thanks very much.

ray
0
Comment
Question by:xuzhaogang
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:ugeb
ID: 21828577
Hi,

Real-time processing of video effects is not a very good idea.  video processing is very cpu intensive, and flash is meant to run real time.  After Effects is much better suited to what you want, but doesn't work in real-time and is interactive, not simply an black box like you would run on a server.  Even if you could install on a server, getting it to run real time would be difficult with one user, much less if you have multiple users.

You can try looking over this pdf:
http://www.friendsofed.com/samples/1590591720.pdf

What you may want to do is create a few versions of your video with each of the different effects applied, and go back and forth between them.  That way all the most intensive processing of effects is already done, and the flash player is just assembling it via actionscript or something.

There may be software that can do some of these effects real-time, but it's not anything I've worked with and it would likely be expensive.  For real-time stuff, you typically see dedicated hardware that can handle the effects and several streams of video.  Still, even with that solution, you'd be limited to the number of people who could run it simultaneously.

If you find a good solution, I'd be interested in hearing about it.

0
 

Author Comment

by:xuzhaogang
ID: 21828714
Hi ugeb,
thank you very much for your comments and the pdf file.

my purpose is to allow the user to upload their own video clip and when they watch the video, the effects will be applied to their videos. so the first thing come to my mind is flash.

but if real-time processing is too expensive and intensive to do so, do you have any idea of applications that can do it asynchronously? ie. the sever only processes the videos at non-peak time, and the user must wait some time to watch the video.

Ray
0
 
LVL 11

Accepted Solution

by:
ugeb earned 500 total points
ID: 21833235
How much $ do you have to invest in this?

Consider YouTube.  They allow a maximum of 1 GB, which will take a while to upload.  The videos there are small and of low quality because video files are very large.  Is this the type of video people will be uploading to you?  If you are expecting high quality, you have some issues.   DV comes in at 12.5 GB/hour, so one minute of DV is about 208 MB for full res.  YouTube would allow about 5 minutes of DV quality video, not too bad, but not a lot.

A few apps to look at are:

FreeFrame      http://freeframe.sourceforge.net/
EffecTV         http://effectv.sourceforge.net/
Blaze Media Pro    http://www.blazemp.com/
virtualdub (I don't know this at all)

You can search for terms like "batch video processing OR effects" or "real time video effects".  


0
 

Author Comment

by:xuzhaogang
ID: 21836016
great. thanks.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question