[FFmpeg-user] Introduction and problem with decoding DCP (jpeg2000 wrapped in MXF)

Carles Vila cvilad at gmail.com
Thu Oct 23 10:16:46 CEST 2014


Hi all,
This is my first message, nice to meet you all.
We've been using ffmpeg and ffmbc in our small postproduction company for
quite some time. We use it for many tasks.

I remember having used ffmpeg to convert a picture mxf from a DCP to
ProRes. ffmpeg detected the XYZ colorspace fine and converted it OK to YUV,
so the Prores looked gorgeous.
Now I'm trying with another DCP, but ffmpeg fails to see that the mxf is in
XYZ, but sees RGB.

ffmpeg -i INPUT_j2c.mxf -s 1920*1080 -vcodec prores -profile:v 3 -an
OUTPUT.mov

ffmpeg version 2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 22 2014 15:41:47 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/2.4.2 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-nonfree
--enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang
--host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac
--enable-libmp3lame --enable-libxvid --enable-libfreetype
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-librtmp
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-aacenc
--enable-libass --enable-ffplay --enable-libspeex --enable-libschroedinger
--enable-libfdk-aac --enable-libopus --enable-frei0r --enable-libopenjpeg
--disable-decoder=jpeg2000
--extra-cflags='-I/usr/local/Cellar/openjpeg/1.5.1_1/include/openjpeg-1.5 '
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100




Code: [Select]
Metadata:
    uid             : 0365d3e4-5e72-4229-8b3d-cd8ada6ace94
    generation_uid  : 0497c548-2c85-4bd0-a915-2f1d65a0ffaf
    company_name    : Fraunhofer IIS
    product_name    : easyDCP Creator
    product_version : 2.2.3
    product_uid     : 7d836e16-37c7-4c22-b2e0-46a717e84f42
    modification_date: 2014-10-08 14:40:08
    application_platform: i386-apple-darwin9.8.0
    timecode        : 00:00:00:00
  Duration: 00:19:18.58, start: 0.000000, bitrate: 222669 kb/s
    Stream #0:0: Video: jpeg2000, rgb48le(12 bpc), 1998x1080, 24 tbr, 24
tbn, 24 tbc

Now, the resulting Quicktime is wrong color-wise. (That greenish look)
Is there any way to force ffmpeg that it interprets the input as XYZ?

Thanks!!


More information about the ffmpeg-user mailing list