Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed ffmpeg verbosity semantics #14582

Merged
merged 1 commit into from
Dec 14, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions tensorflow/contrib/ffmpeg/default/ffmpeg_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ std::vector<string> FfmpegAudioCommandLine(const string& input_filename,
"-nostdin", // No interactive commands accepted.
"-f", input_format_id, // eg: "mp3"
"-probesize", StrCat(kDefaultProbeSize), "-i", input_filename,
"-loglevel", "info", // Enable verbose logging to support debugging.
"-loglevel", "error", // Print errors only.
"-hide_banner", // Skip printing build options, version, etc.
"-map_metadata", "-1", // Copy global metadata from input to output.
"-vn", // No video recording.
"-ac:a:0", StrCat(channel_count), "-ar:a:0",
Expand All @@ -72,7 +73,8 @@ std::vector<string> FfmpegVideoCommandLine(const string& input_filename,
"-probesize",
StrCat(kDefaultProbeSize),
"-loglevel",
"info", // Enable verbose logging to support debugging.
"error", // Print errors only.
"-hide_banner", // Skip printing build options, version, etc.
"-vcodec",
"rawvideo",
"-pix_fmt",
Expand Down