Browse Source

move video_concat to DEBIAN-MULTIMEDIA project

master
pvincent 5 years ago
parent
commit
2d1928cd06
  1. 28
      README.md
  2. 16
      tools/video_concat

28
README.md

@ -1,20 +1,28 @@
DEBIAN-BASH
===========
quick installation
------------------
DEBIAN-BASH is a collection of settings and helpers for BASH provided by *Artcode*. Featuring :
`curl https://git.artcode.re/pvincent/debian-bash/raw/master/install.sh | sudo bash`
* some aliases (l, ll, ltr, ...)
* a smart prompt
* git, lxd, failure aware
* simple vim settings
installation
------------
It's Free Software (GPLv3), help yourself. Any feedback would be appreciated. [contact@artcode.re](mailto:contact@artcode.re)
* wget https://git.artcode.re/pvincent/debian-bash/archive/master.tar.gz -C /opt/debian-bash
* cd /opt/debian-bash
* sudo ./install.sh
install
-------------
`curl https://git.artcode.re/pvincent/debian-bash/raw/master/install.sh | sudo bash`
uninstall
---------
* cd /opt/debian-bash
* sudo ./uninstall.sh
* `cd /opt/debian-bash && sudo ./uninstall.sh`
development mode (credentials required)
---------------------------------------
* git clone git@artcode.re:pvincent/debian-bash.git
* cd debian-bash
* sudo ./install.sh

16
tools/video_concat

@ -1,16 +0,0 @@
#!/bin/bash
# should be run through output pipe, exit otherwise
[ -t 1 ] && echo "ERROR: should declare output as a pipe, ie > output.mp4" && exit -1
# detect current dir
DIR=$(pwd)
# build temporary file which contains all the files to append
tempfile=$(mktemp)
for i in $@; do
echo file $DIR/$i >> $tempfile
done
# output as matroska file
ffmpeg -safe 0 -f concat -i $tempfile -c copy -f matroska -
Loading…
Cancel
Save