-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I tried generating waveforms for AudioFile with id=1630394 (Koningskerk Deventer). This failed because ffmpeg (on app-worker-ska which is version 2.2.3) shows some errors. These errors are non-fatal (hence the 0 (zero)) return code.
Line 31 in a148847
| ffmpeg.stderr.on('end', () => { if (errorMsg) reject(new Error(errorMsg)); }); |
Here the promise is rejected when the spawned ffmpeg process has output on STDERR.
This causes the process to fail even thought this is not a fatal error.
$ ffmpeg -v error -i /tmp/test.mp3 -c:a copy -user-agent 'KDGM' -y /tmp/test-remux.mp3
[mp3 @ 0x35cca20] Cannot read BOM value, input too short
[mp3 @ 0x35cca20] Error reading frame author, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame broadcasting_app, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame operation_system, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame presetname, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame creationdate, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame audiochannels, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame audioinputvolume, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame audiodevice, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame avcprofile, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame avclevel, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame videokeyframe_frequency, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame videodevice, skipped
[mp3 @ 0x35cca20] Cannot read BOM value, input too short
[mp3 @ 0x35cca20] Error reading frame keywords, skipped
[mp3 @ 0x35cca20] Cannot read BOM value, input too short
[mp3 @ 0x35cca20] Error reading frame rating, skipped
[mp3 @ 0x35cca20] Incorrect BOM value
[mp3 @ 0x35cca20] Error reading frame streamIdentifier, skipped
ubuntu@app-worker-ska:/var/rails/kdgm/current$ echo $?
0Metadata
Metadata
Assignees
Labels
No labels