Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add description about librav1e static linkage
  • Loading branch information
dreampiggy authored Dec 14, 2023
1 parent 9f49b0f commit a59f327
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,24 @@ From v0.8.3, libavif can built with libgav1. For For CocoaPods user, you can sim

See more about [performance](https://github.com/xiph/rav1e/issues/1248)

From v0.4.3, libavif can built with rav1e. For CocoaPods user, you can simply use the subspec for this. Carthage for optional rav1c codec is not supported currently.
From v0.4.3, libavif can built with rav1e. For CocoaPods user, you can simply use the subspec for this. Carthage/SPM for optional rav1c codec is not supported currently.

Note before librav1e v0.6.1, it only support iOS && macOS. watchOS and tvOS is avaiable from v0.6.2 with the latest Rust toolchain. And for visionOS supports need Rust community upstream support. For latest integration, check or fire issues in https://github.com/SDWebImage/librav1e-Xcode.
Note: The librav1e on CocoaPods use pre-built static-linking binary. Which means, it can not be used for CocoaPods's dynamic-linking.

To use for framework packge format, you should write something like this:

```ruby
use_frameworks! :linkage => :static
```

but not this:

```ruby
use_frameworks!
# use_frameworks! :linkage => :dynamic
```

Note: before librav1e v0.6.1, it only support iOS && macOS. watchOS and tvOS is avaiable from v0.6.2 with the latest Rust toolchain. And for visionOS supports need Rust community upstream support. For latest integration, check or fire issues in https://github.com/SDWebImage/librav1e-Xcode.

### SVT-AV1 (Encoding)

Expand Down

0 comments on commit a59f327

Please sign in to comment.