On 11-10-11 07:20 AM, Pawel Fic wrote:
> Hi,
>
> I am using /addZippedMediaPackage to upload my recordings to Matterhorn.
> But I do not want to .zip 500 MB H.264 files.
>
> I have tried:
> POST /addMediaPackage/{wdID}
> and
> POST /addMediaPackage
>
> But both those create new entry in a list of recordings (those create media
> package). Same thing happened with "addZippedMediaPackage" when I omitted
> "workflowInstanceId". But it looks like there is no "workflowInstanceId" in
> addMediaPackage.
> What am I missing?
> This endpoint requires that the mediapackage be zipped because the zipfile needs to contain the dublin core metadata file attached to the ical event. The workflow ID path parameter in the endpoint should be set to the ical event's UID field. An example cURL command I use elsewhere: curl.exe -s --stderr -o /dev/null --digest -u $USERNAME:$PASSWORD -H "X-Requested-Auth: Digest" -F "workflowInstanceId=$workflowInstanceId" -F "workflowDefinitionId=$workflowDefinitionID" -F "BODY=@$outputZipfile" $INGEST_ENDPOINT Where $workflowInstanceId is the relevant ical event's UID, and $workflowDefinitionID is the workflow you wish to trigger (this is in the other file attached to the ical event). > Question is: > How to ingest media package, when recording is scheduled, entry (ID) exists, > and without using addZippedMediaPackage - where there is "workflowInstanceId" > parameter. I believe the other endpoints in the /ingest bundle still work, so you should be able to create a media package, add a track, then ingest it using three REST calls. All of our other methods require zipping as far as I know. G > > -Pawel > > _______________________________________________ > Matterhorn mailing list > [email protected] > http://lists.opencastproject.org/mailman/listinfo/matterhorn > > > To unsubscribe please email > [email protected] > _______________________________________________
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
