Opened 19 months ago

Closed 3 months ago

#6342 closed defect (fixed)

fix decoding mscc/srgc

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

Description

8bpp seems to encode with wrong colors, other files decodes correctly with the binary codec

https://files.fm/u/yvwet4um

aaa@aaa-VirtualBox /media/sdb1 $ ffmpeg/ffmpeg -i '/media/sdb1/f/avi/srgc_24bpp.avi'  '/media/sdb1/f/avi/out.avi' 
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.3.0 (Ubuntu 5.3.0-3ubuntu1~14.04) 20151204
  configuration: --disable-ffprobe --disable-ffserver --enable-gpl
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 85.100 /  6. 85.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, avi, from '/media/sdb1/f/avi/srgc_24bpp.avi':
  Duration: 00:00:03.20, start: 0.000000, bitrate: 2531 kb/s
    Stream #0:0: Video: srgc (srgc / 0x63677273), bgr24, 480x480, 10 fps, 10 tbr, 10 tbn, 10 tbc
    Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s
File '/media/sdb1/f/avi/out.avi' already exists. Overwrite ? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (srgc (native) -> mpeg4 (native))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, avi, to '/media/sdb1/f/avi/out.avi':
  Metadata:
    ISFT            : Lavf57.72.101
    Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 480x480, q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc
    Metadata:
      encoder         : Lavc57.93.100 mpeg4
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 22050 Hz, mono, fltp, 96 kb/s
    Metadata:
      encoder         : Lavc57.93.100 ac3
Error while decoding stream #0:0: Invalid data found when processing input
    Last message repeated 2 times
frame=   29 fps=0.0 q=31.0 Lsize=     594kB time=00:00:03.20 bitrate=1517.6kbits/s speed=  23x    
video:545kB audio:38kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.979864%

Attachments (8)

mscc_8bpp.avi (754.5 KB) - added by cehoyos 19 months ago.
mscc_8bpp_odd.avi (813.5 KB) - added by cehoyos 19 months ago.
srgc_8bpp.avi (575.0 KB) - added by cehoyos 19 months ago.
srgc_8bpp_odd.avi (606.5 KB) - added by cehoyos 19 months ago.
srgc_16bpp.avi (730.0 KB) - added by cehoyos 19 months ago.
srgc_16bpp_odd.avi (905.0 KB) - added by cehoyos 19 months ago.
srgc_24bpp.avi (989.0 KB) - added by cehoyos 19 months ago.
srgc_24bpp_odd.avi (1.6 MB) - added by cehoyos 19 months ago.

Change History (10)

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

Changed 19 months ago by cehoyos

comment:1 Changed 19 months ago by cehoyos

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

comment:2 Changed 3 months ago by richardpl

  • Resolution set to fixed
  • Status changed from open to closed
Note: See TracTickets for help on using tickets.