Wednesday, December 23, 2015

How to extract subtitles from an MKV video with FFMpeg

ffmpeg -i source.mkv -scodec srt  subsoutput.srt
or
ffmpeg -i source.mkv -scodec ass  subsoutput.ass

How to capture full page screenshot (screen capture) in Firefox

Shift F2 to open the Firefox developer toolbar, then enter the command:

screenshot --fullpage

The screenshots are saved into the downloads directory

How to replace your webmin certificate with a new self-signed certificate

openssl req -x509 -newkey rsa:2048 -keyout /etc/webmin/miniserv.pem -out /etc/webmin/miniserv.pem -days 365 -nodes -subj "/C=GB/ST=England/L=London/O=EU/CN=www.mywebsite.com"

openssl x509 -x509toreq -in /etc/webmin/miniserv.pem -signkey /etc/webmin/miniserv.pem >> /etc/webmin/miniserv.pem

/etc/init.d/webmin restart

How to burn (hardcode) subtitles into an MP4 video from an MKV video with embedded subtitles

ffmpeg -i "My Video.mkv" -vf subtitles="My Video.mkv"  "My Video".mp4

Friday, November 21, 2014

Mac OSX booting to black screen

Boot to Single User mode - Hold "command (⌘) + S" while powering on the Mac

Check the disk
/sbin/fsck -fy

Mount the file system as writeable
/sbin/mount -uw /

Remove three files
rm /Library/Preferences/com.apple.loginwindow.plist 
rm /Library/Preferences/loginwindow.plist 
rm /private/var/db/.AppleUpgrade

reboot

Friday, July 11, 2014

Mounting .CUE/.BIN Files As A Drive In Windows

Download and install DAEMON Tools Lite from http://www.disk-tools.com/download/daemon.

Tuesday, May 27, 2014

Windows update KB2833941 failed. Error code 0x643

Download and install the following components:

Stubborn AVI files that refuse to be deleted or moved, particularly in Windows XP

Bug in Windows that causes Explorer to read the entire contents of broken AVI files before allowing any access to them is caused by shmedia.dll. To correct this, remove the following registry key. 

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{87D62D9 4-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32

This will prevent Explorer from loading shmedia.dll in response to file property queries on these files.

Friday, September 20, 2013

How to get Dropbox to run outside of a roaming profile on Windows 7

1 - Create an appropriate directory on the C: drive to contain the Dropbox executable files:

md  "C:\Program Files (x86)\DropBox"

2 - Make a file junction to redirect the directory that Dropbox will create in your roaming profile, to the directory that you just created on the C: drive.:

C:\Users\Username\AppData\Roaming> mklink  /J  DropBox  "C:\Program Files (x86)\DropBox"

2 - Execute a silent install of the Dropbox installer and set the installation path to the above directory:

Dropbox X.X.X.exe   /S   /D=C:\Program Files (x86)\Dropbox

3 - Sign in to your Dropbox account and enjoy.

Tuesday, April 30, 2013

Windows Mouse Slow Down on Google Chrome

Disable hardware acceleration in the mouse settings. Or disable "Enhanced pointer precision".

Wednesday, April 24, 2013

Install the GD library on CentOS

yum install  gd gd-devel php-gd

Changing time zone on CentOS


 cp /usr/share/zoneinfo/Europe/London   /etc/localtime

Saturday, April 6, 2013

SD Card Reader on Windows 8 on Dell M4500

Do not install the Ricoh R5U24x / R5U23x Memory Card Drivers. They stop the reader from working. remove the Ricoh driver, and it should work.
 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn