Futsch1 / image-sieve

GUI based tool to sort and categorize images written in Rust
GNU General Public License v3.0
129 stars 9 forks source link

Update ffmpeg-next requirement from 5.0 to 6.0 #68

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on ffmpeg-next to permit the latest version.

Changelog

Sourced from ffmpeg-next's changelog.

5.0.0

  • Introduce conditional compilation flags to preserve functions that are removed from ffmpeg 5.0 and onwards.
  • Fix examples so they are using the ffmpeg-sanctionned way of doing things. More specifically, AVStream.codec has been removed, and the correct way of getting the codec from a stream is to use Context::from_parameters(stream.parameters()) and then that context's encoder / decoder.

4.4.0

  • crate: ffmpeg43 feature flag (noop since 4.3.4) has been dropped from default features.

  • codec: deprecate APIs based on deprecated (since FFmpeg 3.1) avcodec_decode_video2() / avcodec_decode_audio4() / avcodec_encode_video2() /avcodec_encode_audio2() -- decoder::Video::decode(), decode::Audio::decode(), encoder::Video::encode() and encoder::Audio::decode(). Users should migrate to send_packet() / send_eof(), receive_frame(), send_frame() / send_eof(), and receive_packet() APIs instead, which are based on the modern send/receive APIs. See documentation in libavcodec/avcodec.h for details. (#28)

  • codec: fix signature of Packet::write_interleaved; previously Result<bool, Error>, now Result<(), Error>. (#25)

4.3.8

  • software::resampling: add Context::get_with for specifying additional options. (#41)

4.3.7

  • codec: fix codec description potential null ptr issue. (#36)

4.3.6

  • util: fix Windows compatibility due to unavailable errnos. (#30)

4.3.5

  • util: add util::log module to expose FFmpeg's logging facilities.

  • filter: add method Source::close() to expose av_buffersrc_close. (#23)

  • codec: add new encoding/decoding APIs send_frame() / send_eof(), receive_packet() to encoder::{Audio, Video} and send_packet() / send_eof(), receive_frame() to decoder::{Audio, Video} based on modern send/receive APIs (instead of avcodec_decode_video2() / avcodec_decode_audio4() / avcodec_encode_video2() /avcodec_encode_audio2() which have been deprecated since FFmpeg 3.1). Users should consider switching to the new APIs. See documentation in libavcodec/avcodec.h for details. (#28)

  • util: introduce new Error variant Error::Other { errno } for wrapped POSIX error codes (see the AVERROR macro in libavutil/error.h), and reexport common POSIX error codes under util::error. (#24)

4.3.4

  • crate: FFmpeg version detection is now automatic, obseleting feature flags ffmpeg4, ffmpeg41, ffmpeg42 and ffmpeg43. The flags are kept as noop for now, will be removed in 5.0.
Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 60.00% and project coverage change: -0.04 :warning:

Comparison is base (0cb2b87) 76.39% compared to head (d0c0118) 76.36%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #68 +/- ## ========================================== - Coverage 76.39% 76.36% -0.04% ========================================== Files 23 23 Lines 3305 3305 ========================================== - Hits 2525 2524 -1 - Misses 780 781 +1 ``` | [Impacted Files](https://codecov.io/gh/Futsch1/image-sieve/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florian+Fetz) | Coverage Δ | | |---|---|---| | [src/main\_window.rs](https://codecov.io/gh/Futsch1/image-sieve/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florian+Fetz#diff-c3JjL21haW5fd2luZG93LnJz) | `0.00% <0.00%> (ø)` | | | [src/controller/items\_controller.rs](https://codecov.io/gh/Futsch1/image-sieve/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florian+Fetz#diff-c3JjL2NvbnRyb2xsZXIvaXRlbXNfY29udHJvbGxlci5ycw==) | `90.43% <100.00%> (ø)` | | | [src/persistence/settings.rs](https://codecov.io/gh/Futsch1/image-sieve/pull/68?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florian+Fetz#diff-c3JjL3BlcnNpc3RlbmNlL3NldHRpbmdzLnJz) | `99.05% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://codecov.io/gh/Futsch1/image-sieve/pull/68/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Florian+Fetz)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.