October 28, 2011

Boot-Repair

Boot-Repair is a small graphical tool to restore access to Ubuntu and other OS (Windows..).
  • One "Recommended repair" button to repair most frequent boot problems. (generally repair filesystems and reinstall Grub2)
  • Another button to create a Boot-Info-Script summary in 1 click
  • Options to reinstall Grub2 easily (OS by default, purge, unhide, kernel options..), and other advanced options (MBR restore...).
Boot-Repair is a free software, licensed under GNU-GPL. Boot-Repair is not officially supported by Canonical, use it at your own risks.

Links

help.ubuntu.com/community/Boot-Repair
help.ubuntu.com/community/Grub2#Reinstalling_GRUB2
help.ubuntu.com/community/WindowsDualBoot

October 25, 2011

MinGW

Install MinGW
Windows 7 does not have a built-in command line program to extract from zip. Install MinGW using GUI.

sourceforge.net/projects/mingw/files/Automated MinGW Installer/mingw-get

:: for Windows
:: C Compiler
mingw-get install base

:: MSYS Basic System
mingw-get install msys-base

:: MinGW Developer Toolkit
mingw-get install mingw-developer-toolkit

:: Mount installation
sh mount c:/mingw /mingw

Links

mingw.org/wiki/Getting_Started
mingw.org/wiki/Large_executables
stackoverflow.com/questions/2826029/passing-additional-variables-from-command-line-to-make
superuser.com/questions/110991/can-you-zip-a-file-from-command-prompt
wiki.openttd.org/Compiling_on_MinGW

GNU Make

