[Ffmpeg-devel] ffmepg and SDL related

Michel Bardiaux mbardiaux
Wed Apr 25 10:14:06 CEST 2007

> Hi All,
> I am new for this forum as well as ffmpeg .
> I have a problem::
> I am getting screen height and width(e.g 320*240 or any size) from avcodec
> ,then i am creating SDL_CreateRGBSurface with the help of this screen height
> and width ,but i want to change this height and width in 176*220,So can you
> tell me how it is possible ? I tried to give hight and width as 176*220 but
> it's not give the whole screen.
> So how can i rescale the screen ??
> And i want to draw this screen using GTK or GDK ,so how can i draw this
> using GTK window(176*220)?
> I am sending my test code  ,please have a look upon it and help me.
Completely off-topic. This question certainly doesnt belong on 
ffmpeg-dev, and not even on ffmpeg-user.

For SDL-related questions, go to www.libsdl.org.

For GTK, I dont know.

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles

More information about the ffmpeg-devel mailing list