Solved

Real-time video processing

Posted on 2008-06-19
4
778 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
great. thanks.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now