Results 1 to 30 of 30

Thread: Anyone ever play around with video manipulation?

  1. #1

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Anyone ever play around with video manipulation?

    I found a nice little .dll that captures webcam input, and I've been toying around with manipulating the image in real time. I'm having a fair bit of fun with it... not as hard as I thought it would be, either.

  2. #2
    Frenzied Member Andrew G's Avatar
    Join Date
    Nov 2005
    Location
    Sydney
    Posts
    1,587

    Re: Anyone ever play around with video manipulation?

    I got video to stream from a webcam in flash. That's as far as I go.

  3. #3
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    It's really just a matter of capturing each frame as it comes in, applying the desired filter and then displaying it. I hope you're using C++ for manipulation or the lag will be dreadful.

  4. #4

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    C#, and I can't complain. Sometimes it's slower than others, but I think that's just a webcam limitation. This thing is kinda old, and they aren't exactly known for mind-boggling framerates.

  5. #5
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    I love C#, don't get me wrong, but image manipulation without some unsafe methods is going to definitely show a performance hit.

  6. #6
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Anyone ever play around with video manipulation?

    i have a digital camera i paid $8 for that doubles as a web cam. Really crappy stuff. You need to be in daylight to get a good frame rate. Anyway i've done some video editing but nothing on a live feed.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  7. #7

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by MaximilianMayrhofer View Post
    I love C#, don't get me wrong, but image manipulation without some unsafe methods is going to definitely show a performance hit.
    As it stands right now, running any of my filters has zero impact on the framerate. I haven't put a timer in to see exactly how fast the filtering is, but I'd imagine pretty fast. Maybe I'll do that a little later today.

  8. #8
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    Pretty shweet! Are you keeping this proprietary or are you gonna post some fun classes when you're done.

  9. #9

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    I found a library that handles webcam I/O at CodeProject... from there, I just figured out how they were doing their filters, and set mine up on the same basic idea. It's been working pretty well so far.

  10. #10
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    Proof pl0x.

  11. #11

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    Proof attachedz0rd.
    Attached Files Attached Files

  12. #12
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    I am convinced by the mere presence of an attachment.

  13. #13

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    I love CC, but that doesn't mean I'm like klegg and only post in CC for poops and chuckles. I do actually code in my spare time

  14. #14
    PowerPoster
    Join Date
    Dec 2003
    Posts
    4,787

    Re: Anyone ever play around with video manipulation?

    I'm still working on a revised version of the iCam class I released agers ago. Will support video recording this time as well as custom filters, i've found it to be pretty interesting to work with. I will check out your upload when i get home.

    Pino

  15. #15

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    If you see anything I could be doing better, please do tell... I'm doing this strictly for fun (contradictory?), and I have a feeling it could turn into a whole lot of fun. I've seen some pretty cool stuff done with a webcam, and I love doing graphics stuff... this is just a merge of cool stuff!

  16. #16
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    So far i'm liking what I see in your code. Very efficient

  17. #17

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    *bows* Why thank you, good sir. Wossy has trained me well in the dark art of efficiency, and I've kinda put it to use where I can...

  18. #18
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Anyone ever play around with video manipulation?

    Think of the possibilities! Gesture detection! Throw a gang sign at your web cam and it automatically will open up your lolcats page. etc etc
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  19. #19
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: Anyone ever play around with video manipulation?

    Have you looked at the touchless library?

    http://channel9.msdn.com/posts/funky...-Visual-Basic/

  20. #20
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by timeshifter View Post
    I love CC, but that doesn't mean I'm like klegg and only post in CC for poops and chuckles. I do actually code in my spare time
    Lets just say that I find poop easier to strain out than programming code. And I'm constipated.

  21. #21

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    I'm sorry to hear that.

  22. #22
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by kleinma View Post
    Have you looked at the touchless library?

    http://channel9.msdn.com/posts/funky...-Visual-Basic/
    that is the coolest thing ever. There is some multi-touch work being done using a web cam and projector to give a multi-touch interface.
    http://revision3.com/hak5/notfound/ start watching at about 14 minutes.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  23. #23

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    Hmm... what do you think would happen if I tore an LCD screen apart and pulled out the display sheets, and used that instead of paper? Faux touch screen?

  24. #24
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by timeshifter View Post
    Hmm... what do you think would happen if I tore an LCD screen apart and pulled out the display sheets, and used that instead of paper? Faux touch screen?
    you read my mind. I was wondering about that myself. I can only guess that it may trigger on colors you display on the screen.
    My light show youtube page (it's made the news) www.youtube.com/@lightsofelberfeld
    Contact me on the socials www.facebook.com/lordorwell

  25. #25
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by timeshifter View Post
    *bows* Why thank you, good sir. Wossy has trained me well in the dark art of efficiency, and I've kinda put it to use where I can...
    You never listen to anything I say. Not ever. Hence you even thinking of using C# for a job like this.

    Ho hum.
    I don't live here any more.

  26. #26

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    Well, it does seem to be doing the trick pretty well...

  27. #27
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by timeshifter
    "Titanic" seems like a good name for this boat, it's unsinkable you know, oh my yes.
    If you say so.
    I don't live here any more.

  28. #28

    Thread Starter
    Banned timeshifter's Avatar
    Join Date
    Mar 2004
    Location
    at my desk
    Posts
    2,465

    Re: Anyone ever play around with video manipulation?

    Stop misquoting me! I do that well enough on my own...

  29. #29
    Hyperactive Member BillGeek's Avatar
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    440

    Re: Anyone ever play around with video manipulation?

    Quote Originally Posted by timeslipper
    I love CC, but that doesn't mean I'm like klegg and only post in CC for poops and chuckles. I do actually code in my spare time
    Oi! CC is teh l337!

  30. #30
    Frenzied Member MaximilianMayrhofer's Avatar
    Join Date
    Aug 2007
    Location
    IM IN YR LOOP
    Posts
    2,001

    Re: Anyone ever play around with video manipulation?

    Yea! What are we angry about again?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width