if ($_SERVER['PHP_AUTH_USER'] != 'jeff' && $_SERVER['PHP_AUTH_USER'] != 'marina' &&
$_SERVER['PHP_AUTH_USER'] != 'jflemay@hotmail.com' && $_SERVER['PHP_AUTH_USER'] != 'marina.lemay@hotmail.com' )
{ die('no rights to read this page'); }
==== Macbook tools ====
* brew
* https://brew.sh/
* ( (no root) ) ''/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"''
* then ''xcode-select --install''
* /usr/local/Homebrew
* My Mac .apps don’t find /usr/local/bin utilities! \\ GUI apps on macOS don’t have /usr/local/bin in their PATH by default. If you’re on Mountain Lion or later, you can fix this by running sudo launchctl config user path "/usr/local/bin:$PATH" and then rebooting, as documented in man launchctl. Note that this sets the launchctl PATH for all users.
* ''brew install midnight-commander'' (mc)
* ''brew install gnupg2'' (pgp)
* ''brew install nmap'' (nmap)
* ''brew install ffmpeg --with-sdl2'' (long because compile)
* ''brew install ffmpeg'' (no ffplay in it)
* ''brew install mp4box'' (MP4Box)
* ''brew install pyqt5'' (install python2.7 & python3.x)
* ''brew install tcl-tk''
* ''brew list'' (list installed packages)
* ''brew info python''
* pgp
* https://gpgtools.org/
* /Library/Application Support/GPGTools
* /usr/local/MacGPG2
* encrypt ''gpg -e -r jflemay@hotmail.com file.txt''
* decrypt ''gpg -d -o file.txt file.txt.gpg''
* verify signature ''gpg --verify VeraCrypt_1.23.dmg.sig VeraCrypt_1.23.dmg''
* Trust the key after importation
* ''gpg --import private_key.asc''
* ''gpg --edit-key ""''
* ''gpg> trust''
* ''Quelle est votre décision ? 5''
* ''gpg> quit''
* nmap
* exe file : https://nmap.org/book/inst-macosx.html
* ffmpeg
* (already in GPAC see MP4Box)
* exe files & lib : https://ffmpeg.zeranoe.com/builds/
* exe file : https://evermeet.cx/ffmpeg/
* exe file : https://www.ffmpeg.org/download.html#build-mac
* /usr/local/ffmpeg
* encode image x264 quality=22, audio no change
* ''ffmpeg -i test.ts -c:v libx264 -preset slow -crf 22 -c:a copy test.mp4''
* change resolution
* ''ffmpeg -i ttt.mp4 -vf scale=720:450 ttt720.mp4 -hide_banner''
* change resolution
* ''ffmpeg -i video_1920.mp4 -vf scale=640:360 video_640.mp4 -hide_banner''
* start / end time :
* (before -i) ''ffmpeg -ss 1:03:45 -to 1:08:35 -i src.mp4 -vcodec copy -acodec copy dst.mp4''
* ratios :
* concat :
* cat mylist.txt \\ file '/path/to/file1' \\ file '/path/to/file2' \\ file '/path/to/file3'
* ffmpeg -f concat -safe 0 -i mylist.txt -c copy output.mp4
* MP4Box
* https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/
* /Applications/GPAC.app/Contents/MacOS
* Note : contains a exe ffmpeg
* cut
* ''MP4Box -splitz StartTime:EndTime (seconds) -add test.mov new.mp4''
* convert format
* ''MP4Box -add Nucleaire.ts Nucleaire.mp4''
* Concat
* ''MP4Box -cat sellig1.mp4 -cat sellig2.mp4 -cat sellig3.mp4 output.mp4''
* SoundFlower
* https://github.com/mattingalls/Soundflower/releases/
* Run the installer and perform an install \\ When the installer tells you that the installation failed, go to macOS System Preferences and select the “Security & Privacy” tab. There click on “Allow” next to “Matt Ingels” \\ Now run the installer again and finish the installation. Soundflower will now work on High Sierra
* Configuration Audio MIDI, Create Peripherique à sortie multiple, Select Soundflower 2ch & Sortie intégrée
* Permet d'enregistrer la sortie audio
* BlackHole successor of SoundFlower
* VeraCrypt
* Needs FUSE installed : https://osxfuse.github.io/ \\ (Note CryFS can be installed by brew : ''brew cask install osxfuse'' ''brew install cryfs'' not tested)
* https://www.veracrypt.fr/en/Downloads.html
* Molotov watch tv free
* https://www.molotov.tv/
* Qt5 & python3
* brew update && brew upgrade
* brew install python
* or pip3 install PyQt5
* pip3 install cx_Freeze==5.0.2
* brew install wxpython
* brew install python3 --with-tcl-tk
* ''which python3''
* ''pip3 install pyinstaller''
* ''pip3 install lxml''
* ''pip3 install cx_Freeze''
* ''pip3 freeze'' (for a list of installed packages)
* If you need to have qt first in your PATH run: \\ ''echo 'export PATH="/usr/local/opt/qt/bin:$PATH"' >> ~/.bash_profile''
* or **better** ''sudo launchctl config user path "/usr/local/bin:$PATH"''
* Python has been installed as ''/usr/local/bin/python3''
* Pip, setuptools, and wheel have been installed. To update them run ''pip3 install --upgrade pip setuptools wheel''
* https://py2app.readthedocs.io/en/latest/ Create standalone Mac OS X applications with Python
| 16/9 = 1,777 | 1920:1080 | 720:406 | 1440:810 | 640:360 | 576:324 |
| 16/10 = 1,6 | 1920:1200 | 720:450 | 1440:900 | 640:400 | 576:360 |
| 4/3 = 1,333 | 1920:1440 | 720:540 | 1440:1080 | 640:480 | 576:432 |
brew install midnight-commander
brew install gnupg2
brew install mp4box
brew install tcl-tk
brew install ffmpeg
brew list
ffmpeg libpng s-lang
gdbm libssh2 sqlite
gettext midnight-commander tcl-tk
glib openssl x264
gpac pcre xvid
lame python xz
libffi readline
brew install pygtk
brew install pygobject3 --with-python@2 gtk+3
python3 -c 'import gi; gi.require_version("Gtk", "3.0"); print("ok")'
brew install gcc (darwin 18.0.0 c++ 4.2.1)
pip3 install cython (v0.28.5)
create symlink in /usr/local/bin for cython & cythonize
# Python in the browser
# NB: install it on the http server
# typed-ast, mypy-extensions, mypy, transcrypt
pip3 install transcrypt