Skip to content
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 (the trait bound MkvDemuxer: format::demuxer::Demuxer is not satisfied) #26

Open
fijiwebdesign opened this issue Sep 14, 2022 · 2 comments

Comments

@fijiwebdesign
Copy link

Build

git clone https://github.com/rust-av/avp.git
cd avp
cargo build

Error

Compiling avp v0.1.0 (/Users/gabe/code/rust/video-processing/avp)
error[E0277]: the trait bound `MkvDemuxer: format::demuxer::Demuxer` is not satisfied
   --> src/main.rs:147:34
    |
147 |         let mut c = Context::new(Box::new(MkvDemuxer::new()), Box::new(ar));
    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `format::demuxer::Demuxer` is not implemented for `MkvDemuxer`
    |
    = note: required for the cast to the object type `dyn format::demuxer::Demuxer`

error[E0277]: the trait bound `vpx::decoder::decoder_trait::Des: codec::decoder::Descriptor` is not satisfied
   --> src/main.rs:151:47
    |
151 |         let decoders = DecCodecs::from_list(&[VP9_DESCR, OPUS_DESCR, VORBIS_DESCR]);
    |                                               ^^^^^^^^^ the trait `codec::decoder::Descriptor` is not implemented for `vpx::decoder::decoder_trait::Des`
    |
    = note: required for the cast to the object type `dyn codec::decoder::Descriptor`

error[E0277]: the trait bound `opus::decoder::decoder_trait::Des: codec::decoder::Descriptor` is not satisfied
   --> src/main.rs:151:58
    |
151 |         let decoders = DecCodecs::from_list(&[VP9_DESCR, OPUS_DESCR, VORBIS_DESCR]);
    |                                                          ^^^^^^^^^^ the trait `codec::decoder::Descriptor` is not implemented for `opus::decoder::decoder_trait::Des`
    |
    = note: required for the cast to the object type `dyn codec::decoder::Descriptor`

error[E0277]: the trait bound `Des: codec::decoder::Descriptor` is not satisfied
   --> src/main.rs:151:70
    |
151 |         let decoders = DecCodecs::from_list(&[VP9_DESCR, OPUS_DESCR, VORBIS_DESCR]);
    |                                                                      ^^^^^^^^^^^^ the trait `codec::decoder::Descriptor` is not implemented for `Des`
    |
    = note: required for the cast to the object type `dyn codec::decoder::Descriptor`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `avp` due to 4 previous errors
@yxdunc
Copy link

yxdunc commented Sep 25, 2022

I'm having the same issue on OSX

@kpcyrd
Copy link
Member

kpcyrd commented Sep 26, 2022

I think this is related to #22 and #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants