Skip to content

Commit

Permalink
frame-writer: Use superfast instead of ultrafast for libx264/5 (#280)
Browse files Browse the repository at this point in the history
This aims to default videos to use High profile by default instead of
Constrained Baseline. This reportedly has more web compatibilty and
makes video files slightly smaller.
  • Loading branch information
soreau authored Dec 21, 2024
1 parent 1371d68 commit 5cfca20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame-writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void FrameWriter::load_codec_options(AVDictionary **dict)

static const CodecOptions default_x264_options = {
{"tune", "zerolatency"},
{"preset", "ultrafast"},
{"preset", "superfast"},
{"crf", "20"},
};

Expand Down

0 comments on commit 5cfca20

Please sign in to comment.