1 (edited by maty974 2014-11-21 11:46:29)

Topic: Unable to determine essence type - MXF creation failed

Hi,

I'm trying to generate a Stereo JPG2000 MXF file from generated J2C file from opendcp_j2k command line,
but it is not working sad and I get some message when setting level to debug :

...
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0245.j2c
20141121033601 | DEBUG | asdcp_intf.cpp:145                         | get_file_essence_class         | Reading file EssenceType: //NWAVE
20141121033601 | DEBUG | asdcp_intf.cpp:155                         | get_file_essence_class         | Unable to determine essence type
20141121033601 |  INFO | opendcp_mxf_cmd.c:460                      | main                           | Could not create MXF file

don't know if it's normal but in the debug output I also see the get_filelist is not ordered correctly:

...20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0221.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0114.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0008.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0255.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0106.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0132.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0282.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0291.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0016.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0211.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0062.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0207.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0223.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0262.j2c
20141121033601 | DEBUG | opendcp_cli.c:154                          | get_filelist                   | Adding file other_280_282_confo_edit_for_jp2k_scope_dcdm_3D_int_r.0245.j2c
...

and the image sequence start from 0001 to 0299

Here are the steps I'm following to produce the DCP:

opendcp_j2k -i path_to_tif_left_image -o path_to_j2c_left_image --rate 24 --profile cinema2k --no_xyz --bw 250 --colorspace srgb --3d

then same command for right image files...

opendcp_mxf --left path_to_j2c_left_image --right path_to_j2c_right_image -o path_to_the_mxf_file.mxf --ns interop

  < it failed here

Here the configuration:

Linux Fedora 17 or Windows ( same problem )
OpenDCP 0.30.0
CLI

PS: the same procedure using GUI works fine for generate the MXF file ! smile But I need the CLI from now tongue


Thanks for your help!

Re: Unable to determine essence type - MXF creation failed

Any ideas on this one please sad

Re: Unable to determine essence type - MXF creation failed

The GUI and CLI use the same code. It kinda looks like you have a wav file mixed in with your j2c files.

The file ordering is the order the OS lists them. They get sorted by OpenDCP after the are all collected.

Re: Unable to determine essence type - MXF creation failed

Hi

Thanks for your reply, but I don't have any WAV file with my j2c files sad
Where do you see this ?

Previously I was using version OpenDCP 0.26 on windows, so I keep the exact same command line
with the version 0.30.0,  and everything was working fine with 0.26

thanks for your help

5 (edited by darklover 2014-12-05 04:54:56)

Re: Unable to determine essence type - MXF creation failed

The command for j2c is :  (125 mb/s for each eye, and tiff  in X’Y’Z’ colorspace) :

    opendcp_j2k –i yourtiffpath -o yourpathforj2cL -r 24 -x -b 125

for mxf :
opendcp_mxf –i yourpathforj2cL –o example2D.mxf -n interop -r 24    (2D)
or:
opendcp_mxf –1 yourpathforj2cL -2 yourpathforj2cR –o example3D.mxf -n interop -r 24  (3D)

PS: tiff files must be in 2K D-cinema resolution
---

EDIT 05-dec :
just tested and
I confirm, the "mxf 3D" does not work with 0.30 cli   (works with 0.26 )

Re: Unable to determine essence type - MXF creation failed

just tested and
I confirm, the "mxf 3D" does not work with 0.30 cli   (works with 0.26 )

Re: Unable to determine essence type - MXF creation failed

@darklover, thanks for your test

I've made same test again, and got the same problem...

Maybe @tmeiczin can give us some help onto this please ? smile
If more detaisl is needed to debug don't hesitate to ask me.

Thanks a lot

Re: Unable to determine essence type - MXF creation failed

Ok, I will look into this. Thanks.

Re: Unable to determine essence type - MXF creation failed

Hi @tmeiczin,

just wondering if you find a solution about the bug where MXF cannot be created smile

please let me know.

Thanks.

Re: Unable to determine essence type - MXF creation failed

I'm in the middle re-writing a lot of the CLI code, so hopefully it will get fixed with these changes.