[FFmpeg-devel] [PATCH 1/4] dpx: use aligned line starts

Christophe Gisquet christophe.gisquet at gmail.com
Thu Aug 14 09:00:37 CEST 2014


Hi,

2014-08-14 4:17 GMT+02:00 Michael Niedermayer <michaelni at gmx.at>:
> causes
> ./ffmpeg -icheckerboard_1080p_nuke_bigendian_12bit_alpha.dpx -f null -
> to segfault
>
> see http://samples.ffmpeg.org/image-samples/dpx_samples.zip

OK, thanks. Disclaimer, I'm not that knowledgeable in DPX, I'm just
applying the analysis in documents from the bugreport here:
http://www.simplesystems.org/users/bfriesen/dpx/

It seems that this alignment was not known or misunderstood, cf.
ffmpeg's encoder. Currently, I'm just looking if the image size is too
small for alignment to disable it. But I fear that to decode all dpx
correctly, one will have to resort to parsing the encoder metadata
info.

Also, we skip the alpha in this sequence: we have no pixel format for
RGBA when the bits per component are between 9 and 15.

-- 
Christophe


More information about the ffmpeg-devel mailing list