Sunday, March 13, 2016

[Windows]: Live Telecasting on Your Web

Live Telecasting on Your Web 

Presented here is an Internet-based project for telecasting live video from your computer to your webpage. The video can be viewed on the computers of your family members, relatives or friends living in different parts of the world.

This is also an interesting project for people who have basic knowledge of computer hardware, software, operating system, networking, Internet technology and webpage written in hypertext markup language (HTML). For more information, you may refer to ‘Make Your Own Web Server’ project published in January 2013 issue.

Tools required for the project:
1. A TV tuner card with audio and video inputs
2. A camera with audio and video outputs
3. A microphone
4. A broadband Internet modem
5. A high-speed broadband Internet connection
6. A video streaming software

Hardware and software installation
It is assumed that your PC has Windows operating system with Internet connection and is ready for the following hardware and software installations and testing:
1. Installation of a TV tuner card on the PCI slot for audio and video capturing
2. Installation of TV tuner card drivers
3. Testing of video camera picture and sound system
4. Installation of a video streaming server software
5. Creating an HTML page for live web telecasting
6. Uploading the created HTML page to your website
7. Watching live programme on your Web server

1. Installation of a TV tuner card for audio and video capturing. This is the most important part of the project. Here we used an inexpensive and easily available PixelView PCI TV tuner card for capturing picture and sound for telecasting.
It has video and audio input sockets provided on its back side for connecting to any type of camera with video and audio outputs.

Fig. 1: PixelView TV tuner card with video and audio inputs

Fig. 2: PCI slots in your computer

Fig. 3: Pinnacle 110i TV tuner Card

Fig. 4: Connection of Sony Handycam with a TV tuner card
First switch off the power supply of your PC and open the cover of the CPU unit. Insert the PixelView PCI TV tuner card (refer Fig. 1) into the spare (available) PCI slot. Use a bolt to fix the card on the frame to ensure that it is properly fixed in the PCI slot (refer Fig. 2).

Now, close the PC cover and power on your PC for TV tuner card driver installation. (Note. You can also use any other compatible TV tuner card, such as Pinnacle110i, as shown in Fig. 3. Other types of USB TV tuner cards with audio and video inputs can also be used for the purpose.)
Here we are using Sony Handycam (refer Fig. 4). A 50m long CCTV system AV cable can be used between camera and PC for longer distance coverage. (Webcam is not used due to cable length limitation and non-availability of AV outputs.)

Fig. 5: Installation of PixelView PCI TV tuner card driver for Conexant BT878

Fig. 6: Testing sound and picture of Sony Handycam for telecasting

Fig. 7: BroadCam video streaming server

2. Installation of TV tuner card drivers.
Insert the TV tuner card driver CD in the CD drive of your PC and click on the Install option. It will start installing the driver on your PC. Follow the on-screen instructions as shown in Fig. 5.


If you are using Pinnacle 110i TV tuner, you can download the driver from the link mentioned below:

http://drivers.softpedia.com/dyn-postdownload.php?p=14328&t=4&i=1

3. Testing of video camera picture and sound system. After driver installation, launch PixelView from your desktop. The screenshot of the program output is as shown in Fig. 6. Select TV option from PixelView control panel, configure the video as PAL system and country as India. Now connect an antenna or a cable TV to the card to watch TV programme on your PC. If your TV programme is working well, it is time to test the camera.
Test the picture and sound of your camera with the TV tuner card by connecting camera audio and video outputs to audio and video inputs of the TV tuner card. You can use a self-made 50m long CCTV cable with male and female connectors on both ends of the cable for audio and video connections (refer Fig. 8).

Fig. 8: Self-made audio-video cable with both end male and female connectors

Fig. 9: Live telecasting on Web server

Download Source Code: Click Here

Select Composite option from PixelView’s control panel and switch on the Sony Handycam. You will get a picture on your PC monitor screen and sound on your speakers.


You can also connect another similar device with audio and video output to TV tuner card for watching on your PC or for telecasting. You can connect a DVD player or a set-top box for watching movies or TV programmes or telecast the selected TV programme on Internet through your webpage.

(Note. For Pinnacle110i TV tuner card, you can also use VLC media player for testing sound and picture of Sony Handycam for telecasting.)
4. Installation of video streaming server. There are a number of software available on the Internet for video streaming, but here we have used BroadCam video streaming server software because of its simplicity, easy availability and quick installation. This software is available in both free and paid versions. For software configurations, tutorial and other help, visit the link: http://www.nchsoftware.com/broadcam/tutorial.html
You can download this software from the link: http://www.nchsoftware.com/broadcam/ and install it by double clicking on bcsetup.exe file, and follow the on-screen instructions. After proper installation, you will find an icon on your computer desktop with the title ‘BroadCam Video Streaming Server.’ Click on this icon to run the program on your PC and you will get a screen as shown in Fig. 7.

