On Fri Jan 23 2015 23:39:21 GMT+0100 (CET), Michael Niedermayer wrote:
On Fri, Jan 23, 2015 at 11:34:35PM +0100, Michael Niedermayer wrote:
On Fri, Jan 23, 2015 at 09:58:41PM +0100, Jean First wrote:
if the openjpeg parameter tcp_rates is not 0 ( using the ffmpeg 
compression_level option )
every 2nd image per thread is badly encoded. By moving the opj_setup_encoder 
function from
libopenjpeg_encode_init to libopenjpeg_encode_frame this can be prevented.

This fixes ticket #3754.
how can this be reproduced ?
note, ive tried:
ffmpeg -i matrixbench_mpeg2.mpg -an -compression_level 1 -vframes 30 -threads 1 
-compression_level 1 -vcodec libopenjpeg test.nut

and that results in grayscale only output before as well as after
the patch

you can try with:

ffmpeg -i matrixbench_mpeg2.mpg -pix_fmt xyz12 -format:v jp2 -profile:v cinema2k -cinema_mode 2k_24 -prog_order cprl -numresolution 6 -numlayers 1 -compression_level 2 -threads 1 test-%05d.j2c

and change the value for -compression_level
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to