[FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA
FFmpeg
trac at avcodec.org
Thu Oct 27 06:23:51 CEST 2011
#595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA
---------------------------------------+---------------------------------
Reporter: DonMoir | Owner: michael
Type: defect | Status: new
Priority: normal | Component: swscale
Version: unspecified | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
---------------------------------------+---------------------------------
With this sample: bunny_bad_convert_to_BGRA.mkv (13 MB)
http://sms.pangolin.com/temp/bunny_bad_convert_to_BGRA.mkv
sws_scale either doesn't do the conversion or the converted pixels are all
zero. sws_scale returns success.
This file was previously named bunny_rgb_crash.mkv and you already have
that. The crash and color ordering problems with this file have been
fixed.
This is the last version that did the conversion to PIX_FMT_BGRA correctly
that I know of. Note: this version had a color ordering problem with this
file but the conversion to PIX_FMT_BGRA worked.
ffplay version N-32962-gcbf914c, Copyright (c) 2003-2011 the FFmpeg
developers
built on Sep 25 2011 21:37:29 with gcc 4.6.1
configuration: --disable-static --enable-shared --enable-gpl --enable-
version3
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
frei0r
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
libfreetype
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-
librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-
libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
libx264
--enable-libxavs --enable-libxvid --enable-zlib
libavutil 51. 17. 0 / 51. 17. 0
libavcodec 53. 17. 0 / 53. 17. 0
libavformat 53. 13. 0 / 53. 13. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 5 / 2. 43. 5
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
So the code for this file has gone thru some changes that fixed the
important stuff and broke this conversion. The version tested where the
conversion fails is:
ffplay version N-34031-ge403a97, Copyright (c) 2003-2011 the FFmpeg
developers
built on Oct 25 2011 15:09:12 with gcc 4.6.1
...
(same config as above)
...
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 23. 0 / 53. 23. 0
libavformat 53. 17. 0 / 53. 17. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 0 / 2. 45. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/595>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list