[FFmpeg-devel] [WIP] SDL2 in ffplay

Marton Balint cus at passwd.hu
Sat Jan 2 23:27:25 CET 2016


Hi,

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

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.

Regards,
Marton


More information about the ffmpeg-devel mailing list