Bug#726189: libavcodec54: Can not read videos encoded with FFV1 codec and the RGB32 pixel format

Dima Kogan dima at secretsauce.net
Sun Oct 13 09:27:56 UTC 2013


Package: libavcodec54
Version: 6:9.10-1
Severity: normal


I have previously-made videos lying around that use the FFV1 codec and
the RGB32 pixel format (PIX_FMT_RGB32 in the source). These are no
longer openable with the latest libraries. For example:

 dima at shorty:~$ avprobe /tmp/good.avi
 avprobe version 9.10-6:9.10-1, Copyright (c) 2007-2013 the Libav developers
   built on Oct 11 2013 15:40:54 with gcc 4.8 (Debian 4.8.1-10)
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [ffv1 @ 0xe1e980] bit depth 0 not supported
 [avi @ 0xe1ca60] Could not find codec parameters (Video: ffv1, 480x720)
 /tmp/good.avi: Operation not permitted
 # avprobe output

I am attachine this video file. This used to work in the 0.8.7 series of
the packages. Don't know when it stopped working.

The bug looks pretty simple. For pixel formats like RGB32, read_header()
in ffv1dec.c doesn't look at the pixel format field directly, but tries
to infer it from the bit depth instead. The bit depth field isn't set,
so an error is signaled. I guess at some point the logic in
read_header() was changed.




-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages libavcodec54 depends on:
ii  libavutil52            6:9.10-1
ii  libc6                  2.17-92
ii  libgsm1                1.0.13-4
ii  libmp3lame0            3.99.5+repack1-3
ii  libopenjpeg2           1.3+dfsg-4.6
ii  libopus0               1.1~beta-3
ii  libschroedinger-1.0-0  1.0.11-2
ii  libspeex1              1.2~rc1-7
ii  libtheora0             1.1.1+dfsg.1-3.1
ii  libva1                 1.1.1-3
ii  libvorbis0a            1.3.2-1.3
ii  libvorbisenc2          1.3.2-1.3
ii  libvpx1                1.2.0-2
ii  libx264-133            2:0.133.2339+git585324f-2
ii  libxvidcore4           2:1.3.2-9
ii  multiarch-support      2.17-7
ii  zlib1g                 1:1.2.8.dfsg-1

libavcodec54 recommends no packages.

libavcodec54 suggests no packages.

-- no debconf information

-------------- next part --------------
A non-text attachment was scrubbed...
Name: good.avi
Type: video/x-msvideo
Size: 759858 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20131013/61512309/attachment-0001.avi>


More information about the pkg-multimedia-maintainers mailing list