Configuration:
pumukit_encoder:
delete_inbox_files: false
max_execution_job_seconds: 86400
thumbnail:
width: 768
height: 432
cpus:
local:
host: 127.0.0.1
profiles:
master_copy:
display: false
wizard: true
master: true
tags: copy
resolution_hor: 0
resolution_ver: 0
framerate: 0
channels: 1
audio: false
bat: 'cp "{{input}}" "{{output}}"'
streamserver:
name: Localmaster
type: store
host: 127.0.0.1
description: Local master server
dir_out: "%pumukit.masters%"
app: cp
rel_duration_size: 1
rel_duration_trans: 1
master_video_h264:
display: false
wizard: true
master: true
format: mp4
codec: h264
mime_type: 'video/x-mp4'
extension: mp4
resolution_hor: 0
resolution_ver: 0
bitrate: 1 Mbps
framerate: 25
channels: 1
audio: false
bat: |
ffmpeg -y -i "{{input}}" -acodec aac -vcodec libx264 -preset slow -crf 15 -threads 0 "{{output}}"
streamserver:
name: Localmaster
type: store
host: 127.0.0.1
description: Local master server
dir_out: "%pumukit.masters%"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
broadcastable_master:
display: true
wizard: true
master: true
target: PUCHWEBTV
format: mp4
codec: h264
mime_type: 'video/x-mp4'
extension: mp4
resolution_hor: 0
resolution_ver: 0
bitrate: 1 Mbps
framerate: 25
channels: 1
audio: false
bat: |
ffmpeg -y -i "{{input}}" -acodec aac -vcodec libx264 -preset slow -crf 22 -movflags faststart -threads 0 "{{output}}"
streamserver:
name: Localhost
type: download
host: 127.0.0.1
description: Local download server
dir_out: "%pumukit.downloads%"
url_out: "/storage/downloads"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
video_h264:
display: true
wizard: true
master: false
tags: html5 podcast
target: PUCHWEBTV PUCHPODCAST
format: mp4
codec: h264
mime_type: 'video/x-mp4'
extension: mp4
resolution_hor: 0
resolution_ver: 0
bitrate: 1 Mbps
framerate: 25
channels: 1
audio: false
bat: |
ffmpeg -y -i "{{input}}" -acodec aac -vcodec libx264 -preset slow -crf 22 -movflags faststart -threads 0 "{{output}}"
streamserver:
name: Localhost
type: download
host: 127.0.0.1
description: Local download server
dir_out: "%pumukit.downloads%"
url_out: "/storage/downloads"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
audio_aac:
display: true
wizard: true
master: false
tags: html5 audio podcast
target: PUCHWEBTV PUCHPODCAST*
format: mp4
codec: aac
mime_type: 'audio/x-mp4'
extension: m4a
resolution_hor: 0
resolution_ver: 0
bitrate: 1 Mbps
framerate: 0
channels: 1
audio: true
bat: |
ffmpeg -y -i "{{input}}" -acodec aac -vn -threads 0 "{{output}}"
streamserver:
name: Localhost
type: download
host: 127.0.0.1
description: Local download server
dir_out: "%pumukit.downloads%"
url_out: "/storage/downloads"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
sbs:
display: true
wizard: false
master: false
tags: html5, sbs, podcast
format: mp4
codec: aac
mime_type: 'video/x-mp4'
extension: mp4
resolution_hor: 0
resolution_ver: 0
bitrate: 1 Mbps
framerate: 0
channels: 1
audio: false
bat: |
ffmpeg -i {{ properties.opencastinvert ? tracks_video['presenter/delivery'] : tracks_video['presentation/delivery'] }} -i {{ properties.opencastinvert ? tracks_video['presentation/delivery'] : tracks_video['presenter/delivery'] }} -filter_complex "[0:v]scale=640:-1[a],[a]pad=1280:720:0:120+((480-in_h)/2) [bg],[1:v]scale=640:-1[b],[bg][b]overlay=w:120+((480-h)/2)" -r 25 -vcodec libx264 -preset medium -crf 22 -maxrate 1100k -bufsize 1835k -acodec aac -ac 2 -ar 44100 -b:a 128k -f mp4 -y "{{output}}"
streamserver:
name: Localhost
type: download
host: 127.0.0.1
description: Local download server
dir_out: "%pumukit.downloads%"
url_out: "/storage/downloads"
app: ffmpeg
rel_duration_size: 1
rel_duration_trans: 1
target_default_profiles:
PUCHWEBTV:
audio: "audio_aac"
video: "video_h264"
PUCHPODCAST:
audio: "audio_aac"
video: "video_h264 audio_aac"
delete_inbox_files
Delete imported inbox files
thumbnail
width
Width resolution of thumbnailthumbnail
height
Height resolution of thumbnail
{cpuName} - Name of the CPU
cpus
{cpuName}
host
Encoder Hostnames (or IPs)cpus
{cpuName}
max
Top for the maximum number of concurrent encoding jobscpus
{cpuName}
type
Type of the encoder host (linux, windows or gstreamer). Accepted values: [CpuService::TYPE_LINUX, CpuService::TYPE_WINDOWS, CpuService::TYPE_GSTREAMER]cpus
{cpuName}
user
Specifies the user to log in as on the remote encoder hostcpus
{cpuName}
password
Specifies the password to log in as on the remote encoder hostcpus
{cpuName}
profiles
Array of profiles. If set, only the profiles listed will be transcoded here
{profileName} - Profile name {streamserverName} - StreamServer name
profiles
{profileName}
generate_pic
When false, mmobj pics will not be generated from tracks generated using this profileprofiles
{profileName}
nocheckduration
When true, the usual duration checks are not performed on this profile.profiles
{profileName}
display
Displays the trackprofiles
{profileName}
wizard
Shown in wizardprofiles
{profileName}
master
The track is master copyprofiles
{profileName}
downloadable
The track generated is downloadableprofiles
{profileName}
target
Profile is used to generate a new track when a multimedia object is tagged with a publication channel tag name with this value. List of namesprofiles
{profileName}
tags
Tags used in tracks created with this profilesprofiles
{profileName}
format
Format of the trackprofiles
{profileName}
codec
Codec of the trackprofiles
{profileName}
mime_type
Mime Type of the trackprofiles
{profileName}
extension
Extension of the track. If empty the input file extension is used.profiles
{profileName}
resolution_hor
Horizontal resolution of the track, 0 if it depends from original videoprofiles
{profileName}
resolution_ver
Vertical resolution of the track, 0 if it depends from original videoprofiles
{profileName}
bitrate
Bit rate of the trackprofiles
{profileName}
framerate
Framerate of the trackprofiles
{profileName}
channels
Available Channelsprofiles
{profileName}
audio
The track is only audioprofiles
{profileName}
bat
Command line to execute transcodification of track. Available variables: {{input}}, {{output}}, {{tmpfile1}}, {{tmpfile2}}, ... {{tmpfile9}}.profiles
{profileName}
file_cfg
Configuration fileprofiles
{profileName}
streamserver
Type of streamserver for transcodification and dataprofiles
{profileName}
streamserver
{streamserverName}
profiles
{profileName}
streamserver
{streamserverName}
type
Streamserver type. Values accepted: [ProfileService::STREAMSERVER_STORE, ProfileService::STREAMSERVER_DOWNLOAD, ProfileService::STREAMSERVER_WMV, ProfileService::STREAMSERVER_FMS, ProfileService::STREAMSERVER_RED5, ]profiles
{profileName}
streamserver
{streamserverName}
host
Streamserver Hostname (or IP)profiles
{profileName}
streamserver
{streamserverName}
description
Streamserver Hostname (or IP)profiles
{profileName}
streamserver
{streamserverName}
description
Streamserver host descriptionprofiles
{profileName}
streamserver
{streamserverName}
dir_out
Directory path of resulting trackprofiles
{profileName}
streamserver
{streamserverName}
url_out
URL of resulting trackprofiles
{profileName}
app
Application to executeprofiles
{profileName}
rel_duration_size
Relation between duration and size of trackprofiles
{profileName}
rel_duration_trans
Relation between duration and trans of trackprofiles
{profileName}
prescript
Pre-script to execute