<p>The JPEG 2000 codec in FFMPEG is still experimental. To use it you would have to compile FFMPEG by yourself with a special option enabled.</p>

<p>But you could use <a href="http://opendcp.org/" rel="nofollow">OpenDCP</a>, which has it's <a href="http://code.google.com/p/opendcp/wiki/Documentation" rel="nofollow">documentation here</a>. It needs TIFF images and WAV files as input, that you can produce with FFMPEG. The resulting MXF can be tested with the <a href="http://www.iis.fraunhofer.de/en/bf/bsy/download/easydcpplayer.html" rel="nofollow">easyDCP player</a>. </p>

<p>OpenDCP is available on all mayor platforms, but the easyDCP player only on Windows/Mac. But perhaps this is still an option for you, since you only need to run the easyDCP player once (on a friend's PC), just to be sure that the OpenDCP output is "according to the standard".</p>

CC BY-SA 3.0
2013-02-15T16:02:55.843Z
FFmpeg [won't put JPEG2000 in MXF](http://ffmpeg.org/trac/ffmpeg/ticket/1542), even with the codec enabled.
slhck
CC BY-SA 3.0
2013-02-15T15:08:55.147Z
2013-02-15T15:08:55.147Z
Fred42vid
<p>I'm looking to convert raw, uncompressed video (currently in avi container) into lossless motion jpeg2000 encoded video in an mxf container. I've tried FFMPEG, but don't think it can do this. What's the best method for transcoding on Linux?</p>

<p>FFMPEG command tried:<br />
 <code>ffmpeg -i Glueck_Newsreel.avi -vcodec libopenjpeg -acodec copy ms0001.mxf</code></p>

<p>Errors:<br />
<code>[mxf @ 0x1f43a00] track 0: could not find essence container ul, codec not currently supported in container</code><br />
<code>Could not write header for output file #0 (incorrect codec parameters ?)</code></p>

<ffmpeg><transcoding>
Convert Uncompressed AVI to JPEG2000 in MXF
Nathan
# Convert Uncompressed AVI to JPEG2000 in MXF

(Asked by: username_0 on 2013-02-14)

I'm looking to convert raw, uncompressed video (currently in avi container) into lossless motion jpeg2000 encoded video in an mxf container. I've tried FFMPEG, but don't think it can do this. What's the best method for transcoding on Linux?

FFMPEG command tried:  
`ffmpeg -i Glueck_Newsreel.avi -vcodec libopenjpeg -acodec copy ms0001.mxf`

Errors:  
`[mxf @ 0x1f43a00] track 0: could not find essence container ul, codec not currently supported in container`  
`Could not write header for output file #0 (incorrect codec parameters ?)`

**Tags:** ffmpeg, transcoding


---

## 1 answers

### Answer by username_1 on 2013-02-15. Score: 1 | Accepted answer

The JPEG 2000 codec in FFMPEG is still experimental. To use it you would have to compile FFMPEG by yourself with a special option enabled.

But you could use [OpenDCP](http://opendcp.org/), which has it's [documentation here](http://code.google.com/p/opendcp/wiki/Documentation). It needs TIFF images and WAV files as input, that you can produce with FFMPEG. The resulting MXF can be tested with the [easyDCP player](http://www.iis.fraunhofer.de/en/bf/bsy/download/easydcpplayer.html).

OpenDCP is available on all mayor platforms, but the easyDCP player only on Windows/Mac. But perhaps this is still an option for you, since you only need to run the easyDCP player once (on a friend's PC), just to be sure that the OpenDCP output is "according to the standard".

> **Comments:**
> **username_2**: FFmpeg [won't put JPEG2000 in MXF](http://ffmpeg.org/trac/ffmpeg/ticket/1542), even with the codec enabled.  

---

