[MPlayer-dev-eng] [PATCH] Support FFmpeg SMJPEG IMA ADPCM decoding.

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 29 14:04:35 CET 2011


Paul B Mahol <onemda <at> gmail.com> writes:

> > Could you point me to a sample?
> 
> scenlose.mjpg and scenwin.mjpg from:
> 
> http://samples.libav.org/game-formats/smjpeg/

Both samples do not work for me with FFmpeg (both start with "1f 8b" which is
not correct for smjpeg iirc):

$ md5sum scen*
9b48ca8c9429c416633325d0e1eab0d6  scenlose.mjpg
dfe3fe119f4ff37fa26030412c1bd866  scenwin.mjpg
$ ffmpeg -i scenwin.mjpg
ffmpeg version N-36241-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 29 2011 14:00:32 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 49.100 / 53. 49.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 55.100 /  2. 55.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
[mjpeg @ 0x8dcbd80] only 8 bits/component accepted
[mjpeg @ 0x8dc5aa0] Could not find codec parameters (Video: mjpeg)
[mjpeg @ 0x8dc5aa0] Estimating duration from bitrate, this may be inaccurate
scenwin.mjpg: could not find codec parameters
$ ffmpeg -i scenlose.mjpg
ffmpeg version N-36241-g6071e4d, Copyright (c) 2000-2011 the FFmpeg developers
  built on Dec 29 2011 14:00:32 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil      51. 33.100 / 51. 33.100
  libavcodec     53. 49.100 / 53. 49.100
  libavformat    53. 29.100 / 53. 29.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 55.100 /  2. 55.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  5.100 /  0.  5.100
[mjpeg @ 0x8dcbd80] mjpeg: unsupported coding type (c7)
[mjpeg @ 0x8dcbd80] only 8 bits/component accepted
[mjpeg @ 0x8dc5aa0] Could not find codec parameters (Video: mjpeg)
[mjpeg @ 0x8dc5aa0] Estimating duration from bitrate, this may be inaccurate
scenlose.mjpg: could not find codec parameters

Carl Eugen



More information about the MPlayer-dev-eng mailing list