troosh / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

16 bit mj2 run through mj2_to_frames producing 8 bit yuv #63

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Using the new feature (from issue #49) I can do this:
frames_to_mj2 -i 16bit.yuv -o 16bit.mj2 -W 720,486,2,1 -F 29.97 -D 16

but when I run the reverse:
mj2_to_frames 16bit.mj2 back_to_16bit.yuv

it produces an 8 bit output. Can mj2_to_frames decode to non-8bit?
Dave Rice
avpreserve.com

Original issue reported on code.google.com by deri...@gmail.com on 11 Feb 2011 at 5:09

GoogleCodeExporter commented 9 years ago

Original comment by anto...@gmail.com on 13 Feb 2011 at 12:25

GoogleCodeExporter commented 9 years ago

Original comment by anto...@gmail.com on 13 Feb 2011 at 12:26

GoogleCodeExporter commented 9 years ago

Hi Dave,

A fix has been committed. Issue 49 was actually incompletely solved. 16-bit 
precision should work now, both at mj2 encoding and decoding.

Feedback welcome once you've tested it on your data.

Cheers,

Antonin

Original comment by anto...@gmail.com on 17 Feb 2011 at 8:04