Wednesday, 29 January 2014

Windows 7 Stereo Mix

If you want to record whatever it is playing on your computer, there is a simple way to do it.
  • Right click on the "Speakers" from the Task Bar 
  • Select "Recording devices"
  • Right click in the tab and check "Show Disabled Devices" (if it is not checked)
  • Right click on "Stereo Mix" and select "Enable"
Use any recording software such as Audacity and select "Stereo Mix" as your input device.


Tuesday, 28 January 2014

APS Daemon - missing MSVCR80.dll

Uninstall all Apple applications and reinstall iTune will fix this problem.


Monday, 20 January 2014

Word of God

The Word of God inflicts hurt on us more than sin ever could, because sin dulls our senses.

The Basics of Video Compression

Why Do We Compress the video?

  • An uncompressed 1080p file requires about 237 MB/second for playback.  
    • It is far exceeding any internal connection speed mere mortals can afford.  
    • Most compressed movies playback from the web at less than 1.5 MB/s
  • The higher the quality of the source file, the higher the potential quality of the compressed files derived from it.
    • You can't make a compressed file look better than the source file; with the possible exception of making the frame size smaller.
  • When compressing a file, you apply settings to determine what you want the source file to become.
    • The size and format of the source file have almost no relevance.
    • all compression software automatically determines the specs of the source file and creates the transcoded file based on your settings.

Definitions

Codec (Compressor/Decompressor)
The mathematics used to convert light and sound into numbers that can be stored and played back from a computer.  Codecs are the heart and soul of compression.  There is no single codec that is perfect for capture, editing, and distribution.

Bit rate
The speed, in bits per seconds (bps), of a media file during playback.  Controlling bit rate is a key element of compression.  Also called data rate or bandwidth.  This also determines how smoothly a web video will stream.
Our Goal, when creating videos for the web, is to get the highest possible image quality from the smallest possible bit rate.

Frame size
The size, in pixels, of a video frame

Frame rate
The number of frames playing per second; the web supports an infinite variety of frame rates.

Artifacts
Small, ugly, rectangular blocks in compressed video caused by bit rates that are set too low.

I-frame
A method of compression where each frame is compressed individually.  Yield excellent image quality, with very large file sizes.  Best format for editing.

GOP (Group of Pictures)
A method of compression where groups of frames are compressed together.  Yields good image quality with very small file sizes. Best for web videos.

What Determines Quality?

  • Image quality is balance of five factors:
    • Codec.  Different codecs require different settings for similar quality.
    • Compressed frame size.  Larger frame sizes require faster bit rates
    • Compress frame rate.  Faster frame rates require faster bit rates.
    • Movement between frames.  More movement between frames requires faster bit rates
    • Bit fate of the compressed file.  Higher bit rates yield higher quality, but much larger file sizes.

Bit Rate Isn't Everything

  • Files encoded at the same bit rate will generally have the same file size, but they may not have the same image quality, unless they also have the same specifications.

Frame Size Makes a Difference

  • Bit rates that work for one format, don't work for others.
  • NTSC DV frame contains 345,600 pixels
  • PAL DV frame contains 414,720 pixels
  • 720p frame contains 921,600 pixels
  • 1080p frame contains 2,073,600 pixels
  • 2K frame contains about 2.21 million pixels
  • 4D frame contains about 8.29 million pixels

Minimize Movement

  • Video compression yields the smallest file sizes when there is very little movement between frames.
    • The more movement between frames in the master file - from camera, transitions, effects, or talent - the higher the bit rate that is needed to properly compress it.
  • If small file sizes are key, minimize on-screen movement; such as hand-held cameras, file noise effects, video noise due to low light, or leaves waving in the background behind your actors.


Friday, 17 January 2014

SQL Server Data Tools Projects Error with the file _Data.sqlinclude


I am having problem to build the project.  The error is:

  • SQL71006: Only one statement is allowed per batch. A batch separator, such as 'GO', might be required between statements.

Solution:

  • Set the Build Action of the file to "None".  It was set to "Build".

More info:

  • Make sure the file (Data\_Data.sqlinclude) is NOT Read Only.
  • Have a Pre-Build event to generate the file with Data\_Data.tt


set doTemplateTransform=
if "$(BuildingInsideVisualStudio)"=="True" set doTemplateTransform=true

if "%doTemplateTransform%"=="true" "$(MSBuildProgramFiles32)\Common Files\microsoft shared\TextTemplating\12.0\TextTransform.exe" "$(ProjectDir)Data\_Data.tt" -a "!!targetDir!$(ProjectDir)Data"

Wednesday, 15 January 2014

Format xml file automatically

Use the free XML Copy Editor

  • Open the file
  • Select "XML" from the top menu and select "Pretty-print" or press <F11>


Saturday, 11 January 2014

Apple loops and sound effects not showing in FCP X 10.1

Trash the FCP X preferences and restart FCP X

Download the free Preference Manager

Delete the preferences manually
  • User > Library > Preferences > com.apple.FinalCut.plist and
  • User > Library > Preferences > com.apple.FinalCut.LSSharedFileList.plist
if you cannot see the Library in the user home folder
  • Open user home folder by <command><shift><H>
  • Click 'View'
  • Select 'Show View Options'
  • Check 'Show Library Folder'
or
  • from Desktop, click "Go" with <Option> key, select Library