Interact with video and audio media in a programmatic style.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
finga e316e9b703 Add audio capabilities 3 years ago
sliced-cli Add audio capabilities 3 years ago
src Add audio capabilities 3 years ago
.editorconfig Add `.editorconfig` 3 years ago
.gitignore Minimal structure with test function 3 years ago
Cargo.toml Rename `libsliced` to `sliced` 3 years ago Add getter functions for pipeline structures 3 years ago


Dependencies (Debian)

  • libglib2.0-dev
  • libgstreamer1.0-dev
  • gstreamer1.0-plugins-bad



cargo r -p sliced-cli



  • Use enum variants for different kind of pipelines?
  • Use something else instead of anyhow for the library
  • Decide if args, config or both should be implemented
    • Should the library take care or the implementer?
    • Flags/config
      • To use OpenGL or not, should it be autodetected?
      • Auto link mode
      • Auto resize mode
  • 'Types'
    • Filesink
    • Testsrcbin
    • Videomixer
  • Functions
    • loop
    • launch triggers a gst-launch command
    • link should be possible with two and three arguments. either to link two elements or to insert one between two
    • In get_* functions use .flat_map() wherever possible and clean up
    • Distinguish betwenn get_* functions which return values or print
  • Output should also be able to process audio?
  • Tests


  • Fix flipping playback speed as it always begins from the start/end
  • A lot of commands do not handle errors
  • link should not link if not possible and output a warning
  • Fix some get_* functions as some are panicking if vectors are empty


Thanks goes to Andreas Rottmann ( for his thoughtful feedback and help on this project.