Thread: Video retieving and editing

  1. #1
    Registered User Aalmaron's Avatar
    Join Date
    Jan 2004
    Location
    In front of a monitor
    Posts
    48

    Video retieving and editing

    How would i go about doing this, i've had a very hard time figuring this out. so lets say i have a camera plugged into my computer (webcam or not), how would i retrieve that image in real time from the camera, and then display it, posibly manipulate it a little?

    a hint in the right direction would be more than enough. a book name that might have it would be awesome. i jsut can't find anything at all.

    thanks guys

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    For getting the image, use either an OS-specific API (Windows Multimedia API, Video4Linux API, ...) or an abstraction layer library that Google might turn up.

    For manipulating it, you'd have to decode each frame, then do your manipulation on the frame, as in any other image processing.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I've been meaning to look into this sort of thing for ages (for my webcam). I'm going to go hunting now. I'm betting you'll be needing an API specific to the hardware.

    EDIT: Bugger it. Can't find anything but I've got a niggling I was wrong about needing a specific API.
    Last edited by cboard_member; 06-18-2006 at 09:55 AM.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  4. #4
    Registered User Aalmaron's Avatar
    Join Date
    Jan 2004
    Location
    In front of a monitor
    Posts
    48
    ok so like i'm really really newbieish. ok lets say i want to program this in linux, where would i find how to use the Video4Linux API?

  5. #5
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Google.
    Silly.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

Popular pages Recent additions subscribe to a feed