Random Stuff
- Add passwords to a pmwiki group — edit the main group page, and append to the URL: "&action=attr" … e.g. "http://[wiki]/pmwiki.php?n=NewGroup.MainPage" --> "http://[wiki]/pmwiki.php?n=NewGroup.MainPage&action=attr"
- ffmpeg command to crop 720x480 video to 640x480 video, bitrate at 2.8M
ffmpeg.exe -i "input.avi" -vcodec msmpeg4v2 -cropleft 40 -cropright 40 -s 640x480 -aspect 4:3 -b 2.8M -f avi output.avi
- PythonMultiFileScript - ugly, but gets the job done, right? ;)
import os from os import * files = ["PICT4154.MOV", "PICT4155.MOV", "PICT4157.MOV", "PICT4158.MOV", "PICT4159.MOV", "PICT4160.MOV", "PICT4161.MOV", "PICT4162.MOV", "PICT4163.MOV", "PICT4164.MOV", "PICT4165.MOV", "PICT4166.MOV", "PICT4167.MOV", "PICT4168.MOV", "PICT4169.MOV", "PICT4170.MOV", "PICT4171.MOV", "PICT4172.MOV", "PICT4173.MOV", "PICT4174.MOV", "PICT4175.MOV", "PICT4176.MOV", "PICT4185.MOV"] for file in files: print "Doing " + file L = ['ffmpeg.exe', '-i', file, '-b', '4M', '-vcodec', 'msmpeg4v2', '-acodec', 'copy', '-f', 'avi', file + '.avi'] os.spawnv(os.P_WAIT, 'ffmpeg.exe', L)
page revision: 4, last edited: 14 Dec 2008 01:40