Skip to content

Commit

Permalink
changed default preset from medium to superfast for software x264 codec
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchay97-dev committed Dec 4, 2024
1 parent e5e12dd commit eb35853
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ void bufferTranscoding(int trackIndex) throws IOException {
}

String preset = mTest.getEncoderX264().getPreset();
Log.d(TAG, "preset value : " + preset);
String colorSpace = mTest.getEncoderX264().getColorSpace();
int bitDepth = mTest.getEncoderX264().getBitdepth();
int threads = mTest.getEncoderX264().getThreads();
Expand Down
2 changes: 1 addition & 1 deletion proto/tests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ message Serial {
}

message EncoderX264 {
optional string preset = 1 [default = "medium"];
optional string preset = 1 [default = "superfast"];
optional string colorSpace = 2 [default = "yuv420p"];
optional int32 bitdepth = 3 [default = 8];
optional string outputFile = 4 [default = "x264Output.mp4"];
Expand Down
20 changes: 10 additions & 10 deletions scripts/proto_tool/tests_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eb35853

Please sign in to comment.