Skip to content

A command line utility for retrieving total video length in directory and its subdirectories

License

Notifications You must be signed in to change notification settings

jiisanda/vidvortex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vidvortex

A command line utility for retrieving total video length in directory and its subdirectories and do more iguess🤔.

Features

  • List video files in the current directory and subdirectories
  • Set the path to search for video files
  • Show total duration of all video files in a directory and its subdirectories
  • Show total duration of all video files in a directory - restricted
  • Convert video files to different format
  • Merge video files

Installation

Prerequisites

  • Rust
  • FFmpeg
  • It's suggest to use git bash for running the commands.

FFmpeg is required for the program to work. You can install it by following the instructions on the official website. or can run

choco install ffmpeg

Clone the repository

git clone https://github.com/jiisanda/vidvortex.git
cd vidvortex

Build the project

Set source for vidvortex

source .bashrc

Build the project

vidvortex

If not using GitBash, you can run the following command to build the project and add the binary to your PATH.

cargo build --release
export PATH=$PATH:/path/to/vidvortex/target/release

Usage

vidvortex [FLAGS] [OPTIONS]

Get list of all available arguments, flags and subcommands.

vidvortex --help

Output will be something like this:

Options:
    -h, --help          list of all available arguments
    -v, --version       check version of vidvortex
    -l, --list          list video files in the current directory and
                        subdirectories
    -p, --path PATH     set the path to search for video files, default
                        Current directory
    -t, --total         show total duration of all video files

Try it out yourself! to view how it works.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A command line utility for retrieving total video length in directory and its subdirectories

Topics

Resources

License

Stars

Watchers

Forks