Click on the Start Server button (it has start and stop functions) to start video for live telecasting.

Click on BroadCam Video Streaming Server Live to check live input settings.
Click on Open Links option to get live streaming link and web HTML code.
5. Creating an HTML page for live web telecasting. From BroadCam video streaming server program, select Tools/Options/Web Access options and click on the link given below corresponding to Local Network option:

http://192.168.1.99:86/live.html?src=1

You will get a video streaming screen and HTML code for inserting on your webpage. Select HTML code, then copy and paste it on your webpage.
You can create your own webpage and paste a video streaming HTML code on it by using any HTML editor such as Microsoft FrontPage.
The HTML code for creating your webpage for live telecasting is provided in this month’s EFY DVD and at source.efymag.com. You can copy this HTML code and paste it on Notepad editor and save the file name as index.html

6. Uploading an HTML page on your webpage. You can upload index.html file created above by following the details as described in ‘Make Your Own Web Server’ article in EFY January 2013 issue, or you can use FTP for uploading index.html to your web as explained below:
1. Click on Start-> Run button on your desktop
2. Type your ftp IP address such as ftp://210.150.160.38
3. Enter your user name and password
4. Copy index.html file into your web wwwroot folder. (This is the root directory of your site.)

7. Watching your live programme on your Web server. Now, open Internet browser and type your web address as:
http://www.yourwebname.com

You will see your webpage as shown in Fig. 9

You can see the live video from here. 

Tuesday, March 8, 2016

[Windows]: Change Windows Product Key After Install

Change Windows Product Key After Install


Do you need to change your product key so you can activate Windows Vista, Windows 7, Windows 8 or Windows 10? There are two methods that will help you easily change the product key and activate.
Method 1: Command Line Utility
You can use a great command line tool that will help you do this very quickly. Just follow these steps:
Launch the Start Menu and type in command prompt or cmd so that it shows up on your start menu search list. Right click on the Command Prompt shortcut and select Run As Administrator.
At the administrator command prompt, type in "slmgr.vbs -ipk "
slmgr.vbs -ipk 00000-00000-00000-00000-00000
To activate windows after changing the key, run "slmgr.vbs -ato"
Method 2: Using the Activation UI
Alternatively, if you want to use a graphical interface, run the following at a command prompt as suggested by Dave in the comments. 
slui.exe 3
Then just type in your product key and click the Activate button.

Wednesday, September 23, 2015

[MAC]: How to Install Ubuntu 14.04 on a Macbook Air

How to Install Ubuntu 14.04 on a Macbook Air

How to Install Ubuntu Linux on Macbook Air. This is model MacbookAir3,1 made in 2010. This may seem like a lot of steps, but you really only have to do it once. Once your OS is installed you just open the computer and start using it.

1. Obtain Ubuntu image and burn to DVD
http://cdimage.ubuntu.com/releases/14...
ubuntu-14.04.2-desktop-amd64+mac.iso
This image is adjusted to work properly on Mac systems. 

2. Backup data

3. Boot DVD from external drive. Start while holding C 

4. Erase SSD using gParted
- go to System / Administration / Partition Editor 
- choose Device / Create Partition Table... 
- choose "msdos" for the type of partition table 

5. Install Ubuntu without WiFi

6. Enable WiFi

7. select nVidia driver and reboot, to eliminate graphic glitches and crashes
- search for “drivers” to find Additional Drivers utility
- if no drivers show, use Ubuntu Software Center to activate nVidia restriced source
- select proprietary driver and click Apply, then exit
- sudo nvidia-xconfig
- reboot
- Upon logging in immediately run NVIDIA X Server Settings, select X Server Display Configuration, and click Save to X Configuration File. 


Optional Optimizing Steps

1. disable Apport to prevent “System Program Problem Detected” popups
sudo gedit /etc/default/apport

2. Enable TRIM wear leveling on ext4 
As of Ubuntu 14.04, scheduled TRIM is enabled by default for Intel, SAMSUNG, OCZ, Patriot and Sandisk SSDs. If you have another brand, you can disable the vendor check by editing the file /etc/cron.weekly/fstrim and add –no-model-check
sudo gedit /etc/cron.weekly/fstrim

3. Fix brightness keys
sudo gedit /etc/X11/xorg.conf
Add Option line to Device section: Option "RegistryDwords" "EnableBrightnessControl=1" 

4. Avoid long EFI wait “white screen” before GRUB
Boot from a Mac OSX USB device, then click Utilities/Terminal, and enter: 
sudo bless --device /dev/disk0s1 --setBoot --legacy 
Assuming that the bootloader is on sda1, otherwise /dev/disk0s2 if it's on sda2, etc. 

5. Turn off password lock when screen dims
- Settings / Brightness & Lock
- dim after 10 minutes
- lock off

6. Settings / Mouse & Touchpad / Tap to Click

Sunday, August 9, 2015

[Software RAID] Software RAID 1 in Windows 7 for Increased Data Security

Software RAID 1 in Windows 7 for Increased Data Security


Software RAID 1, or "Mirroring", makes an exact copy of all the data between two disks. So, when one of the drives fails - because HDD failure is a matter of time - all data is safe on the other disk. Let's create a software RAID 1 in Windows 7.
To create software RAID 1 with Windows 7 we will need two hard disk drives - preferably of the same size - and at least Windows 7 Professional or Windows 7 Ultimate.
Software RAID 1 in Windows 7 for Increased Data Security 00

We can't create a software RAID 1 in Windows 7 Home Premium

Software RAID in Windows 7 is nothing less than a mess. Different Windows 7 versions have arbitrary restrictions on which RAID levels they allow us to create.
If we bought a PC with pre-installed Windows 7, chances are that we have Windows 7 Home Premium. That means that software RAID 1 is out of reach.
Software RAID 1 in Windows 7 for Increased Data Security 01
Due to licensing reasons, on Windows 7 Home Premium we can only create a RAID 0, "Striping", which is a useless type of RAID for data security.
Software RAID 1 in Windows 7 for Increased Data Security 02
When one disk fails in the RAID 0, all the data from all the disks is lost, permanently and without any chance for recovery.
The "Spanned Volume" option isn't even RAID. It's a JBOD array (Just a Bunch of Disks), where two or more disks appear as a single large disk. But this too doesn't offer any data security, when one disk is lost, all the data from every disk in the array is lost.
So, we won't be covering either scenario in Windows 7 Home Premium.

Why software RAID 1 and not software RAID 5?

For the same arbitrary licensing reasons, software RAID 5 is completely off-limits to any version of Windows 7.
We will find the option by right-clicking on the drive, but it will always be grayed-out, just taunting us with what it would be...
Software RAID 1 in Windows 7 for Increased Data Security 02a
Only Windows Server editions - as old as Windows 2000 server - can create a software RAID 5.
With RAID 0 being useless for data security and RAID 5 being unavailable, creating a software RAID 1 in Windows 7 is the only viable option.

How to create a software RAID 1 in Windows 7

As we mentioned earlier, on a level 1 RAID two disks have the exact copy of all the data at any single moment. So, when one of them fails, the data is safe on the other.
Software RAID 1 in Windows 7 for Increased Data Security 04
The downside of RAID 1 is that we lose 50% of the total disk capacity. If we use two 1TB disks for RAID 1, the array will have a 1TB capacity in total.
To create the software RAID, we press the Windows key + R, to open the "run" dialogue, and type:
diskmgmt.msc
Software RAID 1 in Windows 7 for Increased Data Security 05

Creating a software RAID 1 with brand new disks

If both of the disks we will use for the Software RAID 1 are brand new, once we open the Disc Management console, we will get a message to initialize the disks.
Software RAID 1 in Windows 7 for Increased Data Security 06
If the disks are smaller than 2TB each, the MBR partition style is good enough. Else, we need to select the GPT partition style.
After that, we right-click on one of the two unallocated volumes, and select "New Mirrored Volume...".
Software RAID 1 in Windows 7 for Increased Data Security 08
On the New Mirrored Volume Wizard we add the 2nd disk...
Software RAID 1 in Windows 7 for Increased Data Security 09
...which will allow us to move forward.
Bullguard Summer Deals - 60% OFF
Software RAID 1 in Windows 7 for Increased Data Security 10
In theory we can have more than two disks in a RAID 1 array, but they will all be copies of one disk, and a terrible waste of space. Four 1TB disks in RAID 1 give us a 1TB array, with 75% of the total capacity lost.
Finally, we assign a drive letter to the new array...
Software RAID 1 in Windows 7 for Increased Data Security 11
...and format it to NTFS.
Software RAID 1 in Windows 7 for Increased Data Security 12
The system warns us that this operation will convert basic disks to dynamic. The only downside of that is that we can't dual-boot another operating system from a dynamic disk e.g. a Linux distribution or another version of Windows.
Software RAID 1 in Windows 7 for Increased Data Security 13
By choosing "Yes", our Software RAID 1 in Windows 7 is ready.
Software RAID 1 in Windows 7 for Increased Data Security 14
We will find it in the "Computer", as a single disk.
Software RAID 1 in Windows 7 for Increased Data Security 15

Creating a Software RAID 1 copy of an existing data disk or partition

Let's say we didn't buy two more disks, but had already a disk or partition containing our data, and bought another disk to create a RAID 1.
In this case, we right-click the NTFS volume and select "Add Mirror...".
Software RAID 1 in Windows 7 for Increased Data Security 16
The system will show us the new disk, and we click on Add Mirror.
Software RAID 1 in Windows 7 for Increased Data Security 17
Both the disk we already had and the new disk will be converted to dynamic disks.
Software RAID 1 in Windows 7 for Increased Data Security 18
The software RAID 1 is created, and starts resynching.
Software RAID 1 in Windows 7 for Increased Data Security 19
As you can see, the original data we had on the single disk isn't lost, and we have complete access to it while the RAID is resynching.
Software RAID 1 in Windows 7 for Increased Data Security 20
It's best to leave the RAID 1 resynching complete before we do any intensive writing or deleting of data. It is a strenuous procedure for the disks, and we shouldn't make it any harder. Disks are known to have failed during the RAID resynching.

Creating a Software RAID 1 for the Windows installation

Since we don't need to format both drives to create Software RAID 1, we can also create a RAID 1 with the Windows installation. But we shouldn't do this if we wish to dual-boot with an other operating system, because of the dynamic disk restrictions we mentioned earlier.
We just need to mirror both the System reserved partition...
Software RAID 1 in Windows 7 for Increased Data Security 20a
...and the C: partition.
Software RAID 1 in Windows 7 for Increased Data Security 20b
Mind you that if, for some reason, we don't have a "System Reserved" partition, it's impossible to create a bootable software RAID 1, the option will be grayed out.
Software RAID 1 in Windows 7 for Increased Data Security 20ba
Now, on each system startup, we will get two boot options, one for each disk.
Software RAID 1 in Windows 7 for Increased Data Security 20c
Both installations are identical, so it doesn't matter if we choose the "secondary plex" one.

What happens when one disk fails in RAID 1

When one of the hard drives does fail, we get a "Failed Redundancy" message at the Disk Management console.
Software RAID 1 in Windows 7 for Increased Data Security 21
We still have complete access to our data, and nothing is lost provided the other disk still works properly.
Unfortunately, the system doesn't give us any warning whatsoever that one of the disks has failed.
This is a huge oversight, especially if we consider that a Linux Software RAID can send us an email as soon as a disk fails. But that's Microsoft for you.
We must make a habit of checking ourselves the Disk Management console every once in a while, to make sure that RAID 1 is working with both disks and full redundancy.
If we have the Windows installation on RAID 1, and lose the original disk, we will just get a cryptic message when trying to start the plain Windows 7 option.
Software RAID 1 in Windows 7 for Increased Data Security 22
In this case, we need to reset and choose the secondary plex.
Software RAID 1 in Windows 7 for Increased Data Security 23

How to fix a collapsed software RAID 1

We must replace the HDD that has failed with a new one, as soon as possible.
Software RAID 1 in Windows 7 for Increased Data Security 24
Then, before we remake the array, we take a complete backup of any essential data from the working disk, preferably on an external hard drive.
Software RAID 1 in Windows 7 for Increased Data Security 25
The last thing we want is for the only working disk to also crash while rebuilding the array.
After we have backed up our data, we remove the mirror...
Software RAID 1 in Windows 7 for Increased Data Security 26
...making sure we have selected the Missing disk...
Software RAID 1 in Windows 7 for Increased Data Security 27
After that the missing disk entry will disappear, and we can create the RAID with the new hard drive.
Software RAID 1 in Windows 7 for Increased Data Security 28

Why choose the Software RAID 1 instead of the motherboards "hardware" RAID?

Many users thing of this as a "hardware" RAID, and thus a better solution than a software RAID 1 or software RAID 5.
The thing is that motherboard RAID isn't hardware RAID. It actually is software RAID, run by the BIOS and the Windows drivers.
It's a worse solution than both true software and true hardware RAID, and that is why it is known as Fake RAID. You can read about it at the linked article.
The fact is that we need a really expensive hardware RAID controller - upwards of $300-$400 - to get true hardware RAID. Some cheap PCI or PCI-E controllers also use Fake RAID.
All in all, software RAID 1 in Windows 7 is far from perfect, but it is the best way to get RAID 1 on our Windows 7 PC, without paying through the nose for it.

Tuesday, July 7, 2015

HOW TO MAKE SYMBOLS WITH KEYBOARD

HOW TO MAKE SYMBOLS WITH KEYBOARD

 Alt + 0153..... ™... trademark symbol
Alt + 0169.... ©.... copyright symbol
Alt + 0174..... ®....registered trademark symbol
Alt + 0176 ...°......degre­e symbol
Alt + 0177 ...±....plus-or­-minus sign
Alt + 0182 ...¶.....paragraph mark
Alt + 0190 ...¾....fractio­n, three-fourths
Alt + 0215 ....×.....multi­plication sign
Alt + 0162...¢....the cent sign
Alt + 0161.....¡..... .upside down exclamation point
Alt + 0191.....¿..... ­upside down question mark
Alt + 1...........smiley face
Alt + 2 ......☻.....bla­ck smiley face
Alt + 15.....☼.....su­n
Alt + 12......♀.....f emale sign
Alt + 11.....♂......m­ale sign
Alt + 6....... .....s­pade
Alt + 5....... ...... ­Club
Alt + 3............. ­Heart
Alt + 4....... ...... ­Diamond

How to : Create invisible folder in windows

1. Create invisible folder in windows

http://www.ethicalhackx.com/how-to-create-invisible-folders-with-no-name/

2. Prevent USB Disk from Virus for ever:

http://www.ethicalhackx.com/how-to-prevent-usb-disk-virus-forever/

Friday, February 13, 2015

[Windows]: How to Create a Password Protected Folder without any Extra Software

How to Create a Password Protected Folder without any Extra Software


image
There are a lot of methods that you can use to create a password protected folder, most of which require the use of some third party software. Using this neat method you can hide your folders with a quick batch script.
It’s important to note that this will not actually conceal your data from somebody who knows what they are doing.
Note: if you are a beginner you should not do this. We get emails once a week from people that don’t know what they are doing and complain they can’t find their files anymore. We also have instructions at the bottom for how to see the files again should you forget how to see them.

Create Your Password Protected Folder

Before you get started you need to create a folder that will house your password protected folder, this is just an ordinary folder and can be located anywhere and named anything.
image
Navigate into your newly created folder and create a new Text Document. This can easily be done from the context menu.
image
Open the document, now paste the following code into the contents of the document:
cls 
@ECHO OFF 
title Folder Private 
if EXIST "HTG Locker" goto UNLOCK 
if NOT EXIST Private goto MDLOCKER 
:CONFIRM 
echo Are you sure you want to lock the folder(Y/N) 
set/p "cho=>" 
if %cho%==Y goto LOCK 
if %cho%==y goto LOCK 
if %cho%==n goto END 
if %cho%==N goto END 
echo Invalid choice. 
goto CONFIRM 
:LOCK 
ren Private "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
:UNLOCK 
echo Enter password to unlock folder 
set/p "pass=>" 
if NOT %pass%== PASSWORD_GOES_HERE goto FAIL 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Private 
echo Folder Unlocked successfully 
goto End 
:FAIL 
echo Invalid password 
goto end 
:MDLOCKER 
md Private 
echo Private created successfully 
goto End 
:End
Change the PASSWORD_GOES_HERE text to the password you want to set. Now go ahead and save the file as locker.bat.
image
Once the file is saved as a batch file you can delete the original text file.
image
Now run your batch file by double clicking on it–the first time you run it, it will create a folder called Private. This is where you can store all your secret things. When you have finished adding all your stuff to the Private folder, run locker.bat again.
image
This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.
image
You will see that your Private folder quickly disappears.
image
If you run the script yet again, you will prompted for a password.
image
If you enter the same password as you set in the script the Private folder will reappear if you enter the incorrect password the script will just Terminate.

How to See the Files Again

Most people don’t know how to show system files, but anybody who has some experience will probably be able to quickly figure it out in the Folder Options. To see the files again, all you have to do is uncheck the boxes for “Show hidden files, folders, and drives” and uncheck the box for “Hide protected operating system files”.
But any ordinary user who unchecks the box will most probably be scared off by the warning message that appears.
The second way someone could comprise the folder is to open the batch file and read your password. It’s definitely not a really secure way to hide your files, but it is fun.
Attribution note: We found this script on dozens of different web sites going back many years. We have no idea who first created the script, so we’ve omitted any sort of attribution link. If you do have proof that you first created the script, contact us and we’ll adjust the article accordingly.

If You Forget Your Password

Seems like once a week somebody writes in asking how to figure out the password they set. And the answer is really simple: Right-click on the locker.bat file and choose Edit.
Then you can see the password you set in the file.