- Install homebrew - homebrew.sh
- Download and install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- brew install python (osx 10.9 throuws up errors with ffmpeg install otherwise)
- install ffmpeg
brew install ffmpeg
- You might have to say yes to some JAVA installation for whatever reason.
brew install md5deep && brew install mediainfo && brew install exiftool&& brew install qcli && brew install xmlstarlet
- try to
brew install pip
but you might need to use https://pip.readthedocs.io/en/stable/installing/ pip install lxml && pip install bagit
cd && mkdir ifigit && cd ifigit &&git clone https://github.com/kieranjol/ifiscripts && cd
nano .bash_profile'
- copy paste the following line to the end of this document and save:
export PATH="~/ifigit/ifiscripts:$PATH"
brew install mediaconch && brew install mkvtoolnix
mkvtoolnix might fail on odler operating systems.brew tap amiaopensource/amiaos
brew install vrecord
brew install coreutils sox
brew install https://raw.githubusercontent.com/OTTOMATIC-IO/homebrew-video/master/asdcplib.rb
brew install richardlehane/digipres/siegfried && sf -update
- close terminal and reopen.
Last active
June 19, 2021 11:33
-
-
Save kieranjol/116bd33a75cae438cfe125693be50beb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/bin/bash | |
sudo apt-get update -qq && sudo apt-get -y install autoconf fakeroot automake ca-certificates build-essential cmake git nasm libass-dev libfreetype6-dev libsdl2-dev libgnutls28-dev fakeroot libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev mercurial pkg-config texinfo wget zlib1g-dev curl yasm libx264-dev libx265-dev libnuma-dev libvpx-dev libmp3lame-dev libopus-dev vim python-is-python3 ca-certificates devscripts fakeroot gcc locales sox libxerces-c-dev libssl-dev | |
mkdir -p ~/ffmpeg_sources ~/bin && export MAKEFLAGS="-j4" && PATH="$HOME/bin:$PATH" | |
#& wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 && tar xjvf nasm-2.13.02.tar.bz2 && cd nasm-2.13.02 && ./autogen.sh && | |
#cd ~/ffmpeg_sources && PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && make && make install | |
#sudo apt-get update -qq && sudo apt-get -y install autoconf automake build-essential cmake git libass-dev libfreetype6-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev mercurial pkg-config texinfo wget zlib1g-dev python-pip-dev libvpx-dev libfdk-aac-dev libmp3lame-dev libopus-dev | |
#cd ~/ffmpeg_sources && if cd x265 2> /dev/null; then hg pull && hg update; else hg clone https://bitbucket.org/multicoreware/x265; fi && cd x265/build/linux && PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source && PATH="$HOME/bin:$PATH" make && make install | |
cd ~/ffmpeg_sources/ | |
git clone https://github.com/uclouvain/openjpeg | |
cd openjpeg/ | |
mkdir build && cd build | |
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF | |
make | |
sudo make install && make clean | |
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl | |
sudo chmod a+rx /usr/local/bin/youtube-dl | |
cd ~/ffmpeg_sources && wget -O ffmpeg-snapshot.tar.bz2 http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && tar xjvf ffmpeg-snapshot.tar.bz2 && cd ffmpeg && PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --extra-libs="-lpthread -lm" --bindir="$HOME/bin" --enable-gpl --enable-libass --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libx265 --enable-libvpx --enable-nonfree --enable-libopenjpeg && PATH="$HOME/bin:$PATH" make && make install && hash -r | |
wget https://mediaarea.net/repo/deb/repo-mediaarea-snapshots_1.0-13_all.deb && sudo dpkg -i repo-mediaarea-snapshots_1.0-13_all.deb && sudo apt update && sudo apt install mediainfo dvrescue qcli rawcooked mediaconch | |
sudo apt install -y python3-pip mkvtoolnix exiftool git md5deep p7zip-full | |
#mkdir ~/ifigit | |
#cd ~/ifigit | |
#git clone https://github.com/kieranjol/ifiscripts | |
#echo "export PATH=\"~/ifigit/ifiscripts:$PATH\"" >> ~/.bashrc | |
#sudo pip install lxml | |
#sudo pip install unidecode | |
#wget -q -O - https://mkvtoolnix.download/gpg-pub-moritzbunkus.txt | sudo apt-key add - | |
#sudo su -c "echo 'deb https://mkvtoolnix.download/ubuntu/xenial/ ./' >> /etc/apt/sources.list.d/bunkus.org.list" | |
#sudo su -c "echo 'deb-src https://mkvtoolnix.download/ubuntu/xenial/ ./' >> /etc/apt/sources.list.d/bunkus.org.list" | |
#sudo apt update | |
#sudo apt install mkvtoolnix mkvtoolnix-gui | |
#wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - | |
wget -qO - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add - | |
echo "deb http://dl.bintray.com/siegfried/debian wheezy main" | sudo tee -a /etc/apt/sources.list | |
sudo apt-get update && sudo apt-get install siegfried | |
git clone https://github.com/cinecert/asdcplib.git && \ | |
cd asdcplib && mkdir build && cd build && \ | |
cmake .. && make -j && make install | |
apt-get install -y --no-install-recommends \ | |
python3 \ | |
python3-dev \ | |
python3-pip && \ | |
pip3 install -U pip setuptools | |
- Install linuxbrew - linuxbrew.sh
- install ruby
sudo apt install ruby
- install git -
sudo apt install git
3 Download and install linuxbrewruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
PATH="$HOME/.linuxbrew/bin:$PATH" - install ffmpeg
brew install ffmpeg --with-libass --with-tesseract --with-openjpeg --with-openssl --with-sdl2 --with-x265
brew install md5deep && brew install mediainfo && brew install exiftool && pip install lxml && pip install bagit
sudo apt-get install exfat-fuse exfat-utils
cd && mkdir ifigit && cd ifigit &&git clone https://github.com/kieranjol/ifiscripts
- `gedit .bashrc'
- copy paste the following line to the end of this document and save:
export PATH="/home/ifaingest3/ifigit/ifiscripts:$PATH"
- close terminal and reopen with CTRL+ALT+T
sudo apt-get update -qq && sudo apt-get -y install autoconf automake build-essential cmake git libass-dev libfreetype6-dev libsdl2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev mercurial pkg-config texinfo wget zlib1g-dev libopenjpeg-dev
mkdir -p ~/ffmpeg_sources ~/bin && export MAKEFLAGS="-j4"
cd ~/ffmpeg_sources && wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.02/nasm-2.13.02.tar.bz2 && tar xjvf nasm-2.13.02.tar.bz2 && cd nasm-2.13.02 && ./autogen.sh && PATH="$HOME/bin:$PATH" ./configure --prefix="$HOME/ffmpeg_build" --bindir="$HOME/bin" && make && make install
sudo apt-get install yasm libx264-dev libx265-dev libvpx-dev libfdk-aac-dev libmp3lame-dev libopus-dev
cd ~/ffmpeg_sources && if cd x265 2> /dev/null; then hg pull && hg update; else hg clone https://bitbucket.org/multicoreware/x265; fi && cd x265/build/linux && PATH="$HOME/bin:$PATH" cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="$HOME/ffmpeg_build" -DENABLE_SHARED:bool=off ../../source && PATH="$HOME/bin:$PATH" make && make install
cd ~/ffmpeg_sources && wget -O ffmpeg-snapshot.tar.bz2 http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 && tar xjvf ffmpeg-snapshot.tar.bz2 && cd ffmpeg && PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --extra-libs="-lpthread -lm" --bindir="$HOME/bin" --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-libopenjpeg && PATH="$HOME/bin:$PATH" make && make install && hash -r
wget https://mediaarea.net/repo/deb/repo-mediaarea_1.0-5_all.deb && dpkg -i repo-mediaarea_1.0-5_all.deb && apt-get update
- install 64-bit git-bash using all the default settings https://git-scm.com/downloads - make sure it's the 64-bit version!
- install 64-bit python3, making sure to tick the option to ADD TO PATH https://www.python.org/downloads/
- open cmd and
mkdir ifiscripts
andgit clone https://github.com/kieranjol/ifiscripts
- add this ifiscripts path (eg C:\Users\kieran\ifigit\ifiscripts)to the environmental path, following these steps:https://www.computerhope.com/issues/ch000549.htm
- install media-autobuild-suite but extract to the C:\mas folder due to long path issues
- OR manually install ffmpeg and mediainfo by placing the exe files in C:/Users/YOURNAME/ifigit/ifiscripts
- ffmpeg - download this - the default option works well - 64-bit static https://ffmpeg.zeranoe.com/builds/
- mediainfo - get the 64-bit CLI version https://mediaarea.net/en/MediaInfo/Download/Windows
- install notepad++ - https://notepad-plus-plus.org/downloads/
- install libreoffice - https://www.libreoffice.org/download/download/
- install siegfried exe (https://www.itforarchivists.com/siegfried/)file to the ifiscripts folder and run
sf -update
in cmd - download exiftoolinstaller and select the 'latest build' option - make sure that the option to add to path is ticked - https://oliverbetz.de/pages/Artikel/ExifTool-for-Windows
- pip install lxml clairmeta After configuring wsl.conf
[Interop] appendWindowsPath = False don't forget to open Powershell and put this command:
Restart-Service LxssManager
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment