[Ffmpeg-devel] Sdl and FFMPEG Related

AJAY GAUTAM ajaygautam1981
Wed Apr 25 07:58:12 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 as attachment ,please have a look upon it and help
me.

Thanx & Regards
Ajay Gautam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 8009 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070425/59cdb346/attachment.c>



More information about the ffmpeg-devel mailing list