39
8/13/2019 Report on Vlc http://slidepdf.com/reader/full/report-on-vlc 1/39  A PROJECT REPORT ON VLC MEDIA PLAYER  VLC media player is an open source software. In this project we tried to get the information about the working of VLC media player and history. We found this project helpful in upgrading our knowledge.

Report on Vlc

Embed Size (px)

Citation preview

Page 1: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 1/39

 

A PROJECT REPORT

ON VLC MEDIA

PLAYER VLC media player is an open source software. In this project we tried to

get the information about the working of VLC media player and history.

We found this project helpful in upgrading our knowledge.

Page 2: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 2/39

A

Project report

On

VLC

AS

OPEN SOURCE SOFTWARE

SUBMITTED TO SUBMITTED BY

Ms. RICHA SHARMA  SHIVANSHU BANSAL

RAJAT BAJPAI

SIDDHANT MARWAH

BHARAT GARG

SHANTANU GUPTA

Page 3: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 3/39

ABSTRACT  Now a day’s internet technology is the leading technology all over the world.One of the major subjects in the area of internet with information technology

having an outstanding influence in the field of software development. In this

 project we have studied about the VLC media player as open source software.

We worked to understand its working and got the information about its history.

How it was developed and came to the market? , is the interesting fact to know.

We have learnt many things other than its working. This project influenced us.

Apart from the review of technology related developments, the study is focusedon identifying the thrust areas, resulting benefits and implementation strategies

 by the companies.

“We need to improve our knowledge of our customers. We must improve our

listening to our customers  –   by really hearing what they are telling us  –   and

then having the ability to respond rapidly.” (IBM CEO, 2004) 

Page 4: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 4/39

Acknowledgements An endeavour over long period can be successful only with advice and guidance

of many well-wishers. I am very grateful to the well-known Professor Ms Richa

Sharma, as being the professor in Software Engineering, for her feedback on thestructure of my project report. She played a very significant role of my tutor for

her support and guideline.

I would especially like to give thanks to those who had given their precious

time. Without them results could not be concluded.

I whole heartedly express my thanks to the Project Manager for his valuable

technical knowledge, experience and suggestions for rectifying many of the

technical problems and the open source communities which helped me to

complete this project.

Last, but not the least thanks to all my friends and classmates who gave

me spirit and their complete support in completing my project. 

Page 5: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 5/39

CONTENTS  1.  INTRODUCTION

1.1.  What is Open Source?

1.2.  What is Free Software?

1.3.   Free Software vs. Open Source software

1.4.   FOSS does not mean no cost

1.5.  What is source code?

1.6.   Misunderstandings (?) of ``OpenSource”:-

1.7.  Some Open Source Softwares

 2. VLC Media Player 2.1.   History

 2.2.   Features

 2.3.   Format support

 2.4.  VLC Interface on Windows

 2.5.   Installation Of VLC in Various OS 2.6.   Playing Audio in VLC 2.7.   Playing Videos IN VLC

 2.8.   Playback on VLC 2.9.  Troubleshooting in VLC 2.10. Uninstallation of VLC 2.11.  Hotkeys in VLC 2.12.  Answers We Found

3. CONCLUSION 4. COMMUNITIES & REFERENCES

5.  APPENDIX5.1.  Screen shots for the code of VLC

5.2.  Screenshots of VLC 

Page 6: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 6/39

1. INTRODUCTION In the last few years the Open Source movement has changed the face of computing more

than almost anyone would have thought possible. Many people in the computer industrybelieve that these changes are the most important changes in computing since IBMcontracted Microsoft to write an operating system for their personal computers. This articleis intended to discuss the history, philosophy, and legal issues relating to Open Source.

1.1 What is Open Source?

Open Source or open-source software is different from proprietary software. In Open Source, thesource code used in the software is available to anyone  to examine, evaluate, and adapt.Open source has had an important impact on the way many developers view and create

software. End users often use the term open-source to cover a variety of  free and open sourcesoftware.

The Open Source Initiative has this for a definition of open-source software:

Open source doesn't just mean access to the source code. The distribution terms of open-source software must comply with the following criteria:

1. Free Redistribution

The license shall not restrict any party from selling or giving away the software as a

component of an aggregate software distribution containing programs from several differentsources. The license shall not require a royalty or other fee for such sale.

2. Source Code

The program must include source code, and must allow distribution in source code as wellas compiled form. Where some form of a product is not distributed with source code, theremust be a well-publicized means of obtaining the source code for no more than a reasonablereproduction cost preferably, downloading via the Internet without charge. The source codemust be the preferred form in which a programmer would modify the program. Deliberatelyobfuscated source code is not allowed. Intermediate forms such as the output of apreprocessor or translator are not allowed.

3. Derived Works

The license must allow modifications and derived works, and must allow them to bedistributed under the same terms as the license of the original software.

4. Integrity of The Author's Source Code

Page 7: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 7/39

The license may restrict source-code from being distributed in modified form only  if thelicense allows the distribution of "patch files" with the source code for the purpose ofmodifying the program at build time. The license must explicitly permit distribution ofsoftware built from modified source code. The license may require derived works to carry adifferent name or version number from the original software.

5. No Discrimination Against Persons or Groups

The license must not discriminate against any person or group of persons.

6. No Discrimination Against Fields of Endeavor

The license must not restrict anyone from making use of the program in a specific field ofendeavor. For example, it may not restrict the program from being used in a business, orfrom being used for genetic research.

7. Distribution of License

The rights attached to the program must apply to all to whom the program is redistributedwithout the need for execution of an additional license by those parties. 

8. License Must Not Be Specific to a Product

The rights attached to the program must not depend on the program's being part of aparticular software distribution. If the program is extracted from that distribution and usedor distributed within the terms of the program's license, all parties to whom the program isredistributed should have the same rights as those that are granted in conjunction with theoriginal software distribution.

9. License Must Not Restrict Other Software

The license must not place restrictions on other software that is distributed along with thelicensed software. For example, the license must not insist that all other programsdistributed on the same medium must be open-source software.

10. License Must Be Technology-Neutral

Page 8: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 8/39

No provision of the license may be predicated on any individual technology or style of

interface.

Figure 1: The Open Source Model: Source code is available to public. The public is free to make

improvements.

1.2 What is Free Software?

Free software is software that adheres to the concept of the four freedoms of software, asarticulated by the GNU Project. These four freedoms are as follows:

  The user is free to use the software for any purpose.

  The user is free to study the mechanisms by which the program operates and toadjust these mechanisms to a specific purpose.

  The user is free to redistribute the software to another user.

  The user is free to adapt and improve the program and release these adaptations and

improvements to the public.

Page 9: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 9/39

Free Software shares much of its philosophy with Open-Source software, but many peoplewithin the open source community feel that there are important distinctions between theterms, as described in the section Free Software vs. Open-source software.

Often Free Software is referred to as "free as in speech, not as in beer", stressing the idea that

the Free-software movement is concerned with freedom, not with price. Throughout this bookthe reader should assume that the word "free" is referring to freedom.

1.3 Free Software vs. Open Source software

The primary distinction of open source software is that it's not about freedom, it's aboutwhat software does things better.

As a whole the movement is often called "Free and Open-Source software"  (FOSS). For thepurposes of clarity the abbreviation FOSS will be used when describing issues that apply to

all open source software projects, whereas OSS  will be used when describing issues thatapply only to software with open-source licenses that allow future developers to close thesource code, and FSS will be used when talking about issues that apply only to softwarewith free licenses requiring future developers maintain the previous style of licensing (if notthe license itself).

1.4 FOSS does not mean no cost

This is a common misunderstanding about FOSS, in no small part because nearly all FOSSprograms are available free of charge. For example when the text editor Emacs was first

released Richard Stallman charged from time to time to get copies. Developers have thechoice to charge under most FOSS licenses, although they rarely choose to. The onlyrequirement to be a truly FOSS project is that the publisher provides the source code withthe program, and to allow the user to edit that code.

On top of the initial cost of purchasing software, there are other ongoing costs associatedwith all software. This can come in the form of support agreements, the cost ofcustomization, training costs support personnel and other sources. This is true of bothtraditional commercial software and FOSS programs. There is a large and active debateabout which type of software is more expensive over the long run for large corporations, for

individual users there is little to no question that FOSS is cheaper.

1.5 What is source code?

The  source  code  of  any  software  is  written  in  a  programming  language,  for example C,  Pascal  or  web  programming  languages  like  PHP.  This  code  is  written 

in  textual form.  The  source  code  consists  of  instructions  that  define  how  a program  behaves. The  programmer  can  add  or  change  instructions  to  adjust  the 

Page 10: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 10/39

program’s  behaviour and  add  functionality.  (Weber,  2004,  p.4) Figure  shows  an example of a very basic piece of source code and its result.

This  code  is  written  in  the  web  language PHP. By pointing a browser to the file on the  server,  the  result  as  shown  on  the  left  is displayed.  The  lines  in  the  code preceded by  two  slashes  (//) are comments.  These are ignored  when  the  code  is executed,  and  are  used  to  explain  what  certain  code  does and  why.  The  words preceded  by  a  dollar  sign  ($)  are  variables  in  which  values  of executed code can be stored.

1.6 Misunderstandings (?) of ``OpenSource”:- 

The Open Source Definition is clear enough, and it is quite clear that the typicalnon-free program does not qualify. So you would think that ``Open Sourcecompany'' would mean one whose products are free software (or close to it), right?

Alas, many companies are trying to give it a different meaning.

Page 11: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 11/39

At the ``Open Source Developers Day'' meeting in August 1998, several of thecommercial developers invited said they intend to make only a part of their workfree software (or ``open source''). The focus of their business is on developingproprietary add-ons (software or manuals) to sell to the users of this free software.They ask us to regard this as legitimate, as part of our community, because some ofthe money is donated to free software development.

In effect, these companies seek to gain the favorable cachet of ``open source'' fortheir proprietary software products--even though those are not ``open sourcesoftware''--because they have some relationship to free software or because thesame company also maintains some free software. (One company founder saidquite explicitly that they would put, into the free package they support, as little oftheir work as the community would stand for.)

1.7 Some Open Source Softwares

Open-source software is software whose source code is published and made available to thepublic, enabling anyone to copy, modify and redistribute the source code without payingroyalties or fees.[19] Open source code can evolve through community cooperation. Thesecommunities are composed of individual programmers as well as very large companies.Examples of open-source software products are: 

a)  Application software 

Blender is an open source 3D graphics editor.  7-Zip — file archiver  Blender — 3D graphics editor  Eclipse — development environment comprising an IDE  GIMP — graphics editor  Inkscape - Vector graphics editor for .svg  Mozilla Firefox — web browser  Mozilla Thunderbird — e-mail client  NASA World Wind — virtual globe, geobrowser  OpenOffice.org (and the LibreOffice fork) - office suite  VLC Media Player

Page 12: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 12/39

b) Operating systems 

Ubuntu is a popular open-source computer operating system, and a form of Linux.

  Android - operating system derived from Linux  FreeBSD — operating system derived from Unix

  Linux — family of Unix-like operating systems  OpenIndiana — a free Unix-like operating system  Symbian — real-time mobile operating system[citation needed]   ReactOS — operating system built on Windows NT architecture  Haiku — free and open source operating system compatible with BeOS

c)  Programming languages 

  Perl — a general purpose programming language  PHP — scripting language suited for the web  Python — general purpose programming language  Ruby — general purpose programming language

d) Server software 

MediaWiki logo

  Apache — HTTP web server  Drupal — content management system  MediaWiki — wiki server software, the software that runs Wikipedia  MongoDB — document-oriented, non-relational database  Moodle — course management system or virtual learning environment

Page 13: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 13/39

2. VLC Media Player VLC media player is a free and open source media player and multimedia

framework written the VideoLAN project.VLC is a portable multimedia player, encoder, and streamer supporting many audio andvideo codecs and file formats as well as DVDs, VCDs, and various streaming protocols. It isable to stream over networks and to transcode multimedia files and save them into variousformats. VLC used to stand for VideoLAN Client, but since VLC is no longer simply a client,that initialism no longer applies.[2][3]

It is a cross-platform media player, with versions for MicrosoftWindows, MacOSX, GNU, Linux, BeOS, MorphOS, BSD, Solaris, Android, iOS, 

andeComStation.[4]The default distribution of VLC includes a large number of free decoding and encodinglibraries, avoiding the need for finding/calibrating proprietary plugins. Many ofVLC's codecs are provided by the libavcodec library from the FFmpeg project, but it usesmainly its own muxer and demuxers. It also gained distinction as the first player to supportplayback of encrypted DVDs on Linux by using the libdvdcss DVD decryption library.

 2.1 History

The VideoLan project was originally started as an academic project in 1996. It was intendedto consist of a client and server to stream videos across a campus network. VLC was theclient for the VideoLAN project, with VLC standing for VideoLan Client. Originallydeveloped by students at the  École Centrale Paris,  it is now developed by contributorsworldwide and is coordinated by the VideoLAN non-profit organization.

Rewritten from scratch in 1998, it was released under the GPL on 1 February 2001. Thefunctionality of the server program, VideoLan Server (VLS), has mostly been subsumed intoVLC and has been deprecated.[5] The project name has been changed to VLC because thereis no longer a client/server infrastructure.

The cone icon used in VLC is a reference to the traffic cones collected by Ecole Centrale'sNetworking Students' Association.[6] The cone icon design was changed from a hand drawnlow resolution icon[7] to a higher resolution CGI-rendered version in 2006, illustrated byRichard Øiestad.[8]

After 13 years of development, version 1.0.0 of VLC media player was released on July 7,2009.[9]

VLC is 3rd in the sourceforge.net overall download count.[10] VLC was available forthe iPad, iPhone,  and iPod Touch from the Apple AppStore,  but was pulled due to a

licensing conflict between the GPL and the iTunes Store agreement.[11]

Page 14: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 14/39

 2.2 FEATURES

Because VLC is a packet-based media player, it can play the video content of somedamaged, incomplete, or unfinished videos. (For example, files still downloading via peer-

to-peer (P2P) networks). It also plays m2t MPEG transport streams (.TS) files while they arestill being digitized from an HDV camera via a FireWire cable, making it possible to monitorthe video as it is being played. The player can also use libcdio to access .iso files so that userscan play files on a disk image, even if the user's operating system cannot work directly with.iso images.

VLC supports all audio and video formats and all file formats supported by  libavcodec andlibavformat. This means that VLC can play back H.264 or MPEG-4video as well assupport FLV or MXF file formats "out of the box" using FFmpeg's libraries. Alternatively,VLC has modules for codecs that are not based on FFmpeg's libraries. VLC is one of the  free

software and open source DVD players that ignores DVD region coding on RPC-1 firmwaredrives, making it a region-free player. However, it does not do the same on RPC-2 firmwaredrives. VLC media player has some filters that can distort, rotate, split,  deinterlace, mirrorvideos, create display walls, or add a logo overlay. It can also output video as ASCII art. 

VLC media player can play high definition recordings of D-VHS tapes duplicated to acomputer using CapDVHS.exe. This offers another way to archive all D-VHS tapes with theDRM copy freely tag. Using a FireWire connection from cable boxes to computers, VLC canstream live, unencrypted content to a monitor or HDTV. VLC media player can display theplaying video as the desktop wallpaper, like Windows DreamScene, by using DirectX, only

available on Windows operating systems. VLC media player can create screencasts andrecord the desktop. On Microsoft Windows, VLC also supports the Direct Media Object(DMO) framework and can thus make use of some third-party DLLs. On most platforms,VLC can tune in to and view DVB-C, DVB-T, and DVB-S channels. On Mac OS X theseparate EyeTV plugin is required, on Windows it requires the card's BDA Drivers.

VLC can be installed or run directly from a USB flash drive or other external drive. VLC canbe extended through scripting. It uses the Lua scripting language.[14] VLC can play videosin the AVCHD format, a highly compressed format used in recent HD camcorders. VLC cangenerate a number of music visualization displays.

 2.3 Format support

a)   Readable formats 

Page 15: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 15/39

VLC running under KDE

VLC can read several formats, depending on the operating system VLC is running on.[23]

Input

UDP/RTP unicast or multicast,  HTTP, FTP, MMS, RTSP, RTMP,  DVDs, VCD, SVCD, CDAudio, DVB, Video acquisition (via V4l and DirectShow),RSS/Atom Feeds, and from filesstored on the user's computer.

b)  Container formats

3GP,[24] ASF, AVI, FLV, Matroska, Musical Instrument DigitalInterface (.mid/.midi),[25] QuickTime, MP4, Ogg, OGM, WAV, MPEG-2 (ES, PS, TS, PVA, MP3), AIFF, Raw audio, Raw DV, MXF, VOB. 

c)  Video Format  

Cinepak, Dirac, DV, H.263, H.264/MPEG-4 AVC (8-bit; nightly builds also have 10-bitH.264 support), HuffYUV, Indeo 3,[26] MJPEG, MPEG-1,  MPEG-2, MPEG-4 Part2, RealVideo 3&4,[27] Sorenson (thus enabling direct playback of the modifiedSorenson H.263 encoded videos downloaded from YouTube), Theora, VC-1,[28] VP5,[28] VP6,[28] VP8, and some WMV. 

d)  SubtitlesDVD, SVCD, DVB, OGM, SubStation Alpha, SubRip, Advanced SubStation Alpha, MPEG-4Timed Text, Text file, Vobsub, MPL2,[29] Teletext.[29]

e)   Audio formats

[30] AAC, AC3, ALAC, AMR,[24] DTS,  DV Audio, XM, FLAC, MACE, Mod, MP3, PLS, QDM2/QDMC, RealAudio,[31] Speex, Screamtracker

3/S3M, TTA, Vorbis, WavPack,[32] WMA (WMA 1/2, WMA 3 partially).[30]

Output formats for streaming/encoding

VLC can transcode into several formats depending on the operating system.

f)  Container formats

ASF, AVI, FLV,[29] Fraps,[29] MP4, Ogg, Wav, MPEG-2 (ES, PS, TS, PVA, MP3), MPJPEG,FLAC, QuickTime, Matroska

g)  Video formats

Page 17: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 17/39

How to open a file(click Open, select a file and open it by double clicking on the file or clickonce on it and press open)

 

Another way of doing it

Page 18: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 18/39

 2.4 INSTALATION OF VLC ON VARIOUS OS

a) Windows

VLC media player is compatible and works under Windows Operating Systems2000/XP/Vista/7. It can also be used under Windows 95/98/Me usingKernelEx. 

1.  Download the self-extracting package (or the 7-zip/zip package, which requires an

extraction first) from the VLC Windows download page. 2.  Launch the .exe to install VLC.3.  Follow the steps in the installer.

Page 19: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 19/39

b)  Mac OS X

1.  Download the Mac OS X package from the VLC MacOS X download page. 2.  Double-click on the icon of the package: an icon will appear on your Desktop, right

beside your drives.3.  Open it and drag the VLC application from the resulting window to the place where

you want to install it (it should be /Applications).

c)  BeOS

1.  Download the Zip file from the VLC BeOS download page. 2.  Unzip the file in a directory to install VLC.

d)  Linux Mandrake

There are VLC packages for Mandrake 9.1 and Cooker.

To install them, add the following sources for either Mandrake 9.1 or Cooker (you canuse Easy urpmi for that): contrib from the core distribution and plf  (Penguin Liberation

Front) from the external add-ons.

Page 20: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 20/39

Then install the required packages with urpmi:

# urpmi libdvdcss2 libdvdplay0 wxvlc vlc-plugin-a52 vlc-plugin-oggvlc-plugin-mad

e)  Debian

 Debian stable (lenny)

Add the following lines to your /etc/apt/sources.list:

deb  http://download.videolan.org/pub/videolan/debian  stable

 main 

deb-src  http://download.videolan.org/pub/videolan/debian 

stable main 

Then, for a normal install, write the following commands in Terminal:

# apt-get update 

# apt-get install vlc libdvdcss2 

 Debian testing (squeeze)

You should not be using Debian testing unless you perfectly know what you are doing. It isalmost impossible to support Debian testing and there are no plans to do it.

For more information on Debian testing, please look at the Testing Page. 

 Debian unstable (sid)

Add the following lines to your /etc/apt/sources.list:

deb http://download.videolan.org/pub/videolan/debian sid main 

deb-src  http://download.videolan.org/pub/videolan/debian  sid

 main 

Then, for a normal install, write the following commands in Terminal:

# apt-get update 

# apt-get install vlc libdvdcss2 

Page 21: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 21/39

Page 22: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 22/39

 2.5 PLAYING AUDIO IN VLC

a)  Playing an Audio Track

You can play, enable and disable an audio track. To play a track:

1.  Select Open File from the Media menu.

2.  Select an audio file and click on the Open button. The selected track is played.3.  To disable a track, select the Disable option in the Audio Track from the Audio menu.

The selected track will then stop.4.  To play the same track again, select the designated Track option in the Audio

Track from the Audio menu. The selected track will then play.

b) Recording Audio

You can record an audio track by pushing the record button ( ). In the default interface,you will not see the record button, but you can choose View->Advanced Controls orcustomize the interface (View->Customize) and add the record button to Line 2 (which isshown by default). The recording from a shoutcast stream is stored somewhere in your filesunder a name like vlc-record-Date-Time-Channel-Track.mp3  (e.g.: "vlc-

record-2011-09-22-10h19m48s-Radio CAFF-Silencio - Arrabal

Salvaje.mp3", when recording from Radio CAFF (or more precisely from the

underlying WinAmp stream). Under my german Windows XP it was stored under "EigeneDateien/Eigene Music" so I guess that you find it in an english Windows under "MyDocuments/My Music/", I don't know where it will be stored under Linux or any other OS(updates are welcome).

You can automagically cut the stream into tracks by relaying the streamthrough Streamripper, i.e. by directing StreamRipper to the ShoutCast stream and directingVLC to the relaying port of StreamRipper (default http://localhost:8000).

c) Audio Device

This option helps you to listen to audio files in two modes: stereo and mono.

1.  To listen to an audio track in either the Stereo or Mono mode, select Open File or Open

Disc from the Media menu. The Open dialog box is displayed.

2.  Select an audio file and click on the Play button. The selected track is played.3.  Select Mono in Audio Device from the Audio menu if you want to listen to the audio

track in the Mono mode.

Mono refers to monaural sound that uses a single channel for sound reproduction.

1.  Select Stereo in Audio Device from the Audio menu if you want to listen to the audio

track in the Stereo mode.Stereo refers to sound that uses two channels for sound reproduction or stereophonic sound.

Page 23: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 23/39

 

2.6 PLAYING VEDIOS IN VLC

a)  Playing a Video Track

There are two main ways to open and play a video track:

1.  Select Open File from the Media menu.2.  Select a video track and double-click it or click the Open button.

The selected track will be played.

b)  Loading Subtitle Tracks

A subtitle is a textual version of a movie’s dialogue. Subtitles are helpful if you are viewing a

movie in a language that is not understandable to you. You can load subtitles for video

tracks. Subtitles of the formats .cdg, .idx, .srt, .sub, .utf, .ass, .ssa, .aqt, .jss, .psb,.rt and smi are supported.

VLC can read subtitles for the media formats such as DVD, SVCD, OGM files, and Matroska(MKV) files.

To enable the subtitle for a track:

1.  Select Open File under the Subtitle menu item from the Video menu. The OpenSubtitles File dialog box is displayed.

2.  Locate the file which contains the subtitle and click on Open. The subtitles aredisplayed.

For more details, see Subtitles. 

Page 24: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 24/39

c)  Full Screen

This option is useful if you want to watch the video in the full screen mode.

1.  Select Full Screen from the Video menu. The video will then occupy the entire screen.

2.  To return to the original mode, press Esc on the keyboard or right-click the mouseand select the Leave Full Screen  option. The video will then return to its originalmode.

Note: When you switch to full screen, the controls may appear for a short period of time. To

restore the controls after they disappear, move the mouse or press any key on the keyboard.

d)  Always on Top

This option is useful if you want the VLC media player to remain on the top of the screen

always when other applications or files are open.

1.  To make the VLC media player appear on top of the screen, select Always on

Top from the Video menu.2.  If you do not want VLC to appear on the top of the screen, select the  Always on

Top option from the Video menu and manually minimise the VLC application.

Page 25: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 25/39

e)   DirectX Wallpaper  

This option is useful if you want to display the video which is being played as

your desktop wallpaper. To view the current video file as wallpaper

1.  Select Advanced File Open from the Media menu. The Open Media dialog box isdisplayed.

2.  Select a file and click Play.3.  Select DirectX Wallpaper  from the Video menu.

The wallpaper mode will then display the video as the desktop background.

Note: that this feature works only if you deactivate the overlay under Windows XP.

 f)  Snapshot

This option is useful if you want to capture a portion of the video as an image.

1.  Select Advanced File Open from the Media menu. The Open dialog box is displayed.

2.  Select a file and click Play.3.  To capture an image from the video, select Snapshot from the Video menu.

The image is captured in the .png picture format and is saved in the C:\My Pictures folder bydefault (C:\Users\Username\Pictures).

 g)  Zoom

You can enlarge videos in different sizes. This option is useful if you want to change the sizeof a video track which is being played. The supported sizes are 1:4 Quarter, 1:2 Half, 1:1

Original (default) and2:1 Double.

To view a video in a particular dimension, select a dimension from Zoom in the Video menu.The track is then resized based on the selected zoom ratio.

h)  Aspect Ratio

Aspect ratio refers to the width of a picture in relation to its height. For example, the ratio 4:3means four units wide to three units high. VLC provides a list of aspect ratio values whichare Default, 1:1, 4:3, 16:9, 16:10, 2.21:1, 2.35:1, 2.39:1 and 5:4.

To select an aspect ratio, select a value from Aspect Ratio in the Video menu. The video is thenadjusted based on the selected ratio.

i)  Crop

This option is helpful if you want to capture a small portion of a video as an image. This alsohelps crop the black bars of the top and bottom of a video.

The cropping values that are supported are Default, 16:10, 16:9, 1.85:1, 2.21:1, 2.35:1, 2.39:1,

5:3, 4:3, 5:4, and 1:1.

To crop a video that is played, select a value from Crop in the Video menu. The video is then

cropped based on the selected value.

Page 26: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 26/39

 j)   Deinterlace

Deinterlace refers to a process where interlaced video signals are converted into non-interlaced signals. VLC provides the Discard, Blend, Mean, Bob, Linear, X, Yadif and Yadif

(2x) deinterlacement modes.

1.  Select Deinterlace from the Video menu and choose the appropriate setting.2.  To change the deinterlacement mode select 'Deinterlace mode' is the Video Menu 3. Select a mode and observe the change in the video being played.

2.7 PLAYBACK ON VLC

VLC media player helps you to create media files. After creating media files, the quality has

to be tested. You can test the quality and several other parameters using playback. Inplayback, you can specify parameters such as time, bookmarks, and titles.

a) Bookmarks

You can mark and locate particular places in an audio or video file using the Bookmarksfeature of VLC. If you want to view a particular scene in a movie or listen to certain tune in asong repeatedly, you can create bookmarks.

To bookmark a scene in a movie:

1.  From the Playback menu select the Bookmarks option, and the Manage Bookmarks.The Edit Bookmarks dialog box will be displayed.

2.  Click Create  to create a bookmark for the current track. The created bookmark isdisplayed in the Edit Bookmarks dialog box.

3.  To view a scene that is bookmarked, select a bookmark from Bookmarks inthe Playback menu.

Note: Loading bookmarks is currently broken as of 0.9.9see http://trac.videolan.org/vlc/ticket/2100. However it is confirmed that the current latestversionVLC 1.1.5 is able to load bookmarks.

Page 27: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 27/39

 

Edit Bookmarks dialog box under Windows in VLC 1.1.5

b) Title

In a DVD format, each movie is referred to by its title or name. A title is displayed whenevera movie is played by any media player. You can view all titles in a folder in a sequentialmanner.

1.  To open a folder, select Open Folder  from the Media menu. Locate the folder in which

the video files are present and click OK .2.  To select a title, click Title in the Playback menu. The selected title is then played.c)  Chapter

A video is divided into chapters. Different chapters can be accessed at random in a videowhich is being played. Using this option, you can directly view your favourite chapterwithout having to see the complete video.

To play a chapter:

1.  Select Open Folder  from the Media menu.2.  Locate the folder in which the video files are present.3.  Select a video file and click OK .

The file is played in the VLC media player.

1.  Select Chapter   in the Playback  menu to view the list of chapters. Select a chapter ofyour choice.

Then selected chapter is played.

d)  Navigation

In VLC, you can navigate to different titles and their corresponding chapters. You can also

customise a DVD by selecting options such as subtitle, angle and so on.

Page 28: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 28/39

1.  To customize a title, select the required option from DVD Menu inthe Navigation menu.

2.  To view a title, select a Title under Navigation in the Playback menu. The selected titleis played.

3.  To view a chapter in a title, select Title. When you select a title, the chapters in a titleare listed. Select a chapter.

Refer to Title and Chapter sections for more details.

e)  Program

This option is enabled only if streams of format DVB and TS are played. Choose theprogram to select by giving its Service ID. Only use this option if you want to read a multi-program stream (like DVB streams for example). Description needs to be improved 

 f)  Specify the time

This option is used to go to a specific frame in a media file and listen or view once again.

1.  To specify time select Jump to Specific Time from the Playback menu. The Go to

Time dialog box is displayed.2.  Enter the time in hh:mm:ss.3.  Click on the Go  button. The control moves the tracker to a specific frame and the

media file continues from that specified frame.4.  Click Cancel to exit the dialog box.

Note: Ensure that time limit is within the range of length of the media file.

2.8 TROUBLESHOUTING IN VLC

File does not play, only sound or only video

Maybe the file you are trying to read is not fully supported by VLC media player. VLC doesnot use the codec packs (the software that decodes video signals) you might have installed.It comes with its own codecs. If there is no open-source decoder for the format you aretrying to read, it won't be supported (There is an exception, under Windows, for codecs that

use the DirectShow framework).

Page 29: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 29/39

To find out, open the Messages window in the Tools  tab and restart your stream. Look forerror messages (red messages).

In this example, the file contains a IV41 video stream, a codec that is not supported by VLC.

You may of course have other messages. If you post them to a VideoLAN mailing list or in

the forum, please include such a log. It is very valuable in troubleshooting.Weird VLC behavior and crashes

A very common thing is a corrupted VLC preferences file. Don't hesitate to delete it ifproblems appear suddenly. You will find in the FAQ details on how to delete yourpreferences file. 

a)  Computer crashes / Video is corrupted

Another common problem is buggy video drivers. Try upgrading them from the website ofyour video card's manufacturer.

Also, you can try disabling Overlay (Preferences/General/Video, untick "Overlay videooutput").

Page 30: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 30/39

2.9 UNINSTALLING VLC

a) Windows Vista / Windows 7

From the Start Menu, select Control Panel.

Under Programs click the Uninstall a Program link.

Select VLC media player and right click then select Uninstall/Change.

Follow the prompts to finish the uninstallation of the software.

b) Windows XP

From the Start Menu, select Control Panel.

Click the Add or Remove Programs icon.

Select VLC media player and click on the "Remove" or "Change/Remove" button.

Follow the prompts to finish the uninstallation of the software.

c)  Windows 95, 98, Me, NT, 2000, and XP in Classic View

From the Start Menu, select Settings, and then Control Panel

Double-click the "Add/Remove Programs" icon.

Select VLC media player and click on the "Remove" or "Change/Remove" button.

d) BeOSDelete the vlc-version directory. You can also remove the configuration file/boot/home/config/settings/vlcrc.

e)  Mac OS XDrag the VLC application to your trash can.

Page 31: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 31/39

 

 f)   Debian GNU/LinuxRemove the packages that you installed:# apt-get remove --purge vlc-gnome vlc-mad libdvdcss2 libdvbpsi1

 g)  GNU/Linux Redhat, Mandrake and SuSEUninstall the RPM packages that you installed:# rpm -e vlc-version vlc-mad-version vlc-gnome-versionlibdvdcss2-version libdvdpsi1-version

2.10 Hotkeys in VLC

1. Movie Navigation with VLC

Shortcut Description

Ctrl+f Open folder (browse folder menu)

Ctrl+d Open disc menu

Ctrl+r or ctrl+s Advanced open file

Ctrl+o Open single file(s)

Ctrl+Arrow Up/Ctrl+Arrow

DownIncrease volume / decrease volume

f Switch to/from fullscreen

m Mute and unmute audio

v Show, switch, or hide movie subtitles

Space Pause or play movie

 p Play movie (from the very beginning)

s Stop movie

Shift+Arrow

left /Shift+Arrow RightFast rewind or forward 3 seconds

Alt+Arrow Left/ Alt+ArrowRight

Fast rewind or forward 10 seconds

Ctrl+Arrow

Left/Ctrl+Arrow RightFast rewind or forward 1 minute

Esc Exit full screen mode

[+]/- Play movie faster or slower

a Change aspect ratio

 b Change audio/ language track

c Crop screen

Page 32: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 32/39

g/h Increase or decrease subtitle delay

 j/k Increase or decrease audio delay

z Change zoom mode

Ctrl+1, ctrl+2, ctrl+3,ctrl+4 Change zoom mode

t Show time

Ctrl+t Goto time

▲ up 2. Manage VLC, Playlists, and Special Commands

Shortcut Description

Ctrl+h Hide / unhide controls

Ctrl+p Preferences/ interface settings

Ctrl+e Adjustments and audio/video effects

Ctrl+b Edit bookmarks

Ctrl+m Open messages

Ctrl+n Open network

Ctrl+c Open captue device

Ctrl+l Open playlistCtrl+y Save playlist

Ctrl+i or ctrl+j Media information

Alt+a Open audio menu

Alt+h Open help menu

Alt+m Open media menu

Alt+p Open playlist menu

Alt+t Open tool menu

Alt+v Open video menu

Alt+l Open playback menu

d Show movie path

n Play next movie from playlist

F1 Show Help

F11 Switch window from/to full-screen mode

Alt+f4, alt+q or ctrl+q Quit VLC

Page 33: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 33/39

 

 2.11 ANSWERS WE FOUND

a) What is VideoLAN? What is the VideoLAN Team?VideoLAN is a group of people, that produces and distributes free and open source softwarefor video and multimedia purpose, released under Open Source licenses.

It started as a student project at the French École Centrale Paris but is now a worldwide

project with developers from everywhere and dozens of millions of people using

VideoLAN's software.

b) What is the legal structure of VideoLAN?

VideoLAN is a French non-profit organization.

VideoLAN has its own bank account and is fully responsible of this website.c)  What are the differences between VLC, VLC media player, VideoLAN Client,  

VideoLAN Server and VideoLAN?

VLC is the official name of VideoLAN's main product, often named VLC. VideoLAN Client

is an ancient name of this product.

VideoLAN Server is another product of VideoLAN, but is discontinued since a long time.

d)  Does VLC support DVDs from all regions?

This mostly depends on your DVD drive. Testing it is usually the quickest way to find out.

The problem is that a lot of newer drives are RPC2 drives these days. Some of these drivesdon't allow raw access to the drive untill the drive firmware has done a regioncheck. VLC

uses libdvdcss  and it needs raw access to the DVD drive to crack the encryption key. So

with those drives it is impossible to circumvent the region protection. (This goes for all

software. You will need to flash your drives firmware, but sometimes there is no alternate

firmware available for your drive). On other RPC2 drives that do allow raw access, it might

take VLC a long  time to crack the key. So just pop the disc in your drive and try it out, while

you get a coffee. RPC1 drives should 'always' work regardless of the regioncode.

e)  Where does VLC store its config file?

Currently, a config file is created on a per user basis (there is no global configuration file). Ifyou modify the available options in VLC and save the new configuration, then a

configuration file will be created in your user directory. The precise location of this filedepends on the Operating System you are running:

  Linux / Unix: $(HOME)/.config/vlc/vlcrc (v0.9.0 and above), $(HOME)/.vlc/vlcrc (v0.8and older)

  Mac OSX: HOME/Library/Preferences/org.videolan.vlc HOME/Library/Preferences/VLC (v0.9and older)

  Windows 95/98/ME: C:\Windows\Application Data\vlc\vlcrc  Windows 2000/XP: C:\Documents and Settings\%username%\Application Data\vlc\vlcrc  Windows Vista/7: C:\Users\%username%\Application Data\vlc\vlcrc

Page 34: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 34/39

  BeOS: config/settings/vlcrc

 f)  VLC crashes.

Increase the verbosity level (either in the preferences or with a -vv command line option)

and look at the debug messages (in the terminal or in the Messages window).

If you are convinced that it is a bug in VLC, have a look at the bug reporting page. 

 g)  How can I take screenshots?

To take a snapshot of the video displayed by VLC, you just need to press the pre-definedsnapshot hotkey:

  Windows / Linux / Unix: Ctrl+Alt+S   Mac OS X: Command+Alt+s 

To change it, go to Preferences -> Interface -> Hotkeys settings, check Advanced options, and

set Take video snapshot.

You can also take a snaphot via the menu Video -> Snapshot.To change the snapshot format or directory, go to Preferences -> Video.

h) Where are my screenshots?

If you haven't changed the snapshot directory in your preferences, your screenshots should

go to:  Windows: My Documents\My Pictures\  Linux / Unix: $(HOME)/.vlc/  Mac OS X: Desktop/

To change it, go to Preferences -> Video -> Video snapshot directory.

Page 35: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 35/39

3. CONCLUSION While completing this project our perception about VLC has completelychanged. We are introduced with the new fact about it. It is not only a media

 player but wisely developed software. We can stream videos and play radiostations. It can play videos of any format. Compatible with every OperatingSystem (windows, iOS, android, etc.).

This project was given to the students of of Ecole Central Paris University, asthe academic project. It was intended to consist of a client and server to streamvideos across a campus network. VLC was the client for the VideoLAN project.

VLC is a packet-based media player it plays almost all video content. It can playsome, even if they're damaged, incomplete, or unfinished. 

Page 36: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 36/39

4. COMMUNITIES & REFERENCES   http://www.google.com

  http://www.opensource.org/  http://www.wikipedia.org/  http://sourceforge.net/  https://github.com/  http://wiki.videolan.org/Documentation:Documentation  http://www.shortcutworld.com/en/win/VLC-Media-

Player_

a)  Download link of VLC 1.1.11(latest version)

  http://www.videolan.org/vlc/download-windows.html

b)  Download link of VLC Source code

  http://www.videolan.org/vlc/download-sources.html

Page 37: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 37/39

APPENDIX

a) Screen shots for the code of VLC

Page 38: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 38/39

 

Page 39: Report on Vlc

8/13/2019 Report on Vlc

http://slidepdf.com/reader/full/report-on-vlc 39/39

We can view the whole source code online.. here is the link..

“ https://github.com/videolan/vlc/blob/master/bin/vlc.c” 

b)  Screenshots of VLC