On 4/6/2012 12:16 AM, Kristof Keppens wrote:
> In case something like that happens we reupload the media.zip ( should
> be in the folder of the capture ) file with curl.
> If you are using opencast 1.2 just do
> curl -v -s -H "X-Requested-Auth: Digest" --digest -u user:pass -F
> "[email protected]" http://opencastinstall:port/ingest/addZippedMediaPackage
> from the folder of the capture and replace
> user/pass/opencastinstall/port with your correct parameters.

This will work, but it doesn't specify the workflow ID; you will end up
with two rows in the admin UI, one stuck in capturing and one
processing.  You can also specify the workflow definition ID, which lets
you use workflow definitions other than the default.  The additional
parameters are these two:

-F "workflowInstanceId=$workflowInstanceId", eg: -F
"workflowInstanceId=1234"
-F "workflowDefinitionId=$workflowDefinitionID", eg: -F
"workflowDefinitionId=full"

Other options, like hold for trim, are passed if they are present in the
org.opencastproject.capture.agent.properties file.  You're looking for
lines which start with org.opencastproject.workflow.config.(.*), and you
want to pass that part at the end, with its value to curl.  An example:

org.opencastproject.capture.agent.properties contains the following line:

org.opencastproject.workflow.config.some.example.property=true

You would add the following to cURL's commandline:

-F "some.example.property=true"

> There might be better options and this may not work for 1.3 but this is
> what we do when this happens.

I would certainly hope it works with 1.3 since this is basically what we
do in the CA code ;)

G

> Kristof
> 
> 
> On 04/06/2012 03:46 AM, Wei Yao (RIT Student) wrote:
>> Hi,
>>
>> I hope someone could help me.
>>
>> This is how it happened. There is a communication error during a
>> scheduled recording in our system. So the capture agent was working,
>> but the server said "Warning: recording may have failed to start or
>> ingest!". After I solved the communication problem, there is a new
>> item shows in recordings list. It has the same title, presenter,
>> series with the failed recording but different id. After several
>> minutes,  the workflow of the new item stuck on "Processing : Encoding
>> medium quality presentation (screen)". And the state of the original
>> recording keeps "WARNING: ..."
>>
>> Since the capture agent keeps the raw recording files.  How can I let
>> the capture agent resend the recording?
>>
>> Thank you very much.
>>
>> Wei
>>
>> -- 
>>
>> ------------------------------------
>>   Wei Yao                     __o
>>                             _`\<,_
>> wxy3806(AT)rit.edu         (*)/ (*)
>> ------------------------------------
>>
>>
>>
>> _______________________________________________
>> Matterhorn-users mailing list
>> [email protected]
>> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users
> 
> 
> 
> _______________________________________________
> Matterhorn-users mailing list
> [email protected]
> http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to