[vlc-devel] [vlc-commits] v4l2: update and sort the codec table
Rémi Denis-Courmont
remi at remlab.net
Sat Mar 24 14:20:29 CET 2012
On Fri, 23 Mar 2012 22:01:20 +0100 (CET), git at videolan.org (Rémi
Denis-Courmont) wrote:
> /* Compressed data types */
> + { V4L2_PIX_FMT_JPEG, VLC_CODEC_MJPG, 0, 0, 0 },
It seems VLC_CODEC_JPEG is an aliased FOURCC for VLC_CODEC_MJPG. This is
confusing IMHO. Is there supposed to be a difference?
> + { V4L2_PIX_FMT_H264, VLC_CODEC_H264, 0, 0, 0 },
This works fine with UVC H264-encoding cameras.
> + /* FIXME: fill p_extra for avc1... */
> +// { V4L2_PIX_FMT_H264_NO_SC, VLC_FOURCC('a','v','c','1'), 0, 0, 0 }
I cannot test it, but I assume this requires p_extra/i_extra to be set,
right? Does anyone have a clue how to initialize an H.264 without start
code elementary stream?
> + { V4L2_PIX_FMT_MPEG4, VLC_CODEC_MP4V, 0, 0, 0 },
> + { V4L2_PIX_FMT_XVID, VLC_CODEC_MP4V, 0, 0, 0 },
> + { V4L2_PIX_FMT_H263, VLC_CODEC_H263, 0, 0, 0 },
> + { V4L2_PIX_FMT_MPEG2, VLC_CODEC_MPGV, 0, 0, 0 },
> + { V4L2_PIX_FMT_MPEG1, VLC_CODEC_MPGV, 0, 0, 0 },
> + { V4L2_PIX_FMT_VC1_ANNEX_G, VLC_CODEC_VC1, 0, 0, 0 },
> + { V4L2_PIX_FMT_VC1_ANNEX_L, VLC_CODEC_VC1, 0, 0, 0 },
I could not test any of these. They may be wrong.
--
Rémi Denis-Courmont
Sent from my collocated server
More information about the vlc-devel
mailing list