Opened 2 years ago

Last modified 8 months ago

#5693 open enhancement

exr: support dwa decompression

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

Description

C:\>ffmpegx -i C:\ff\rgba_dwaa.exr
ffmpeg version N-80803-g8a3221c Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.5.0 (GCC) 20100414 (Fedora MinGW 4.5.0-1.fc14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --
enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -lw
inmm -lpthread' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapsh
ots/build/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/sna
pshots/build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --
enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-li
bvorbis --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-li
bopencore-amrwb --enable-libmp3lame --enable-libfreetype --enable-libvpx --disab
le-decoder=libvpx
  libavutil      55. 27.100 / 55. 27.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 40.101 / 57. 40.101
  libavdevice    57.  0.102 / 57.  0.102
  libavfilter     6. 46.102 /  6. 46.102
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[exr @ 0x28dd8a0] Missing compression attribute.
[exr_pipe @ 0x28d3d20] decoding for stream 0 failed
[exr_pipe @ 0x28d3d20] Could not find codec parameters for stream 0 (Video: exr,
 none): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, exr_pipe, from 'C:\ff\rgba_dwaa.exr':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: exr, none, 25 tbr, 25 tbn, 25 tbc
At least one output file must be specified

Attachments (4)

rgba_dwaa.exr (1.9 MB) - added by ami_stuff 2 years ago.
rgba_dwab.exr (1.9 MB) - added by ami_stuff 2 years ago.
rgb_dwaa.exr (1.9 MB) - added by ami_stuff 2 years ago.
rgb_dwab.exr (1.9 MB) - added by ami_stuff 2 years ago.

Change History (7)

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

Changed 2 years ago by ami_stuff

comment:1 Changed 2 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Keywords exr added
  • Priority changed from normal to wish
  • Reproduced by developer set
  • Status changed from new to open
  • Type changed from defect to enhancement
  • Version changed from unspecified to git-master

comment:2 Changed 8 months ago by jminor

Pixar is interested in this as well.

Looking at the code in exr.c it appears that ffmpeg does not use libopenexr, but rather has a reimplementation of an EXR decoder. Is this negotiable, or is that by design?

In either case, we would like to understand how much work it would be to add support for the dwaa compression scheme to ffmpeg's exr reader. Is this a simple change, or a substantial amount of work? We could possibly help out with this, although we don't have anyone familiar with the ffmpeg code base at the moment.

comment:3 Changed 8 months ago by richardpl

Contact ffmpeg developers for sponsoring this code addition. See contact page.

Note: See TracTickets for help on using tickets.