[FFmpeg-trac] #5071(avformat:closed): FFmpeg doesn't use the correct palette when playing Apple Graphics (SMC) in Matroska

FFmpeg trac at avcodec.org
Sun Dec 6 21:23:10 CET 2015


#5071: FFmpeg doesn't use the correct palette when playing Apple Graphics (SMC) in
Matroska
-------------------------------------+-------------------------------------
             Reporter:  matsp888     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:               |  needs_more_info
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by RiCON):

 {{{
 ffmpeg -i aletrek.mkv -qscale 2 aletrek-out.avi
 ffmpeg version N-77071-g843e1a8 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (Rev4, Built by MSYS2 project)
   configuration:  --enable-static --disable-shared --enable-avisynth
 --enable-libmp3lame --enable-libvorbis --enable-libx264 --disable-
 decoder=dca --enable-libdcadec --disable-postproc --enable-gmp --disable-
 doc --enable-libvpx --enable-libopus --disable-hwaccels --disable-sdl
 --disable-encoder=vorbis --disable-demuxer=asf --enable-gpl --enable-
 version3 --disable-debug
   libavutil      55.  9.100 / 55.  9.100
   libavcodec     57. 16.101 / 57. 16.101
   libavformat    57. 19.100 / 57. 19.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 20.100 /  6. 20.100
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.101 /  2.  0.101
 Input #0, matroska,webm, from 'aletrek.mkv':
   Metadata:
     encoder         : libebml v1.3.1 + libmatroska v1.4.2
     creation_time   : 2015-12-06 11:00:32
     COLLECTION/TITLE: Clips
     CATEGORY/TITLE  : Misc
     MOVIE/COMMENT   : MPlayer/FFmpeg doesn’t use the correct palette when
 playing
                     : Apple Graphics in Matroska.
     MOVIE/DATE_ENCODED: 2002‐10‐16T23:31:08
     MOVIE/TITLE     : aletrek
   Duration: 00:00:03.40, start: 0.000000, bitrate: 318 kb/s
     Stream #0:0: Video: smc (smc  / 0x20636D73), pal8, 160x120, SAR 1:1
 DAR 4:3, 10 fps, 10 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       DATE_ENCODED    : 2002‐10‐16T23:31:08
 Please use -q:a or -q:v, -qscale is ambiguous
 Output #0, avi, to 'aletrek-out.avi':
   Metadata:
     MOVIE/DATE_ENCODED: 2002‐10‐16T23:31:08
     MOVIE/TITLE     : aletrek
     COLLECTION/TITLE: Clips
     CATEGORY/TITLE  : Misc
     MOVIE/COMMENT   : MPlayer/FFmpeg doesn’t use the correct palette when
 playing
                     : Apple Graphics in Matroska.
     ISFT            : Lavf57.19.100
     Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 160x120 [SAR
 1:1 DAR 4:3], q=2-31, 200 kb/s, 10 fps, 10 tbn, 10 tbc (default)
     Metadata:
       DATE_ENCODED    : 2002‐10‐16T23:31:08
       encoder         : Lavc57.16.101 mpeg4
 Stream mapping:
   Stream #0:0 -> #0:0 (smc (native) -> mpeg4 (native))
 Press [q] to stop, [?] for help
 frame=   34 fps=0.0 q=2.0 Lsize=       8kB time=00:00:03.40 bitrate=
 20.3kbits/s
 video:2kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 324.027557%
 }}}

 Output file plays fine but just shows black.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5071#comment:35>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list