I made a V4L screen capture utility for my website a few years ago.
Though it may have dependencies, it shouldn't be difficult to convert 
it to a command line utility and reduce it to monolithic binary 
(without the dependencies).
I'll share the code as soon as I can, though I've got a tight schedule 
right now, don't hesitate to remind me. My home internet service is 
down, and service tech is supposed to look into it friday afternoon, 
but I won't have time to look for the code until this weekend sometime.

----- Original Message -----
From: Hans Verkuil <[EMAIL PROTECTED]>
Date: Thursday, April 19, 2007 3:06 am
Subject: Re: [ivtv-users] single frame capture?
To: User discussion about IVTV <[email protected]>

> > Hi folks, I just got my Hauppage WinTV PVR-150 MCE card and got 
> it working
> > with the 0.10.1 driver.  It was a bit fiddly but the docs are 
> good.  I can
> > now cat mpegs out of /dev/video0 and play real-time mpegs with 
> mplayer.>
> > Is it possible to grab single frames somehow?  I know I could 
always
> > extract the first I-frame from the mpeg stream, but that seems a 
bit
> > indirect.  Are there any alternatives?
> 
> Yes, but it is a bit fiddly: the video32 device is the raw video 
> deviceand it can be used to grab a single frame only. The format 
> of that frame
> is HM12 which is described in this document in the linux kernel:
> 
> Documentation/video4linux/cx2341x/README.hm12
> 
> Actually, it would be quite nice if someone would make a C/C++ 
utility
> that would implement a simple snapshot application and save the 
> resultingimage in a normal image format like png. I wouldn't mind 
> including that
> with the ivtv utilities.
> 
>       Hans
> 
> 
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users
> 

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to