Skip to content

Commit

Permalink
fix: add -hide_banner option to ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
tphakala committed Nov 26, 2024
1 parent e1d9f35 commit 3290cc7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/myaudio/ffmpeg_input.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ func startFFmpeg(ctx context.Context, config FFmpegConfig) (*FFmpegProcess, erro
"-f", ffmpegFormat, // Set output format to signed 16-bit little-endian
"-ar", ffmpegSampleRate, // Set audio sample rate to 48kHz
"-ac", ffmpegNumChannels, // Set number of audio channels to 1 (mono)
"pipe:1", // Output to stdout
"-hide_banner", // Hide the banner
"pipe:1", // Output to stdout
)

// Set up platform-specific process group
Expand Down

0 comments on commit 3290cc7

Please sign in to comment.