Solved

Real-time video processing

Posted on 2008-06-19
4
779 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

948 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

23 Experts available now in Live!

Get 1:1 Help Now