redirect stderr
This commit is contained in:
parent
ef54c952ce
commit
3ae497d27b
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ if [ -n "${ntfy_server}" ]; then
|
|||
if [ -n "${file}" ]; then
|
||||
sleep 3
|
||||
temp_file="$(mktemp /tmp/tmp.XXXXX.mkv)"
|
||||
result=$(/usr/bin/ffmpeg -filter_complex '[0:v] fps=12,scale=480:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse' -i "${file}" "${temp_file}")
|
||||
result=$(/usr/bin/ffmpeg -filter_complex '[0:v] fps=12,scale=480:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse' -i "${file}" "${temp_file}" 2>&1)
|
||||
return_code=$?
|
||||
if [ ${return_code} != 0 ]; then
|
||||
message "Error ${return_code} processing video file '${file}'. ${result}"
|
||||
|
|
Loading…
Reference in a new issue