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",
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)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License