Programming using v4l2
- From: Leopold Palomo-Avellaneda <lepalom (at) wol.es>
- Date: Wed, 8 Mar 2006 12:33:58 +0100
Hi,
we have a video capture card that give us a mpeg4 stream. I'm using spook [1]
and I can send the stream via rtsp and see them with mplayer. I don't have
raw images in the /dev/video* devices, and I have them compressed.
I have some doubts about the v4l2 mechanism and the devices. I would like to
develop a little program to manipulate the images, and I don't know to begin.
First of all, if I have a mpeg4 stream, and I would like to use it, I need to
decode them. I have seen that the libavcodec let you access to a file in
several formats, one of the mpeg4.
I understand that the schema is like:
1) read the the device
2) using the libavcodec, decode the mp4stream
3) then process the video
But, how I can read a device? it's a normal file? how can I see the
characteristics? there's some tutorial?
Well, to many questions and I'm sorry if they are more simple, but I'm really
lost.
Regards,
Leo
[1] http://www.litech.org/spook/
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list