[FFmpeg-devel] x11 output device for libavdevice
Moguillansky, Jeff
Jeff.Moguillansky at am.sony.com
Mon Apr 15 23:03:00 CEST 2013
Hi Paul,
are you referring to this code in sdl.c for querying the formats:
} sdl_overlay_pix_fmt_map[] = {
{ AV_PIX_FMT_YUV420P, SDL_IYUV_OVERLAY },
{ AV_PIX_FMT_YUYV422, SDL_YUY2_OVERLAY },
{ AV_PIX_FMT_UYVY422, SDL_UYVY_OVERLAY },
{ AV_PIX_FMT_NONE, 0 },
};
...
for (i = 0; sdl_overlay_pix_fmt_map[i].pix_fmt != AV_PIX_FMT_NONE; i++) {
if (sdl_overlay_pix_fmt_map[i].pix_fmt == encctx->pix_fmt) {
sdl->overlay_fmt = sdl_overlay_pix_fmt_map[i].overlay_fmt;
break;
}
}
Are there sample videos that I can use for testing with these formats?
Thanks,
Jeff
More information about the ffmpeg-devel
mailing list