SDL and firewire DV camera

I was just wondering if anyone had used SDL in conjunction with a DV camera
connected across firewire, and if they could help me out in getting started
with how to get the feed from the camera to an SDL surface. Any resources
are appreciated, as is direct advice. The program I’m working with has, up
to now, been dealing exclusively with pre-recorded MPEGs, via smpeg. I’d
like to basically replace smpeg with the live video data. I know the camera
works, and is correctly connected, as kino can get the live feed, so I’m
not looking for help connecting the hardware - just writing the software to
get the video stream and render it on an SDL surface.

Cheers,

Okay, let’s tweak the question a bit. Can anyone explain to me the process
of getting data from libdv onto and SDL_Overlay?

murray evans wrote:> I was just wondering if anyone had used SDL in conjunction with a DV

camera connected across firewire, and if they could help me out in getting
started with how to get the feed from the camera to an SDL surface. Any
resources are appreciated, as is direct advice. The program I’m working
with has, up to now, been dealing exclusively with pre-recorded MPEGs, via
smpeg. I’d like to basically replace smpeg with the live video data. I
know the camera works, and is correctly connected, as kino can get the
live feed, so I’m not looking for help connecting the hardware - just
writing the software to get the video stream and render it on an SDL
surface.

Cheers,

I have some code that uses libdv and an SDL_overlay to play back video
from a file. If you are interested I could scrape together the useful
bits and send them to you.

Jonathan.On Tue, 2004-06-29 at 11:25 +0000, murray evans wrote:

Okay, let’s tweak the question a bit. Can anyone explain to me the process
of getting data from libdv onto and SDL_Overlay?

Jonathan Wheare wrote:> On Tue, 2004-06-29 at 11:25 +0000, murray evans wrote:

Okay, let’s tweak the question a bit. Can anyone explain to me the
process of getting data from libdv onto and SDL_Overlay?

I have some code that uses libdv and an SDL_overlay to play back video
from a file. If you are interested I could scrape together the useful
bits and send them to you.

Jonathan.

Thank you, but I now don’t think I need it.I have managed to get the video
onto an overlay. Now I just have to know a few things about the overlay its
self, like can the surface you specify when you create the overlay be any
surface, or does it have to be the ‘screen’. I would very much like to
render the overlay to a non-visible surface, as I’ll be doing a load of
processing on the video data before getting round to displaying it. The
advantage of the overlay was the simplicity with which you could use it
with the libdv code, ideally I want to render to a surface.

murray evans wrote:

Jonathan Wheare wrote:

Okay, let’s tweak the question a bit. Can anyone explain to me the
process of getting data from libdv onto and SDL_Overlay?

I have some code that uses libdv and an SDL_overlay to play back video
from a file. If you are interested I could scrape together the useful
bits and send them to you.

Jonathan.

Thank you, but I now don’t think I need it.I have managed to get the video
onto an overlay. Now I just have to know a few things about the overlay
its self, like can the surface you specify when you create the overlay be
any surface, or does it have to be the ‘screen’. I would very much like to
render the overlay to a non-visible surface, as I’ll be doing a load of
processing on the video data before getting round to displaying it. The
advantage of the overlay was the simplicity with which you could use it
with the libdv code, ideally I want to render to a surface.

Sorted.>> On Tue, 2004-06-29 at 11:25 +0000, murray evans wrote: