[FFmpeg-user] how to include V4L2_PIX_FMT_H264

Paul B Mahol onemda at gmail.com
Thu Mar 14 12:55:21 CET 2013


On 3/14/13, Soho Soho123 <soho123.2012 at gmail.com> wrote:
> hi all,
>
> I see the code :
> ffmpeg-951d39f/libavdevice/v4l2.c,
> static struct fmt_map fmt_conversion_table[]
>
> #ifdef V4L2_PIX_FMT_H264
>     { AV_PIX_FMT_NONE,    AV_CODEC_ID_H264,     V4L2_PIX_FMT_H264    },
> #endif
>
> But I donot know how to enable "V4L2_PIX_FMT_H264"?
> there is no any information about V4L2_PIX_FMT_H264 in
> ffmpeg-951d39f/libavutil/pixfmt.h and old_pix_fmts.h.
> Does anyone have idea?

It is not part of ffmpeg, it is part of v4l2.
Your v4l2 need to have that pix fmt.

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list