IIT Kanpur

        Video Codec

Supported  & Funded by

E-Learning Division

 Department of Information Technology

Ministry of Communications & Information Technology

Government of India

 

 

 

 

 

 

 Contents

This document contains the following sections: 

  1. Overview 

  2. System Requirements 

  3. Language Support 

  4. Installing the Software

  5. jdk installation

    jmf installation

    Video Codec Installation

  6. Setting Environment Variable 

  7. Running the software 

 

 

1. OVERVIEW

 

This is video coder and decoder to compress the video to lower bandwidth levels and decompress to attain almost same quality of original video. Users are free to distribute for academic purposes or personal use. Video Codec is developed under a project funded by:

Ministry of Information and technology, New Delhi, India

and developed by Indian Institute of Technology kanpur, India.

 

2. SYSTEM REQUIREMENTS

1.  The system must be running on one of the following operating systems:

 

Microsoft* Vista*

 

Microsoft* Vista* x64 Edition

 

Microsoft* Windows* XP Home Edition

 

Microsoft* Windows* XP Professional

 

Microsoft* Windows* XP x64 Edition

 

Microsoft* Windows* 2000 Advanced Server

 

Microsoft* Windows* Server 2003

 

Microsoft* Windows* Server 2003, Web x64 Edition

 

Microsoft* Windows* Server 2003, Standard x64 Edition

 

Microsoft* Windows* Server 2003, Enterprise x64 Edition

 

Microsoft* Windows* Media Center Edition

 

Windows* 2000 Datacenter Server

 

Windows* 2000 Professional 

 

 

2.  The following operating systems are not supported: 

Any version of the following operating systems:

 

Linux

 

UNIX

 

MacOS 

 

BeOS 

 

OS/2 

 

3. LANGUAGE SUPPORT

 

At Present Video Codec supports English (United States). 

 

4. INSTALLING THE SOFTWARE

 

4.1 General Installation Notes

1.  For Installing Video Codec JDK and JMF(Java Media Framework) are required. 

a. Java Installation

JDK Latest version is available at

 

 http://java.sun.com/javase/downloads/index.jsp

Double click on jdk-xxx-windows-i586-p.exe file. Here xxx is version of java ex:- 6u4 jdk 6 update 4  

 

Accept the License agreement. 

Change the installation Folder as per requirement or to default folder ex:- “C:\Program Files\Java\jdk1.6.0_04” and click next.

 

This will install the java SE Development Kit (jdk) on to the system. 

 

Now it will ask for the Java Runtime Environment (JRE) installation Change the installation Folder as per requirement or to default folder ex:- “C:\Program Files\Java\jre1.6.0_04” and click next.  

 

And the installation will be complete. 

 

Click Finish.  

 

JMF installation  

JMF Latest version is available at  

 http://java.sun.com/products/java-media/jmf/2.1.1/download.html

Double click the jmf installation file to start the installation ex :- jmf-2_1_1e-windows-i586.exe  

 

Click YES to accept License Agreement.  

Change the Installation folder or continue with the default installation folder “C:\Program Files\jmf2.1.1e”. 

 

Select the required options and click next  

 It will install the jmf and initializes the jmf and the setup will complete click finish to restart the system. 

 

 

Installation of Video Codec 

Video Codec is self-extracting executable file. Double click video “compression.exe” to install Video Codec. Change the Destination folder. 

 

Click install. It will install the Video Codec on to the system. 

 

Environment Variables 

The following variables to be set to work the Video Codec properly to set these variables right click on My Computer --> select Properties goto advanced tab. Click on Environment Variables 

In System variables area add following variables.

 

JAVA_HOME        C:\Java\jdk1.6.0_04

CLASSPATH         .;%JAVA_HOME%\lib\tools.jar;

path                  .;%JAVA_HOME%\bin;

 

path should be added to the already available “path” variable DON'T remove the previous path. 

 

4. To run the Video Codec , Double click the VideoEncoder batch file for Encoder, VideoDecoder   batch file for Decoder in the Video Codec folder installed in the previous step. 

 

5. RUNNING THE SOFTWARE

 

 Encoder GUI 

 

The Encoder takes 3 types of inputs Frames sequence, Video file and Webcam 

Frame Rate : frame rate of video or frame rate to be taken for frames Frames in a group : group of frames that the encoder will process at a time.

Bit rate : Target Bitrate to be encoded.

Start : starts the encoding process. Abort : stops the encoding Process. 

 

Decoder GUI  

 

Decoder GUI displays the encoded stream information and it provides option to save the decoded frames to be saved at user desired location. 

 

If nothing is given then it saves the same place where the decoder module is available.

 

 

Chief Investigator
Prof. Prem K. Kalra
Head, Department of Electrical Engineering
IIT Kanpur, India

Developed by Karmaa Lab, Indian Institute of Technology, Kanpur, www.iitk.ac.in/karmaa