Opened 2 years ago

Closed 18 months ago

#5021 closed defect (fixed)

rscc: support 16bpp and 24bpp color modes

Reported by: ami_stuff Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: rscc
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

http://www.datafilehost.com/d/e01c6310

C:\>ffmpeg -i C:\16bpp_555.avi -f null -
ffmpeg version N-76741-g8eadabf Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --
enable-lzma --enable-decklink --enable-zlib
  libavutil      55.  7.100 / 55.  7.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 16.100 / 57. 16.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from 'C:\16bpp_555.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 5756 kb/s
    Stream #0:0: Video: rscc (RSCC / 0x43435352), bgra, 320x240, 5765 kb/s, 23.9
7 fps, 23.97 tbr, 23.97 tbn, 23.97 tbc
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.16.100
    Stream #0:0: Video: wrapped_avframe, bgra, 320x240, q=2-31, 200 kb/s, 23.97
fps, 23.97 tbn, 23.97 tbc
    Metadata:
      encoder         : Lavc57.15.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rscc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=  303 fps=0.0 q=-0.0 Lsize=N/A time=00:00:12.64 bitrate=N/A
video:111kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown
C:\>ffmpeg -i C:\24bpp.avi -f null -
ffmpeg version N-76741-g8eadabf Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-l
ibilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enab
le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --en
able-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc
 --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enabl
e-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --
enable-lzma --enable-decklink --enable-zlib
  libavutil      55.  7.100 / 55.  7.100
  libavcodec     57. 15.100 / 57. 15.100
  libavformat    57. 16.100 / 57. 16.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 15.100 /  6. 15.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, avi, from 'C:\24bpp.avi':
  Duration: 00:00:12.64, start: 0.000000, bitrate: 8242 kb/s
    Stream #0:0: Video: rscc (RSCC / 0x43435352), bgra, 320x240, 8260 kb/s, 23.9
7 fps, 23.97 tbr, 23.97 tbn, 23.97 tbc
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.16.100
    Stream #0:0: Video: wrapped_avframe, bgra, 320x240, q=2-31, 200 kb/s, 23.97
fps, 23.97 tbn, 23.97 tbc
    Metadata:
      encoder         : Lavc57.15.100 wrapped_avframe
Stream mapping:
  Stream #0:0 -> #0:0 (rscc (native) -> wrapped_avframe (native))
Press [q] to stop, [?] for help
frame=  303 fps=0.0 q=-0.0 Lsize=N/A time=00:00:12.64 bitrate=N/A
video:111kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing o
verhead: unknown

Change History (3)

comment:1 Changed 2 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords rscc added
  • Reproduced by developer set
  • Status changed from new to open
  • Version changed from unspecified to git-master

comment:2 Changed 23 months ago by ami_stuff

I was able to create 8bpp sample:

http://www.datafilehost.com/d/92a420bf

comment:3 Changed 18 months ago by ami_stuff

  • Resolution set to fixed
  • Status changed from open to closed

16/24bpp modes are supported since 51dc4de1218a81ee8e5b3f941839c5e3125a6d4b

for 8bpp mode I created ticket #5611

Note: See TracTickets for help on using tickets.