We're updating the issue view to help you get more done. 

Composite WOH encoding profile failed

Steps to reproduce

Steps to reproduce:
1.Use composite.http profile in the composite WOH like in the documentation
2. For testing purposes composite enc profile can be used instead of mp4-preview.dual.http in the default ng-schedule-and-upload workflow

Actual Results:
ffmpeg failed with
Executing encoding command: /home/stefanos/bin/ffmpeg -nostats -i /opt/opencast/data/opencast/workspace/mediapackage/26826c57-f821-42bb-9008
-7274f16e71f1/a9e78ff3-e463-4e97-a147-5f24ae1ee3c9/presenter_a9e78ff3_e463_4e97_a147_5f24ae1ee3c9.mp4 -filter:v -i /opt/opencast/data/opencast/workspace/mediapackage/26826c57-f821-42bb-9008-7274f16e71f1/e66e755e
-e5bc-4697-aeea-a85d0aaa9a86/presentation_2085b4c4_44f4_4487_b5da_616d08302663.mp4 -filter_complex [0:v]scale=480:270,pad=1280:720:0:60:blue[lower];[1:v]scale=800:600[upper];[lower][upper]overlay=480:60[video];m
ovie=/opt/opencast/data/opencast/workspace/mediapackage/26826c57-f821-42bb-9008-7274f16e71f1/a89012d5-9ba5-4f4a-91a7-c84129d186e9/coverimage.png[watermark];[video][watermark]overlay=0:0[out];[0:a][1:a]amix=input
s=2[aout] -map [out] -map [aout] -c:a flac -c:v libx264 -crf 10 -preset fast /opt/opencast/data/opencast/workspace/mediapackage/26826c57-f821-42bb-9008-7274f16e71f1/a9e78ff3-e463-4e97-a147-5f24ae1ee3c9/presenter
_a9e78ff3_e463_4e97_a147_5f24ae1ee3c9_34e2f94f-50ac-4596-b07b-f82b0fef66e1-compound.mkv
2016-09-26 11:39:52,331 | INFO | (FFmpegEncoderEngine:189) - Invalid file index 1 in filtergraph description [0:v]scale=480:270,pad=1280:720:0:60:blue[lower];[1:v]scale=800:600[upper];[lower][upper]overlay=480:
60[video];movie=/opt/opencast/data/opencast/workspace/mediapackage/26826c57-f821-42bb-9008-7274f16e71f1/a89012d5-9ba5-4f4a-91a7-c84129d186e9/coverimage.png[watermark];[video][watermark]overlay=0:0[out];[0:a][1:a
]amix=inputs=2[aout].
2016-09-26 11:39:52,333 | WARN | (AbstractCmdlineEncoderEngine:280) - Error while encoding audio track presentation_2085b4c4_44f4_4487_b5da_616d08302663.mp4 and video track presenter_a9e78ff3_e463_4e97_a147_5f2
4ae1ee3c9.mp4 using 'composite.http': Encoder exited abnormally with status 1

Expected Results:
media process should continue using the composite profile

Workaround (if any):

from 2.2.x release notes: WOH composite can now be used with single tracks recordings. The default encoding profile needs to be changed from
profile.composite.http.ffmpeg.command = -i #{in.video.path} -filter:v #{compositeCommand}
to
profile.composite.http.ffmpeg.command = -i #{in.video.path} #{compositeCommand}

Status

Assignee

Sven Stauber

Reporter

Stefanos Georgopoulos

Severity

Non Functioning

Tags (folksonomy)

None

Components

Fix versions

Affects versions

2.2.2

Priority

Major