Web lists-archives.com

extend video capture example to capture mpeg video file




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:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list