Solved

Real-time video processing

Posted on 2008-06-19
4
783 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

691 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