[FFmpeg-devel] x11 output device for libavdevice
Paul B Mahol
onemda at gmail.com
Tue Apr 16 11:23:50 CEST 2013
On 4/15/13, Moguillansky, Jeff <Jeff.Moguillansky at am.sony.com> wrote:
> Thanks Paul,
> I looked at the mpv/mplayer XVideo source code (vo_xv.c) as a reference.
> Here's a new xvideo.c file that checks that the driver supports I420 (using
> XvListImageFormats). Todo: add support for other formats, and conversion,
> Btw, SDL internally can use XVideo extension. Maybe there's no need for
> xvideo device. It would be nice to enable hardware acceleration in sdl.c.
> ffplay source code uses sdl with hardware acceleration.
SDL does not support rgb and only subsamples yuv, which sucks.
> Is that ok if I send the xvideo.c file instead of a patch file?
Send full patch, that is only way to test your code.
More information about the ffmpeg-devel