Skip to content

Commit

Permalink
brummmmm πŸš€
Browse files Browse the repository at this point in the history
  • Loading branch information
ghophp committed Nov 19, 2023
1 parent 3450ff5 commit 148a0fc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions internal/stream/ffmpeg/ffmpeg.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,16 @@ func (s *Stream) StartStream() error {
"-safe", "0",
"-i", s.playlistPath,
"-pix_fmt", "yuv420p",
"-x264-params", "keyint=48:min-keyint=48:scenecut=-1:nal-hrd=cbr",
"-bufsize", "3500k",
"-b:v", "3500k",
"-vf", "scale=1280:720",
"-bufsize", "2000k",
"-b:v", "2000k",
"-b:a", "128k",
"-ar", "44100",
"-acodec", "aac",
"-vcodec", "libx264",
"-preset", "superfast",
"-preset", "ultrafast",
"-tune", "zerolatency",
"-r", "25",
"-f", "flv",
"rtmp://live.twitch.tv/app/"+s.twitchStreamKey)

Expand Down

0 comments on commit 148a0fc

Please sign in to comment.