mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-23 12:01:01 +00:00
750b29b76c
- Implemented a simple gif encoder based on the rust crate "gif". - Currently supported input pixel formats are RGB and RGBA - The encoder dynamically changes frame delays to approximate the actual input framerate - For the moment, each frame uses its own local colorpalette, leading to good image quality, but big files - Every frame is currently a full frame. No incremental frames for now - The produced GIF is currently compressed (LZW)
28 lines
822 B
TOML
28 lines
822 B
TOML
[package]
|
|
name = "gst-plugin-gif"
|
|
version = "0.1.0"
|
|
authors = ["Markus Ebner <info@ebner-markus.de>"]
|
|
repository = "https://gitlab.freedesktop.org/gstreamer/gst-plugin-rs"
|
|
license = "MIT/Apache-2.0"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
glib = { git = "https://github.com/gtk-rs/glib" }
|
|
gstreamer = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gstreamer-check = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
|
|
gif = "0.10"
|
|
atomic_refcell = "0.1"
|
|
once_cell = "1"
|
|
|
|
[lib]
|
|
name = "gstgif"
|
|
crate-type = ["cdylib", "rlib"]
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "testvideosrc2gif"
|
|
path = "examples/testvideosrc2gif.rs"
|
|
|
|
[build-dependencies]
|
|
gst-plugin-version-helper = { path="../gst-plugin-version-helper" }
|