Swap the audio tracks without re-encoding

Many video file formats allow you to have multiple sound tracks (e.g. karaoke videos) where the first audio track is treated as the default by many audio-visual editing applications. Many of those can only handle one audio track which is the first one. If you want to switch the audio tracks, you can use FFMPEG without re-encoding the media. The following example is the command to switch the two audio tracks in a video file:

ffmpeg -i input -map 0:v:0 -map 0:a:1 -map 0:a:0 -c copy output

Posted in Tips & Tricks

TeamViewer Won’t Start

If you experience problems starting TeamViewer in Windows, one the possible causes may be that the communication stack WINSOCK has been corrupted. Uninstalling and reinstalling TeamViewer, tweaking the Firewall settings and rolling back to previous software version will not resolve the problem. A simple command may do the trick. Open and run the Command Prompt (CMD) under administrator privilege, and enter the following command:

“netsh winsock reset”

Restart the computer and TeamViewer may very well be working again.

Posted in Tips & Tricks

VMware Bridged Network

If you use Bridged Network in VMware Workstation Player and experience network problems after software upgrade (either VMware or Windows), resetting the network configuration to its default settings usually resolves the problems. Since there is no network configuration tool in Workstation Player, an alternate way to achieve the same results is to shutdown the host machine and re-configures its network adapters.

Posted in Tips & Tricks

Screen Resolution of an Android on Virtual Machines

It’s been quite some since one can install Android on Windows-based systems, whether through an emulator or through virtual machines (such as Virtual Box or VMware Workstation).

When running Android on virtual machines, there is one common adjustment which is not readily available through obvious user interface, namely the screen resolution. This web page discusses how this can be done and the settings be saved.

Posted in Tips & Tricks

Converting PDFs Using ImageMagick

There may be situations that you would like to convert a coloured PDF document to black-and-while (monochrome or greyscale) for whatever reasons. One of the methods that can accomplish this is to use ImageMagick, free command-line software that can perform all sorts of functions related to images. The following examples are commands to convert a PDF in colour to black-and-white. Values in the parameters should be adjusted to suit the particular document in question to obtain optimal results. (Note: Ghostscript needs to be installed for working with PDFs)

“magick -density 600 in.pdf -threshold 60% -type bilevel -compress fax out.pdf”

“magick -density 600 in.pdf -level 10%,90% -type grayscale -depth 8 out.pdf”

Posted in Tips & Tricks

How to increase volume in a video without re-encoding the video

I needed for a reliable, fast and non-destructive way to increase gain on a video’s audio track. I found it in using the ffmpeg tool, which is a swiss army knife for dealing with video and audio files. It’s conveniently cross-platform and works wonders.
To increase the volume of the first audio track for 10dB use:
ffmpeg -i inputfile -vcodec copy -af “volume=10dB” outputfile
To decrease the volume of the first audio track for 3dB use:
ffmpeg -i inputfile -vcodec copy -af “volume=-3dB” outputfile

Posted in Tips & Tricks

VMware Workstation Player – Shared Folders

vmware

After you upgraded to Windows 10 in VMware environments, the shared folders feature may not work any more. Follow this link to resolve the problem.

Posted in Tips & Tricks

Problems Connecting Portable Devices to a PC

mtpWhen you encounter problems connecting your Android phones/tablets to a PC, the cause could be that Windows is not selecting the proper driver for the device. Normally you would connect your portable device to a PC using Media Transfer Protocol (MTP). You may want to override the driver that Windows chooses if problems occur during installation of default driver, unknown device detected, etc. To override the default driver, simply choose to update the driver, pick your own driver and select ‘MTP USB Device’.

A good read on ‘Android USB Connections Explained: MTP, PTP, and USB Mass Storage’.

Posted in Tips & Tricks

Fix Blurry Fonts in Windows 10 with This Utility

Windows 10 DPI FixIf you have a high-resolution display, you’ve probably noticed that some apps have blurry fonts when scaled up. Even stranger: some apps that used to scale well are blurry in Windows 10. Here’s a fix.

Posted in Tips & Tricks

Utility – Patch Cleaner

PatchCleanerWhen applications are installed and updated on the Windows Operating System a hidden directory “c:\Windows\Installer” is used to store the installer (.msi) files and the patch (.msp) files.

Generally these files are important as during updating, patching or uninstalling software it will use the .msi/.msp files. If you blanketly delete all the files in this folder, you will find yourself needing to rebuild windows.

Over time as your computer is patched and patched again, these installer files become outdated and orphaned. They are no longer required, but they can take up many gigabytes of data…..(click here for more information and download the nice little utility to free up space on the Windows OS Drive).

Posted in Tips & Tricks