Commit 2b6a3aa3 authored by Stefan Westerfeld's avatar Stefan Westerfeld

videowmark: allow ffmpeg error output during codec detection

Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
parent 1bbc129c
......@@ -10,7 +10,7 @@ function die
# auto detect codec and bitrate from input stream, generate ffmpeg options for audio encoder
function audio_encode_options
{
ffprobe -v quiet -print_format compact -show_streams "$1" | grep codec_type=audio | awk -F'|' '$1 == "stream" {
ffprobe -v error -print_format compact -show_streams "$1" | grep codec_type=audio | awk -F'|' '$1 == "stream" {
for (i = 0; i < NF; i++)
print $i
}' | awk -F= '
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment