Skip to content

Extend FFmpeg support from 4.0 - 4.2 to 4.0 - 4.5/5.0#775

Merged
Xaymar merged 2 commits into
masterfrom
feature/ffmpeg-4.4
Feb 17, 2022
Merged

Extend FFmpeg support from 4.0 - 4.2 to 4.0 - 4.5/5.0#775
Xaymar merged 2 commits into
masterfrom
feature/ffmpeg-4.4

Conversation

@Xaymar

@Xaymar Xaymar commented Feb 17, 2022

Copy link
Copy Markdown
Contributor

Explain the Pull Request

When FFmpeg Encoders was designed, it was designed for FFmpeg 4.2, which means that a lot of code only works with that specific version of FFmpeg. This has now come around to bite us in the back, as OBS Studio updated their FFmpeg version to something newer than 4.4, and as such the new SDK features are now enabled by default. This PR brings support for any FFmpeg version between 4.0 and 5.0, hopefully.

Related Issues

Checklist

  • I will become the maintainer for this part of code.
  • I have tested this code on all supported Platforms.

@Xaymar Xaymar force-pushed the feature/ffmpeg-4.4 branch 2 times, most recently from 3981907 to e9ea6c7 Compare February 17, 2022 03:53
…g 4.2

When FFmpeg Encoders was originally written, FFmpeg 4.2 was still new and OBS Studio did not seem to want to update to anything newer for a while. This led to code being fine-tuned for FFmpeg 4.2, which stops working the moment OBS Studio upgrades FFmpeg. This removes the dependency on FFmpeg 4.2 hopefully, and allows using newer FFmpeg versions - or perhaps even older versions.

Additionally the nonsensical behavior of the Target Quality slider was fixed. It is now from 0 to 51, instead of from 0 to 100, and as such matches FFmpeg exactly.
@Xaymar Xaymar force-pushed the feature/ffmpeg-4.4 branch from e9ea6c7 to a358f67 Compare February 17, 2022 03:55
@Xaymar Xaymar merged commit 7c0b10e into master Feb 17, 2022
@Xaymar Xaymar deleted the feature/ffmpeg-4.4 branch February 17, 2022 04:06
@Xaymar Xaymar added the enhancement Enhancements label Feb 17, 2022
@Xaymar Xaymar removed the enhancement Enhancements label Jul 30, 2022
@Xaymar Xaymar added this to the FFmpeg Encoders (Component) milestone Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant