Hmm ok that didn't work :-( Might be that I didn't quite understand what was needed. I now have:

# The path to the repository of files used during media processing.
org.opencastproject.file.repo.path=${org.opencastproject.storage.dir}/files

# The interval in milliseconds between two rounds of dispatching in the service registry. The default value is 5s, and # a mimimum value of 1s is enforced due to performance reasons. Set to 0 to disable dispatching from this service
# registry.
#org.opencastproject.serviceregistry.dispatchinterval=5000

# The base URL of the file server. When using a shared filesystem between servers, set all servers to use the same URL. # If this is set to any value other than ${org.opencastproject.admin.ui.url}, the admin and file servers must use a # single sign on (SSO) solution such as CAS to avoid requiring users to perform multiple logins.
org.opencastproject.file.repo.url=${org.opencastproject.admin.ui.url}

But it still fails :-( Did I get something wrong?

David


On 02/16/2012 04:35 PM, David Horwitz wrote:
Thanks Andreas,

In my test one the encoded file was 2.1G so this could be the cause. I've made the change in our dev environment and will report back once the test has run.

D

On 02/16/2012 04:27 PM, [email protected] wrote:
Hi David,

we have been having the same issue for some videos. As you already said, this occurs only with some files, and the reason we found here for the failure is 2fold:

1st the configuration admin-worker: as you already said it only happens there 2nd the limit of 2GB for Jetty downloads: for some reason the worker *downloads* the prepared files, and if they are of a size > 2GB it will cut them at exactly 2GB wich causes the "moov atom not found" error.

Our admin found this to fix the issue:
in
/opt/matterhorn/felix/conf/config.properties
set
org.opencastproject.file.repo.url=${org.opencastproject.admin.ui.url}

as suggested in http://opencast.jira.com/browse/MH-8032

Hope this helps you also, regards, Andreas

David Horwitz schrieb am Thu, 16 Feb 2012 betreff "[Opencast Matterhorn]...":
Hi All,

We're seeing failures on our production instance in encoding certain files. The failure is consistent and always happens at the encoding of the presentation for the hold state preview. The log message looks as follows:

2012-02-16 15:44:28 INFO (AbstractCmdlineEncoderEngine:233) - Executing encoding command: ffmpeg -strict unofficial -i /data/matterhorn/workspace/mediapackage/eeaa4715-e6c5-444e-88eb-4c0835263a25/632f74bf-0dfe-4323-9a5a-ae6f44fbf619/Presentation.mp4 -r 10 -s 320x200 -vcodec flv -b 256000 -ar 11025 /data/matterhorn/workspace/mediapackage/eeaa4715-e6c5-444e-88eb-4c0835263a25/632f74bf-0dfe-4323-9a5a-ae6f44fbf619/Presentation_b36b560a-3e58-4ee1-a17c-5d21f077b3ce-10fps-preview.flv 2012-02-16 15:44:30 INFO (FFmpegEncoderEngine:174) - ffmpeg version 0.8.10, Copyright (c) 2000-2011 the FFmpeg developers 2012-02-16 15:44:30 INFO (FFmpegEncoderEngine:174) - [mov,mp4,m4a,3gp,3g2,mj2 @ 0x13c5760] moov atom not found 2012-02-16 15:44:30 INFO (FFmpegEncoderEngine:174) - /data/matterhorn/workspace/mediapackage/eeaa4715-e6c5-444e-88eb-4c0835263a25/632f74bf-0dfe-4323-9a5a-ae6f44fbf619/Presentation.mp4: Operation not permitted 2012-02-16 15:44:30 WARN (AbstractCmdlineEncoderEngine:269) - Error while encoding video track Presentation.mp4 using 'flash-preview.http': Encoder exited abnormally with status 1 2012-02-16 15:44:30 WARN (ComposerServiceImpl:249) - Error encoding http://mediadev.cet.uct.ac.za/files/mediapackage/eeaa4715-e6c5-444e-88eb-4c0835263a25/632f74bf-0dfe-4323-9a5a-ae6f44fbf619/presentation.mp4 and null


The error seems to happen when some or all of the presentation is the epiphan capture card (seen when no source was connected). I can reliably reproduce this with certain recordings on both our production and development environments (separate admin/worker) but not my local build (all in one). This, with the error "Operation not permitted" suggests some kind of workflow/file repository error - the ffmpeg docs lean towards this being 1 of the files doesn't exist. However this doesn't explain its reproducibility with certain packages and not others.

So far I have verified:

1) The profile creates a valid working copy (i.e ffmpeg isn't encoding to to 0b file)
2) the file doesn't exist at:
/data/matterhorn/workspace/mediapackage/eeaa4715-e6c5-444e-88eb-4c0835263a25/632f74bf-0dfe-4323-9a5a-ae6f44fbf619/Presentation.mp4 But I don't know if one expects it to be cleaned up after the failure ...


Any help in solving this is apreciated

David



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


To unsubscribe please email
[email protected]
_______________________________________________


-----------------------
[email protected]
01/58801 DW 41523
mobil: 0664/60 588 4523
TU Wien
DVR-Nummer: 0005886
-----------------------
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________


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


To unsubscribe please email
[email protected]
_______________________________________________


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


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to