freeMXF.org

Open discussion about freeMXF.org tools and MXF in general
It is currently Mon Dec 30, 2024 5:52 pm
Board index » MXF Categories » freeMXF.org Tools



Post new topic Reply to topic  [ 10 posts ] 
Author
Search for:
Message

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Thu Apr 20, 2006 11:06 am 
Top  
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.

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Thu Apr 20, 2006 12:21 pm 
Top  
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.

 Profile WWW  

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Fri Apr 21, 2006 4:43 am 
Top  
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?

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Fri Apr 21, 2006 7:35 am 
Top  
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

 Profile WWW  

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Fri Apr 21, 2006 8:43 am 
Top  
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.

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Fri Apr 21, 2006 12:05 pm 
Top  
Have you re-built the library and utilities after installing the patched source files?

 Profile WWW  

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Mon Apr 24, 2006 6:44 am 
Top  
Yes, I have:(

 Profile  

Offline
Insider

Joined: Thu Apr 15, 2004 10:39 am
Posts: 198
Location: Scotland

Post Posted: Mon Apr 24, 2006 10:09 am 
Top  
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.

 Profile WWW  

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Mon Apr 24, 2006 11:44 am 
Top  
Of course you can.
Thank you so much:)

 Profile  

Offline
Board User

Joined: Sun Feb 19, 2006 4:55 am
Posts: 7

Post Posted: Tue Apr 25, 2006 7:03 am 
Top  
I have got the sources and it works well!
Thank you so much.

 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

Jump to:  


Who is online

Users browsing this forum: No registered users and 7 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group :: Style based on FI Subice by phpBBservice.nl :: All times are UTC