[Ffmpeg-devel] [PATCH] introduce swscale interface inlibavcodec

Luca Abeni lucabe72
Wed Apr 19 16:11:29 CEST 2006

Hi all,

On Mon, 2006-04-10 at 15:03 +0200, Luca Abeni wrote:
> Ok, I'll use them when preparing the mplayer's patch.
Just a quick update:
I had some unexpected problems in compiling mplayer with the "new
swscaler", so I think I'll need some help from mplayer developers...

Anyway, the "ffmpeg part" of the swscale move is ready and I think it is
in a good shape (I'll post the patches in few days). And I have a patch
for mplayer that seems to be working, but I am not too confident with

I ended up by using both mplayer's and ffmpeg's pixel format names in
the interface (adding a SWS_FFMPEG_FORMATS flags to be set when
PIX_FMT_* names are used). I still thing that mplayer's format names
should be removed, but I have not been able to test mplayer with all the
possible formats, and I do not want to break it.

I had a bad time with mplayer's sources including random swscale headers
for reasons that I could not understand... I tried to address that, but
I do not know if I broke something.

For the moment, I've not been able to add "external libswscale support"
in mplayer: to compile, you need to copy libswscale in the mplayer tree
(and to put avutil.h somewhere in the include path, or to copy libavutil
in the mplayer tree).

Anyway, I attach the mplayer patch. I know that some mplayer developers
are on this mailing list too... So I hope someone of them can help in
making this patch presentable :)

I'll post the ffmpeg patches in the next days (they are almost identical
to the last version I posted).

Proud to be "coglione"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer2.diff
Type: text/x-patch
Size: 18659 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060419/6ea5d929/attachment.bin>

More information about the ffmpeg-devel mailing list