extend video capture example to capture mpeg video file

bad boy <[email protected]> Mon, 13 Sep 2010 21:43:06 -0700 (PDT)
Newsgroups gmane.comp.video.video4linux
Message-ID <[email protected]>
Hi

I have a Hauppage TV capture card that seems to be working . I can use the

cat /dev/video0 > test.mpeg to capture a video file to hard disk.

I am trying to adapt the video capture example, source  "capture.c" to  capture 
the mpeg file.

The example code ins capture.c calls the read_frame() function that then calls 
process image, which writes a "." to the screen.


What do I need to modify to capture a proper mpeg file ? 


Your help would be deeply appreciated.

Thanks
badam



      

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list