[FFmpeg-trac] #595(swscale:new): Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA

FFmpeg trac at avcodec.org
Thu Nov 3 23:55:48 CET 2011


#595: Bad convert from PIX_FMT_GBR24P to PIX_FMT_BGRA
-------------------------------------+-----------------------------------
             Reporter:  DonMoir      |                    Owner:  michael
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  swscale
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by ami_stuff):

 {{{
 C:\>ffmpeg -i C:\bunny_bad_convert_to_BGRA.mkv -vcodec png out.mov
 ffmpeg version N-34318-g8475ec1, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Oct 31 2011 17:50:05 with gcc 4.6.1
   configuration: --enable-gpl --enable-version3 --enable-runtime-cpudetect
 --ena
 ble-avisynth --enable-bzlib --enable-frei0r --enable-libopencore-amrnb
 --enable-
 libopencore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame
 --ena
 ble-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-
 libspeex --en
 able-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib

   libavutil    51. 22. 0 / 51. 22. 0
   libavcodec   53. 26. 0 / 53. 26. 0
   libavformat  53. 18. 0 / 53. 18. 0
   libavdevice  53.  4. 0 / 53.  4. 0
   libavfilter   2. 45. 3 /  2. 45. 3
   libswscale    2.  1. 0 /  2.  1. 0
   libpostproc  51.  2. 0 / 51.  2. 0
 Input #0, matroska,webm, from 'C:\bunny_bad_convert_to_BGRA.mkv':
   Duration: 00:00:32.48, start: 0.000000, bitrate: 3376 kb/s
     Stream #0:0(eng): Video: h264 (High 4:4:4 Predictive), gbr24p,
 640x360, SAR
 1:1 DAR 16:9, 25 fps, 25 tbr, 20k tbn, 50 tbc (default)
 Incompatible pixel format 'gbr24p' for codec 'png', auto-selecting format
 'rgb24
 '
 [buffer @ 020B5BA0] w:640 h:360 pixfmt:gbr24p tb:1/1000000 sar:1/1
 sws_param:
 [buffersink @ 020B5E20] auto-inserting filter 'auto-inserted scale 0'
 between th
 e filter 'src' and the filter 'out'
 [scale @ 020B5340] w:640 h:360 fmt:gbr24p -> w:640 h:360 fmt:rgb24
 flags:0x4
 Output #0, mov, to 'out.mov':
   Metadata:
     encoder         : Lavf53.18.0
     Stream #0:0(eng): Video: png (png  / 0x20676E70), rgb24, 640x360 [SAR
 1:1 DA
 R 16:9], q=2-31, 200 kb/s, 25 tbn, 25 tbc (default)
 Stream mapping:
   Stream #0.0 -> #0.0 (h264 -> png)
 Press [q] to stop, [?] for help
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=   18 fps=  0 q=0.0 size=      32kB time=00:00:00.72 bitrate=
 358.4kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 11 times
 frame=   31 fps=  0 q=0.0 size=      54kB time=00:00:01.24 bitrate=
 358.2kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=   50 fps= 33 q=0.0 size=      87kB time=00:00:02.00 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=   70 fps= 35 q=0.0 size=     122kB time=00:00:02.80 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=   89 fps= 35 q=0.0 size=     156kB time=00:00:03.56 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 11 times
 frame=  102 fps= 33 q=0.0 size=     178kB time=00:00:04.08 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 10 times
 frame=  114 fps= 32 q=0.0 size=     199kB time=00:00:04.56 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 11 times
 frame=  127 fps= 31 q=0.0 size=     222kB time=00:00:05.08 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 11 times
 frame=  140 fps= 30 q=0.0 size=     245kB time=00:00:05.60 bitrate=
 358.1kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 10 times
 frame=  152 fps= 30 q=0.0 size=     266kB time=00:00:06.08 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 11 times
 frame=  165 fps= 29 q=0.0 size=     288kB time=00:00:06.60 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 13 times
 frame=  180 fps= 29 q=0.0 size=     315kB time=00:00:07.20 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  200 fps= 30 q=0.0 size=     350kB time=00:00:08.00 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  220 fps= 31 q=0.0 size=     385kB time=00:00:08.80 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 16 times
 frame=  238 fps= 31 q=0.0 size=     416kB time=00:00:09.52 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  255 fps= 31 q=0.0 size=     446kB time=00:00:10.20 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  274 fps= 32 q=0.0 size=     479kB time=00:00:10.96 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  294 fps= 32 q=0.0 size=     514kB time=00:00:11.76 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  313 fps= 32 q=0.0 size=     547kB time=00:00:12.52 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  330 fps= 32 q=0.0 size=     577kB time=00:00:13.20 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  346 fps= 32 q=0.0 size=     605kB time=00:00:13.84 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  362 fps= 32 q=0.0 size=     633kB time=00:00:14.48 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  378 fps= 32 q=0.0 size=     661kB time=00:00:15.12 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  395 fps= 32 q=0.0 size=     691kB time=00:00:15.80 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  412 fps= 32 q=0.0 size=     720kB time=00:00:16.48 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  431 fps= 33 q=0.0 size=     753kB time=00:00:17.24 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  451 fps= 33 q=0.0 size=     788kB time=00:00:18.04 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  471 fps= 33 q=0.0 size=     823kB time=00:00:18.84 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 13 times
 frame=  486 fps= 33 q=0.0 size=     850kB time=00:00:19.44 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  502 fps= 33 q=0.0 size=     878kB time=00:00:20.08 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 13 times
 frame=  517 fps= 33 q=0.0 size=     904kB time=00:00:20.68 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 13 times
 frame=  532 fps= 33 q=0.0 size=     930kB time=00:00:21.28 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  548 fps= 33 q=0.0 size=     958kB time=00:00:21.92 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 9 times
 frame=  559 fps= 32 q=0.0 size=     977kB time=00:00:22.36 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 12 times
 frame=  573 fps= 32 q=0.0 size=    1002kB time=00:00:22.92 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 18 times
 frame=  593 fps= 32 q=0.0 size=    1037kB time=00:00:23.72 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  612 fps= 33 q=0.0 size=    1070kB time=00:00:24.48 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  629 fps= 33 q=0.0 size=    1100kB time=00:00:25.16 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 12 times
 frame=  643 fps= 32 q=0.0 size=    1124kB time=00:00:25.72 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  659 fps= 32 q=0.0 size=    1152kB time=00:00:26.36 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 14 times
 frame=  675 fps= 32 q=0.0 size=    1180kB time=00:00:27.00 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  694 fps= 33 q=0.0 size=    1213kB time=00:00:27.76 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  713 fps= 33 q=0.0 size=    1246kB time=00:00:28.52 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  732 fps= 33 q=0.0 size=    1280kB time=00:00:29.28 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  749 fps= 33 q=0.0 size=    1309kB time=00:00:29.96 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 15 times
 frame=  766 fps= 33 q=0.0 size=    1339kB time=00:00:30.64 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 17 times
 frame=  785 fps= 33 q=0.0 size=    1372kB time=00:00:31.40 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 16 times
 frame=  803 fps= 33 q=0.0 size=    1404kB time=00:00:32.12 bitrate=
 358.0kbits/s
 internal error gbr24p -> rgb24 converter
 [swscaler @ 0267B460] internal error gbr24p -> rgb24 converter
     Last message repeated 7 times
 frame=  812 fps= 33 q=0.0 Lsize=    1423kB time=00:00:32.48 bitrate=
 359.0kbits/
 s
 video:1419kB audio:0kB global headers:0kB muxing overhead 0.269835%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/595#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list