forked from DSpace/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged in DSC-1619 (pull request DSpace#2224)
DSC-1619 Approved-by: Giuseppe Digilio
- Loading branch information
Showing
12 changed files
with
267 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# EXAMPLE "local-orchestrator-<env>.cfg" for the 4Science DSpace Orchestrator Addon. | ||
|
||
solr-database-resync.cron = - | ||
related-item-enhancer-poller.enabled = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#---------------------------------------------------------------# | ||
#-------------AV STREAMING CONFIGURATIONS-----------------------# | ||
#---------------------------------------------------------------# | ||
# Configuration properties used by the AV Streaming viewer # | ||
# This configuration file is related to the 4Science AV addon # | ||
# for more information see https://4science.com/dspace-add-ons/ # | ||
#---------------------------------------------------------------# | ||
|
||
video.valid-mimetype = video/webm, video/x-matroska, video/mpeg, video/quicktime,\ | ||
video/mp4, video/x-msvideo, video/x-flv, video/divx, video/3gpp, video/avi | ||
|
||
audio.valid-mimetype = audio/x-mpeg, audio/x-pn-realaudio, audio/mpeg, audio/x-aiff,\ | ||
audio/basic, audio/x-wav, audio/mp4, audio/ogg, audio/flac,\ | ||
audio/aac, audio/ac3, audio/x-ms-wma, audio/vnd.wave, audio/mp3,\ | ||
video/ogg | ||
|
||
|
||
# Only subtitles in VTT format are supported by the Video JS Player | ||
subtitles.supported.mimetypes = text/vtt | ||
|
||
audiowaveform.path = /usr/bin/audiowaveform | ||
ffmpeg.path = /usr/bin/ffmpeg | ||
ffprobe.path = /usr/bin/ffprobe | ||
m4box.path = /usr/bin/MP4Box | ||
|
||
stream-hq.height = 720 | ||
stream-hq.width = 1280 | ||
stream-mq.height = 480 | ||
stream-mq.width = 640 | ||
stream-lq.height = 180 | ||
stream-lq.width = 320 | ||
stream-original.enabled = true | ||
|
||
# use the follow configuration when the curation task have to work only on a certain bundle name | ||
#input-audio-bundle-name = ORIGINAL | ||
#input-video-bundle-name = ORIGINAL | ||
|
||
# use the following to edit the max width for a thumbnail (Default is 500px) | ||
# Height is set to keep the aspect ratio so it cannot be edited | ||
|
||
filter-media.video.thumbnail.max-width = 500 | ||
filter-media.audio.thumbnail.max-width = 200 | ||
filter-media.audio.thumbnail.max-height = 100 | ||
|
||
# The following configuration allows to skip the retrieval | ||
# of several scenes in a specified time period (seconds) | ||
#scene.discading.interval = 30 | ||
|
||
scene.thumbnail.max-width = 500 | ||
video.thumbnail.max-number = 20 | ||
|
||
### Configure the transcribe service ### | ||
|
||
# Choose the correct service plugin | ||
av-stream.transcribe-service.plugin = whisper-service | ||
#av-stream.transcribe-service.plugin = aws-transcribe-service | ||
|
||
|
||
### WHISPER Transcribe Configuration ### | ||
|
||
whisper.fullpath = ~/.local/bin/whisper | ||
|
||
### Whisper models are: tiny - base - small - medium - large | ||
whisper.default.transcription-model = base | ||
|
||
whisper.transcription-format = vtt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
<dspace-dc-types> | ||
|
||
<dspace-header> | ||
<title>DSpace Audio/Video Addon Schema</title> | ||
<contributor.author>Stefano Maffei</contributor.author> | ||
</dspace-header> | ||
|
||
<dc-schema> | ||
<name>bitstream</name> | ||
<namespace>https://4science.it/audiovideo</namespace> | ||
</dc-schema> | ||
|
||
<dc-schema> | ||
<name>dash</name> | ||
<namespace>https://4science.it/dash</namespace> | ||
</dc-schema> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>dashbundle</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>dash</schema> | ||
<element>manifest</element> | ||
<qualifier></qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>height</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>width</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>duration</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>format</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>codec</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>fps</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>audioformat</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>video</element> | ||
<qualifier>audiocodec</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>audio</element> | ||
<qualifier>peaks</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>scene</element> | ||
<qualifier>timestamp</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>category</element> | ||
<qualifier></qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>transcribe</element> | ||
<qualifier>request</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>transcribe</element> | ||
<qualifier>processed</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>whisper</element> | ||
<qualifier>model</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>transcribe</element> | ||
<qualifier>request</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>transcribe</element> | ||
<qualifier>processed</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
<dc-type> | ||
<schema>bitstream</schema> | ||
<element>whisper</element> | ||
<qualifier>model</qualifier> | ||
<scope_note></scope_note> | ||
</dc-type> | ||
|
||
</dspace-dc-types> |
Oops, something went wrong.