Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

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

Merged
merged 2 commits into from
Feb 17, 2022

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Feb 17, 2022

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 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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant