[Ffmpeg-devel] [PATCH] enable libswscale
Víctor Paesa
wzrlpy
Fri Sep 15 11:51:42 CEST 2006
Hi Luca,
> Hi V?ctor,
>
> On Wed, 2006-09-13 at 23:06 +0200, V?ctor Paesa wrote:
> [...]
>> While testing the port of imlib2 vhook to swscale, I noticed that blue
>> is
>> swapped for red in PIX_FMT_RGBA32 if using swscaler.
> The attached version of my patch seems to fix the problem.
> Can you confirm?
>
Yes, that scenario works OK now.
> Does anyone see anything wrong with it?
Sorry to be again the messenger of bad news, I found that
after applying the "convert-swscale-only-6.diff"
swScaler says that yuvj420p is not supported as output format.
Is that a bug or a feature of swScaler? :-)
Same happens if applying the "convert-swscale-alternative-swsonly.diff"
patch (Aug, 31st), while the old imgconvert succeeds.
Test scenario:
$ ./ffmpeg -i input.avi -vcodec mjpeg output.avi
FFmpeg version SVN-r6254, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-a52 --disable-static
--enable-shared --enable-pthreads --enable-swscaler --enable-avisynth
--enable-gpl
libavutil version: 49.0.0
libavcodec version: 51.14.0
libavformat version: 50.5.0
built on Sep 15 2006 11:38:35, gcc: 3.4.4 (cygming special) (gdc 0.12,
using dmd 0.125)
Input #0, avi, from 'input.avi':
Duration: 00:00:20.2, start: 0.000000, bitrate: 30349 kb/s
Stream #0.0: Video: dvvideo, yuv420p, 720x576, 25.00 fps(r)
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
swScaler: yuvj420p is not supported as output format
Cannot get resampling context
Regards,
V?ctor Paesa
More information about the ffmpeg-devel
mailing list