Skip to content

Commit

Permalink
crf 20
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikvedvik committed Oct 25, 2023
1 parent 04f0add commit 6f935f0
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions services/transcode/video.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func VideoH264(input common.VideoInput, cb ffmpeg.ProgressCallback) (*common.Vid
"-g", "48",
"-pix_fmt", "yuv420p",
"-x264opts", "no-scenecut",
"-crf", "18",
"-crf", "20",
"-write_tmcd", "0",
)
case "libx265":
Expand All @@ -54,12 +54,6 @@ func VideoH264(input common.VideoInput, cb ffmpeg.ProgressCallback) (*common.Vid
)
}

params = append(params,
"-crf", "20",
//"-b:v", input.Bitrate,
//"-maxrate", input.Bitrate,
)

//if input.BufferSize != "" {
// params = append(params,
// "-bufsize", input.BufferSize,
Expand Down

0 comments on commit 6f935f0

Please sign in to comment.