avp
avp copied to clipboard
Another Video Player
## 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 |...
rustc 1.59.0 (9d1b2106e 2022-02-23) Running cargo update ``` Updating crates.io index Updating git repository `https://github.com/rust-av/av-vorbis` Updating git repository `https://github.com/rust-av/opus-rs` Updating git repository `https://github.com/rust-av/vpx-rs` Updating git repository `https://github.com/rust-av/matroska` ``` Running cargo...
It would be helpful to construct the player making use of https://github.com/hecrj/iced instead of `sdl`
[structop](https://github.com/TeXitoi/structopt) is a derive built upon [clap](https://github.com/kbknapp/clap-rs), it could reduce some boilerplate code.
Either use the SDL2 facility, or wrap/corrode `avresample` or `speexdsp`.
Right now `avp` assumes continuous audio, computes the frame cadence using the system clock. Would be nice to have an option to use the audio as clock source optionally.
Wrapping `zimg` possibly.