Steve,
That Dublin Core same linked from that sample media package seems to have good
name spacing.
But, I notice the "dcterm:created" value in sample Dublin core doesn't have
full W3CDTF ISODateTimeFormat format.
I'm not positive, but I recall having problems with this and checking that the
T and Z got set in the date string.
From the linked sample file:<dcterms:created
xsi:type="dcterms:W3CDTF">2010-05-11</dcterms:created>
Example from one of our files (from the dawn of time): <dcterms:created
xsi:type="dcterms:W3CDTF">1970-01-01T00:00Z</dcterms:created>
The parsing code in the
org.opencastproject.metadata.dublincore.EncodeingSchemeUtils:
private static Date parseW3CDTF(String value) {
return ISODateTimeFormat.dateTimeParser().parseDateTime(value).toDate();
}
Javadoc on ISODateTimeFormat.dateTimeParser().parseDateTime():
http://joda-time.sourceforge.net/api-release/org/joda/time/format/ISODateTimeFormat.html#dateTime()
... a full date and time, separated by a 'T' (yyyy-MM-dd'T'HH:mm:ss.SSSZZ).
The time zone offset is 'Z' for zero, and of the form '±HH:mm' for non-zero.
The parser is strict by default, thus time string|24:00| cannot be parsed.
Snipped from the sample mediapackage:
http://opencast.jira.com/wiki/display/MH/Sample+Media:|
||<catalog id=||"catalog-1"| |type=||"dublincore/episode"||>||
||<mimetype>text/xml</mimetype>||
||<url>http:||//downloads.opencastproject.org/media/metaU_dublincore.xml</url>||
||</catalog>
The referenced dublin core file
(|http://downloads.opencastproject.org/media/metaU_dublincore.xml):
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<dublincore xmlns="http://www.opencastproject.org/xsd/1.0/dublincore/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<dcterms:extent xsi:type="dcterms:ISO8601">PT0S</dcterms:extent>
<dcterms:created xsi:type="dcterms:W3CDTF">2010-05-11</dcterms:created>
<!-- shortened date in the sample file -->
<dcterms:title>Meta University</dcterms:title>
</dublincore>
Best of luck!
Karen
On 10/15/2012 1:59 PM, [email protected] wrote:
Send Matterhorn-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Matterhorn-users digest..."
Today's Topics:
1. Re: Matterhorn-users Digest, Vol 27, Issue 9 (Steve Brignall)
2. Re: Matterhorn-users Digest, Vol 27, Issue 9 (Greg Logan)
3. TheRec issues (Per Pascal Grube)
4. Re: TheRec issues (Per Pascal Grube)
----------------------------------------------------------------------
Message: 1
Date: Mon, 15 Oct 2012 12:42:02 +0100
From: "Steve Brignall" <[email protected]>
To: <[email protected]>
Subject: Re: [Matterhorn-users] Matterhorn-users Digest, Vol 27, Issue
9
Message-ID:
<82b97d04757118408066ade21928aa8301425...@mx-met-exch1.scisys.co.uk>
Content-Type: text/plain;charset="us-ascii"
Hi
I've installed Matterhorn and now I'm trying to upload (ingest) some
sample videos taken from the Opencast site
(http://opencast.jira.com/wiki/display/MH/Sample+Media). I'm trying to
ingest the media files (MP4, M4A) but I've also tried to load the sample
mediapackage XML itself - nothing works. I am using the Admin interface
but I keep getting "Could not add DublinCore catalog to MediaPackage" on
the UI and the following exception on the server:
12:23:32 ERROR (IngestRestService:878) - Unable to update ingest job
org.opencastproject.ingest.api.IngestException: Unable to update ingest
job
at
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
ceImpl.java:541)
...
Caused by: java.lang.NullPointerException
at
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateIn
ternal(ServiceRegistryJpaImpl.java:526)
at
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateJo
b(ServiceRegistryJpaImpl.java:489)
at
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
ceImpl.java:539)
I can't find any user documentation that relates to what I should be
trying to upload, other than the videos. Am I doing something wrong?
I also get a number of warnings on startup, for example:
12:25:49 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.scheduler on host
12:25:50 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.episode on host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.search on host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.usertracking on
host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.caption on host
12:25:52 WARN (UserAndSeriesLoader$Loader:174) - Unable to find series
dublin core
I switched DEBUG on and I get these:
DEBUG: Bundle matterhorn-series-service-api [97]
META-INF/javamail.providers not found by matterhorn-series-service-api
[97]
DEBUG: Bundle matterhorn-series-service-api [97]
META-INF/javamail.default.providers not found by
matterhorn-series-service-api [97]
DEBUG: Bundle matterhorn-series-service-api [97] /META-INF/mailcap not
found by matterhorn-series-service-api [97]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53]
org/apache/cxf/bus/spring/cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
Any ideas?
Steve
SCISYS UK Limited. Registered in England and Wales No. 4373530.
Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.
Before printing, please think about the environment.
------------------------------
Message: 2
Date: Mon, 15 Oct 2012 11:22:05 -0600
From: Greg Logan <[email protected]>
To: [email protected]
Subject: Re: [Matterhorn-users] Matterhorn-users Digest, Vol 27, Issue
9
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
Hi Steve,
Which version of Matterhorn are you using? We added some namespaces to
the mediapackage format with 1.4, so if you're just copy and pasting
that into a 1.3 or older core then it won't work as expected!
G
On 12-10-15 05:42 AM, Steve Brignall wrote:
Hi
I've installed Matterhorn and now I'm trying to upload (ingest) some
sample videos taken from the Opencast site
(http://opencast.jira.com/wiki/display/MH/Sample+Media). I'm trying to
ingest the media files (MP4, M4A) but I've also tried to load the sample
mediapackage XML itself - nothing works. I am using the Admin interface
but I keep getting "Could not add DublinCore catalog to MediaPackage" on
the UI and the following exception on the server:
12:23:32 ERROR (IngestRestService:878) - Unable to update ingest job
org.opencastproject.ingest.api.IngestException: Unable to update ingest
job
at
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
ceImpl.java:541)
...
Caused by: java.lang.NullPointerException
at
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateIn
ternal(ServiceRegistryJpaImpl.java:526)
at
org.opencastproject.serviceregistry.impl.ServiceRegistryJpaImpl.updateJo
b(ServiceRegistryJpaImpl.java:489)
at
org.opencastproject.ingest.impl.IngestServiceImpl.addCatalog(IngestServi
ceImpl.java:539)
I can't find any user documentation that relates to what I should be
trying to upload, other than the videos. Am I doing something wrong?
I also get a number of warnings on startup, for example:
12:25:49 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.scheduler on host
12:25:50 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.episode on host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.search on host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.usertracking on
host
12:25:51 WARN (ServiceRegistryJpaImpl$RestServiceTracker:1270) - Unable
to register job producer of type org.opencastproject.caption on host
12:25:52 WARN (UserAndSeriesLoader$Loader:174) - Unable to find series
dublin core
I switched DEBUG on and I get these:
DEBUG: Bundle matterhorn-series-service-api [97]
META-INF/javamail.providers not found by matterhorn-series-service-api
[97]
DEBUG: Bundle matterhorn-series-service-api [97]
META-INF/javamail.default.providers not found by
matterhorn-series-service-api [97]
DEBUG: Bundle matterhorn-series-service-api [97] /META-INF/mailcap not
found by matterhorn-series-service-api [97]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53] cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
DEBUG: Bundle org.apache.cxf.bundle-jaxrs [53]
org/apache/cxf/bus/spring/cxf.xml not found by
org.apache.cxf.bundle-jaxrs [53]
Any ideas?
Steve
SCISYS UK Limited. Registered in England and Wales No. 4373530.
Registered Office: Methuen Park, Chippenham, Wiltshire SN14 0GB, UK.
Before printing, please think about the environment.
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL:
<http://lists.opencastproject.org/pipermail/matterhorn-users/attachments/20121015/238c7983/attachment-0001.bin>
------------------------------
_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users