https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
| fmpeg -i $file -c:v libx265 -x265-params lossless -c:a copy -c:s copy output.mkv |
https://github.com/rg3/youtube-dl/
apt-get install libav-tools ffmpeg # Linux (either one of either should do) brew install ffmpeg # OSX choco install ffmpeg # Windows
Referenced here:
https://msdn.microsoft.com/en-us/library/aa719104(v=vs.71).aspx
| Windows Data Type | .NET Data Type |
| #/bin/bash | |
| # Get the Dependencies | |
| # Copy and paste the whole code box for each step. First install the dependencies: | |
| sudo apt-get update | |
| sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \ | |
| libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \ | |
| libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev |
| #!/bin/sh | |
| # | |
| # Batch transcode mp4 files from a directory, | |
| # set bitrate, and output to another directory. | |
| # User-defined parameters | |
| INPUT_DIR="/home/user/Videos/pre" | |
| OUTPUT_DIR="/home/user/Videos/post" | |
| MEDIA_EXTENSION="mp4" | |
| TARGET_BITRATE_VIDEO="8M" |
| git ls-files | xargs wc -l |
| #include <iostream> | |
| #include <thread> | |
| #include <windows.h> | |
| #include <conio.h> | |
| const WORD keyCodes[4] = { | |
| 0x51, // Q | |
| 0x57, // W | |
| 0x45, // E |
| package main | |
| import ( | |
| "fmt" | |
| "encoding/json" | |
| "github.com/gorilla/mux" | |
| "log" | |
| "net/http" | |
| ) |
| #!/usr/bin/env bash | |
| # Reset Docker to a clean vanilla state. Will destroy all containers, images, networks, volumes, and cache. | |
| [ $(docker ps | wc -l) -ne 1 ] && echo "Stopping all containers..." && docker stop $(docker ps | sed -n '1d;p' | awk -F" " '{print $1}') | |
| [ $(docker ps -a | wc -l) -ne 1 ] && echo "Deleting all containers..." && docker rm $(docker ps -a | sed -n '1d;p' | awk -F" " '{print $1}') | |
| [ $(docker images | wc -l) -ne 1 ] && echo "Deleting all images..." && docker image rm $(docker images | sed -n '1d;p' | awk -F" " '{print $3}') | |
| echo "Pruning networks, volumes, and cache..." && docker system prune -a -f --volumes | |
| echo "Docker is back to Vanilla... COMPLETE!" |