Category Archives: Virtualization

Convert DV4 to AVI

Using ffmpeg.exe

create a batch file

c:
cd C:\TEMP
C:\tmp\bin\ffmpeg.exe  -i c:\temp\CH04_2014JUN29160000_0.dv4 -vcodec mpeg2video -acodec copy -f vob -copyts -y -s 800x600 "c:\temp\ch4.avi"

Error mounting VHD or Physical drive after motherboard crash

After a motherboard crashed I needed some specific settings and accounts out of the machine to transfer to another computer for a user. While most files can just be mounted and copied over from a slaved usb to sata converter, email accounts, Non Microsoft program settings and other specific data sometimes cannot be.

I Tried creating a VHD from the whole physical hard drive first using sysinternals, Disk2VHD. That created a vhd that I was able to mount, but still got the 0x0000007b error trying to boot.
I then mounted the physical drive in raw mode described in a previous article, same exact error message.

That meant that the drivers were incorrect for the virtual image computer. so I found a tool to fix error when booting to a volume of different hardware. Mount the vhd, add a cdrom image of Paragon_Adaptive_Restore_2010.iso and boot. Use the Adjust OS settings and Bam Everything booted up like a charm.

Time a function or Procedure in Milliseconds

Sometimes there is a need to evaluate how fast ( or slow ) as certain function, procedure takes to complete. This will help in identify where bottle necks are occurring in your procedures.


Dim starttime As DateTime = Now
Dim mset As New clsLoadSettings(clsLoadSettings.SettingsFiletype.XML)
mset.GetSettings()
mset.Dispose()
Debug.Print("Settings Load Time: " & Now.Subtract(starttime).TotalMilliseconds.ToString)