wget 'http://sourceforge.net/projects/mingw-w64/files/External binary packages (Win64 hosted)/make/make-3.82-20100827.zip'
unzip make-3.82-20100827.zip
cd make-3.82-20100827
cp bin_amd64/* /mingw64/bin

October 24, 2011

cURL for Windows

Use
curl -O http://msft-dnl.digitalrivercontent.net/msvista/pub/X15-65805/X15-65805.iso

Links

oss.m-click.ws/index.php?area=build_mapserver_win32&page=MsMingw
solutious.com/blog/2009/07/13/bash-twitter

cURL, Win64

Install UnZip
start ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
unz600xn -d unzip
cd unzip
move unzip.exe c:/dropbox/bin

Install
start http://curl.haxx.se/download/curl-7.22.0-win64-nossl.zip

UnZip, Win32

Install
start ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe
unz600xn -d unzip
cd unzip
move unzip.exe c:/dropbox/bin

Notes:
You can download from SourceForge as well with wget.

References:
ftp.info-zip.org/pub/infozip/win32
info-zip.org/UnZip.html

FFmpeg, Map streams

Mix video from file A with audio from file B
ffmpeg -i A.mp4 -i B.mp4 -map 0:v -map 1:a -c copy -shortest out.mp4

ffmpeg -i A.mp4 -i B.mp4 -map 0:0 -map 1:1 -c copy -shortest out.mp4

zlib

Install MinGW64
http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC Installer

Install MSYS
http://sourceforge.net/projects/mingw-w64/files/External binary packages (Win64 hosted)/MSYS (32-bit)

Install 7-Zip
wget http://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/7za920.zip
unzip 7za920.zip
mv 7za.exe /c/steven/downloads/bin/

Install Git
wget http://msysgit.googlecode.com/files/PortableGit-1.7.6-preview20110709.7z
7za x PortableGit-1.7.6-preview20110709.7z -o*
cd PortableGit-1.7.6-preview20110709
mv bin/git.exe /c/steven/downloads/bin/

Install zlib
wget http://msysgit.googlecode.com/git/src/mingw-w64/patch/zlib-config.patch
wget http://zlib.net/zlib-1.2.5.tar.gz
tar xf zlib-1.2.5.tar.gz
cd zlib-1.2.5

git apply --check fix_empty_poster.patch

FFmpeg Encoding Defaults


Links

2011 docs.google.com/leaf?id=0B_dz2NwhjXB-NDQ0NWNjOWEtMzJiNy00ZjcwLWJjMjYtZTU2YmQzMWMzYmU0
2010 ffmpeg-users.933282.n4.nabble.com/Unable-to-link-my-code-with-FFmpeg-td2337860.html
2009 web.me.com/dhoerl/Home/Tech_Blog/Entries/2009/1/22_Revised_avcodec_sample.c.html
2006 cryptosystem.org/archives/2006/03/libavcodec-libavformat-sample-code
2004 inb.uni-luebeck.de/~boehme/using_libavcodec.html

FFmpeg, Cut to frame, same audio

MP4 is sometimes needed to fix mp3 headers
ffmpeg -i in.avi -c copy in.mp4

Encode to FFVhuff
ffmpeg -ss 1:31:0 -t 0:4:0 -i in.mp4 -c:v ffvhuff -c:a copy FFVhuff.mkv

Get cut values with Avidemux
ffmpeg -ss 26.818 -t 5.682 -i FFVhuff.mkv -c:a copy -threads 6 out.mkv

Links

stackoverflow.com/questions/4839303/convert-image-sequence-to-lossless-movie

October 22, 2011

FFmpeg Basics

Website
Snapshots
git.videolan.org/?p=ffmpeg.git

Windows builds
ffmpeg.zeranoe.com

Get file info
ffmpeg -i in.mp4

Remux to MP4
ffmpeg -i in.flv -c copy out.mp4

Convert sample rate
ffmpeg -i in.mp3 -ab 192k -ar 44100 out.mp3

Links

github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/2
howto-pages.org/ffmpeg
x264dev.multimedia.cx/archives/499

October 20, 2011

Microsoft Office 2010 Professional

Microsoft Office 2010 is a productivity suite for Microsoft Windows, and the successor to Microsoft Office 2007. Office 2010 includes extended file format support, user interface updates, and a changed user experience. A 64-bit version of Office 2010 is available, although not for Windows XP or Windows Server 2003.

Website
thepiratebay.org/torrent/5624753/Microsoft_OFFICE_2010__Pro_Plus_PRECRACKED

Run from My Computer
Microsoft Excel
Microsoft Publisher
Microsoft Word
Office Shared Features > Proofing Tools > English Proofing Tools
Office Shared Features > Visual Basic for Applications

October 18, 2011

FFmpeg, Screencast Linux

A screencast is a digital recording of computer screen output, also known as a video screen capture, often containing audio narration. The term screencast compares with the related term screenshot; whereas screenshot is a picture of a computer screen, a screencast is essentially a movie of the changes over time that a user sees on a computer screen, enhanced with audio narration.


Links

srcbin.blogspot.com/2009/09/record-your-desktop-with-ffmpeg.html

UPX

UPX, the Ultimate Packer for eXecutables, is a free and open source executable packer supporting a number of file formats from different operating systems.

UCL has been designed to be simple enough that a decompressor can be implemented in just a few hundred bytes of code. UCL requires no additional memory to be allocated for decompression, a considerable advantage that means that a UPX packed executable usually requires no additional memory.

Website
upx.sourceforge.net

Process Dumper

Process Dumper is able to make a dump of a running process in a forensical manner.
Features

* dumps the whole process space (all data and code mappings)
* uses meta information to describe the different mappings (needed for advanced analysis)
* also saves the process environment and state
* outputs to stdout, so its possible to combine it with other tools (netcat etc.)
* doesn't touch the harddisk at all

Website
trapkit.de/research/forensic/pd

ProcDump

ProcDump is a command-line utility whose primary purpose is monitoring an application for CPU spikes and generating crash dumps during a spike that an administrator or developer can use to determine the cause of the spike. ProcDump also includes hung window monitoring (using the same definition of a window hang that Windows and Task Manager use), unhandled exception monitoring and can generate dumps based on the values of system performance counters. It also can serve as a general process dump utility that you can embed in other scripts.

Website
technet.microsoft.com/en-us/sysinternals/dd996900

October 17, 2011

Notepad++

Install
  • Choose Components
    • Context Menu Entry
    • Plugins
      • NppExport
         
  • Create C:\Program Files (x86)\Notepad++\asNotepad.xml
     
  • Edit C:\Users\Steven\AppData\Roaming\Notepad++\stylers.xml

Preferences
  • Editing
    • Folder Margin Style = None
    • Display bookmark = no
    • Enable current line highlighting = no

Style Configurator
  • Global Styles
    • Default Style
      • Font name = Lucida Console

Links

geekcredential.wordpress.com/2011/02/24/how-to-configure-notepad-to-always-open-in-a-new-window

RtmpDump Parameters

October 15, 2011

RtmpExplorer

RtmpExplorer routes all rtmp traffic to RtmpSrv.

Advantages:
- No need to search for the host/server address
- No need to edit the HOST file

Website
stream-recorder.com/forum/guis-rtmpsrv-rtmpdump-rtmp-explorer-t8909p2.html

Install .NET Framework Client Profile
microsoft.com/download/en/details.aspx?id=24872

Install Adobe Flash Player
get.adobe.com/flashplayer/otherversions

October 10, 2011

Ziggurat



Links

blogs.getty.edu/iris/selected-shorts-celebrates-the-written-and-spoken-word
flickr.com/photos/thegetty/5569378212/in/set-72157626374863936
newyorker.com/fiction/features/2009/06/29/090629fi_fiction_oconnor
selectedshorts.org/onair
vimeo.com/13923863

FFmpeg, Cut to frame, different audio

Get audio cuts with Audacity
ffmpeg -ss 0:3:55.570 -t 0:2:36.7 -i in.mp3 -c copy trim.mp3

Encode to FFVhuff
ffmpeg -ss 1:31:0 -t 0:4:0 -i in.mkv -c ffvhuff -an -sn FFVhuff.mkv

Get cut values with Avidemux
ffmpeg -ss 26.818 -t 0:2:33.111 -i FFVhuff.mkv -c copy trim.mkv

ffmpeg -i trim.mkv -i trim.mp3 -vf scale=638:-1,fade=out:3658:14 -c:a copy -threads 6 out.mkv

ffmpeg -ss 26.818 -i FFVhuff.mkv -c copy trim.mkv

Scale, fade, mux audio
ffmpeg -i trim.mkv -i trim.mp3 -vf scale=638:-1,fade=out:3658:14 -c:a copy -shortest -threads 6 out.mkv

Notes

The correct way is to put -ss first, then -i. If you put -i first it will cause sync issues.

Links

stackoverflow.com/questions/4839303/convert-image-sequence-to-lossless-movie

FFmpeg, H.264


Links

ffmpeg.org/pipermail/ffmpeg-user/2011-March/000079.html
forums.macrumors.com/showthread.php?t=81639

FFmpeg, Trim video

October 9, 2011

MySQL

MySQL Community Server
mysql.com

Get 64-bit MSI

2. Install
Setup Type = Custom
choose only MySQL Server > Client Programs
Launch the MySQL Instance Configuration Wizard = Yes

MySQL Server Instance Configuration
Standard Configuration
Install As Windows Service = Yes
Launch the MySQL Server automatically = No
Include Bin Directory in Windows PATH = No
Modify Security Settings = No

3. Install HeidiSQL
heidisql.com

4. Create new session MySQL
User = root
Compressed client/server protocol = no

5. Export CSV
First row contains column names = no
Fields separated by = Pipe
Fields enclosed by = None

6. Import CSV
Ignore first lines = 0
Fields terminated by = (Pipe)
Fields enclosed by = (nothing)
optionally = no
Fields escaped by = (nothing)
Lines terminated by = \n

References:
builderau.com.au/program/php/soa/Install-configure-and-integrate-PHP-and-MySQL-on-Windows/0,339028448,339271632-2,00.htm

October 5, 2011

Cygwin

Cygwin is a Unix-like environment and command-line interface for Microsoft Windows. Cygwin provides native integration of Windows-based applications, data, and other system resources with applications, software tools, and data of the Unix-like environment. Thus it is possible to launch Windows applications from the Cygwin environment, as well as to use Cygwin tools and applications within the Windows operating context.

Website
cygwin.com

Install
Choose A Download Source = Install from Internet
Select Packages = Keep
Select required packages = Yes
Create icon on Desktop = No
Add icon to Start Menu = No

mount -c /
mount C:/MinGW64 /mingw64
mount -m > /etc/fstab

Links

alecthegeek.wordpress.com/2010/01/13/handy-hack-make-changes-to-the-cygwin-mount-prefix-permanent
www-cdf.fnal.gov/~cplager/cygwin.html

Inbound Links

How to Change the Windows 7 taskbar background?
answers.yahoo.com/question/index?qid=20110831222322AAsfZmA

How to install get_flash_videos
code.google.com/p/get-flash-videos/wiki/Installation

Cropped Video - Subtitles Aspect Ratio not Correct
forum.videolan.org/viewtopic.php?f=14&t=88071

Why is my search box not working?
google.com/support/forum/p/blogger/thread?tid=0225b59807fc566e

Create from an mp3 file and a jpg image mp4 video using ffmpeg
josef-friedrich.woidwideweb.de/aus-einer-mp3-datei-und-einem-jpg-bild-ein-mp4-video-erstellen-mit-hilfe-von-ffmpeg

[rtmpdump] Command to compile Windows build?
lists.mplayerhq.hu/pipermail/rtmpdump/2011-July/001481.html

How to download videos from www.Hulu.com onto your computer?
stream-recorder.com/forum/download-videos-www-hulu-com-onto-your-t6224.html

Problem downloading Hulu videos with get_flash_videos
stream-recorder.com/forum/problem-downloading-hulu-videos-get-flash-videos-t7895.html
 
Joining H264 *without* re-encoding
superuser.com/questions/133413/joining-h264-without-re-encoding

Steven Penny on Vimeo
vimeo.com/svnpenn

Change Frame Used For Video Thumbnail Generation
windows7taskforce.com/view/693