9 releases (breaking)

Uses old Rust 2015

0.8.0-pre0 Nov 25, 2018
0.7.0 Jul 26, 2018
0.5.0 Apr 21, 2018
0.3.2 Mar 14, 2018
0.1.0 Nov 1, 2017

#332 in Multimedia

35 downloads per month
Used in 10 crates (3 directly)

BSL-1.0 license

98KB
667 lines

Aldaron's Format Interface

This crate provides APIs for audio and video (buffers, encoders/decoders) Encoder/decoder crates can depend on this crate. Here's a list of codec crates:

  • aci_png - Encode/Decode png & apng
  • aci_ppm - Encode/Decode ppm & pnm

Features

afi's features:

  • Video & Audio Buffer Structs.
  • Convert between different color formats including YCbCr.
  • Traits for realtime encoders and decoders.

Contributing

Roadmap to 1.0 (Future Features)

  • Make sure that functionality is complete.
  • Most encoder / decoder crates should be almost ready for 1.0.0 release.
  • Publish 1.0.0

Change Log

0.8

  • Renamed VFrame::sample_rgba to VFrame::get_rgba.
  • Added VFrame::set_rgba
  • Added PathOp for vector graphics.
  • Renamed ColorChannels::Rgb to ColorChannels::Srgb
  • Renamed ColorChannels::Rgba to ColorChannels::Srgba
  • Renamed ColorChannels::Bgr to ColorChannels::Sbgra
  • Renamed ColorChannels::Bgra to ColorChannels::Sbgra
  • Renamed ColorChannels::Grayscale to ColorChannels::Sgrayscale
  • Added ``

0.7

  • Replaced Graphic with Video.
  • Added Encoder* and Decoder Traits.
  • Added AFrame and VFrame.
  • Added AudioChannels and ColorChannels along with conversion functions.
  • Version now matches with codec crates.

Developed by Plop Grizzly

No runtime deps