* How to write a V4L2 driver to capture MPEG4 / H.263 ?
@ 2008-04-23 18:23 Ghislain Baudon
0 siblings, 0 replies; only message in thread
From: Ghislain Baudon @ 2008-04-23 18:23 UTC (permalink / raw)
To: video4linux-list
Hi,
I'm writing a V4L2 driver for a card which capture video in a compressed
MPEG4 (H.263+) format.
In the VIDIOC_ENUM_FMT, I return the following structure:
const struct v4l2_fmtdesc tsmpeg4_formats[] = {
{
.index = 0,
.type = V4L2_BUF_TYPE_VIDEO_CAPTURE,
.flags = V4L2_FMT_FLAG_COMPRESSED,
.description = "Hardware-encoded MPEG-4",
.pixelformat = V4L2_PIX_FMT_MPEG,
}
};
But several applications (GStreamer, VLC) display an error "unknown
format 1195724877", and close the dialog.
I have the same behavior with the vivi driver.
How do I declare this MPEG4 compressed format in V4L2?
Thanks for your reading,
Dagonux.
--
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-04-23 18:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 18:23 How to write a V4L2 driver to capture MPEG4 / H.263 ? Ghislain Baudon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox