freeMXF.org
http://freemxf.org/forum/

can not pack jp2 file???
http://freemxf.org/forum/viewtopic.php?f=2&t=49
Page 1 of 1

Author:  sue [ Thu Apr 20, 2006 11:06 am ]
Post subject:  can not pack jp2 file???

I want to wrap a jp2 file, but it appears as follows:

"ERROR:XML FATAL ERROR:Failed to load dictionary "dict.xml"

ERROR:Orthodox dictionary failed to load"

I don't know why.

I have changed the code at Line 568 of esp_jp2k.cpp according to what you say.

Author:  Matt Beard [ Thu Apr 20, 2006 12:21 pm ]
Post subject: 

That simply means that the dictionary file failed to load - under windows it will look in the current working directory for dict.xml, under Linux it will look in the directory /usr/local/share/mxflib.

In all cases the directory can be overridden by setting the MXFLIB_DATA_DIR environment variable.

Author:  sue [ Fri Apr 21, 2006 4:43 am ]
Post subject: 

Thank you,
I have load the file "dict.xml".
but new errors appears:
"
mxflib file wrapper

kagsize=1

input file=1.jp2
output file=1.mxf

output op=op1a
ERROR:NO BODY!
.......
.......
ERROR:NO BODY!
ERROR:Metadata Object "Preface/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "TimecodeComponent/InstanceUID" should be a
reference target <a UUID>,but has size 0
ERROR:Metadata Object "Sequence/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Track/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "SourceClip/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Sequence/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Track/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "MaterialPackage/InstanceUID" should be a
reference target <a UUID>,but has size 0
ERROR:Metadata Object "TimecodeComponent/InstanceUID" should be a
reference target <a UUID>,but has size 0
ERROR:Metadata Object "Sequence/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Track/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "SourceClip/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Sequence/InstanceUID" should be a reference
target <a UUID>,but has size 0
ERROR:Metadata Object "Track/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "SourcePackage/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "JPEG2000PictureSubDescriptor/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "RGBAEssenceDescriptor/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "MultipleDescriptor/InstanceUID" should be a
reference target <a UUID>,but has size 0
ERROR:Metadata Object "EssenceContainerData/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:Metadata Object "ContentStorge/InstanceUID" should be a reference target <a UUID>,but has size 0
ERROR:NO BODY!
ERROR:NO BODY!
.......................
"
where may the problem lie in?
May it be that the jp2 file format I wrapp is not standard?

Author:  Matt Beard [ Fri Apr 21, 2006 7:35 am ]
Post subject: 

This looks like the template problem with Visual Studio version 6.

If you are using MSVC 6 you will need to download the file mxflib-beta-0.6.0-patch.zip from the 0.6.0-Beta download section.

Hope this helps

Author:  sue [ Fri Apr 21, 2006 8:43 am ]
Post subject: 

Before I run it ,I have downloaded the patch files,and already replace the three files in mxflib.
So it shouldn't because of this.

Author:  Matt Beard [ Fri Apr 21, 2006 12:05 pm ]
Post subject: 

Have you re-built the library and utilities after installing the patched source files?

Author:  sue [ Mon Apr 24, 2006 6:44 am ]
Post subject: 

Yes, I have:(

Author:  Matt Beard [ Mon Apr 24, 2006 10:09 am ]
Post subject: 

Can I e-mail you a new set of sources for you to try?

It will be a little under 500k and I propose to send it to the e-mail address you used when you signed up for this board.

Is this OK?

Also it would help to know what compiler and OS version you are using.

Author:  sue [ Mon Apr 24, 2006 11:44 am ]
Post subject: 

Of course you can.
Thank you so much:)

Author:  sue [ Tue Apr 25, 2006 7:03 am ]
Post subject: 

I have got the sources and it works well!
Thank you so much.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/