Giter Site home page Giter Site logo

vidcat's Introduction

vidcat

Simple shell script for concatenating video files of the same dimensions and encoding.

This simply copies the data and does not re-encode, so it's speedy (hours of video will concatenate in seconds).

Prereqs

  • ffmpeg
    • Mac users can install with
      brew install ffmpeg
      

Install

Mac/Linux/Unix

  1. Copy vidcat somewhere that you want it.
  2. cd to that directory.
  3. chmod 755 vidcat
  4. When you want to run it, specify the path:
    ~/mydir/vidcat *.mp4 outfile.mp4
    

Alternately, you can add that directory to your PATH variable so that the shell can always find vidcat. E.g.

mkdir -p ~/.local/bin
cp vidcat ~/.local/bin
chmod 755 ~/.local/bin/vidcat

and in your ~/.bashrc file:

export PATH=$PATH:~/.local/bin

then relaunch your shell. You should be able to then:

vidcat *.mp4 outfile.mp4

from any directory.

Windows

  1. Install bash somehow
  2. Install vidcat kinda like for Mac
  3. ...
  4. Profit!

Usage

vidcat vidfile [ vidfile ... ] outfile

vidcat will steadfastly refuse to overwrite any existing file. Manually remove your outfile ahead of time if you need to overwrite it.

Examples

vidcat zoom*mp4 outfile.mp4

vidcat zoom_1.mp4 zoom_3.mp4 outfile.mp4

vidcat *.mp4 outfile.mp4

vidcat's People

Contributors

beejjorgensen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

lpath

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.