Skip to content

Conversation

@brad-richardson
Copy link
Contributor

@brad-richardson brad-richardson commented Nov 21, 2022

Description

Move to FFmpeg 5 for all builds. The CBS library has been moved upstream to the pre-built repo and is bundled as libcbs.a there, see LizardByte/build-deps#34.

Issues Fixed or Closed

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (changes to documentation)
  • Repository update (changes to repository files)

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

Branch Updates

LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.

  • I want maintainers to keep my branch updated

@brad-richardson brad-richardson mentioned this pull request Nov 22, 2022
12 tasks
@brad-richardson

This comment was marked as resolved.

@KuleRucket

This comment was marked as outdated.

@aandaluz aandaluz mentioned this pull request Dec 1, 2022
1 task
@ReenigneArcher ReenigneArcher changed the title Update ffmpeg5 (v2) Bump ffmpeg from 4.4 to 5.1 Dec 12, 2022
@brad-richardson brad-richardson changed the title Bump ffmpeg from 4.4 to 5.1 FFmpeg 5 and pre-built CBS Dec 18, 2022
@ReenigneArcher
Copy link
Member

Correct me if I'm wrong, but I don't think is still a breaking change for third-party package maintainers.

@brad-richardson
Copy link
Contributor Author

Correct me if I'm wrong, but I don't think is still a breaking change for third-party package maintainers.

Maybe not... my thought was that this is now much more tightly coupled to our bundle of dependencies whereas before it could have been changed without too much hassle to link with any ffmpeg build

@psyke83
Copy link
Contributor

psyke83 commented Dec 26, 2022

Hi,

This PR looks good, except it seems that you've renamed constqp to cqp. Can I ask why? Usually we should try to reference the original names as seen in the ffmpeg source:

ffmpeg -h encoder=hevc_nvenc | grep "QP mode"
     constqp         0            E..V....... Constant QP mode

@brad-richardson
Copy link
Contributor Author

Hi,

This PR looks good, except it seems that you've renamed constqp to cqp. Can I ask why? Usually we should try to reference the original names as seen in the ffmpeg source:

ffmpeg -h encoder=hevc_nvenc | grep "QP mode"
     constqp         0            E..V....... Constant QP mode

This should have only been changed for the AMF encoders... I'll revert the other changes

@psyke83
Copy link
Contributor

psyke83 commented Dec 26, 2022

Hi,
This PR looks good, except it seems that you've renamed constqp to cqp. Can I ask why? Usually we should try to reference the original names as seen in the ffmpeg source:

ffmpeg -h encoder=hevc_nvenc | grep "QP mode"
     constqp         0            E..V....... Constant QP mode

This should have only been changed for the AMF encoders... I'll revert the other changes

Thanks! You also don't need to worry about updating the nvenc presets: #623

That PR shouldn't cause any conflicts with your work once you've reverted the cqp change for nvenc.

@brad-richardson brad-richardson marked this pull request as ready for review December 27, 2022 13:35
@ReenigneArcher ReenigneArcher merged commit 95437d1 into LizardByte:nightly Dec 27, 2022
KuleRucket pushed a commit to KuleRucket/Sunshine that referenced this pull request Dec 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants