sox analyze failure on silent audio

Steps to reproduce

Steps to reproduce:
1. Ingest a mediapackage with a completely empty (silent) flac audio file
2. Include a sox analyze step in the workflow

Actual Results:

workflow operation fails with uncaught exception:

Caused by: org.opencastproject.sox.api.SoxException:
java.lang.NumberFormatException: For input string: "-inf"

Expected Results:

Operation should detect this and handle gracefully.

Workaround (if any):

Don't process videos with empty audio if using sox analyze / normalize operations.

Status

Assignee

Unassigned

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Affects versions

2.3.1

Priority

Minor
Configure