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.

Monday, March 11, 2013

Randomore Winter12

Please help support this charity fund raising effort:

16 year old Christopher Ting is trying to raise money for the charity that supports the Birmingham Children’s Hospital – the hospital that gave him a new heart valve and looked after him for the last 6 years. He has released an album of some of the music that he has written and recorded, and will be donating the proceeds that he gets from the publishers to the charity.

You can help in the following ways: 

  1. You can go to http://randomore.bandcamp.com/  and "like"  or "share" the page. 
  2. You can buy a CD from one of the links below, 
  3. Or even better, you can download the album which is cheaper and the charity gets more of the money.


If you are not sure whether you will like the music that's written by a 16 year-old, just go to the download link below and you can listen to the entire album for free, and you can even buy individual tracks for less than US$1, if that is what you would like to contribute.

So go on people, show us how generous you are!

The album can be downloaded from here:

http://randomore.bandcamp.com/

The CD can be ordered from here:

https://www.createspace.com/2092076?ref=1147694

Friday, October 19, 2012

Setting IP Address in Text Mode on CentOS Linux

Enter command

   system-config-network-tui

then

   service network restart

Friday, September 28, 2012

Controlling Presentation mode from command line in Windows 7


presentationsettings /start
presentationsettings /stop

Enabling Presentation Mode on Windows 7 Desktop

Create the following entries in the registry:


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\MobilePC]

[HKEY_CURRENT_USER\Software\Microsoft\MobilePC\AdaptableSettings]
"SkipBatteryCheck"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\MobilePC\MobilityCenter]
"RunOnDesktop"=dword:00000001


Wednesday, August 1, 2012

Repairing the .NET Framework 2.0



  • Click Start, click Run, type installer in the Open box, and then click OK.
  • On the View menu in Windows Installer, click Details, right-click the Name column header, and then click Comment.
  • Right-click the cached Windows Installer file that has the Microsoft .NET Framework 2.0 RTL x86 enu comment, and then click Repair.
  • After the repair process has completed, quit Windows Installer.

 
Jeffrey Ting Jeffrey Ting on Facebook Jeffrey Ting on Spock Jeffrey Ting on Plaxo Jeffrey Ting on Spoke Jeffrey Ting on LinkedIn