TimelinePreview Path Handling

Steps to reproduce

Output paths are not handled correctly by the timeline previews module which may result in the module writing the output file to a location outside of the workspace (e.g. if a parent folder contains a `.` character). This issue may also lead to build failures.

T E S T S
-------------------------------------------------------
Running org.opencastproject.timelinepreviews.ffmpeg.TimelinePreviewsServiceImplTest
00:44:31 INFO (TimelinePreviewsServiceImpl:396) - Create timeline preview images file for track '27f9e96a-6fd1-4d93-8fa1-a1343b07cc45' at /data/build.opencast.png
00:44:31 ERROR (TimelinePreviewsServiceImpl:411) - FFmpeg error: [image2 @ 0x4b6c9c0] Could not open file : /data/build.opencast.png
00:44:31 ERROR (TimelinePreviewsServiceImpl:411) - FFmpeg error: av_interleaved_write_frame(): Input/output error

Status

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning Without Workaround

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure