ffmpeg -i input.mp4 -b 1000000 output.mp4
ffmpeg -i input.m2ts -vcodec libx264 -crf 20 -acodec ac3 -vf "yadif" output.mp4
Lbl G | |
ClrHome | |
Disp " J.M.'S DRUGWAR"," SIMULATION",""," VERSION 2.00",""," JUST SAY NO." | |
2000→Z | |
5000→Y | |
0→V | |
100→K | |
1→B | |
2→N | |
0→I |
#!/bin/bash -e | |
function die() { | |
echo $1 >&2 | |
exit 0 | |
} | |
[[ -x $(which play) ]] || die "sox must be installed" | |
if [ $# -gt 0 ]; then |
MIT License | |
Copyright (c) 2012 endolith | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
// From http://www.tannerhelland.com/4435/convert-temperature-rgb-algorithm-code/ | |
// Start with a temperature, in Kelvin, somewhere between 1000 and 40000. (Other values may work, | |
// but I can't make any promises about the quality of the algorithm's estimates above 40000 K.) | |
function colorTemperatureToRGB(kelvin){ | |
var temp = kelvin / 100; |
DEVICE = attiny85 | |
CLOCK = 8000000 | |
PROGRAMMER = stk500v1 | |
PORT = /dev/tty.usbmodem1421 | |
BAUD = 19200 | |
FILENAME = main | |
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) | |
all: usb clean build upload |
// A simple trigger for the Adafruit Audio FX Sound Board | |
// For complete info on the sound board, see https://learn.adafruit.com/adafruit-audio-fx-sound-board/overview | |
/* | |
This is a simple test of a direct trigger of the Audio FX Sounds Board from an Arduino. | |
For my test, I used an Arduino Pro Mini running at 3.3v & 8mHz. Digital pin #4 of the Arduino | |
was connected to trigger pin #0 of the Sound Board, and I tied them to a common ground. I powered | |
Sound Board via a USB external battery for the initial tests, and the Arduino via the FTDI cable. | |
For later tests, I powered the Sound Board via the Arduino's VCC (3v) pin directly. |
More details - http://blog.gbaman.info/?p=791
For this method, alongside your Pi Zero, MicroUSB cable and MicroSD card, only an additional computer is required, which can be running Windows (with Bonjour, iTunes or Quicktime installed), Mac OS or Linux (with Avahi Daemon installed, for example Ubuntu has it built in).
1. Flash Raspbian Jessie full or Raspbian Jessie Lite onto the SD card.
2. Once Raspbian is flashed, open up the boot partition (in Windows Explorer, Finder etc) and add to the bottom of the config.txt
file dtoverlay=dwc2
on a new line, then save the file.
3. If using a recent release of Jessie (Dec 2016 onwards), then create a new file simply called ssh
in the SD card as well. By default SSH i
/* | |
* jsk.c | |
* | |
* Copyright (C) 2013, Frederic Kayser. | |
* | |
*/ | |
#include <stdio.h> | |
#include <stddef.h> |
// Cylindrical cell adapters | |
// Ed Nisley KE4ZNU April 2017 | |
//- Extrusion parameters must match reality! | |
ThreadThick = 0.25; | |
ThreadWidth = 0.40; | |
HoleWindage = 0.2; |