Skip to content

Commit

Permalink
Revoke setting of the timebase to 1us (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
varsill committed Aug 22, 2024
1 parent bb3575d commit aa5b05f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Note: `Membrane.H264.FFmpeg.Parser` has been removed. Now you can use our pure E
Add the following line to your `deps` in `mix.exs`. Run `mix deps.get`.

```elixir
{:membrane_h264_ffmpeg_plugin, "~> 0.32.1"}
{:membrane_h264_ffmpeg_plugin, "~> 0.32.2"}
```

This package depends on the [ffmpeg](https://www.ffmpeg.org) libraries. The precompiled builds will be pulled and linked automatically. However, should there be any problems, consider installing it manually.
Expand Down
1 change: 0 additions & 1 deletion c_src/membrane_h264_ffmpeg_plugin/encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ void handle_destroy_state(UnifexEnv *env, State *state) {

static void set_x264_defaults(AVDictionary **params, char* preset) {
// Override FFmpeg defaults from https://github.com/mirror/x264/blob/eaa68fad9e5d201d42fde51665f2d137ae96baf0/encoder/encoder.c#L674
av_dict_set(params, "time_base", "1/1000000", 0);
av_dict_set(params, "qcomp", "0.6", 0);
av_dict_set(params, "me_range", "16", 0);
av_dict_set(params, "qdiff", "4", 0);
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Membrane.H264.FFmpeg.Plugin.MixProject do
use Mix.Project

@version "0.32.1"
@version "0.32.2"
@github_url "https://github.com/membraneframework/membrane_h264_ffmpeg_plugin"

def project do
Expand Down

0 comments on commit aa5b05f

Please sign in to comment.