Coder Social home page Coder Social logo

mintsuku / file-conversion-rs Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 402.48 MB

This is a command-line file conversion tool written in Rust that allows you to convert PNGs, MP4s, JPEGs, and GIFs. It utilizes FFmpeg for the actual conversion process. With this tool, you can easily convert your media files between different formats with just a few simple steps.

License: MIT License

Rust 100.00%
cargo conversion file-conversion file-converter file-converter-software files image-format rust

file-conversion-rs's Introduction

Rust File Conversion Tool

This is a command-line file conversion tool written in Rust that allows you to convert PNGs, MP4s, JPEGs, and GIFs. It utilizes FFmpeg for the actual conversion process. With this tool, you can easily convert your media files between different formats with just a few simple steps.

Prerequisites

Before using this tool, you need to ensure that FFmpeg is installed on your system, This is neccasary for any video conversions. Follow the instructions below based on your operating system:

Mac

To install FFmpeg on macOS using Homebrew, open a terminal and run the following command:

brew install ffmpeg

Windows

On Windows, you can download a pre-built FFmpeg binary from the official website. Follow these steps:

  • Visit the FFmpeg download page on the official FFmpeg website.
  • Scroll down to the "Windows" section.
  • Under "Static Builds," click on the link that corresponds to your system architecture (32-bit or 64-bit).
  • Download the ZIP file and extract its contents to a directory of your choice.
  • the FFmpeg binary directory to your system's PATH environment variable. This step is important for the tool to find and execute FFmpeg correctly.

Linux

On Linux, you can install FFmpeg using the package manager specific to your distribution. Open a terminal and run the appropriate command:

  • Ubuntu or Debian-based distributions:
sudo apt-get install ffmpeg
  • Fedora or CentOS-based distributions:
sudo dnf install ffmpeg

Make sure you have cargo and git installed on your system as well. If they are not already installed, you can install them using the package manager specific to your operating system.

Installation

To install and use this file conversion tool, follow the steps below:

  • Clone the repository by running the following command in your terminal:
git clone https://github.com/shelovesmox/file-conversion-rs.git
  • Navigate to the project directory:
cd file-convesion-rs
  • Build using cargo:
cargo build
  • Once the build is complete, you can run the tool with the following command:
cargo run

That's it! Just follow the options the UI to convert whatever you want!

License

This file conversion tool is open-source software licensed under the MIT License. Feel free to modify and distribute it according to your needs.

Contributing

If you would like to contribute to this project, you can submit issues or pull requests on the GitHub repository. Your contributions are highly appreciated!

Acknowledgments

This tool relies on the powerful FFmpeg library for media conversions. Many thanks to the FFmpeg development team for their excellent work. This tool also relies on many crates made by talented developers to convert image formats, without them I would not have been able to make this project

Disclaimer

This tool is provided as-is, without any warranties or guarantees. Use it at your own risk. The authors and contributors of this tool are not responsible for any damages or losses that may occur from its use.

file-conversion-rs's People

Contributors

kljohnsonn avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.