aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc')
-rw-r--r--tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc b/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
index 3c51deefbc..c85b1837ab 100644
--- a/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
+++ b/tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
@@ -82,7 +82,9 @@ std::vector<string> FfmpegVideoCommandLine(const string& input_filename,
"-probesize",
StrCat(kDefaultProbeSize),
"-loglevel",
- "error", // Print errors only.
+ // Info is needed to get the information about stream, etc.
+ // It is generated to a separate file, not stdout/stderr.
+ "info",
"-hide_banner", // Skip printing build options, version, etc.
"-vcodec",
"rawvideo",