New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails with "error[E0004]: non-exhaustive patterns: sys::AVPixelFormat::AV_PIX_FMT_D3D12
not covered", "error[E0004]: non-exhaustive patterns: sys::AVCodecID::AV_CODEC_ID_LEAD
and sys::AVCodecID::AV_CODEC_ID_QOA
not covered" and "error[E0004]: non-exhaustive patterns: sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM
, sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM
, sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM
and 1 more not covered".
#653
Comments
error[E0004]: non-exhaustive patterns:
sys::AVPixelFormat::AV_PIX_FMT_D3D12 not covered
, error[E0004]: non-exhaustive patterns:
sys::AVCodecID::AV_CODEC_ID_LEAD and
sys::AVCodecID::AV_CODEC_ID_QOA not covered
and error[E0004]: non-exhaustive patterns:
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM and 1 more not covered
error[E0004]: non-exhaustive patterns:
sys::AVPixelFormat::AV_PIX_FMT_D3D12 not covered
,
error[E0004]: non-exhaustive patterns:
sys::AVCodecID::AV_CODEC_ID_LEAD and
sys::AVCodecID::AV_CODEC_ID_QOA not covered
and
error[E0004]: non-exhaustive patterns:
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM and 1 more not covered
`
error[E0004]: non-exhaustive patterns:
sys::AVPixelFormat::AV_PIX_FMT_D3D12 not covered
,
error[E0004]: non-exhaustive patterns:
sys::AVCodecID::AV_CODEC_ID_LEAD and
sys::AVCodecID::AV_CODEC_ID_QOA not covered
and
error[E0004]: non-exhaustive patterns:
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM,
sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM and 1 more not covered
`sys::AVPixelFormat::AV_PIX_FMT_D3D12
not covered", "error[E0004]: non-exhaustive patterns: sys::AVCodecID::AV_CODEC_ID_LEAD
and sys::AVCodecID::AV_CODEC_ID_QOA
not covered" and "error[E0004]: non-exhaustive patterns: sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM
, sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM
, sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM
and 1 more not covered".
I just pushed an update to the unstable branch. It won't fix the AUR package yet, but if you could try cloning and building from the unstable branch and let me know? If we got it working I'll move it to master and that will fix the AUR package. |
I just pushed an update to the unstable branch. It won't fix the AUR
package yet, but if you could try cloning and building from the
unstable branch and let me know? If we got it working I'll move it
to master and that will fix the AUR package.
I just build the AUR package with `#branch=unstable`.
Last `git log` entry:
```
commit 8df86bf (HEAD -> makepkg, origin/unstable)
Author: Mike Dilger ***@***.***>
Date: Thu Feb 29 06:22:07 2024 +1300
Updates for ffmpeg 6.1
```
Build still fails with
```
[...]
Compiling tempfile v3.9.0
error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_D3D12` not covered
--> /tmp/makepkg/.cargo/git/checkouts/rust-ffmpeg-2886213a692344b2/db0f2f9/src/util/format/pixel.rs:478:15
|
478 | match value {
| ^^^^^ pattern `sys::AVPixelFormat::AV_PIX_FMT_D3D12` not covered
|
note: `sys::AVPixelFormat` defined here
--> /tmp/makepkg/build/gossip-git/src/gossip-git/target/release/build/ffmpeg-sys-next-a3a523fe0b567246/out/bindings.rs:5936:1
|
5936 | pub enum AVPixelFormat {
| ^^^^^^^^^^^^^^^^^^^^^^
...
6166 | AV_PIX_FMT_D3D12 = 228,
| ---------------- not covered
= note: the matched value is of type `sys::AVPixelFormat`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown
|
821 ~ AV_PIX_FMT_GBRAP14LE => Pixel::GBRAP14LE,
822 ~ sys::AVPixelFormat::AV_PIX_FMT_D3D12 => todo!(),
|
error[E0004]: non-exhaustive patterns: `sys::AVCodecID::AV_CODEC_ID_LEAD` and `sys::AVCodecID::AV_CODEC_ID_QOA` not covered
--> /tmp/makepkg/.cargo/git/checkouts/rust-ffmpeg-2886213a692344b2/db0f2f9/src/codec/id.rs:679:15
|
679 | match value {
| ^^^^^ patterns `sys::AVCodecID::AV_CODEC_ID_LEAD` and `sys::AVCodecID::AV_CODEC_ID_QOA` not covered
|
note: `sys::AVCodecID` defined here
--> /tmp/makepkg/build/gossip-git/src/gossip-git/target/release/build/ffmpeg-sys-next-a3a523fe0b567246/out/bindings.rs:8242:1
|
8242 | pub enum AVCodecID {
| ^^^^^^^^^^^^^^^^^^
...
8513 | AV_CODEC_ID_LEAD = 270,
| ---------------- not covered
...
8721 | AV_CODEC_ID_QOA = 86121,
| --------------- not covered
= note: the matched value is of type `sys::AVCodecID`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
|
1327 ~ AV_CODEC_ID_OSQ => Id::OSQ,
1328 ~ sys::AVCodecID::AV_CODEC_ID_LEAD | sys::AVCodecID::AV_CODEC_ID_QOA => todo!(),
|
error[E0004]: non-exhaustive patterns: `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM` and 1 more not covered
--> /tmp/makepkg/.cargo/git/checkouts/rust-ffmpeg-2886213a692344b2/db0f2f9/src/codec/packet/side_data.rs:61:15
|
61 | match value {
| ^^^^^ patterns `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM` and 1 more not covered
|
note: `sys::AVPacketSideDataType` defined here
--> /tmp/makepkg/build/gossip-git/src/gossip-git/target/release/build/ffmpeg-sys-next-a3a523fe0b567246/out/bindings.rs:9391:1
|
9391 | pub enum AVPacketSideDataType {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
9457 | AV_PKT_DATA_IAMF_MIX_GAIN_PARAM = 32,
| ------------------------------- not covered
9458 | #[doc = " IAMF Demixing Info Parameter Dat...
9459 | AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM = 33,
| ------------------------------------ not covered
9460 | #[doc = " IAMF Recon Gain Info Parameter D...
9461 | AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM = 34,
| -------------------------------------- not covered
9462 | #[doc = " Ambient viewing environment metadata, as defined by H.274. This metadata\n should be associated with a video stream and contains data in the form\n of the AVAmbientViewingEnvironment struct."]
9463 | AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT = 35,
| --------------------------------------- not covered
= note: the matched value is of type `sys::AVPacketSideDataType`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern as shown, or multiple match arms
|
108 ~ AV_PKT_DATA_DYNAMIC_HDR10_PLUS => Type::DYNAMIC_HDR10_PLUS,
109 ~ _ => todo!(),
|
Compiling sharded-slab v0.1.7
Compiling memoize-inner v0.4.3
For more information about this error, try `rustc --explain E0004`.
error: could not compile `ffmpeg-next` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
[...]
```
Regards!
|
Thanks. Do you know what version of rust you are using? Do you know what version of ffmpeg is on your system? When did you last do a |
Do you know what version of rust you are using?
`cargo --version | cut -d ' ' -f2`: 1.76.0
Do you know what version of ffmpeg is on your system?
`ffmpeg -version`:
```
ffmpeg version N-113802-g22845fbb80 Copyright (c) 2000-2024 the FFmpeg developers
built with gcc 13.2.1 (GCC) 20230801
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --disable-htmlpages --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
libavutil 58. 39.100 / 58. 39.100
libavcodec 60. 40.100 / 60. 40.100
libavformat 60. 21.101 / 60. 21.101
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 17.100 / 9. 17.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
```
When did you last do a `pacman -Syu`
Less than a week ago (currently I can't, and for foreseeable at least 5
days I can't, due to internet limitations).
Regards!
|
Ok. Your version of ffmpeg I'd just compile gossip without 'video-ffmpeg' feature and click the link that opens the video in your browser. |
On Wed, 28 Feb 2024 10:48:02 -0800, Michael Dilger ***@***.***> wrote:
Your version of ffmpeg `N-113802-g22845fbb80` is newer than the
latest release. You must be following some master branch AUR version
of ffmpeg?
I use `ffmpeg-git` from chaotic-AUR.
I'd just compile gossip without 'video-ffmpeg' feature
Done, works.
and click the link that opens the video in your browser.
Can this be changed to open what is configured in the system's mime
database, or that within gossip the executable for different media
files can be configured?
So no browser would be needed, but VLC, mpv, mplayer, ffplay, ... can
be used.
Regards!
|
We just call There are a lot of desktop and platform libraries underneath that, and I'm not willing to dive into that adder's nest to try to tweak it. |
Ahoj,
I try to build this (latest git checkout) on Arch Linux using ↗ this recipe, or relase 0.9.0 using ↗ this recipe.
Build fails for me with
error[E0004]: non-exhaustive patterns: `sys::AVPixelFormat::AV_PIX_FMT_D3D12` not covered
,error[E0004]: non-exhaustive patterns: `sys::AVCodecID::AV_CODEC_ID_LEAD` and `sys::AVCodecID::AV_CODEC_ID_QOA` not covered
anderror[E0004]: non-exhaustive patterns: `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_MIX_GAIN_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM`, `sys::AVPacketSideDataType::AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM` and 1 more not covered
.Terminal output for the latest git checkout:
Regards!
The text was updated successfully, but these errors were encountered: