1 Sri Krishna Adithya College of Arts and Science

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 26

1 INTRODUCTION

The Project entitled “Online Interactive Video Sharing” is an application that allows
the users to add videos. The users those who wish to add videos, can register for the website and
get the User ID and password. After the users are registered they will be allowed to upload or
download a video. If the user is not registered, he will be allowed only to browse the video but
won’t be able to upload or download the video. This is a web based application allow the users to
browse the videos, and at same time, it provides the user updated information on any new videos
at any appropriate location. Our Application mainly focuses on Dubsmash videos and Selfie
Images as these are becoming a trend nowadays.

Our application allows users to upload the videos that are taken from any media like
phone, camera etc. and with the restriction on type and size of the video. Our application can
hold the video up to the size of 100 MB and the type of the video should be MP4. This restriction
is given to make sure that the user is not uploading any .exe files that may be a virus file which
will affect our system. The Selfie images upload also have restriction on size and type. The
images should be of size 50 MB and the type should only be JPEG. This restriction is given to
make sure that the images when downloaded should be compatible of all the devices.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


1.1 ORGANIZATION PROFILE

Klikx Software Solution provides one stop automated solution for your trade and industry.
Depending on the size and field of your organization, we have different products and services to
meet your requirements. We provide the optimum and customized solutions made for your
organization.

Klikx began its business operation as a Software solutions providing company in September 2017.

The company has been formed by a group of professionals having vivid experience and wide
exposure in Information Technology. People involved here are young qualified business.

The resource personnel working in the company have been consistently providing reliable support
services and consultancy to a wide variety of corporate houses either in the capacity of executive or
as business partner or consultant. Bottom line of the company philosophy is building a long-term
business partnership with its clients where interpersonal relationship, reliability, assured quality and
target oriented modern technology are the major building blocks.

It is a company where professionals from both technical and functional field group together with an
objective of providing appropriate business solutions. It realizes the importance of functional
knowledge and its impact in developing business solutions. We constantly strive to be a leading
technology firm with profound business and functional knowledge. The key to the company's
success is the maintenance of a close working relationship with the clients through ensuring the best
possible solutions to their needs; to establish and maintain a thorough knowledge and understanding
of client's objective and help them maximize the benefits.

We want to establish ourselves as the best choice in Computing and Information Technology
Services, Consultancy and Development by offering the full spectrum of services.

MISSION AND VISION

Our Mission is to achieve the reputation of a quality, high standard & reliable solution & service
Provider Company in the ICT industry.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


Our Vision is to achieve 100% customer satisfaction by delivering quality products and services at
an affordable cost. Our forward vision is to strive to become an entity in technology based corporate
solutions, capable of demanding unconditional response from the targeted niche. We also believe
that for our scope of improvisation – sky is the limit and we are always ready to take our
achievements to the next level. We are growing and would always like to remain on the growing
streak.

Our keys for development

• Desire for Excellence

• Trust and confidence build-up

• Innovation

• Transparency

• Teamwork

We believe in

• Motivation

• Collective responsibility and leadership

• Professionalism and ethics

• Adding values to our client needs

SOFTWARE DEVELOPMENT

With design and development expertise in diverse platforms, best-of-breed tools and techniques,
combined with industry best practices, Klikx offers scalable end-to-end application development
and management solutions from requirement analysis for deployment and rollout. We are
developing software, related to garments- production management, commercial jobs, buying,
accounting software for trading, manufacturing house and conglomerates. We hope to come to you
with desired software at a reasonable cost. Klikx services span the following application lifecycle
stages:
3

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


• APPLICATION DEVELOPMENT – Providing end-to-end development from requirement
analysis for deployment and rollout.
• APPLICATION MAINTENANCE – Changing or enhancing software to meet changing or
increasing business demands in the post-rollout phase of an application
• APPLICATION SUPPORT – Providing first, second, third line support and on-call support.
On-call support further includes Gold (24x7), Silver and Bronze support.
• APPLICATION INTEGRATION/MIGRATION/TRANSFORMATION – Replacing,
migrating and integrating legacy or bespoke systems with COTS products.
• APPLICATION MANAGEMENT – The application management layer cuts across all
software engineering activities listed above. APSIS takes complete ownership of the outsourced
suite of applications as per the agreed scope and manages the support. This typically involves
transition management, project management, proactive risk and scope change management,
quality management, SLA management etc.

1.2 SYSTEM SPECIFICATION

1.2.1 HARDWARE SPECIFICATION

PROCESSOR : i5 Core

RAM : 2 GB

HARD DISK : 512GB

1.2.2SOFTWARE SPECIFICATION

OPERATING SYSTEM : WINDOWS 7

DATA BASE : MYSQL10.0.1

PROGRAMMING LANGUAGE : PHP

SERVER : APACHE

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


WINDOWS 7

Windows is an operating system developed by Microsoft corporation and windows 7 is


one of the versions released by it. Windows 7 (codenamed Vienna, formerly Blackcomb]) is a
personal computer operating system developed by Microsoft. It is a part of the Windows
NT family of operating systems. Windows 7 was released to manufacturing on July 22, 2009 and
became generally available on October 22, 2009, less than three years after the release of its
predecessor, Windows Vista. Windows 7's server counterpart, Windows Server 2008 R2, was
released at the same time.

PHP

PHP is a powerful server-side scripting language for creating dynamic and interactive
websites. PHP widely used; free and efficient alternative to competitors such as Microsoft’s
ASP.PHP is perfectly suited for Web development and can be embedded directly into the HTML
code. The PHP syntax is similar to pearl and C.

PHP is open source that it is readily available and absolutely free. Stability, flexibility and
speed are chief qualities that attract to choose PHP.PHP have multiple extensions and is
extremely scalable.

Server-side scripting:

This server-side scripting is the most traditional and main target field for PHP.
Programmer needs three things to make this work. Programmer need to run the web server, with
a connected PHP installation. Programmer can access the PHP program output with a web
browser, viewing the PHO page through the server. All these can run on your home machine if
programmers are just experimenting with PHP programming.

Command line scripting:

Programmer can make a PHP script to run it without any server or browser. Programmers
only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly
executed using croon (on*nix or Linux) or Task Scheduler (on Windows). These scripts can also
be used for simple text processing tasks.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


Features of PHP

 PHP runs on different platforms (Windows, Linux, UNIX, etc.)


 PHP is compatible with almost all servers used today.
 PHP is free to download from the official PHP resource: www.php.net.

About MYSQL

MYSQL is an open-source relational database management systems (RDBMS), is


developed, distributed and supported by MYSQL AB. MYSQL is a popular choice of database
for use in web applications MYSQL can be scaled by deploying it on more powerful hardware,
such as a multi-processor server with gigabytes of memory. MYSQL is easy to use, yet
extremely powerful, secure, and scalable. And because of its small size and speed, it is the ideal
database solution for Web sites.

MYSQL is a database management system

A database is a structured collection of data. It may be anything from a simple shopping


list to a picture gallery or the vast amount of information in a corporation network. To add,
access and process data stored in a computer database we need a database management system
such as MYSQL server. Since computers are very good at handling large amount of data,
database management system plays a central role in computing.

MYSQL is a relational database management system

A relational database stores separate data in separate tables rather than putting all the data
in one big storeroom. This adds speed and flexibility. The SQL part of “MYSQL” stands for
“Structured Query Language”. SQL is the most common standardize language used to access
database and is defined by the ANSI/ISO SQL standard. The SQL standard has been evolving
since 1986 and several versions exist.

MYSQL software is open source

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


Open source means that it is possible for anyone to use modify the software. Anybody
can download the MYSQL software uses the GPL(GNU General Public License), to define what
we may and may not use do with the software.

MYSQL Server works in Client/ Server or embedded systems

The MYSQL database software is a client/server system that consists of a multi-threaded


SQL server that supports different backend, several different client programs and libraries,
administrative tools and a wide range of Application Programming Interface(APIs).

A large amount of contributed MYSQL software is available: Modern day websites seem
to be relying more and more on compel the Structured Query Language is a very popular
database language, and its standardization makes it easy to store, update and access data. One of
the most powerful SQL servers out there is called MYSQL and surprisingly enough, it’s free.

Some of the features of MYSQL include: Handles large databases, in the area of
50,000,000+records. No memory leaks. Tested with a commercial memory leakage detector
(purify). A privilege and password system which is very flexible and secure, and which allows
host-based verification. Passwords are secure since all password traffic when connecting the
server is encrypted.

Features of MYSQL

Client/server Architecture: MYSQL is a client/server system. There is a database


server(MYSQL) and arbitrarily many clients (application programs), which communicate with
the server. The clients can run on the same computer as the server or on another computer.

SQL Compatibility: As before said SQL is a standardized language for querying and
updating data and for the administration of a database. Through the configuration setting sol-
mode we can make the MYSQL server behave for the most part compatibly with various
database systems.

Stored procedures: Stored procedures (SPs for short) are generally used to simplify
sgteps such as inserting or deleting a data record.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


Triggers: Triggers are SQL commands that are automatically executed by the server in
certain database operations INSERT, UPDATE, and DELETE, MYSQL has supported triggers.

Replication: Replication allows the contents of a database to be copied (replicated) onto


a number of computers to increase protection against system and to improve the speed of
database queries.

Platform independence: MYSQL can be executed under a number of operating systems.


The most important are Apple Macintosh OS X, Linux, Microsoft Windows, and the Unix.

Speed: MYSQL is considered a very fast database program.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


2 SYSTEM STUDY AND ANALYSIS
2.1 EXISTING SYSTEM

The earlier system which was used in these kinds of applications was having only very less
collection of videos and the videos can be of any genere. The uploaded videos do not have any
kind of restriction or control so that the users may upload any sort of explicit contents. The
process of adding the videos is very difficult when done manually. Users face so many problems
in uploading videos. Here now such type of preplanned applications are not there for users. The
existing system does not have any updated videos according to trends. It has some prefaced
video which will be streamed and the user will be allowed to download. The earlier system does
not have any restriction on the genere of the videos and it does not allow the user to upload
image files. The size of the video or image is also a very big problem for the user to manage and
he/she may require very high internet upload speed for uploading the video. There is also a
possibility of uploading corrupted files and virus programs without any blocks as there is no
admin control over the uploaded contents. The existing system is wide and vast, so the number of
videos uploaded and shared is more and so huge server space is required.

2.1.1 DRAWBACKS

 Difficulty in adding videos manually.


 Doesn’t provide effective mechanism
 Difficulty in browse the all the information.
 Need huge server space for saving the uploaded videos
 No genere restrictions
 No video restriction and so it may lead to uploading of explicit contents.

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


2.2 PROPOSED SYSTEM

The proposed system is to overcome the drawbacks and to add new features to our
application. Our system provides an effective GUI for the user to register and login to our
application. Our application provides the security to the users that no user can download
the video other than registered user. This can be used to avoid the mishandling of videos
or images.
It allows user to upload the current trending videos for fun. They have various
categories to upload images and videos. Each video or image will be reviewed by admin
and he has to approve the same before the content is published. Admin have also the
rights of deleting or blocking the user from further uploading the videos if he finds the
user is misusing and uploading inappropriate videos every time.

2.2.1 FEAUTURES
 User can register and login to our site to enjoy the full features
 User can upload, download and share the videos.
 User can upload all kind of jpeg and mp4 files.
 Admin facility is available to have a control over the number of files uploaded for
any explicit contents.

10

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


3 SYSTEM DESIGN AND DEVELOPMENT

3.1 INPUT DESIGN

Input design is the process of converting user-originated inputs to a computer-based


format input data are collected and organized into group of similar data. Once identified,
appropriate input media are selected for processing.

Objective of Input Design:

The quality of input determines the quality of system processing. Input specifications
describe the manner in which data enter the system process. Input design features can ensure the
reliability of the system and procedure results from accurate data, or they can result in the
production or erroneous information. The input design also determines whether the user can
interact efficiently with the system.

Five Objectives guiding the design of the input focus on:

 Effectiveness

 Accuracy

 Easy to use

 Consistency

 Attractiveness

3.2 OUTPUT DESIGN

The output design must be in such a way the user must able to understand the given details.
So each detail given in the output should have some meaning in displaying the data. The output
design is displayed in the form of data view.
11

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


3.3 DATABASE DESIGN

A database is a collection of interrelated data stored with minimum redundancy to serve


many users quickly and efficiently. The general objective to make information access easy,
quick, inexpensive and flexible for user.

The Objective of Database Design:

 Control redundancy

 Easy of learning and use

 Data independency

 Accuracy and integrity

 Recovery from failure

 Privacy and security

3.4 MODULE DESCRIPTION


The system is developed using PHP and MySQL. The system is been hosted in any one
of the local server. In this project we use xammp server to host our application. The xammp
server comes with php. Myadmin inbuilt so that MySQL database can be used. This project has
the following modules,

 Registration
 Videos/Photo Upload

12

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


 Admin
 Download

REGISTRATION

In this module the users will be allowed to register with their credentials. The user will
have to enter his name, age, DOB, Address, phone number, username and required password.
The advantages of registration are only the registered users will be allowed to upload or
download the videos or images. The remaining users will have only access to browse the videos.
The registered users can be maintained, deleted or blocked by admin if they are uploading any
explicit contents in the videos or images.
The registration screen is developed using HTML5/CSS. The details which are needed
for registration is been designed and a form is developed to get the values from user. The user
can enter all the details on the form and the form can be submitted for verification. After all the
validations are done the details of the users are saved in database. The user will be given a
unique user id with which the user is going to upload the video to our application, So that if there
is any problem with the contents of the video it is easier to track the user who uploaded the
video/image.

VIDEOS/PHOTO UPLOAD

This module is used to upload the photos and videos of different categories. Only the
registered users are allowed to upload the photos and video. The user friendly GUI will be used
for the screens of upload and download the videos. The videos or images have restriction on type
and size of the content. With this we can prevent the virus programs which may be wrongly
uploaded.
The upload screen will have the button which will allow user to choose the video which
needs to be uploaded. The same upload screen will be used to upload photos also. The file which
needs to be uploaded is been verified for the type of file and size of file on client side itself. This
is to avoid the uploading of corrupted or virus files if any to prevent the malfunction of the
system.
13

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


ADMIN

Admin module is the main module of this project. All the major controls are given to
admin because he is responsible for any videos/images do not have explicit contents. Once the
registered user uploads the image and video, it will not be directly published but will be sent to
admin for approval. Once the admin approves the video or image will be published for public
views. The admin has also the power to remove or block any video or image to be viewed. He
can also delete any users if found uploading explicit contents.
Admin has the full control over the application. Since our application is prone to get the
corrupted or wrong videos to be uploaded, it’s the responsibility of admin to have a control over
it and look after the wrong videos are not getting uploaded. Admin will be having a login and
after successful login the admin will be having the list of videos that are yet to be approved. The
admin can go through each and every videos/images carefully to find out any explicit contents
and can block that from publishing. The admin have also rights to block or delete a user, so that
the user cannot upload any images or videos.

DOWNLOAD

The registered users will be allowed to browse and download the video or image from
our application. The users can browse in different categories and can choose which image or
video to be downloaded and then download the videos with single click. This option is given
only to registered users because to restrict the misuse of videos or photos.
The videos of various categories of dubsmash and various Selfie images will be there in
our site for the viewers to browse and download. To have the control over who is downloading
the video, only the registered users are allowed to download the video/ images. The user can
download the videos and save it to his local drive which can be viewed later if needed.

14

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


4 SYSTEM TESTING AND IMPLEMENTATION

Software testing is a critical element of the software quality assurance and represents the
ultimate review of specification, design and coding. Testing is the exposure of the system to trial
input to see whether it produces correct output.
Testing Phases

Software testing phases include the following:

Test activities are determined and test data selected.

The test is conducted and test results are compared with the expected results.

There are various types of testing:

Unit Testing

Unit testing is essentially for the verification of the code produced during the coding
phase and the goal is test the internal logic of the module/program. In the Generic code project,
the unit testing is done during coding phase of data entry forms whether the functions are
working properly or not. In this phase all the drivers are tested they are rightly connected or not.

Our project is done for unit testing and the result was seen as expected. Some of the test
case checked for unit testing was,

 Giving wrong username and wrong password


 Giving correct username and correct password
 Giving wrong username and correct password
15

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


 Giving correct username and wrong password

Integration Testing

All the tested modules are combined into subsystems, which are then tested. The goal is
to see if the modules are properly integrated, and the emphasis being on the testing interfaces
between the modules. The generic code integration testing is done mainly on table creation
module and insertion module.

System Testing

It is mainly used if the software meets its requirements. The reference document for this
process is the requirement document. The requirement document is taken and is verified for all
the features mentioned in the document is correctly developed. There are no specific test cases or
document to make sure the system testing.

Acceptance Testing

It is performed with realistic data of the client to demonstrate that the software is
working satisfactorily. Sometimes the application will be using the duplicate data for
development and after the successful completion of the application; the duplicate data should be
replaced with the original data for testing. This kind of testing is mainly carried out by a closed
user group who will be the end user but as a part of the organization to find out if anything can
be enhanced before the launch of the product.

Testing Methods

Testing is a process of executing a program to find out errors. If testing is conducted


successfully, it will uncover all the errors in the software. Any testing can be done basing on two
ways:

White Box Testing

It is a test case design method that uses the control structures of the procedural design to
derive the test cases. Using this testing a software engineer can derive the following test cases:

16

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


Exercise all the logical decisions on either true or false sides. Execute all loops at their
boundaries and within their operational boundaries. Exercise the internal data structures to assure
their validity.

Black Box Testing

It is a test case design method used on the functional requirements of the software. It will
help a software engineer to derive sets of input conditions that will exercise all the functional
requirements of the program.

Black box Testing attempts to find errors in the following categories:

 Incorrect or missing functions


 Interface errors
 Errors in data structures
 Performance errors
 Initialization and termination errors
By Black box testing we derive a set of test cases that satisfy the following criteria:

 Test cases that reduce by a count that is greater than one, the number of additional test
cases that must be designed to achieve reasonable testing.
 Test cases that tell us something about the presence or absence of classes of errors rather
than errors associated only with a specific test at hand.
TEST APPROACH

Testing can be done in two ways:

 Bottom up approach
 Top down approach

Bottom up approach

Testing can be performed starting from smallest and lowest level modules and proceeding
one at a time. For each module in bottom up testing a short program executes the module and
provides the needed data so that the module is asked to perform the way it will when embedded
17

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


within the larger system. When bottom level modules are tested attention turns to those on the
next level that use the lower level ones they are tested individually and then linked with the
previously examined lower level modules.

Top down approach

This type of testing starts from upper level modules, since the detailed activities usually
performed in the lower level routines are not provided stubs are written. A stub is a module shell
called by upper level module and that when reached properly will return a message to the calling
module indicating that proper interaction occurred. No attempt is made to verify the correctness
of the lower level module.

Our project has used almost all levels of testing to ensure the quality of the application before it
is hosted.

18

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


5 CONCLUSION
The online Interactive video sharing is the application where the users will be allowed to
upload, browse and download the videos and images. Our project mainly focuses on the
upload of dubsmash videos and Selfie images. The videos and images have restrictions on
size and type. The videos and images are thoroughly reviewed and then published by the
admin so as to avoid the misuse of videos and images.

The user will be registering to our site and only after registering he/she can upload the
videos/photos. After uploading the contents will be moved to admin desk and only after the
admin gives approval the contents will be published. This is to avoid the misuse of
images/videos as someone can upload any explicit contents in images/videos.

Our application is specially made to upload selfie images and videos of dubsmash. Now
only videos with mp4 can be uploaded and maximum size per video is 100 mb. The image
size should be 100 kb and the user who don’t have registration with us can view the
images/videos uploaded by other persons.

19

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


SCOPE OF FUTURE ENHANCEMENT
 The future enhancements of this project can be like uploading the videos of more
size and giving more security to the videos and images from being downloaded by
many people.
 The number of categories will be added and also the type of the images and
videos should be increased so that more elements can be uploaded.

20

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


6 BIBILIOGRAPHY

 System Analysis and Design – James A.Senn


 Database System Design – ElmasreeKorth
 Modern Database Management – McFadden, Hoffer, Prescott
 Software Engineering Concepts – Robert Pressman
Web References:

 W3schools.com
 Tutorialspoint.com
 Mysqlconnector.com
 stackoverflow.com
 tech-recipies.com

21

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


7 ANNEXURE
A) DATA FLOW DIAGRAM
Level 0: Login Process

DATA BASE
LOG IN
ADMINISTRATOR

USER

Level 1: Admin Module


User detail
view all user
ADMIN details

see upload images by manage


user

22

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


view comment view

Level 2: User Modules

upload
Upload image
user

upload
Upload video

Post comment
post

23

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


B) USE CASE DIAGRAM

Add videos

Show Records

Modify Records

Admin
DeleteRecords

Choose video

Results
Registration

Login

Browse videos

Choose videos

Add favourite
24

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


See fav videos
User

C) TABLE DESIGN STRUCTURE

UPLOAD

Field Name Datatype Length Constraints Description

user_id Varchar 50 NOT NULL This holds the


user_id and is
the primary key
video_img_url Varchar 50 NOT NULL The url of the
image or video
where it is saved
in server
admin_flag varchar 2 NOT NULL If admin_flag is
N then the video
is not approved
and it is not
published.

LOGIN

Field Name Datatype Length Constraints Description

user_id Varchar 50 NOT NULL Same user id as


in upload table
to know which
user uploaded
the video
username Varchar 50 NOT NULL Username to
login to our
application
Password Varchar 50 NOT NULL Password to
login to our
system
Isadmin Varchar 2 NOT NULL If isadmin is
yes then the
login is for
admin else it is
25

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE


for admin

26

SRI KRISHNA ADITHYA COLLEGE OF ARTS AND SCIENCE

You might also like