[FFmpeg-devel] [WIP] SDL2 in ffplay

Andreas Cadhalpun andreas.cadhalpun at googlemail.com
Sat Jan 2 23:50:09 CET 2016

On 02.01.2016 23:27, Marton Balint wrote:
> To anybody who is interested, I have pushed my experimental SDL2 branch of ffplay
> to github. (https://github.com/cus/ffplay.git)
> SDL2 completely replaced SDL_Overlay with 3D textures, so with SDL2 it is possible to:
> - Use textures with odd width/height
> - Use RGB textures, not only YUV
> - Use the renderer to present subtitles with alpha channel on top of the video instead
> of software blending

Oh, cool!
(SDL1 is getting old...)

> Also because of using 3D, on platfroms where SDL overlay was software emulated
> (notably windows), the user should get much better expreience.
> Because of the relatively huge differences between SDL and SDL2, it seems unreasonable
> to work toward an ffplay wich supports both at the same time, so if we do want to switch
> to SDL2, we will probably have to drop SDL1 support.

libsdl2 has been available in Debian since 2012.
Assuming this code works with such old versions of SDL2 I think
dropping SDL1 support is no big problem.

Best regards,

More information about the ffmpeg-devel mailing list