user6238: I'm trying to achieve a lossy JPEG 2000 output with FFMPEG, but no success so far.
Using this command line:
ffmpeg -i input.dpx -pix_fmt yuv420p -vcodec libopenjpeg output.jp2

As a result I get lossless output, which is a default setting for JPEG 2000. I tried -b:v and -q:v, but they both have no impact to the output.
Does anyone know a command that changes the quality/compress the output?
Any kind of help is really appreciated. Thank you!

user3295: Did you try using the -compression_level flag? It takes an int from 0-100 afaik (maybe the range is even higher, the docs just say "int").
That should set a lossy compression strength.
There is also an interesting blog post about creating DCI compilant JPEG2000 encodes with FFMPEG for DCP's. Which require lossy encoded JPEG2000.

6238: <p>I'm trying to achieve a lossy JPEG 2000 output with FFMPEG, but no success so far.</p>

<p>Using this command line:</p>

<pre><code>ffmpeg -i input.dpx -pix_fmt yuv420p -vcodec libopenjpeg output.jp2
</code></pre>

<p>As a result I get lossless output, which is a default setting for JPEG 2000. I tried -b:v and -q:v, but they both have no impact to the output.</p>

<p>Does anyone know a command that changes the quality/compress the output?</p>

<p>Any kind of help is really appreciated. Thank you!</p>
 3295: <p>Did you try using the <code>-compression_level</code> flag? It takes an int from 0-100 afaik (maybe the range is even higher, the docs just say "int").</p>

<p>That should set a lossy compression strength.</p>

<p>There is also an interesting <a href="http://www.michaelcinquin.com/library/ffmpeg" rel="nofollow">blog post</a> about creating DCI compilant JPEG2000 encodes with FFMPEG for DCP's. Which require lossy encoded JPEG2000.</p>
