[Libav-user] High-res JPEG2000 decoding memory problem

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Mar 29 12:33:00 CEST 2016


Никита Скиба <zaulan at ...> writes:

> [jpeg2000  <at>  009651E0] Cannot allocate memory

> JP2K sample frame located here
> 
> https://yadi.sk/d/GyRd2t_fqZQ8f

FFmpeg allocates up to 4GB to decode one such frame - 
this is a known issue with FFmpeg's j2k decoder.
Make sure you don't allocate another four GB and 
make sure you set threads to 1!

Carl Eugen


More information about the Libav-user mailing list