<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markfm</id>
	<title>VideoLAN Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.videolan.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Markfm"/>
	<link rel="alternate" type="text/html" href="https://wiki.videolan.org/Special:Contributions/Markfm/"/>
	<updated>2026-11-04T15:52:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10874</id>
		<title>SoC 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10874"/>
		<updated>2008-03-06T13:01:38Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* WinCE port */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google Summer of Code 2008.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;VideoLAN tries to be a mentoring organization&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Introduction &amp;amp; Information ==&lt;br /&gt;
&lt;br /&gt;
This wiki page covers the attempt by the [[VideoLAN]] project to act as a mentoring organization for [http://code.google.com/soc/ Google Summer of Code], in order to improve {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== VLC media player ===&lt;br /&gt;
{{VLC}} is a cross-platform Multimedia player, and encoding and streaming application.&lt;br /&gt;
It is one of the most successful open-source projects without any professional structure underneath.&lt;br /&gt;
&lt;br /&gt;
{{VLC}} is downloaded at an approximate monthly rate of 4 millions from the main website (not including third-party distributions (Linux)), which means about 30 million people have downloaded VLC 0.8.5 from the main website!&lt;br /&gt;
&lt;br /&gt;
You can find more information on [http://en.wikipedia.org/wiki/VLC_media_player VLC on Wikipedia] or on this [[Main_Page|wiki]].&lt;br /&gt;
&lt;br /&gt;
=== Summer of Code ===&lt;br /&gt;
&lt;br /&gt;
If selected and developed, SoC ideas will be included in the VLC 0.9.1 or any later version release, and covered by the GPL licence.&lt;br /&gt;
&lt;br /&gt;
=== Ideas ===&lt;br /&gt;
&#039;&#039;&#039;Read this&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We (the VideoLAN team, and [[User:J-b|jb]], the author of this page) have split this page in two lists of ideas:&lt;br /&gt;
* The &#039;&#039;main ideas&#039;&#039; are the ones we would like to focus on, and seem to be key projects for VLC and a lot more &#039;&#039;thrilling&#039;&#039; than the other ones; we have assigned a potential mentor to each of these.&lt;br /&gt;
* The other ideas are less detailed but could be good ideas too.&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want to impose anything. This is free and Open Source software. Last year, many projects were external ideas.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to apply for SoC but want other ideas to develop on, check the [[Mini Projects]] page!&lt;br /&gt;
And on IRC channel, you can have even more ideas.&lt;br /&gt;
&lt;br /&gt;
== Main ideas ==&lt;br /&gt;
&lt;br /&gt;
=== Fullscreen Controller ===&lt;br /&gt;
This project is easy to describe, it would provide a fullscreen controller for Linux/Unix and Windows, as {{VLC}} already has on Mac OS X version since 0.8.6.&lt;br /&gt;
&lt;br /&gt;
It should be draggable, clickable and support the classical control buttons to control VLC playback in fullscreen mode.&lt;br /&gt;
&lt;br /&gt;
With this project, which is not too long, there should be some related work on Vout (Making sure the video output does not close and reopen between files for example...)&lt;br /&gt;
&lt;br /&gt;
This project needs basic C++ knowledge. Qt knowledge would be a plus.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:J-b|jb]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
This project aims at making automatic tests to improve VLC quality.&lt;br /&gt;
&lt;br /&gt;
- Write a series of tests for vlc-internal&lt;br /&gt;
- Define a way to test plugins&lt;br /&gt;
- Automatize the different codec playback/mux/etc tests&lt;br /&gt;
- Automatize the subtitles tests&lt;br /&gt;
- Write tests for the different bindings: Mac OS X Framework/Python Bindings... etc.&lt;br /&gt;
&lt;br /&gt;
This project is a code project and may require advanced coding skills&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:Pdherbemont]]&#039;&#039; (backup: courmisch)&lt;br /&gt;
&lt;br /&gt;
=== MTP / iPod Service Discovery ===&lt;br /&gt;
This project would work on the MTP devices  and iPod device integration in VLC through a Service Discovery.&lt;br /&gt;
&lt;br /&gt;
This project might need improvements in the Service Discovery live handling&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== QuickTimeVR Playing ===&lt;br /&gt;
This project deals with integration QuickTimeVR inside VLC using work from FreePV (SoC 2007).&lt;br /&gt;
This project will require some modification on image handling inside VLC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup Yuval Levy)&lt;br /&gt;
&lt;br /&gt;
=== Easy Streaming ===&lt;br /&gt;
This project should focus on easiness of streaming on the LAN (for example, other people can see that you&#039;re playing something and request to see the same).&lt;br /&gt;
This project could work on VLC DLNA and UPnP integration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Other Ideas SoC 2008 ==&lt;br /&gt;
&lt;br /&gt;
=== QTKit access ===&lt;br /&gt;
QTKit-based access module for OS X (allowing input from USB / FireWire cameras, audio devices, camcorders, tape recorders [, ...your favourite here] )&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Leopard integration ===&lt;br /&gt;
- a QuickLook-plugin for OS X Leopard &lt;br /&gt;
- Video Output animations&lt;br /&gt;
- VLC_app (VLCKit based) improvements.&lt;br /&gt;
- VLCKit oneclick-Streaming Server implementation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: pdherbemont, feepk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== iPhone / iPod touch port ===&lt;br /&gt;
Now that the SDK is approaching, we might consider the port of VLC to the iPhone / iPod touch platform. Obviously, this project requires the student to own such a device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Matroska (mkv) muxing ===&lt;br /&gt;
&lt;br /&gt;
This project is about writing a mkv muxer for VLC with advanced support (chapters, multiple audio and multiple subtitles, etc...) like when you need to rip or archive a DVD.&lt;br /&gt;
&lt;br /&gt;
FFMPEG project has a similar project, and we could use the libavformat muxer and adapt ourselves, but we are not sure if we will be able to use therefore all the advanced features.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;robUx4 can do the mentoring. He has already wrote the demux and has worked for matroska, so knows it very well.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== WinCE port ===&lt;br /&gt;
The WinCE port has been broken for some time now before 0.8.4. Repairing the builds of all the external libraries build and making VLC build and work should take some time :D&lt;br /&gt;
&lt;br /&gt;
Then a rework of the interface should happen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: djc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== threading/locking consistency/correctness checker===&lt;br /&gt;
This project would create a threading/locking consistency/correctness checker, much like the Linux kernel has, but VLC is simpler as it does not have interrupts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by courmisch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===  GUI interfaces for the browsers plug-ins ===&lt;br /&gt;
This project focuses on adding interfaces to our browser plug-ins, in order to have, in the web pages embedded mode, buttons to control {{VLC}} as in WMP or Youtube player. These buttons need to be cross-platform and cross-browsers.&lt;br /&gt;
&lt;br /&gt;
The second part of this project aims to provide a replacement for all preconfigured media players embedded in web pages, if possible.&lt;br /&gt;
 &lt;br /&gt;
For example, when a webpage asks for WMP embedded plugin, youtube player, quicktime player or any other, VLC would detect the stream and display it. This would mean less CPU needed than Flash based players...&lt;br /&gt;
&lt;br /&gt;
This project may need to work in concert with some improvements on the cache handling module access.&lt;br /&gt;
&lt;br /&gt;
The look of the interface should not be a problem (it can be added later on).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: dionoea&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Vista acceleration and DirectX improvements ===&lt;br /&gt;
Current versions of {{VLC}} have a lot of problems on Windows Vista (check the forums for specifics).&lt;br /&gt;
&lt;br /&gt;
We need support for the new EVR (enhanced video renderer) in Windows Vista, and make it the default Video Output module for that OS.&lt;br /&gt;
&lt;br /&gt;
See [http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt Windows Vista Video Pipeline Architecture And Implementation] and [http://msdn2.microsoft.com/en-us/library/ms788119.aspx DirectShow Improvements in Vista]&lt;br /&gt;
&lt;br /&gt;
Some rework and enhancements of the DirectX and Direct3D Video Output modules may also be necessary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Quovodis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mini Projects - More ideas ===&lt;br /&gt;
&lt;br /&gt;
We have a more general page for ideas for Project in {{VLC}}, that could give you ideas: [[Mini_Projects]].&lt;br /&gt;
&lt;br /&gt;
== Questions? Contact us? ==&lt;br /&gt;
If you need to contact us for any questions, you can:&lt;br /&gt;
* use this [[Talk:SoC_2008| Talk page]], &lt;br /&gt;
* use the [http://www.videolan.org/developers/lists.html vlc-devel] mailing list,&lt;br /&gt;
* come on IRC irc://irc.videolan.org #videolan&lt;br /&gt;
* contact one of the mentors or the backup mentors,&lt;br /&gt;
* or contact [[User:J-b| Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
=== Mentors ===&lt;br /&gt;
The proposed mentors are:&lt;br /&gt;
* courmisch,&lt;br /&gt;
* dionoea,&lt;br /&gt;
* djc&lt;br /&gt;
* feepk,&lt;br /&gt;
* Quovodis,&lt;br /&gt;
* pdherbemont,&lt;br /&gt;
* robUx4&lt;br /&gt;
&lt;br /&gt;
=== Administrators ===&lt;br /&gt;
* jb&lt;br /&gt;
* xtophe&lt;br /&gt;
&lt;br /&gt;
[[Category:Activities]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10873</id>
		<title>SoC 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10873"/>
		<updated>2008-03-06T12:59:25Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* Easy Streaming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google Summer of Code 2008.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;VideoLAN tries to be a mentoring organization&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Introduction &amp;amp; Information ==&lt;br /&gt;
&lt;br /&gt;
This wiki page covers the attempt by the [[VideoLAN]] project to act as a mentoring organization for [http://code.google.com/soc/ Google Summer of Code], in order to improve {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== VLC media player ===&lt;br /&gt;
{{VLC}} is a cross-platform Multimedia player, and encoding and streaming application.&lt;br /&gt;
It is one of the most successful open-source projects without any professional structure underneath.&lt;br /&gt;
&lt;br /&gt;
{{VLC}} is downloaded at an approximate monthly rate of 4 millions from the main website (not including third-party distributions (Linux)), which means about 30 million people have downloaded VLC 0.8.5 from the main website!&lt;br /&gt;
&lt;br /&gt;
You can find more information on [http://en.wikipedia.org/wiki/VLC_media_player VLC on Wikipedia] or on this [[Main_Page|wiki]].&lt;br /&gt;
&lt;br /&gt;
=== Summer of Code ===&lt;br /&gt;
&lt;br /&gt;
If selected and developed, SoC ideas will be included in the VLC 0.9.1 or any later version release, and covered by the GPL licence.&lt;br /&gt;
&lt;br /&gt;
=== Ideas ===&lt;br /&gt;
&#039;&#039;&#039;Read this&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We (the VideoLAN team, and [[User:J-b|jb]], the author of this page) have split this page in two lists of ideas:&lt;br /&gt;
* The &#039;&#039;main ideas&#039;&#039; are the ones we would like to focus on, and seem to be key projects for VLC and a lot more &#039;&#039;thrilling&#039;&#039; than the other ones; we have assigned a potential mentor to each of these.&lt;br /&gt;
* The other ideas are less detailed but could be good ideas too.&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want to impose anything. This is free and Open Source software. Last year, many projects were external ideas.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to apply for SoC but want other ideas to develop on, check the [[Mini Projects]] page!&lt;br /&gt;
And on IRC channel, you can have even more ideas.&lt;br /&gt;
&lt;br /&gt;
== Main ideas ==&lt;br /&gt;
&lt;br /&gt;
=== Fullscreen Controller ===&lt;br /&gt;
This project is easy to describe, it would provide a fullscreen controller for Linux/Unix and Windows, as {{VLC}} already has on Mac OS X version since 0.8.6.&lt;br /&gt;
&lt;br /&gt;
It should be draggable, clickable and support the classical control buttons to control VLC playback in fullscreen mode.&lt;br /&gt;
&lt;br /&gt;
With this project, which is not too long, there should be some related work on Vout (Making sure the video output does not close and reopen between files for example...)&lt;br /&gt;
&lt;br /&gt;
This project needs basic C++ knowledge. Qt knowledge would be a plus.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:J-b|jb]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
This project aims at making automatic tests to improve VLC quality.&lt;br /&gt;
&lt;br /&gt;
- Write a series of tests for vlc-internal&lt;br /&gt;
- Define a way to test plugins&lt;br /&gt;
- Automatize the different codec playback/mux/etc tests&lt;br /&gt;
- Automatize the subtitles tests&lt;br /&gt;
- Write tests for the different bindings: Mac OS X Framework/Python Bindings... etc.&lt;br /&gt;
&lt;br /&gt;
This project is a code project and may require advanced coding skills&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:Pdherbemont]]&#039;&#039; (backup: courmisch)&lt;br /&gt;
&lt;br /&gt;
=== MTP / iPod Service Discovery ===&lt;br /&gt;
This project would work on the MTP devices  and iPod device integration in VLC through a Service Discovery.&lt;br /&gt;
&lt;br /&gt;
This project might need improvements in the Service Discovery live handling&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== QuickTimeVR Playing ===&lt;br /&gt;
This project deals with integration QuickTimeVR inside VLC using work from FreePV (SoC 2007).&lt;br /&gt;
This project will require some modification on image handling inside VLC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup Yuval Levy)&lt;br /&gt;
&lt;br /&gt;
=== Easy Streaming ===&lt;br /&gt;
This project should focus on easiness of streaming on the LAN (for example, other people can see that you&#039;re playing something and request to see the same).&lt;br /&gt;
This project could work on VLC DLNA and UPnP integration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Other Ideas SoC 2008 ==&lt;br /&gt;
&lt;br /&gt;
=== QTKit access ===&lt;br /&gt;
QTKit-based access module for OS X (allowing input from USB / FireWire cameras, audio devices, camcorders, tape recorders [, ...your favourite here] )&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Leopard integration ===&lt;br /&gt;
- a QuickLook-plugin for OS X Leopard &lt;br /&gt;
- Video Output animations&lt;br /&gt;
- VLC_app (VLCKit based) improvements.&lt;br /&gt;
- VLCKit oneclick-Streaming Server implementation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: pdherbemont, feepk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== iPhone / iPod touch port ===&lt;br /&gt;
Now that the SDK is approaching, we might consider the port of VLC to the iPhone / iPod touch platform. Obviously, this project requires the student to own such a device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Matroska (mkv) muxing ===&lt;br /&gt;
&lt;br /&gt;
This project is about writing a mkv muxer for VLC with advanced support (chapters, multiple audio and multiple subtitles, etc...) like when you need to rip or archive a DVD.&lt;br /&gt;
&lt;br /&gt;
FFMPEG project has a similar project, and we could use the libavformat muxer and adapt ourselves, but we are not sure if we will be able to use therefore all the advanced features.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;robUx4 can do the mentoring. He has already wrote the demux and has worked for matroska, so knows it very well.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== WinCE port ===&lt;br /&gt;
The WinCE port has been broken for some time now before 0.8.4. Repairing the builds of all the external libraries build and making VLC build and work should take some time :D&lt;br /&gt;
&lt;br /&gt;
Then a rework of the interface should happen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by djc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== threading/locking consistency/correctness checker===&lt;br /&gt;
This project would create a threading/locking consistency/correctness checker, much like the Linux kernel has, but VLC is simpler as it does not have interrupts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by courmisch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===  GUI interfaces for the browsers plug-ins ===&lt;br /&gt;
This project focuses on adding interfaces to our browser plug-ins, in order to have, in the web pages embedded mode, buttons to control {{VLC}} as in WMP or Youtube player. These buttons need to be cross-platform and cross-browsers.&lt;br /&gt;
&lt;br /&gt;
The second part of this project aims to provide a replacement for all preconfigured media players embedded in web pages, if possible.&lt;br /&gt;
 &lt;br /&gt;
For example, when a webpage asks for WMP embedded plugin, youtube player, quicktime player or any other, VLC would detect the stream and display it. This would mean less CPU needed than Flash based players...&lt;br /&gt;
&lt;br /&gt;
This project may need to work in concert with some improvements on the cache handling module access.&lt;br /&gt;
&lt;br /&gt;
The look of the interface should not be a problem (it can be added later on).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: dionoea&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Vista acceleration and DirectX improvements ===&lt;br /&gt;
Current versions of {{VLC}} have a lot of problems on Windows Vista (check the forums for specifics).&lt;br /&gt;
&lt;br /&gt;
We need support for the new EVR (enhanced video renderer) in Windows Vista, and make it the default Video Output module for that OS.&lt;br /&gt;
&lt;br /&gt;
See [http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt Windows Vista Video Pipeline Architecture And Implementation] and [http://msdn2.microsoft.com/en-us/library/ms788119.aspx DirectShow Improvements in Vista]&lt;br /&gt;
&lt;br /&gt;
Some rework and enhancements of the DirectX and Direct3D Video Output modules may also be necessary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Quovodis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mini Projects - More ideas ===&lt;br /&gt;
&lt;br /&gt;
We have a more general page for ideas for Project in {{VLC}}, that could give you ideas: [[Mini_Projects]].&lt;br /&gt;
&lt;br /&gt;
== Questions? Contact us? ==&lt;br /&gt;
If you need to contact us for any questions, you can:&lt;br /&gt;
* use this [[Talk:SoC_2008| Talk page]], &lt;br /&gt;
* use the [http://www.videolan.org/developers/lists.html vlc-devel] mailing list,&lt;br /&gt;
* come on IRC irc://irc.videolan.org #videolan&lt;br /&gt;
* contact one of the mentors or the backup mentors,&lt;br /&gt;
* or contact [[User:J-b| Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
=== Mentors ===&lt;br /&gt;
The proposed mentors are:&lt;br /&gt;
* courmisch,&lt;br /&gt;
* dionoea,&lt;br /&gt;
* djc&lt;br /&gt;
* feepk,&lt;br /&gt;
* Quovodis,&lt;br /&gt;
* pdherbemont,&lt;br /&gt;
* robUx4&lt;br /&gt;
&lt;br /&gt;
=== Administrators ===&lt;br /&gt;
* jb&lt;br /&gt;
* xtophe&lt;br /&gt;
&lt;br /&gt;
[[Category:Activities]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10872</id>
		<title>SoC 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10872"/>
		<updated>2008-03-06T12:57:50Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* threading/locking consistency/correctness checker */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google Summer of Code 2008.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;VideoLAN tries to be a mentoring organization&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Introduction &amp;amp; Information ==&lt;br /&gt;
&lt;br /&gt;
This wiki page covers the attempt by the [[VideoLAN]] project to act as a mentoring organization for [http://code.google.com/soc/ Google Summer of Code], in order to improve {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== VLC media player ===&lt;br /&gt;
{{VLC}} is a cross-platform Multimedia player, and encoding and streaming application.&lt;br /&gt;
It is one of the most successful open-source projects without any professional structure underneath.&lt;br /&gt;
&lt;br /&gt;
{{VLC}} is downloaded at an approximate monthly rate of 4 millions from the main website (not including third-party distributions (Linux)), which means about 30 million people have downloaded VLC 0.8.5 from the main website!&lt;br /&gt;
&lt;br /&gt;
You can find more information on [http://en.wikipedia.org/wiki/VLC_media_player VLC on Wikipedia] or on this [[Main_Page|wiki]].&lt;br /&gt;
&lt;br /&gt;
=== Summer of Code ===&lt;br /&gt;
&lt;br /&gt;
If selected and developed, SoC ideas will be included in the VLC 0.9.1 or any later version release, and covered by the GPL licence.&lt;br /&gt;
&lt;br /&gt;
=== Ideas ===&lt;br /&gt;
&#039;&#039;&#039;Read this&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We (the VideoLAN team, and [[User:J-b|jb]], the author of this page) have split this page in two lists of ideas:&lt;br /&gt;
* The &#039;&#039;main ideas&#039;&#039; are the ones we would like to focus on, and seem to be key projects for VLC and a lot more &#039;&#039;thrilling&#039;&#039; than the other ones; we have assigned a potential mentor to each of these.&lt;br /&gt;
* The other ideas are less detailed but could be good ideas too.&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want to impose anything. This is free and Open Source software. Last year, many projects were external ideas.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to apply for SoC but want other ideas to develop on, check the [[Mini Projects]] page!&lt;br /&gt;
And on IRC channel, you can have even more ideas.&lt;br /&gt;
&lt;br /&gt;
== Main ideas ==&lt;br /&gt;
&lt;br /&gt;
=== Fullscreen Controller ===&lt;br /&gt;
This project is easy to describe, it would provide a fullscreen controller for Linux/Unix and Windows, as {{VLC}} already has on Mac OS X version since 0.8.6.&lt;br /&gt;
&lt;br /&gt;
It should be draggable, clickable and support the classical control buttons to control VLC playback in fullscreen mode.&lt;br /&gt;
&lt;br /&gt;
With this project, which is not too long, there should be some related work on Vout (Making sure the video output does not close and reopen between files for example...)&lt;br /&gt;
&lt;br /&gt;
This project needs basic C++ knowledge. Qt knowledge would be a plus.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:J-b|jb]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
This project aims at making automatic tests to improve VLC quality.&lt;br /&gt;
&lt;br /&gt;
- Write a series of tests for vlc-internal&lt;br /&gt;
- Define a way to test plugins&lt;br /&gt;
- Automatize the different codec playback/mux/etc tests&lt;br /&gt;
- Automatize the subtitles tests&lt;br /&gt;
- Write tests for the different bindings: Mac OS X Framework/Python Bindings... etc.&lt;br /&gt;
&lt;br /&gt;
This project is a code project and may require advanced coding skills&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:Pdherbemont]]&#039;&#039; (backup: courmisch)&lt;br /&gt;
&lt;br /&gt;
=== MTP / iPod Service Discovery ===&lt;br /&gt;
This project would work on the MTP devices  and iPod device integration in VLC through a Service Discovery.&lt;br /&gt;
&lt;br /&gt;
This project might need improvements in the Service Discovery live handling&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== QuickTimeVR Playing ===&lt;br /&gt;
This project deals with integration QuickTimeVR inside VLC using work from FreePV (SoC 2007).&lt;br /&gt;
This project will require some modification on image handling inside VLC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup Yuval Levy)&lt;br /&gt;
&lt;br /&gt;
=== Easy Streaming ===&lt;br /&gt;
This project should focus on easiness of streaming on the LAN (like other people can see that you&#039;re playing something and request to see the same).&lt;br /&gt;
This project could work on VLC DLNA and UPnP integration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Other Ideas SoC 2008 ==&lt;br /&gt;
&lt;br /&gt;
=== QTKit access ===&lt;br /&gt;
QTKit-based access module for OS X (allowing input from USB / FireWire cameras, audio devices, camcorders, tape recorders [, ...your favourite here] )&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Leopard integration ===&lt;br /&gt;
- a QuickLook-plugin for OS X Leopard &lt;br /&gt;
- Video Output animations&lt;br /&gt;
- VLC_app (VLCKit based) improvements.&lt;br /&gt;
- VLCKit oneclick-Streaming Server implementation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: pdherbemont, feepk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== iPhone / iPod touch port ===&lt;br /&gt;
Now that the SDK is approaching, we might consider the port of VLC to the iPhone / iPod touch platform. Obviously, this project requires the student to own such a device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Matroska (mkv) muxing ===&lt;br /&gt;
&lt;br /&gt;
This project is about writing a mkv muxer for VLC with advanced support (chapters, multiple audio and multiple subtitles, etc...) like when you need to rip or archive a DVD.&lt;br /&gt;
&lt;br /&gt;
FFMPEG project has a similar project, and we could use the libavformat muxer and adapt ourselves, but we are not sure if we will be able to use therefore all the advanced features.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;robUx4 can do the mentoring. He has already wrote the demux and has worked for matroska, so knows it very well.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== WinCE port ===&lt;br /&gt;
The WinCE port has been broken for some time now before 0.8.4. Repairing the builds of all the external libraries build and making VLC build and work should take some time :D&lt;br /&gt;
&lt;br /&gt;
Then a rework of the interface should happen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by djc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== threading/locking consistency/correctness checker===&lt;br /&gt;
This project would create a threading/locking consistency/correctness checker, much like the Linux kernel has, but VLC is simpler as it does not have interrupts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by courmisch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===  GUI interfaces for the browsers plug-ins ===&lt;br /&gt;
This project focuses on adding interfaces to our browser plug-ins, in order to have, in the web pages embedded mode, buttons to control {{VLC}} as in WMP or Youtube player. These buttons need to be cross-platform and cross-browsers.&lt;br /&gt;
&lt;br /&gt;
The second part of this project aims to provide a replacement for all preconfigured media players embedded in web pages, if possible.&lt;br /&gt;
 &lt;br /&gt;
For example, when a webpage asks for WMP embedded plugin, youtube player, quicktime player or any other, VLC would detect the stream and display it. This would mean less CPU needed than Flash based players...&lt;br /&gt;
&lt;br /&gt;
This project may need to work in concert with some improvements on the cache handling module access.&lt;br /&gt;
&lt;br /&gt;
The look of the interface should not be a problem (it can be added later on).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: dionoea&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Vista acceleration and DirectX improvements ===&lt;br /&gt;
Current versions of {{VLC}} have a lot of problems on Windows Vista (check the forums for specifics).&lt;br /&gt;
&lt;br /&gt;
We need support for the new EVR (enhanced video renderer) in Windows Vista, and make it the default Video Output module for that OS.&lt;br /&gt;
&lt;br /&gt;
See [http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt Windows Vista Video Pipeline Architecture And Implementation] and [http://msdn2.microsoft.com/en-us/library/ms788119.aspx DirectShow Improvements in Vista]&lt;br /&gt;
&lt;br /&gt;
Some rework and enhancements of the DirectX and Direct3D Video Output modules may also be necessary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Quovodis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mini Projects - More ideas ===&lt;br /&gt;
&lt;br /&gt;
We have a more general page for ideas for Project in {{VLC}}, that could give you ideas: [[Mini_Projects]].&lt;br /&gt;
&lt;br /&gt;
== Questions? Contact us? ==&lt;br /&gt;
If you need to contact us for any questions, you can:&lt;br /&gt;
* use this [[Talk:SoC_2008| Talk page]], &lt;br /&gt;
* use the [http://www.videolan.org/developers/lists.html vlc-devel] mailing list,&lt;br /&gt;
* come on IRC irc://irc.videolan.org #videolan&lt;br /&gt;
* contact one of the mentors or the backup mentors,&lt;br /&gt;
* or contact [[User:J-b| Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
=== Mentors ===&lt;br /&gt;
The proposed mentors are:&lt;br /&gt;
* courmisch,&lt;br /&gt;
* dionoea,&lt;br /&gt;
* djc&lt;br /&gt;
* feepk,&lt;br /&gt;
* Quovodis,&lt;br /&gt;
* pdherbemont,&lt;br /&gt;
* robUx4&lt;br /&gt;
&lt;br /&gt;
=== Administrators ===&lt;br /&gt;
* jb&lt;br /&gt;
* xtophe&lt;br /&gt;
&lt;br /&gt;
[[Category:Activities]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10871</id>
		<title>SoC 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10871"/>
		<updated>2008-03-06T12:56:45Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* Easy Streaming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google Summer of Code 2008.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;VideoLAN tries to be a mentoring organization&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Introduction &amp;amp; Information ==&lt;br /&gt;
&lt;br /&gt;
This wiki page covers the attempt by the [[VideoLAN]] project to act as a mentoring organization for [http://code.google.com/soc/ Google Summer of Code], in order to improve {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== VLC media player ===&lt;br /&gt;
{{VLC}} is a cross-platform Multimedia player, and encoding and streaming application.&lt;br /&gt;
It is one of the most successful open-source projects without any professional structure underneath.&lt;br /&gt;
&lt;br /&gt;
{{VLC}} is downloaded at an approximate monthly rate of 4 millions from the main website (not including third-party distributions (Linux)), which means about 30 million people have downloaded VLC 0.8.5 from the main website!&lt;br /&gt;
&lt;br /&gt;
You can find more information on [http://en.wikipedia.org/wiki/VLC_media_player VLC on Wikipedia] or on this [[Main_Page|wiki]].&lt;br /&gt;
&lt;br /&gt;
=== Summer of Code ===&lt;br /&gt;
&lt;br /&gt;
If selected and developed, SoC ideas will be included in the VLC 0.9.1 or any later version release, and covered by the GPL licence.&lt;br /&gt;
&lt;br /&gt;
=== Ideas ===&lt;br /&gt;
&#039;&#039;&#039;Read this&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We (the VideoLAN team, and [[User:J-b|jb]], the author of this page) have split this page in two lists of ideas:&lt;br /&gt;
* The &#039;&#039;main ideas&#039;&#039; are the ones we would like to focus on, and seem to be key projects for VLC and a lot more &#039;&#039;thrilling&#039;&#039; than the other ones; we have assigned a potential mentor to each of these.&lt;br /&gt;
* The other ideas are less detailed but could be good ideas too.&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want to impose anything. This is free and Open Source software. Last year, many projects were external ideas.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to apply for SoC but want other ideas to develop on, check the [[Mini Projects]] page!&lt;br /&gt;
And on IRC channel, you can have even more ideas.&lt;br /&gt;
&lt;br /&gt;
== Main ideas ==&lt;br /&gt;
&lt;br /&gt;
=== Fullscreen Controller ===&lt;br /&gt;
This project is easy to describe, it would provide a fullscreen controller for Linux/Unix and Windows, as {{VLC}} already has on Mac OS X version since 0.8.6.&lt;br /&gt;
&lt;br /&gt;
It should be draggable, clickable and support the classical control buttons to control VLC playback in fullscreen mode.&lt;br /&gt;
&lt;br /&gt;
With this project, which is not too long, there should be some related work on Vout (Making sure the video output does not close and reopen between files for example...)&lt;br /&gt;
&lt;br /&gt;
This project needs basic C++ knowledge. Qt knowledge would be a plus.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:J-b|jb]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
This project aims at making automatic tests to improve VLC quality.&lt;br /&gt;
&lt;br /&gt;
- Write a series of tests for vlc-internal&lt;br /&gt;
- Define a way to test plugins&lt;br /&gt;
- Automatize the different codec playback/mux/etc tests&lt;br /&gt;
- Automatize the subtitles tests&lt;br /&gt;
- Write tests for the different bindings: Mac OS X Framework/Python Bindings... etc.&lt;br /&gt;
&lt;br /&gt;
This project is a code project and may require advanced coding skills&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:Pdherbemont]]&#039;&#039; (backup: courmisch)&lt;br /&gt;
&lt;br /&gt;
=== MTP / iPod Service Discovery ===&lt;br /&gt;
This project would work on the MTP devices  and iPod device integration in VLC through a Service Discovery.&lt;br /&gt;
&lt;br /&gt;
This project might need improvements in the Service Discovery live handling&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== QuickTimeVR Playing ===&lt;br /&gt;
This project deals with integration QuickTimeVR inside VLC using work from FreePV (SoC 2007).&lt;br /&gt;
This project will require some modification on image handling inside VLC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup Yuval Levy)&lt;br /&gt;
&lt;br /&gt;
=== Easy Streaming ===&lt;br /&gt;
This project should focus on easiness of streaming on the LAN (like other people can see that you&#039;re playing something and request to see the same).&lt;br /&gt;
This project could work on VLC DLNA and UPnP integration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Other Ideas SoC 2008 ==&lt;br /&gt;
&lt;br /&gt;
=== QTKit access ===&lt;br /&gt;
QTKit-based access module for OS X (allowing input from USB / FireWire cameras, audio devices, camcorders, tape recorders [, ...your favourite here] )&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Leopard integration ===&lt;br /&gt;
- a QuickLook-plugin for OS X Leopard &lt;br /&gt;
- Video Output animations&lt;br /&gt;
- VLC_app (VLCKit based) improvements.&lt;br /&gt;
- VLCKit oneclick-Streaming Server implementation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: pdherbemont, feepk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== iPhone / iPod touch port ===&lt;br /&gt;
Now that the SDK is approaching, we might consider the port of VLC to the iPhone / iPod touch platform. Obviously, this project requires the student to own such a device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Matroska (mkv) muxing ===&lt;br /&gt;
&lt;br /&gt;
This project is about writing a mkv muxer for VLC with advanced support (chapters, multiple audio and multiple subtitles, etc...) like when you need to rip or archive a DVD.&lt;br /&gt;
&lt;br /&gt;
FFMPEG project has a similar project, and we could use the libavformat muxer and adapt ourselves, but we are not sure if we will be able to use therefore all the advanced features.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;robUx4 can do the mentoring. He has already wrote the demux and has worked for matroska, so knows it very well.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== WinCE port ===&lt;br /&gt;
The WinCE port has been broken for some time now before 0.8.4. Repairing the builds of all the external libraries build and making VLC build and work should take some time :D&lt;br /&gt;
&lt;br /&gt;
Then a rework of the interface should happen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by djc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== threading/locking consistency/correctness checker===&lt;br /&gt;
This project would create a threading/locking consistency/correctness checker, much like the Linux kernel has, but VLC is simpler has it does not have interrupts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by courmisch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===  GUI interfaces for the browsers plug-ins ===&lt;br /&gt;
This project focuses on adding interfaces to our browser plug-ins, in order to have, in the web pages embedded mode, buttons to control {{VLC}} as in WMP or Youtube player. These buttons need to be cross-platform and cross-browsers.&lt;br /&gt;
&lt;br /&gt;
The second part of this project aims to provide a replacement for all preconfigured media players embedded in web pages, if possible.&lt;br /&gt;
 &lt;br /&gt;
For example, when a webpage asks for WMP embedded plugin, youtube player, quicktime player or any other, VLC would detect the stream and display it. This would mean less CPU needed than Flash based players...&lt;br /&gt;
&lt;br /&gt;
This project may need to work in concert with some improvements on the cache handling module access.&lt;br /&gt;
&lt;br /&gt;
The look of the interface should not be a problem (it can be added later on).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: dionoea&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Vista acceleration and DirectX improvements ===&lt;br /&gt;
Current versions of {{VLC}} have a lot of problems on Windows Vista (check the forums for specifics).&lt;br /&gt;
&lt;br /&gt;
We need support for the new EVR (enhanced video renderer) in Windows Vista, and make it the default Video Output module for that OS.&lt;br /&gt;
&lt;br /&gt;
See [http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt Windows Vista Video Pipeline Architecture And Implementation] and [http://msdn2.microsoft.com/en-us/library/ms788119.aspx DirectShow Improvements in Vista]&lt;br /&gt;
&lt;br /&gt;
Some rework and enhancements of the DirectX and Direct3D Video Output modules may also be necessary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Quovodis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mini Projects - More ideas ===&lt;br /&gt;
&lt;br /&gt;
We have a more general page for ideas for Project in {{VLC}}, that could give you ideas: [[Mini_Projects]].&lt;br /&gt;
&lt;br /&gt;
== Questions? Contact us? ==&lt;br /&gt;
If you need to contact us for any questions, you can:&lt;br /&gt;
* use this [[Talk:SoC_2008| Talk page]], &lt;br /&gt;
* use the [http://www.videolan.org/developers/lists.html vlc-devel] mailing list,&lt;br /&gt;
* come on IRC irc://irc.videolan.org #videolan&lt;br /&gt;
* contact one of the mentors or the backup mentors,&lt;br /&gt;
* or contact [[User:J-b| Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
=== Mentors ===&lt;br /&gt;
The proposed mentors are:&lt;br /&gt;
* courmisch,&lt;br /&gt;
* dionoea,&lt;br /&gt;
* djc&lt;br /&gt;
* feepk,&lt;br /&gt;
* Quovodis,&lt;br /&gt;
* pdherbemont,&lt;br /&gt;
* robUx4&lt;br /&gt;
&lt;br /&gt;
=== Administrators ===&lt;br /&gt;
* jb&lt;br /&gt;
* xtophe&lt;br /&gt;
&lt;br /&gt;
[[Category:Activities]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10870</id>
		<title>SoC 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=SoC_2008&amp;diff=10870"/>
		<updated>2008-03-06T12:56:24Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* MTP / iPod Service Discovery */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Google Summer of Code 2008.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;VideoLAN tries to be a mentoring organization&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Introduction &amp;amp; Information ==&lt;br /&gt;
&lt;br /&gt;
This wiki page covers the attempt by the [[VideoLAN]] project to act as a mentoring organization for [http://code.google.com/soc/ Google Summer of Code], in order to improve {{VLC}}.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== VLC media player ===&lt;br /&gt;
{{VLC}} is a cross-platform Multimedia player, and encoding and streaming application.&lt;br /&gt;
It is one of the most successful open-source projects without any professional structure underneath.&lt;br /&gt;
&lt;br /&gt;
{{VLC}} is downloaded at an approximate monthly rate of 4 millions from the main website (not including third-party distributions (Linux)), which means about 30 million people have downloaded VLC 0.8.5 from the main website!&lt;br /&gt;
&lt;br /&gt;
You can find more information on [http://en.wikipedia.org/wiki/VLC_media_player VLC on Wikipedia] or on this [[Main_Page|wiki]].&lt;br /&gt;
&lt;br /&gt;
=== Summer of Code ===&lt;br /&gt;
&lt;br /&gt;
If selected and developed, SoC ideas will be included in the VLC 0.9.1 or any later version release, and covered by the GPL licence.&lt;br /&gt;
&lt;br /&gt;
=== Ideas ===&lt;br /&gt;
&#039;&#039;&#039;Read this&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We (the VideoLAN team, and [[User:J-b|jb]], the author of this page) have split this page in two lists of ideas:&lt;br /&gt;
* The &#039;&#039;main ideas&#039;&#039; are the ones we would like to focus on, and seem to be key projects for VLC and a lot more &#039;&#039;thrilling&#039;&#039; than the other ones; we have assigned a potential mentor to each of these.&lt;br /&gt;
* The other ideas are less detailed but could be good ideas too.&lt;br /&gt;
&lt;br /&gt;
We don&#039;t want to impose anything. This is free and Open Source software. Last year, many projects were external ideas.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to apply for SoC but want other ideas to develop on, check the [[Mini Projects]] page!&lt;br /&gt;
And on IRC channel, you can have even more ideas.&lt;br /&gt;
&lt;br /&gt;
== Main ideas ==&lt;br /&gt;
&lt;br /&gt;
=== Fullscreen Controller ===&lt;br /&gt;
This project is easy to describe, it would provide a fullscreen controller for Linux/Unix and Windows, as {{VLC}} already has on Mac OS X version since 0.8.6.&lt;br /&gt;
&lt;br /&gt;
It should be draggable, clickable and support the classical control buttons to control VLC playback in fullscreen mode.&lt;br /&gt;
&lt;br /&gt;
With this project, which is not too long, there should be some related work on Vout (Making sure the video output does not close and reopen between files for example...)&lt;br /&gt;
&lt;br /&gt;
This project needs basic C++ knowledge. Qt knowledge would be a plus.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:J-b|jb]]&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Test Suite ===&lt;br /&gt;
This project aims at making automatic tests to improve VLC quality.&lt;br /&gt;
&lt;br /&gt;
- Write a series of tests for vlc-internal&lt;br /&gt;
- Define a way to test plugins&lt;br /&gt;
- Automatize the different codec playback/mux/etc tests&lt;br /&gt;
- Automatize the subtitles tests&lt;br /&gt;
- Write tests for the different bindings: Mac OS X Framework/Python Bindings... etc.&lt;br /&gt;
&lt;br /&gt;
This project is a code project and may require advanced coding skills&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: [[User:Pdherbemont]]&#039;&#039; (backup: courmisch)&lt;br /&gt;
&lt;br /&gt;
=== MTP / iPod Service Discovery ===&lt;br /&gt;
This project would work on the MTP devices  and iPod device integration in VLC through a Service Discovery.&lt;br /&gt;
&lt;br /&gt;
This project might need improvements in the Service Discovery live handling&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== QuickTimeVR Playing ===&lt;br /&gt;
This project deals with integration QuickTimeVR inside VLC using work from FreePV (SoC 2007).&lt;br /&gt;
This project will require some modification on image handling inside VLC.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup Yuval Levy)&lt;br /&gt;
&lt;br /&gt;
=== Easy Streaming ===&lt;br /&gt;
This project should focus on easiness of streaming on the LAN (like other people can see that you&#039;re playing something and request to see the same).&lt;br /&gt;
This project could work on VLC DLNA and UPnP integration.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown yet&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Other Ideas SoC 2008 ==&lt;br /&gt;
&lt;br /&gt;
=== QTKit access ===&lt;br /&gt;
QTKit-based access module for OS X (allowing input from USB / FireWire cameras, audio devices, camcorders, tape recorders [, ...your favourite here] )&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Leopard integration ===&lt;br /&gt;
- a QuickLook-plugin for OS X Leopard &lt;br /&gt;
- Video Output animations&lt;br /&gt;
- VLC_app (VLCKit based) improvements.&lt;br /&gt;
- VLCKit oneclick-Streaming Server implementation.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: pdherbemont, feepk&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== iPhone / iPod touch port ===&lt;br /&gt;
Now that the SDK is approaching, we might consider the port of VLC to the iPhone / iPod touch platform. Obviously, this project requires the student to own such a device.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Unknown&#039;&#039; (backup feepk)&lt;br /&gt;
&lt;br /&gt;
=== Matroska (mkv) muxing ===&lt;br /&gt;
&lt;br /&gt;
This project is about writing a mkv muxer for VLC with advanced support (chapters, multiple audio and multiple subtitles, etc...) like when you need to rip or archive a DVD.&lt;br /&gt;
&lt;br /&gt;
FFMPEG project has a similar project, and we could use the libavformat muxer and adapt ourselves, but we are not sure if we will be able to use therefore all the advanced features.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;robUx4 can do the mentoring. He has already wrote the demux and has worked for matroska, so knows it very well.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== WinCE port ===&lt;br /&gt;
The WinCE port has been broken for some time now before 0.8.4. Repairing the builds of all the external libraries build and making VLC build and work should take some time :D&lt;br /&gt;
&lt;br /&gt;
Then a rework of the interface should happen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by djc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== threading/locking consistency/correctness checker===&lt;br /&gt;
This project would create a threading/locking consistency/correctness checker, much like the Linux kernel has, but VLC is simpler has it does not have interrupts.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;mentoring would be done by courmisch&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
===  GUI interfaces for the browsers plug-ins ===&lt;br /&gt;
This project focuses on adding interfaces to our browser plug-ins, in order to have, in the web pages embedded mode, buttons to control {{VLC}} as in WMP or Youtube player. These buttons need to be cross-platform and cross-browsers.&lt;br /&gt;
&lt;br /&gt;
The second part of this project aims to provide a replacement for all preconfigured media players embedded in web pages, if possible.&lt;br /&gt;
 &lt;br /&gt;
For example, when a webpage asks for WMP embedded plugin, youtube player, quicktime player or any other, VLC would detect the stream and display it. This would mean less CPU needed than Flash based players...&lt;br /&gt;
&lt;br /&gt;
This project may need to work in concert with some improvements on the cache handling module access.&lt;br /&gt;
&lt;br /&gt;
The look of the interface should not be a problem (it can be added later on).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: dionoea&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Vista acceleration and DirectX improvements ===&lt;br /&gt;
Current versions of {{VLC}} have a lot of problems on Windows Vista (check the forums for specifics).&lt;br /&gt;
&lt;br /&gt;
We need support for the new EVR (enhanced video renderer) in Windows Vista, and make it the default Video Output module for that OS.&lt;br /&gt;
&lt;br /&gt;
See [http://download.microsoft.com/download/5/b/9/5b97017b-e28a-4bae-ba48-174cf47d23cd/MED134_WH06.ppt Windows Vista Video Pipeline Architecture And Implementation] and [http://msdn2.microsoft.com/en-us/library/ms788119.aspx DirectShow Improvements in Vista]&lt;br /&gt;
&lt;br /&gt;
Some rework and enhancements of the DirectX and Direct3D Video Output modules may also be necessary.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Proposed mentor: Quovodis&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=== Mini Projects - More ideas ===&lt;br /&gt;
&lt;br /&gt;
We have a more general page for ideas for Project in {{VLC}}, that could give you ideas: [[Mini_Projects]].&lt;br /&gt;
&lt;br /&gt;
== Questions? Contact us? ==&lt;br /&gt;
If you need to contact us for any questions, you can:&lt;br /&gt;
* use this [[Talk:SoC_2008| Talk page]], &lt;br /&gt;
* use the [http://www.videolan.org/developers/lists.html vlc-devel] mailing list,&lt;br /&gt;
* come on IRC irc://irc.videolan.org #videolan&lt;br /&gt;
* contact one of the mentors or the backup mentors,&lt;br /&gt;
* or contact [[User:J-b| Jean-Baptiste Kempf]]&lt;br /&gt;
&lt;br /&gt;
=== Mentors ===&lt;br /&gt;
The proposed mentors are:&lt;br /&gt;
* courmisch,&lt;br /&gt;
* dionoea,&lt;br /&gt;
* djc&lt;br /&gt;
* feepk,&lt;br /&gt;
* Quovodis,&lt;br /&gt;
* pdherbemont,&lt;br /&gt;
* robUx4&lt;br /&gt;
&lt;br /&gt;
=== Administrators ===&lt;br /&gt;
* jb&lt;br /&gt;
* xtophe&lt;br /&gt;
&lt;br /&gt;
[[Category:Activities]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10819</id>
		<title>Win32CompileCygwinOld</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10819"/>
		<updated>2008-03-03T01:35:02Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* GIT */  Workflow captured on the main GIT wiki page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cygwin environment for Windows from http://developers.videolan.org/vlc/cygwin-compile.txt&lt;br /&gt;
&lt;br /&gt;
Originally based on &amp;quot;Win32 Cygwin Environment&amp;quot; Rev. B (20041003) by Mark Moriarty and &amp;quot;Win32 Compile HOWTO&amp;quot; (20050513) by Gildas Bazin and Olivier Teulière.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
This is a guide for Windows users with a step-by-step instruction to download, install and configure the following components on your system:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com &#039;&#039;&#039;Cygwin&#039;&#039;&#039;]:  Linux-like environment for Windows used for compilation of the VLC source code&lt;br /&gt;
&lt;br /&gt;
* [http://download.videolan.org/pub/videolan/testing/win32/ &#039;&#039;&#039;Win32 contrib package&#039;&#039;&#039;]:  Precompiled library package (with DTS support).&lt;br /&gt;
&lt;br /&gt;
Optionally updated libraries:&lt;br /&gt;
&lt;br /&gt;
* [http://ffmpeg.mplayerhq.hu &#039;&#039;&#039;FFmpeg&#039;&#039;&#039;] (with AMR support).&lt;br /&gt;
&lt;br /&gt;
* [http://developers.videolan.org/x264.html &#039;&#039;&#039;x264&#039;&#039;&#039;] used for encoding H.264/AVC video.&lt;br /&gt;
&lt;br /&gt;
* [http://www.live555.com &#039;&#039;&#039;live555&#039;&#039;&#039;] (formerly known as live.com) for RTP/RTCP/RTSP/SIP multimedia streaming.&lt;br /&gt;
&lt;br /&gt;
The best approach to start getting comfortable with building VLC from source is to use the precompiled library package and not yet the optionally updated ones.&lt;br /&gt;
&lt;br /&gt;
Start off by creating a download folder on your hard drive where you can put all the installation files:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads (example)&lt;br /&gt;
&lt;br /&gt;
For further reference, the assumption is made that the local user will be &#039;Administrator&#039;.&lt;br /&gt;
&lt;br /&gt;
=Cygwin=&lt;br /&gt;
&lt;br /&gt;
More info about Cygwin can be found at http://www.cygwin.com or http://sourceware.org/cygwin&lt;br /&gt;
&lt;br /&gt;
Download the latest [http://www.cygwin.com/cygwin/setup.exe Cygwin setup] (it&#039;s at the install or update now icon on the site) and save it in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Selecting Cygwin packages to install==&lt;br /&gt;
&lt;br /&gt;
Run the setup program with the following options:&lt;br /&gt;
&lt;br /&gt;
Installation type : Install from Internet (default)&lt;br /&gt;
&lt;br /&gt;
Root directory : C:\cygwin (default)&lt;br /&gt;
&lt;br /&gt;
Local Package directory : C:\Downloads\cygwin (your download location)&lt;br /&gt;
&lt;br /&gt;
Internet Connection : Direct Connection (preferred, if it fails try another)&lt;br /&gt;
&lt;br /&gt;
Download Site : Choose a download site closest to you (FTP preferred)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the &amp;quot;Select Packages&amp;quot; section of the installation process you can select packages by clicking the button with the rotating 2 arrows. (This is under the &amp;quot;New&amp;quot; section). It shows &amp;quot;Skip&amp;quot; next to the button if the package isn&#039;t selected yet.&lt;br /&gt;
&lt;br /&gt;
Clicking the button a few times will rotate through the possible package versions including &amp;quot;Skip&amp;quot; (meaning do not install or remove if installed) and &amp;quot;Keep&amp;quot; (meaning keep using the current installed version). If a package was already installed it will also show the &amp;quot;Current&amp;quot; version just to the left of it.&lt;br /&gt;
&lt;br /&gt;
Select the following packages (some others will automatically be selected as well):&lt;br /&gt;
&lt;br /&gt;
 Archive&lt;br /&gt;
   5.52-2       unzip (recommended: goes hand in hand with zip utility)&lt;br /&gt;
   2.23-2       zip (required: to make self contained zip packages)&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   2.1          automake (at least 1.5 is required)&lt;br /&gt;
   20060817-1   binutils (autoselected)&lt;br /&gt;
   1.11.22-1    cvs (required for autopoint)&lt;br /&gt;
   3.4.4-3      gcc-core (autoselected)&lt;br /&gt;
   3.4.4-3      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   20050522-1   gcc-mingw-core (autoselected)&lt;br /&gt;
   20050522-1   gcc-mingw-g++ (autoselected)&lt;br /&gt;
   &#039;&#039;&#039;20041228-3   gdb&#039;&#039;&#039; (optional: for debugging purposes)&lt;br /&gt;
   0.15-1       gettext (autoselected)&lt;br /&gt;
   0.15-1       gettext-devel&lt;br /&gt;
   1.5.23a-2    libtool1.5&lt;br /&gt;
   3.81-1       make&lt;br /&gt;
   3.11-1       mingw-runtime (autoselected)&lt;br /&gt;
   0.98.39-1    nasm (optional: for compiling x264 encoder)	&lt;br /&gt;
   0.2.31-1     patchutils (optional: for patching source files with .diff files)&lt;br /&gt;
   0.21-1       pkgconfig (recommended: otherwise ./configure will complain about accuracy)&lt;br /&gt;
   1.4.2-1      subversion&lt;br /&gt;
&lt;br /&gt;
 Lib&lt;br /&gt;
   ?.?          libgcrypt&lt;br /&gt;
&lt;br /&gt;
 Web&lt;br /&gt;
   7.15.4-1     curl (optional: for building extras/contrib)&lt;br /&gt;
   1.10.2-2     wget (optional: for building extras/contrib)&lt;br /&gt;
&lt;br /&gt;
The package version numbers happen to be the representation of what was the most current version available at the time this article was written &#039;&#039;&#039;with the exception of gdb which has to be downgraded from at least 20060706-2 to 20041228-3 for proper usage&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you run into problems of missing packages during install (particularly gettext: cyggettextsrc-0-14-1.dll not found) then rerun the setup program and try selecting another Download Site from the mirror list.&lt;br /&gt;
&lt;br /&gt;
NOTE: Whenever new packages are installed or updated through the Cygwin installer, make sure not to update the packages by keeping the old versions (using the &amp;quot;Keep&amp;quot; option).&lt;br /&gt;
&lt;br /&gt;
==Installing older GCC 3.3 version==&lt;br /&gt;
&lt;br /&gt;
The gcc version used for compilation should match the version specified in the &amp;quot;contrib&amp;quot; package, at present gcc-3.4.5-only.&lt;br /&gt;
&lt;br /&gt;
So the preferred version to use is GCC 3.4 but for historical reasons this section descibes what version to use together with an older gcc-3.3.1-only &amp;quot;contrib&amp;quot; package. The 3.3.1 version is not available in Cygwin but 3.3.3-3 (still) is.&lt;br /&gt;
&lt;br /&gt;
The only compatibility issue with using GCC 3.4 and the precompiled 3.3.1 &amp;quot;contrib&amp;quot; package is that it doesn&#039;t support the compiling of the matroska container .mkv so that leaves 2 options; use gcc 3.3.3-3 with a 3.3.1-only &amp;quot;contrib&amp;quot; or gcc 3.4 (or newer) but disable matroska support.&lt;br /&gt;
&lt;br /&gt;
The second option requires you to add the following line to the configure options:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
If you use the older gcc-g++ and gcc-core versions you have to change the gcc-mingw-core and gcc-mingw-g++ back to the older versions as well.&lt;br /&gt;
&lt;br /&gt;
Select the following package versions instead:&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-core&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-core&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-g++&lt;br /&gt;
&lt;br /&gt;
NOTE: The gcc-3.4.5-only &amp;quot;contrib&amp;quot; package should compile just fine with GCC 3.3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Cygwin environment==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin from the icon on your desktop. If it runs for the first time it will automatically create a home\&amp;quot;username&amp;quot; folder in the Cygwin environment; user being the currently logged on Windows user. Assuming this is the &#039;Administrator&#039; user it will create the following folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: On your desktop, you can rightclick the Cygwin icon and (in the Options field of the Cygwin Properties) set the Command history Buffer size to as large as possible: 999. This setting will make it possible to scroll back further in the Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=VLC source code=&lt;br /&gt;
&lt;br /&gt;
== SVN ==&lt;br /&gt;
The very latest VLC source code can be obtained through a tool called SVN (Subversion). The Cygwin package we&#039;re about to install comes with an internal subversion component. Using this one is the preferred method.&lt;br /&gt;
&lt;br /&gt;
Read the [[SVN]] page.&lt;br /&gt;
&lt;br /&gt;
== GIT ==&lt;br /&gt;
As of March 2008, VLC has switched to a GIT repository.&lt;br /&gt;
If you only need read access, you can continue to use SVN to obtain the latest VLC trunk.&lt;br /&gt;
If you need write (commit) access, you need the Cygwin ssh (Secure Shell), procps, and GIT packages.&lt;br /&gt;
To see if you have them, in a bash shell enter:&lt;br /&gt;
   ssh --help&lt;br /&gt;
   git --help&lt;br /&gt;
   pskill --help&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have them, run Cygwin&#039;s setup.exe, and download/install them.&lt;br /&gt;
For secure shell, generate keys and send the public key (e.g., the file cygwin/home/your_username/.ssh/id_rsa.pub) to the proper vlc admin (check in on IRC for more information).&lt;br /&gt;
Then, update your Cygwin.bat file, so it looks like:&lt;br /&gt;
   @echo off&lt;br /&gt;
   set CYGWIN=binmode&lt;br /&gt;
   C:&lt;br /&gt;
   chdir C:\cygwin\bin&lt;br /&gt;
   c:\cygwin\bin\pkill ssh-agent&lt;br /&gt;
   del c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   c:\cygwin\bin\ssh-agent &amp;gt; c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   bash --login -i &lt;br /&gt;
(Change the &amp;quot;C:\&amp;quot; as appropriate)&lt;br /&gt;
&lt;br /&gt;
And update your cygwin\etc\profile file, adding the following at the bottom:&lt;br /&gt;
  ssh-add&lt;br /&gt;
&lt;br /&gt;
The above changes will kill any pre-existing ssh-agent, start a new instance of it, and automatically prompt you for your ssh passphrase when the bash shell opens.&lt;br /&gt;
&lt;br /&gt;
For general VLC git usage, see: http://wiki.videolan.org/Git#Basic_Git_usage&lt;br /&gt;
&lt;br /&gt;
git-gui appears to work well under Cygwin, provides a fairly simple UI.&lt;br /&gt;
&lt;br /&gt;
== Snapshot ==&lt;br /&gt;
Another way of obtaining source code is by downloading a daily code &amp;quot;snapshot&amp;quot; from the following location:&lt;br /&gt;
&lt;br /&gt;
http://nightlies.videolan.org/build/source&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 vlc-snapshot-20080112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
= External libraries to the source code=&lt;br /&gt;
&lt;br /&gt;
VLC depends on other libraries (code) to provide some features like AC3 audio or MPEG-4 video encoding/decoding etc.&lt;br /&gt;
&lt;br /&gt;
Depending on your needs you will have to install and compile some or all of these external libraries. &lt;br /&gt;
&lt;br /&gt;
== Win32 &amp;quot;contrib&amp;quot; package ==&lt;br /&gt;
&lt;br /&gt;
A package with most of these libraries already compiled so it&#039;s actually really easy to compile a full-featured version of vlc can be found here:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
Download the latest version of a &amp;quot;contrib&amp;quot; package for win32:&lt;br /&gt;
&lt;br /&gt;
 contrib-20060730-win32-bin-gcc-3.4.5-only.tar.bz2 (example)&lt;br /&gt;
&lt;br /&gt;
It&#039;s a good idea to check the INSTALL.Win32 file in the VLC source directory for the appropriate contrib download file.&lt;br /&gt;
&lt;br /&gt;
Save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\contrib (example)&lt;br /&gt;
&lt;br /&gt;
Check if the file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simply rename the file back to .tar.bz2&lt;br /&gt;
&lt;br /&gt;
Also remember the &amp;quot;gcc-3.4.5&amp;quot; part in the &amp;quot;contrib&amp;quot; package filename since it relates to the GCC version that needs to be installed in Cygwin lateron!&lt;br /&gt;
&lt;br /&gt;
== Adding additional or updated libraries to the source (optional) ==&lt;br /&gt;
&lt;br /&gt;
Most of them can be found here (source code):&lt;br /&gt;
&lt;br /&gt;
 http://download.videolan.org/pub/testing/contrib/&lt;br /&gt;
&lt;br /&gt;
It is advised to not recompiled those libraries.&lt;br /&gt;
&lt;br /&gt;
Updated libraries for FFmpeg and x264 are available through SVN (which is discussed in a later stage of this guide).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===live555 &amp;quot;snapshot&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
More info about live555 can be found at:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com&lt;br /&gt;
&lt;br /&gt;
The project source code is available here:&lt;br /&gt;
&lt;br /&gt;
http://live555.com/liveMedia/public/&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 live.2007.01.11.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: live555-latest.tar.gz is also the latest version but keeping the date in the filename makes it easier to reference.&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
=Getting the latest sources=&lt;br /&gt;
&lt;br /&gt;
In order to have the latest source code you have to download this using SVN.&lt;br /&gt;
&lt;br /&gt;
Create a new folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\scripts (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update script for VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/vlc/trunk vlc-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location with the option &amp;quot;All Files&amp;quot; and not &amp;quot;Text Documents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 update-vlc.sh (example)&lt;br /&gt;
&lt;br /&gt;
This command will download a complete svn trunk.&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This is for converting the &#039;line endings&#039; made by Windows/DOS (in which the text document was created) to UNIX style.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update scripts for additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
Updating source code using SVN for additional libraries such as x264 or FFmpeg works the same way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update scripts for x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/x264/trunk x264-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-x264.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix update-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update script for FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Checking out&amp;quot; the latest source code from SVN==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 ./update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This will download the current &amp;quot;subversion trunk&amp;quot; (latest code) into your home directory into the directory specified in your shell script:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\vlc-trunk (example)&lt;br /&gt;
&lt;br /&gt;
At the end of the command it will show something like &amp;quot;Checked out revision 18561&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The vlc-trunk folder will get over-written/updated the next time you run the command. If you want to save a so called &amp;quot;snapshot&amp;quot; of the existing vlc-trunk, rename or copy the current directory into something desired (like vlc-trunk-20070112).&lt;br /&gt;
&lt;br /&gt;
NOTE: Updating the source code for additional libraries such as x264, FFmpeg etc. is done by running their corresponding update scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the source from a &amp;quot;snapshot&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
If you are not using SVN to obtain the latest source code but are using a daily &amp;quot;snapshot&amp;quot; then copy that source package from your download/install location to the Cygwin home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf vlc-snapshot-20070112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 vlc-0.9.0-svn (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing the Win32 &amp;quot;contrib&amp;quot; package in Cygwin=&lt;br /&gt;
&lt;br /&gt;
First the additional libraries have to be &amp;quot;installed&amp;quot; in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the Win32 &amp;quot;contrib&amp;quot; package==&lt;br /&gt;
&lt;br /&gt;
Copy the &amp;quot;contrib&amp;quot; package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xjvf contrib-20061202-win32-bin-gcc-3.4.5-only.tar.bz2 -C / (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the &amp;quot;contrib&amp;quot; file and DON&#039;T FORGET THE / (slash)&lt;br /&gt;
at the end.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into usr/win32 folder within your Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
==Keeping the Win32 &amp;quot;contrib&amp;quot; package up-to-date==&lt;br /&gt;
&lt;br /&gt;
For maintenance purposes periodically check:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
to see if a newer &amp;quot;contrib&amp;quot; is available. If that is the case you should DELETE the existing directory structure which is for the precompiled &amp;quot;contrib&amp;quot; package:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32 (example)&lt;br /&gt;
&lt;br /&gt;
Download the newer file and follow the installation instructions the same as before so you will end up with the most up-to-date version.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Configure scripts=&lt;br /&gt;
&lt;br /&gt;
In order to make our lives just a bit easier the following section describes what commandline options should be used for compiling and those commands will then be put into a &amp;quot;script&amp;quot; that can be executed (rather than having to copy and paste all the time).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure script for compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
  CONTRIB_TREE=/usr/win32&lt;br /&gt;
  PATH=${CONTRIB_TREE}/bin:$PATH \&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L${CONTRIB_TREE}/lib \&lt;br /&gt;
  PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \&lt;br /&gt;
  CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --host=i686-pc-mingw32 \&lt;br /&gt;
      --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \&lt;br /&gt;
      --enable-nls \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-freetype-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-fribidi-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-xml2-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-dvdnav-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-gnomevfs \&lt;br /&gt;
      --enable-dts \&lt;br /&gt;
      --disable-optimizations \&lt;br /&gt;
      --enable-debug \&lt;br /&gt;
&lt;br /&gt;
NOTE: The following option is added for DTS Coherent Acoustics streams decoding support. The latest &amp;quot;contrib&amp;quot; package should already contain libdca (formerly known as libdts) needed to compile this but at present it&#039;s disabled by default:&lt;br /&gt;
&lt;br /&gt;
 --enable-dts&lt;br /&gt;
&lt;br /&gt;
NOTE: For VLC 0.9.0, replace the previous option by:&lt;br /&gt;
&lt;br /&gt;
 --enable-dca&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options are added for debug purposes and makes the final package a bit larger but the advantage is it&#039;s easier to debug in case of crash reports:&lt;br /&gt;
&lt;br /&gt;
 --disable-optimizations&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to report a crash bug to the VLC team, it is necessary that you provide a stack backtrace. Unfortunately, Windows automatic crash reporter cannot generate such a backtrace as debug symbols used by GCC compiler aren&#039;t understood by Windows, therefore we suggest that you install Dr. MinGW (http://jrfonseca.dyndns.org/projects/gnu-win32/software/drmingw/) which will extend Windows Just-In-Time Debugger and provide the necessary debug information.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options is needed for QT4 support:&lt;br /&gt;
&lt;br /&gt;
 --enable-qt4&lt;br /&gt;
&lt;br /&gt;
As of version 0.9.0 VLC will include the QT interface. More information can be found about QT here: http://www.trolltech.com&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Win32 contrib package&amp;quot; at present only includes the linux equivalents of uic, moc and roc executables which are required for building this interface.&lt;br /&gt;
&lt;br /&gt;
The linues executables have to be &#039;&#039;&#039;deleted&#039;&#039;&#039; from the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic (example)&lt;br /&gt;
&lt;br /&gt;
The moc, rcc and uic.exe from the [http://www.trolltech.com/developer/downloads/qt/windows Qt/Windows Open Source Edition] (these can be found in the bin folder after installation) have to be placed in the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic.exe (example)&lt;br /&gt;
 &lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
 &lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===POSIX emulation layer===&lt;br /&gt;
&lt;br /&gt;
VLC can be built with or without the so called POSIX emulation layer. Without is the default and is usually better (and with hasn&#039;t been tested for quite some time). If you do want to use the emulation layer, then just leave out the line with the following options:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===VLC optional settings===&lt;br /&gt;
&lt;br /&gt;
The following option should be used when compiling using the GCC 3.4 version with older &amp;quot;contrib&amp;quot; gcc-3.3.1-only:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
==Configure scripts for compiling additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
The following section is optional. The &amp;quot;contrib&amp;quot; package contains precompiled libraries but it is possible to update some of those libraries to the most current versions such as x264 and FFmpeg.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg with AMR support (optional)===&lt;br /&gt;
&lt;br /&gt;
The AMR (Adaptive Multi Rate) codec is designed to encode and decode speech with acceptable quality for transmission over relatively low bandwidth channels with minimal latency, typically used in mobile networks (3GP) or voice message applications.&lt;br /&gt;
&lt;br /&gt;
The AMR codec is usually referred to as:&lt;br /&gt;
&lt;br /&gt;
 Narrow Band (AMR-NB, fourcc samr) for low quality&lt;br /&gt;
 Wide Band (AMR-WB, fourcc samw) for high quality&lt;br /&gt;
&lt;br /&gt;
The sources for AMR are not compatible with the GPL (General Public License). AMR support is disabled by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Getting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The AMR reference codecs can be found on the 3GPP site http://www.3gpp.org at the following download location for zipped source code packages:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/&lt;br /&gt;
&lt;br /&gt;
Download the following 3 packages to a subfolder in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
1.  AMR - latest 26073 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26073-530.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.073 V5.3.0 (2004-03) ANSI-C code for the Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
2.  AMR_FLOAT - latest 26104 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26104-540.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.104 V 5.4.0 (2004-03) ANSI-C code for the Floating-point Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
3.  AMRWB_FLOAT - latest 26204 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26204-520.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.204 V5.2.0 (2003-09) ANSI-C code for Floating-point Adaptive Multi Rate Wideband (AMR-WB) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Extracting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The following AMR reference packages should now be in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 26073-530.zip (example)&lt;br /&gt;
 26104-540.zip (example)&lt;br /&gt;
 26204-520.zip (example)&lt;br /&gt;
&lt;br /&gt;
Using your favourite unzipper (Windows internal extraction wizard, WinZIP, WinRAR etc.) extract the zip files in the into the current folder (Windows wizard would use &amp;quot;Extract All&amp;quot; and WinZIP or WinRAR would use &amp;quot;Extract to &#039;foldername&#039; which is the same as the .zip package name&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
This will create the following folders:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530         &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540         &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520         &lt;br /&gt;
&lt;br /&gt;
Within those folders another .zip package exists. Again unpack those zip files into the current folder:&lt;br /&gt;
&lt;br /&gt;
 26073-530_ANSI_C_source_code      &lt;br /&gt;
 26104-540_ANSI_C_source_code      &lt;br /&gt;
 26204-520_ANSI-C_source_code      &lt;br /&gt;
&lt;br /&gt;
Now each unpacked source code package has an individual folder named &amp;quot;c-code&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Rename the c-code subfolders within each package to amr, amr_float and amrwb_float:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530\26073-530_ANSI_C_source_code\c-code to amr                  &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540\26104-540_ANSI_C_source_code\c-code to amr_float            &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520\26204-520_ANSI-C_source_code\c-code to amrwb_float          &lt;br /&gt;
&lt;br /&gt;
NOTE: the 530, 540 to 520 order looks a bit confusing but those are actually just version numbers and the folders are shown in the correct alphabetical order.&lt;br /&gt;
&lt;br /&gt;
Copy each of the the following folders (including content, so just select the whole folders itself):&lt;br /&gt;
&lt;br /&gt;
 amr                &lt;br /&gt;
 amr_float         &lt;br /&gt;
 amrwb_float       &lt;br /&gt;
&lt;br /&gt;
to the Cygwin home directory in the libavcodec subfolder of where the FFmpeg package resides:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script with &amp;quot;contrib&amp;quot; package (optional)===&lt;br /&gt;
&lt;br /&gt;
NOTE: This compile script assumes you are also using the same FFmpeg version as is used in the &amp;quot;contrib&amp;quot; package (this is why the cflags and ldflags also point to the win32 folder where the &amp;quot;contrib&amp;quot; package was extracted).&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --extra-cflags=-I/usr/win32/include \&lt;br /&gt;
     --extra-ldflags=-L/usr/win32/lib \&lt;br /&gt;
     --prefix=/usr/win32 \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
    --enable-faac --enable-mp3lame --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: For AMR encoding/decoding support also add the following options:&lt;br /&gt;
&lt;br /&gt;
 --enable-amr_nb --enable-amr_wb&lt;br /&gt;
&lt;br /&gt;
NOTE: VLC uses the x264 lib directly and not through ffmpeg so there is no need to add --enable-x264&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg.sh (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator &lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script for FFmpeg &amp;quot;stand-alone&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only if FFmpeg compiling is required as a stand-alone package and not in combination with the precompiled &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
In case of failure to compile VLC with different settings (added/updated libraries to the &amp;quot;contrib&amp;quot;) it is advisable to test if FFmpeg does compile OK just in &amp;quot;stand-alone&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
Create a new text document at the download location with following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
     --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: When including libraries the following options should be added/changed, pointing to the appropriate folder where does libraries are located (for VLC &amp;quot;contrib&amp;quot; that would be /usr/win32 but in other situations it might be the default /usr/local):&lt;br /&gt;
&lt;br /&gt;
    --extra-cflags=-I/usr/local/include \&lt;br /&gt;
    --extra-ldflags=-L/usr/local/lib \&lt;br /&gt;
    --prefix=/usr/local \&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg-svn.sh (example)&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg-svn.sh&lt;br /&gt;
&lt;br /&gt;
==x264 configure script (optional)==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure \&lt;br /&gt;
    --prefix=/usr/win32 \&lt;br /&gt;
&lt;br /&gt;
NOTE: for debugging purposes you can add the following option:&lt;br /&gt;
&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt.&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Compiling source code=&lt;br /&gt;
&lt;br /&gt;
It&#039;s time to start Cygwin again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional libraries==&lt;br /&gt;
&lt;br /&gt;
If any updated or additional libraries are used they need to be compiled first. Since some of these are used indirectly through FFmpeg, FFmpeg should be compiled last.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for x264 compiling where you want to compile x264 yourself in order to use the latest version.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate x264 folder&lt;br /&gt;
&lt;br /&gt;
 cd x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled a new library file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\libx264.a (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
Also take the following file .h file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\x264.h (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the usr/win32/include folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\include (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite the x264.h and libx264.a from the precompiled &amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
===live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required if you want to compile the latest version of live555.&lt;br /&gt;
&lt;br /&gt;
Copy the live555 project package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf live.2006.05.17.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 live (example)&lt;br /&gt;
&lt;br /&gt;
===Compiling FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for FFmpeg compiling.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate FFmpeg folder&lt;br /&gt;
&lt;br /&gt;
 cd ffmpeg-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
 ../configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Preparations for AMR support (optional)====&lt;br /&gt;
&lt;br /&gt;
If you included the AMR reference codec sources in FFmpeg you should see that AMR-NB and WB &amp;quot;float support&amp;quot; should be working:&lt;br /&gt;
&lt;br /&gt;
 AMR-NB float support yes&lt;br /&gt;
 AMR-NB fixed support no&lt;br /&gt;
 AMR-WB float support yes&lt;br /&gt;
 AMR-WB IF2 support no&lt;br /&gt;
 network support      no&lt;br /&gt;
 License: GPL&lt;br /&gt;
&lt;br /&gt;
 AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204&lt;br /&gt;
 V5.1.0 from http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip and extracted the source to libavcodec/amrwb_float&lt;br /&gt;
&lt;br /&gt;
 AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104 REL-5 V5.1.0 from&lt;br /&gt;
 http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip and extracted the source to libavcodec/amr_float&lt;br /&gt;
 If you try this on alpha, you may need to change Word32 to int in amr/typedef.h&lt;br /&gt;
&lt;br /&gt;
NOTE: These warnings/notices can be ignored since we are using more recent versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building FFmpeg (optional)====&lt;br /&gt;
&lt;br /&gt;
First clean up any leftovers from a previous compile using the following commands:&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
Now build FFmpeg with the following command:&lt;br /&gt;
&lt;br /&gt;
 make       &lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled two new &amp;quot;library&amp;quot; files:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec\libavcodec.a (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavformat\libavformat.a (example)&lt;br /&gt;
&lt;br /&gt;
To copy the appropriate libs and header files to the (extracted) contrib&lt;br /&gt;
folder use:&lt;br /&gt;
&lt;br /&gt;
 make install-libs install-headers&lt;br /&gt;
&lt;br /&gt;
For historical reasons the &amp;quot;old&amp;quot; method is still described here as well:&lt;br /&gt;
&lt;br /&gt;
Copy the library files (with the .a extension) into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite libavcodec.a and libavformat.a from the precompiled&lt;br /&gt;
&amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
For backup reasons you can first copy or rename the original files in the &amp;quot;contrib&amp;quot; package (so you won&#039;t have to reinstall the complete contrib package but can simply copy these again)&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavcodec.a to libavcodec.a.org&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavformat.a to libavformat.a.org&lt;br /&gt;
&lt;br /&gt;
In older versions of ffmpeg the libraries had other names:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavcodec\avcodec.lib (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavformat\avformat.lib (example)&lt;br /&gt;
&lt;br /&gt;
Rename those files (in Windows Explorer):&lt;br /&gt;
&lt;br /&gt;
 avcodec.lib to libavcodec.a&lt;br /&gt;
 avformat.lib to libavformat.a&lt;br /&gt;
&lt;br /&gt;
Then copy those library files into the Cygwin usr/win32 folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
How to configure and build the code on a Linux enviroment is explained on the following live555 page:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com/liveMedia/#config-unix&lt;br /&gt;
&lt;br /&gt;
Some options need to be changed/added to the config.cygwin file in the live folder so open this file with a text-editor.&lt;br /&gt;
&lt;br /&gt;
Add the -Wno-deprecated option:&lt;br /&gt;
&lt;br /&gt;
 CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated&lt;br /&gt;
&lt;br /&gt;
Save the file under its current name config.cygwin&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd live&lt;br /&gt;
&lt;br /&gt;
The following command is for converting any DOS/Windows &amp;quot;line endings&amp;quot; to UNIX style:&lt;br /&gt;
 &lt;br /&gt;
 dos2unix config.cygwin&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 ./genMakefiles cygwin&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
TODO: Fix live555 compilation. It still fails with the following errors:&lt;br /&gt;
&lt;br /&gt;
 GroupsockHelper.cpp:477: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:482: error: invalid application of `sizeof&#039; to incomplete type `ip_mreq_source&#039;&lt;br /&gt;
 GroupsockHelper.cpp: In function `Boolean socketLeaveGroupSSM(UsageEnvironment&amp;amp;, int,  netAddressBits, netAddressBits)&#039;:&lt;br /&gt;
 GroupsockHelper.cpp:495: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:500: error: invalid application of `sizeof&#039; to incomplete type  `ip_mreq_source&#039;&lt;br /&gt;
 make[1]: *** [GroupsockHelper.o] Error 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
(you can check with the pwd command to see in which folder you are and with just the cd&lt;br /&gt;
command without any additional parameters you can change back to your home directory).&lt;br /&gt;
&lt;br /&gt;
NOTE: The following line is optional, only use that if you have problems compiling.&lt;br /&gt;
&lt;br /&gt;
 ./toolbox --distclean&lt;br /&gt;
&lt;br /&gt;
(This will have removed everything except code related stuff).&lt;br /&gt;
&lt;br /&gt;
 ../configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Cross your fingers...&lt;br /&gt;
&lt;br /&gt;
NOTE: ./ means you run an application/script from the &amp;quot;current folder&amp;quot; (which is vlc-trunk) and ../ points to &amp;quot;one directory up&amp;quot; (which is where configure-vlc.sh is).&lt;br /&gt;
&lt;br /&gt;
==Creating self contained packages==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;quot;make&amp;quot; commands:&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file).&lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Advanced usage=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating Cygwin package versions==&lt;br /&gt;
&lt;br /&gt;
If you need to update or install additional packages you can just run the Cygwin setup.exe from your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin\setup.exe          (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using older GCC and MINGW version===&lt;br /&gt;
&lt;br /&gt;
You should be aware that Cygwin automatically selects the latest versions for gcc-g++ and gcc-mingw so if you are using older versions of those (like 3.3.3-3 and the accompanied 20040810-1 packages for mingw) and wish to continue to use them you need to &#039;&#039;&#039;change&#039;&#039;&#039; those versions to &#039;&#039;&#039;Keep&#039;&#039;&#039; for &#039;&#039;&#039;every time you use the update process&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You can click on the &amp;quot;View&amp;quot; button a few times until you see &amp;quot;Partial&amp;quot; next to it. This will give you an overview of some &amp;quot;Current&amp;quot; packages that will be updated to &amp;quot;New&amp;quot; versions.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core         -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++          -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Selecting the 3.4.4-3 version automatically changes the gcc-mingw-core and gcc-mingw-g++ to the 20050522-1 (or newer) versions as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Downgrading Cygwin GCC packages===&lt;br /&gt;
&lt;br /&gt;
If your Cygwin gcc versions are already the latest and you wish to downgrade to gcc 3.3.3-3 then it&#039;s not possible to downgrade the gcc-core/g++ and the mingw packages all at the same time, it has to be done in two steps.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Restart the Cygwin update process.&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Again, for any new update process remember to change back those versions!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GDB (Gnu Debugger)==&lt;br /&gt;
&lt;br /&gt;
This section requires that you installed the gdb (Gnu Debugger) in Cygwin.&lt;br /&gt;
&lt;br /&gt;
This is a typical example of creating a crashlog:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 gdb --args vlc.exe --fast-mutex --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
NOTE: vlc-0.9.0 uses libtool for building sources, if you want to debug from the source tree, you should type the following command instead:&lt;br /&gt;
&lt;br /&gt;
 libtool -mode=execute gdb --args vlc --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
In the debugger mode run the program and make sure you reset the preferences!&lt;br /&gt;
&lt;br /&gt;
 (gdb) run &lt;br /&gt;
&lt;br /&gt;
NOTE: the (gdb) is just a prompt which means you are in the debugger mode, please note that &#039;&#039;--fast-mutex&#039;&#039; option is no longer supported in vlc-0.9.0&lt;br /&gt;
&lt;br /&gt;
It will now take a lot longer than usual for VLC to start :)&lt;br /&gt;
&lt;br /&gt;
Now operate VLC as you would normally do. As soon as a crash issue occurs&lt;br /&gt;
you&#039;ll notice a line like this:&lt;br /&gt;
&lt;br /&gt;
 Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
 0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29)&lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 459             i = i_bottom + ( i_top - i_bottom ) / 2;&lt;br /&gt;
&lt;br /&gt;
Now you can do a &amp;quot;backtrace&amp;quot; by using the bt command:&lt;br /&gt;
&lt;br /&gt;
 (gdb) bt&lt;br /&gt;
&lt;br /&gt;
And output similar to this will be created:&lt;br /&gt;
&lt;br /&gt;
 #0  0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29) &lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 #1  0x0b26bbf7 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29fef8}) at playlist.cpp:695&lt;br /&gt;
 #2  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29e8b0}) at playlist.cpp:689&lt;br /&gt;
 #3  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29a818}) at playlist.cpp:689&lt;br /&gt;
 #4  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x299718}) at playlist.cpp:689&lt;br /&gt;
 #5  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0xffff0000}) at playlist.cpp:689&lt;br /&gt;
 #6  0x0b26bf49 in wxvlc::Playlist::AppendItem (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:564&lt;br /&gt;
 #7  0x0b2757fc in wxvlc::Playlist::OnPlaylistEvent (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:1438&lt;br /&gt;
 #8  0x0b3771b8 in wxEvtHandler::ProcessEventIfMatches ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #9  0x0b376a1c in wxEventHashTable::HandleEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #10 0x0b37730d in wxEvtHandler::ProcessEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #11 0x0b37711b in wxEvtHandler::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 #12 0x0b376017 in wxAppConsole::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #13 0x0b3ec75a in wxIdleWakeUpModule::MsgHookProc ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/bmpbuttn.h:81&lt;br /&gt;
 #14 0x773aca2d in USER32!GetScrollRange ()&lt;br /&gt;
    from /cygdrive/c/WINDOWS/system32/user32.dll&lt;br /&gt;
 #15 0x00000000 in ?? () from&lt;br /&gt;
 (gdb)&lt;br /&gt;
&lt;br /&gt;
These are the log outputs that are more usefull to developers than just mentioning &amp;quot;it crashes&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
NOTE: In GDB mode there are sometimes situations where GDB initially &amp;quot;crashes&amp;quot; on certain network activity (opening network shares, network traffic) which in normal operation does not occur. Just select c for continue until &amp;quot;normal&amp;quot; operation continues.&lt;br /&gt;
&lt;br /&gt;
==.diff files==&lt;br /&gt;
&lt;br /&gt;
Frequently patches to source code are presented or discussed in forums or in mailing lists in so called .diff format (these are &amp;quot;differences&amp;quot; to the source code).&lt;br /&gt;
&lt;br /&gt;
You can apply those patches yourself to the source code or create .diff files. This requires the patchutils package in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Patching source code===&lt;br /&gt;
&lt;br /&gt;
Download a so called .diff file:&lt;br /&gt;
&lt;br /&gt;
 sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: make sure the file doesn&#039;t get a .txt extension, so Save as type &amp;quot;All Files&amp;quot; instead of &amp;quot;Text Document&amp;quot; (IE has a habit of renaming to .txt. If that happens just simply rename to .diff)&lt;br /&gt;
&lt;br /&gt;
Copy the .diff file into the appropriate source folder&lt;br /&gt;
&lt;br /&gt;
 x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
Apply the patch as follows&lt;br /&gt;
&lt;br /&gt;
 patch -p0 &amp;lt; sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: replace sse2-pixel-routines-v3.diff with your &amp;quot;patch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will output something like:&lt;br /&gt;
&lt;br /&gt;
 patching file common/i386/pixel.h&lt;br /&gt;
 patching file common/i386/pixel-a.asm&lt;br /&gt;
 patching file common/pixel.c&lt;br /&gt;
&lt;br /&gt;
Your source code is now patched!&lt;br /&gt;
&lt;br /&gt;
NOTE: If you want to revert to the original version you can use the -R option with the patch command or alternatively you can just delete the changed files and just do an SVN update to get the original/latest SVN version back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Creating .diff files===&lt;br /&gt;
&lt;br /&gt;
When changing the source code it&#039;s possible to create a &amp;quot;difference&amp;quot; file against the latest source.&lt;br /&gt;
&lt;br /&gt;
In this example the file /modules/codec/x264.c was changed (the part &amp;quot;in kbit/s&amp;quot; was added to a description).&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate folder where a changed file is.&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/modules/codec (example)&lt;br /&gt;
&lt;br /&gt;
Output the svn diff command to a file:&lt;br /&gt;
&lt;br /&gt;
 svn diff -u &amp;gt; x264-patch.diff&lt;br /&gt;
&lt;br /&gt;
The current folder now holds a x264-patch.diff file containing the following:&lt;br /&gt;
&lt;br /&gt;
 Index: x264.c&lt;br /&gt;
 ===================================================================&lt;br /&gt;
 --- x264.c      (revision 15921)&lt;br /&gt;
 +++ x264.c      (working copy)&lt;br /&gt;
 @@ -131,7 +131,7 @@&lt;br /&gt;
  #define RATETOL_LONGTEXT N_( &amp;quot;Allowed variance in average. &amp;quot; \&lt;br /&gt;
      &amp;quot;bitrate (in kbits/s).&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 -#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate&amp;quot;)&lt;br /&gt;
 +#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate in kbit/s&amp;quot;)&lt;br /&gt;
  #define VBV_MAXRATE_LONGTEXT N_( &amp;quot;Sets a maximum local bitrate in kbits/s.&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
  #define VBV_BUFSIZE_TEXT N_(&amp;quot;VBV buffer&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
NOTE: In Windows you should open this file with something else than notepad (so wordpad or some more advanced editor). This has to do with the end of line markers that are present in the file since it was made in a Linux environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reverting to older SVN source code==&lt;br /&gt;
&lt;br /&gt;
If for some reason you want to revert to (use) an older version (let&#039;s say you are using  revision 15916 of the VLC source code but would like to test with 15915) then use the svn &amp;quot;update&amp;quot; function from within Cygwin but use an older revision number.&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell...&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 svn up -r 15915&lt;br /&gt;
&lt;br /&gt;
And you&#039;ll see something like this:&lt;br /&gt;
&lt;br /&gt;
 U    src\input\input.c&lt;br /&gt;
 Updated to revision 15915.&lt;br /&gt;
&lt;br /&gt;
The following command will show the version used:&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
=FAQ/Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
This chapter mentions some frequently encountered problems during compile and installation procedures and possible fixes or workarounds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Making all in &amp;lt;folder&amp;gt;&amp;quot; takes forever with 0% CPU usage==&lt;br /&gt;
&lt;br /&gt;
Make seems to &amp;quot;stall&amp;quot; at a certain point (no CPU usage) and nothing seems to happen anymore:&lt;br /&gt;
&lt;br /&gt;
 Making all in mpeg&lt;br /&gt;
 make[5]: Entering directory `/home/Administrator/vlc-trunk/modules/mux/mpeg&#039;&lt;br /&gt;
&lt;br /&gt;
NOTE: This problem seems to occur on dual CPU (or HyperThreading enabled)&lt;br /&gt;
systems.&lt;br /&gt;
&lt;br /&gt;
FIX: in the vlc-trunk do a ./toolbox --distclean before doing a ../configure-vlc.sh and try again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: C compiler cannot create executables==&lt;br /&gt;
&lt;br /&gt;
The ../configure-vlc.sh gives the following error:&lt;br /&gt;
&lt;br /&gt;
 checking for gcc... gcc -mno-cygwin&lt;br /&gt;
 checking for C compiler default output file name... configure: error: C compiler&lt;br /&gt;
 cannot create executables&lt;br /&gt;
&lt;br /&gt;
FIX: it&#039;s very likely you are using the gcc 3.3 version but with the wrong mingw packages (the ones that come with 3.4). Reinstall the following gcc-mingw packages but make sure to use the older version!!!&lt;br /&gt;
&lt;br /&gt;
20050522-1      gcc-mingw-core  autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
20050522-1      gcc-mingw-g++ 	autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
&lt;br /&gt;
You can check what version of gcc you are version in the Cygwin shell by using the following command:&lt;br /&gt;
&lt;br /&gt;
 gcc --version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==collect2: ld returned 1 exit status (libebml)==&lt;br /&gt;
&lt;br /&gt;
A make fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_allo&lt;br /&gt;
 c&amp;lt;std::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::_&lt;br /&gt;
 _default_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::deallocate(std::basic_string&amp;lt;char, std::char&lt;br /&gt;
 _traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;*, unsigned int)]+0x1d): undefined referenc&lt;br /&gt;
 e to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc&amp;lt;std:&lt;br /&gt;
 :basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::__defau&lt;br /&gt;
 lt_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference&lt;br /&gt;
  to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[st&lt;br /&gt;
 d::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;true, 0&amp;gt;&lt;br /&gt;
 &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_alloc_t&lt;br /&gt;
 emplate&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEP&lt;br /&gt;
 S2_j[std::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;tr&lt;br /&gt;
 ue, 0&amp;gt; &amp;gt;::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined ref&lt;br /&gt;
 erence to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned in&lt;br /&gt;
 t)&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This problem is because libEbml is a C++ lib and it doesn&#039;t seem to link with gcc 3.4.&lt;br /&gt;
&lt;br /&gt;
FIX: Use gcc 3.3 with the according 3.3 Win32 &amp;quot;contrib&amp;quot; package version or use a Win32 &amp;quot;contrib&amp;quot; package for 3.4 (or even better try compiling it yourself).&lt;br /&gt;
&lt;br /&gt;
WORKAROUND for gcc 3.4: Use --disable-mkv in configure-vlc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==zip: command not found==&lt;br /&gt;
&lt;br /&gt;
A make package fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 zip -r vlc-0.8.4-svn-win32.zip vlc-0.8.4-svn&lt;br /&gt;
 /bin/bash: line 1: zip: command not found&lt;br /&gt;
 make: *** [package-win32-base-zip] Error 127&lt;br /&gt;
&lt;br /&gt;
FIX: Doh! forgot to install the zip package in Cygwin :P&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==vlc.exe: Permission denied==&lt;br /&gt;
&lt;br /&gt;
A make finished successfully and produced vlc.exe, but running the executable returns the following:&lt;br /&gt;
&lt;br /&gt;
 bash: ./vlc.exe: Permission denied&lt;br /&gt;
&lt;br /&gt;
The permissions on both vlc.exe &amp;amp; vlc.exe.manifest must be set to executable. &lt;br /&gt;
&lt;br /&gt;
FIX: Type the following:&lt;br /&gt;
 &lt;br /&gt;
 chmod 755 vlc.exe vlc.exe.manifest&lt;br /&gt;
&lt;br /&gt;
==error: parse error before &#039;(&#039; token==&lt;br /&gt;
&lt;br /&gt;
A make (compile) of FFmpeg results in the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/include/sys/unistd.h:203: error: parse error before &#039;(&#039; token&lt;br /&gt;
 make[1]: *** [ffm.o] Error 1&lt;br /&gt;
&lt;br /&gt;
It&#039;s very likely you are usix the POSIX emulater which you shouldn&#039;t...&lt;br /&gt;
&lt;br /&gt;
FIX: compile with the option &lt;br /&gt;
&lt;br /&gt;
 -mno-cygwin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: invalid conversion from `const void*&#039; to `void*&#039;==&lt;br /&gt;
&lt;br /&gt;
 src/theme_loader.cpp: In function `int gzwrite_frontend(int, const void*, size_t)&#039;:&lt;br /&gt;
 src/theme_loader.cpp:599: error: invalid conversion from `const void*&#039; to `void*&#039;&lt;br /&gt;
 src/theme_loader.cpp:599: error:   initializing argument 2 of `int gzwrite(void*,&lt;br /&gt;
 void*, unsigned int)&#039;&lt;br /&gt;
 make[6]: *** [libskins2_plugin_a-theme_loader.o] Error 1&lt;br /&gt;
&lt;br /&gt;
FIX: This is related to a problem with the zlib library, updating to at least 1.2.2-1 but preferably 1.2.3 or newer is required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: cannot convert `const wxChar*&#039; to `const char*==&lt;br /&gt;
&lt;br /&gt;
 if g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/&lt;br /&gt;
 usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include&lt;br /&gt;
 `top_builddir=&amp;quot;../../..&amp;quot; ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign&lt;br /&gt;
 -compare -Wsign-compare -Wall  -mms-bitfields -pipe -MT libwxwidgets_plugin_a-wx&lt;br /&gt;
 widgets.o -MD -MP -MF &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; -c -o libwxwid&lt;br /&gt;
 gets_plugin_a-wxwidgets.o `test -f &#039;wxwidgets.cpp&#039; || echo &#039;./&#039;`wxwidgets.cpp; \&lt;br /&gt;
 then mv -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; &amp;quot;.deps/libwxwidgets_plugi&lt;br /&gt;
 n_a-wxwidgets.Po&amp;quot;; else rm -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot;; exit&lt;br /&gt;
 1; fi&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/debug.h:22,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/defs.h:452,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wxprec.h:13,&lt;br /&gt;
                  from wxwidgets.h:40,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h: In function `size_t wxStrlen(const wxChar&lt;br /&gt;
 *)&#039;:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h:759: error: cannot convert `const wxChar*&#039;&lt;br /&gt;
  to `const char*&#039; for argument `1&#039; to `size_t strlen(const char*)&#039;&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/memory.h:20,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/object.h:25,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wx.h:16,&lt;br /&gt;
                  from wxwidgets.h:41,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/string.h: In constructor `wxString::wxString(const&lt;br /&gt;
 wxChar*)&#039;:&lt;br /&gt;
&lt;br /&gt;
FIX: update wxwidgets or try a different or newer Win32 &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_av_parser_change&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ffmpeg.o: In function `output_packet&#039;:&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1414: undefined reference to `_av_parser_change&#039;&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1415: undefined reference to `_av_destruct_packet&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make: *** [ffmpeg_g.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This is a possible conflict when you use normal configure-ffmpeg (uses /usr/win32&lt;br /&gt;
contrib) instead of configure-ffmpeg-svn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_pp_get_context&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Init&lt;br /&gt;
 Postproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:164: undefined&lt;br /&gt;
 reference to `_pp_get_context&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `PPQC&lt;br /&gt;
 allback&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:244: undefined&lt;br /&gt;
 reference to `_pp_get_mode_by_name_and_quality&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Post&lt;br /&gt;
 procPict__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:191: undefined&lt;br /&gt;
 reference to `_pp_postprocess&#039;&lt;br /&gt;
 $&lt;br /&gt;
 ePostproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:209: undefined&lt;br /&gt;
 reference to `_pp_free_mode&#039;&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:210: undefined&lt;br /&gt;
 reference to `_pp_free_context&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
 make[2]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make[1]: *** [all-recursive] Error 1&lt;br /&gt;
 make[1]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
FFmpeg was not compiled with post processing support. To do so the following options need to be added to the configure lines for FFmpeg:&lt;br /&gt;
&lt;br /&gt;
 --enable-pp --enable-gpl&lt;br /&gt;
&lt;br /&gt;
Postprocessing code is under GPL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token==&lt;br /&gt;
&lt;br /&gt;
 In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32&lt;br /&gt;
 api/windows.h:52,&lt;br /&gt;
                  from ../../../include/vlc_common.h:459,&lt;br /&gt;
                  from ../../../include/vlc/vlc.h:153,&lt;br /&gt;
                  from dshow.cpp:31:&lt;br /&gt;
 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: warn&lt;br /&gt;
 ing: this is the location of the previous definition&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:45,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/strmif.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dsound.h:13,&lt;br /&gt;
                  from /usr/win32/include/amaudio.h:18,&lt;br /&gt;
                  from /usr/win32/include/dshow.h:47,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:22: warning: ignoring #pragma warning&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:48,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/control.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 dshow.cpp: In function `int CommonOpen(vlc_object_t*, access_sys_t*, vlc_bool_t)&lt;br /&gt;
 &#039;:&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;=&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:485: error: expected `;&#039; before &amp;quot;IAMCrossbar&amp;quot;&lt;br /&gt;
 dshow.cpp:491: error: `pXbar&#039; undeclared (first use this function)&lt;br /&gt;
 dshow.cpp:491: error: (Each undeclared identifier is reported only once for each&lt;br /&gt;
 function it appears in.)&lt;br /&gt;
 make[6]: *** [libdshow_plugin_a-dshow.o] Error 1&lt;br /&gt;
 make[6]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[5]: *** [all-modules] Error 1&lt;br /&gt;
 make[5]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[4]: *** [all-recursive] Error 1&lt;br /&gt;
 make[4]: Leaving directory `/home/Administrator/vlc-trunk/modules/access&#039;&lt;br /&gt;
 make[3]: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
Basically in case of conflict svn adds &amp;quot;&amp;lt;&amp;lt;&amp;lt; mine&amp;quot; and &amp;quot;=======&amp;quot; and &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; r1242&amp;quot; which makes gcc complain.&lt;br /&gt;
&lt;br /&gt;
FIX: revert the offending file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: Could not find ffmpeg on your system==&lt;br /&gt;
&lt;br /&gt;
 configure: error: Could not find ffmpeg on your system: you may get it from&lt;br /&gt;
 http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use&lt;br /&gt;
 --disable-ffmpeg to disable the ffmpeg plugins.&lt;br /&gt;
 make: *** [config.status] Error 1&lt;br /&gt;
&lt;br /&gt;
This can happen when you do a make without doing a configure and the configure.ac file in the source code recently updated.&lt;br /&gt;
&lt;br /&gt;
FIX: do a full configure (using ../configure-vlc.sh) and then run the make process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Objective C source seen but `OBJC&#039; is undefined==&lt;br /&gt;
&lt;br /&gt;
The configure process stops halfway.&lt;br /&gt;
&lt;br /&gt;
 + aclocal-1.9 -I m4&lt;br /&gt;
 + autoconf&lt;br /&gt;
 + autoheader&lt;br /&gt;
 + automake-1.9 --add-missing --copy -Wall&lt;br /&gt;
 configure.ac: installing `autotools/install-sh&#039;&lt;br /&gt;
 configure.ac: installing `autotools/missing&#039;&lt;br /&gt;
 activex/Makefile.am:143: shell $(VLC_CONFIG: non-POSIX variable name&lt;br /&gt;
 activex/Makefile.am:143: (probably a GNU make extension)&lt;br /&gt;
 activex/Makefile.am: installing `autotools/compile&#039;&lt;br /&gt;
 activex/Makefile.am: installing `autotools/depcomp&#039;&lt;br /&gt;
 modules/gui/macosx/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 modules/misc/testsuite/Makefile.am: Objective C source seen but `OBJC&#039; is undefi&lt;br /&gt;
 ned&lt;br /&gt;
 src/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 Makefile.am:282: user target `vlc$(EXEEXT)&#039; defined here...&lt;br /&gt;
 /usr/share/automake-1.9/am/program.am: ... overrides Automake target `vlc$(EXEEX&lt;br /&gt;
 T)&#039; defined here&lt;br /&gt;
 Makefile.am:230:   while processing program `vlc&#039;&lt;br /&gt;
 make: *** No targets specified and no makefile found.  Stop.&lt;br /&gt;
 &lt;br /&gt;
This problem is related to a warning earlier on and only occured in a few revisions where a built-in workaround wasn&#039;t working properly:&lt;br /&gt;
&lt;br /&gt;
 + echo &#039;Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&#039;&lt;br /&gt;
 Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&lt;br /&gt;
&lt;br /&gt;
FIX: update autoconf to 2.60 or newer. If Cygwin doesn&#039;t provide this version yet then build it yourself from extras/contrib.&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/extras/contrib&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
 cd src&lt;br /&gt;
&lt;br /&gt;
 make .autoconf&lt;br /&gt;
&lt;br /&gt;
There should now be compiled autoconf version (probably 2.60 or newer) in extras/contrib that the bootstrap process will use.&lt;br /&gt;
&lt;br /&gt;
Now start the whole &amp;quot;Compile VLC&amp;quot; process from the start again.&lt;br /&gt;
&lt;br /&gt;
==Error: cannot create temporary file for diversion: Permission denied==&lt;br /&gt;
&lt;br /&gt;
If the above error appears, it might mean you don&#039;t have the TMPDIR defined in cygwin. You will need to define it and have its value point to your temporary directory.&lt;br /&gt;
&lt;br /&gt;
=Version=&lt;br /&gt;
&lt;br /&gt;
20050627 Initial version&lt;br /&gt;
&lt;br /&gt;
20050628 Updated some more exceptions&lt;br /&gt;
&lt;br /&gt;
20050628 Some info added about FFmpeg compiling with AMR&lt;br /&gt;
&lt;br /&gt;
20050629 Finalized FFmpeg compiling&lt;br /&gt;
&lt;br /&gt;
20050630 Cross-compiling&lt;br /&gt;
&lt;br /&gt;
20050724 Some extra compile explanations&lt;br /&gt;
&lt;br /&gt;
20050726 Removed cross-compiling (was for linux -&amp;gt; win32) Patching source code with .diff files&lt;br /&gt;
&lt;br /&gt;
20050823 Added zlib error&lt;br /&gt;
&lt;br /&gt;
20050923 --enable-sdl --with-sdl-config-path=/usr/win32/bin added to configure. Added debug section&lt;br /&gt;
&lt;br /&gt;
20051102 Changed FFmpeg lib names&lt;br /&gt;
&lt;br /&gt;
20051128 Detailed Cygwin upgrade/downgrade for gcc 3.3. Renamed some update scripts. Added FFmpeg CVS update. --disable-gnomevfs added to configure (only used on linux)&lt;br /&gt;
&lt;br /&gt;
20060121 PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig added to configure&lt;br /&gt;
&lt;br /&gt;
20060128 Added curl and libtool to Cygwin for those that want to be able to build extras/contrib themselves&lt;br /&gt;
&lt;br /&gt;
20060217 Added make install-libs install-headers to FFmpeg compile&lt;br /&gt;
&lt;br /&gt;
20060222 Remark about missing &amp;quot;gettext&amp;quot; libs for Cygwin during install&lt;br /&gt;
&lt;br /&gt;
20060225 ./bootstrap: you need libtool&lt;br /&gt;
&lt;br /&gt;
20060618 Updated GCC to 3.4 version and added FFmpeg SVN and DTS support&lt;br /&gt;
&lt;br /&gt;
20060805 Added note about using older binutils and gdb for Cygwin!&lt;br /&gt;
&lt;br /&gt;
20060915 Added note about updating autoconf from extras/contrib for an OBJC problem during configure&lt;br /&gt;
&lt;br /&gt;
20061108 Added note this document is no longer usable since Cygwin has been unusable probably related to some bash/dos2unix change&lt;br /&gt;
&lt;br /&gt;
20070612 Added note about --enable-dca&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Git&amp;diff=10815</id>
		<title>Git</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Git&amp;diff=10815"/>
		<updated>2008-03-03T01:10:45Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* Basic Git usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For your convenience, a git mirror of the VLC svn tree has been set up. Here is a tutorial on how to use the git VLC repository.&lt;br /&gt;
&lt;br /&gt;
You can read more about the VLC svn tree on our [[Subversion| Subversion wiki page]].&lt;br /&gt;
&lt;br /&gt;
= Basic Git usage =&lt;br /&gt;
== Getting VLC source code via Git ==&lt;br /&gt;
 $ git clone git://git.videolan.org/vlc.git&lt;br /&gt;
Voilà! The full VLC history should be on your hard disk in vlc/. Type&lt;br /&gt;
 $ git log&lt;br /&gt;
to see the full log of the trunk.&lt;br /&gt;
 $ gitk&lt;br /&gt;
to see the log graphically.&lt;br /&gt;
&lt;br /&gt;
You can also browse the sources via [http://git.videolan.org/ gitweb].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Configure your global git config ==&lt;br /&gt;
=== Personal Information ===&lt;br /&gt;
Tell git your name. (use mostly by git-commit)&lt;br /&gt;
 $ git config --global user.name &amp;quot;Your Name&amp;quot;&lt;br /&gt;
 $ git config --global user.email &amp;quot;me@example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
=== General GIT Workflow ===&lt;br /&gt;
1.  Make your file edits in your local repository.&lt;br /&gt;
&lt;br /&gt;
2.  &amp;quot;git commit&amp;quot;      the changes in your local repository&lt;br /&gt;
&lt;br /&gt;
3.  &amp;quot;git pull --rebase&amp;quot;    to bring the rest of your local repository up to date&lt;br /&gt;
&lt;br /&gt;
4.  &amp;quot;git push&amp;quot;    to move your changes up to the master&lt;br /&gt;
&lt;br /&gt;
&amp;quot;git stash&amp;quot;    if you want to &amp;quot;hide&amp;quot; your changes.  Do this if you think there may be other commits against ther same things you are working on, want to refresh yourself (using a git pull --rebase) from the master. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;git checkout -f master&amp;quot;     if you think your tree is pretty hopeless, need a kill-and-fill to bring the master into your local repository.&lt;br /&gt;
&lt;br /&gt;
=== Using git with color ===&lt;br /&gt;
If you want to use git with colored output use:&lt;br /&gt;
 $ git config --global color.ui true&lt;br /&gt;
&lt;br /&gt;
== List the local branch ==&lt;br /&gt;
You can now list your local branch by doing&lt;br /&gt;
 $ git branch&lt;br /&gt;
which should ouput&lt;br /&gt;
 $ git branch&lt;br /&gt;
 * master&lt;br /&gt;
&lt;br /&gt;
== List your local non committed changes ==&lt;br /&gt;
 $ git status | less&lt;br /&gt;
&lt;br /&gt;
== Commit ==&lt;br /&gt;
Now you can start to work on your tree. As soon as you feel you&#039;ve reached a step in developement you can commit &#039;&#039;&#039;locally&#039;&#039;&#039; your work by&lt;br /&gt;
 $ git commit -a&lt;br /&gt;
or&lt;br /&gt;
 $ git commit &amp;lt;specific files&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== List your commits ==&lt;br /&gt;
 $ git log&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Keeping your local working branch in sync ==&lt;br /&gt;
 $ git pull --rebase origin&lt;br /&gt;
voilà! Your commit will be re-applied on top of the origin (the svn trunk).&lt;br /&gt;
If you don&#039;t want to have to type --rebase everytime you pull do:&lt;br /&gt;
 $ git config branch.master.rebase true&lt;br /&gt;
&lt;br /&gt;
== Use a graphical interface ==&lt;br /&gt;
 $ gitk          # Tree Browser&lt;br /&gt;
 $ qgit          # Tree Browser&lt;br /&gt;
 $ git-gui       # Commit/push/... editor&lt;br /&gt;
&lt;br /&gt;
== Submitting patches to the vlc-devel ==&lt;br /&gt;
If you have been developing on vlc locally and (still) don&#039;t have write access, you can submit all your commit in one shot using:&lt;br /&gt;
 $ git format-patch -o out origin&lt;br /&gt;
which will produce the patches for each local commit in the directory &amp;quot;out&amp;quot;.&lt;br /&gt;
You can also use the [http://www.kernel.org/pub/software/scm/git/docs/git-imap-send.html git-imap-send] command:&lt;br /&gt;
 $ git format-patch --stdout --attach -n origin | git-imap-send&lt;br /&gt;
which will directly produces the emails and store them in a imap mail box, provided that you have properly set up [http://www.kernel.org/pub/software/scm/git/docs/git-imap-send.html git-imap-send].&lt;br /&gt;
&lt;br /&gt;
= Advanced usage =&lt;br /&gt;
== Creating a secondary local branch ==&lt;br /&gt;
If you want to work on a specific project that could require a branch of the trunk, create a local branch of the current branch by doing:&lt;br /&gt;
 $ git branch mywork&lt;br /&gt;
and to actually use it do:&lt;br /&gt;
 $ git checkout mywork&lt;br /&gt;
Which could be summarized by:&lt;br /&gt;
 $ git checkout -b mywork&lt;br /&gt;
&lt;br /&gt;
Then do some commit on it... And you can go back to your original master branch by doing:&lt;br /&gt;
 $ git checkout master&lt;br /&gt;
&lt;br /&gt;
== Fetching a remote branch ==&lt;br /&gt;
If the remote branch is named avacore_branch&lt;br /&gt;
 $ git checkout origin/avacore_branch&lt;br /&gt;
To stay up-to-date a simple&lt;br /&gt;
 $ git fetch&lt;br /&gt;
Should be enough.&lt;br /&gt;
&lt;br /&gt;
== Revert your non-committed local changes ==&lt;br /&gt;
 $ git checkout -f&lt;br /&gt;
&lt;br /&gt;
==Edit or undo not yet pushed commits ==&lt;br /&gt;
This will undo the last commit&lt;br /&gt;
 $ git reset HEAD^&lt;br /&gt;
which is the same as&lt;br /&gt;
 $ git reset master^&lt;br /&gt;
(if you are checked-out copy of your tree is master)&lt;br /&gt;
And also the same as&lt;br /&gt;
 $ git reset a44a594 # note that there is no need to use the full sha id&lt;br /&gt;
&lt;br /&gt;
If you have a stack of patch that you have not yet committed you can delete one patch from the list using git rebase --interactive&lt;br /&gt;
 $ git rebase --interactive origin&lt;br /&gt;
  pick eacf185 test&lt;br /&gt;
  pick 56322eb VLMA owner is vlma prod.&lt;br /&gt;
 &lt;br /&gt;
  # Rebase 826757e..56322eb onto 826757e&lt;br /&gt;
  #&lt;br /&gt;
  # Commands:&lt;br /&gt;
  #  pick = use commit&lt;br /&gt;
  #  edit = use commit, but stop for amending&lt;br /&gt;
  #  squash = use commit, but meld into previous commit&lt;br /&gt;
&lt;br /&gt;
== Diff-ing ==&lt;br /&gt;
* You can diff between two branches using&lt;br /&gt;
 $ git diff branch1 branch2&lt;br /&gt;
* You can diff between the previous 10th commit and current using&lt;br /&gt;
 $ git diff HEAD~10 HEAD&lt;br /&gt;
* You can diff between the previous 10th commit and current of the branch &amp;quot;mywork&amp;quot; using&lt;br /&gt;
 $ git diff mywork~10 mywork&lt;br /&gt;
* Imagine that git log is like&lt;br /&gt;
 $ git log&lt;br /&gt;
 commit e0394f269305edd09843257e7c1d1a66aaf48ab3&lt;br /&gt;
 Author: jb &amp;lt;jb&amp;gt;&lt;br /&gt;
 Date:   Fri Apr 13 07:14:48 2007 +0000&lt;br /&gt;
    qt4 - Mousewheel (2)&lt;br /&gt;
 commit e80b339081aa6755f67c9bd8e2aacf93a9a79d95&lt;br /&gt;
 [..]&lt;br /&gt;
 commit ff7004b70fd239e4120deb160e2991bd5237b8df&lt;br /&gt;
 [..]&lt;br /&gt;
 commit a44a594898f981a145cfcace5f16f8973f9eb46f&lt;br /&gt;
 [..]&lt;br /&gt;
 commit 690df705c963cf6bf6f5746d54bc97a85ff91919&lt;br /&gt;
 [..]&lt;br /&gt;
 commit 679f8b1c3e0baa469efa970588b95a625c595d64&lt;br /&gt;
 [..]&lt;br /&gt;
&lt;br /&gt;
 $ git diff a44a594898f981a145cfcace5f16f8973f9eb46f~2 e80b339081aa6755f67c9bd8e2aacf93a9a79d95&lt;br /&gt;
Will be equivalent to:&lt;br /&gt;
 $ git diff ff7004b70fd239e4120deb160e2991bd5237b8df e80b339081aa6755f67c9bd8e2aacf93a9a79d95&lt;br /&gt;
And to:&lt;br /&gt;
 $ git diff HEAD~4 HEAD^&lt;br /&gt;
&lt;br /&gt;
* Remember that to produce a patch you should rather use git-format-patch than git-diff most of the time.&lt;br /&gt;
&lt;br /&gt;
== Tracking regression ==&lt;br /&gt;
git has a great tool called [http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html git-bisect] to help you to track a faulty commit. Imagine you are tracking a bug that is known to appear after 0.8.6 (assuming 0.8.6 is tagged):&lt;br /&gt;
 $ git bisect start&lt;br /&gt;
 $ git bisect bad # tell git current version has the bug you are tracking&lt;br /&gt;
 $ git bisect good 0.8.6 # tell git 0.8.6 didn&#039;t has the bug&lt;br /&gt;
And then git will checkout a certain revision, and ask you to test it. And you simply say whether this version has the bug.&lt;br /&gt;
If it has the bug:&lt;br /&gt;
 $ git bisect bad&lt;br /&gt;
if the bug is not present:&lt;br /&gt;
 $ git bisect good&lt;br /&gt;
And so on by bisection... At the end git will indicate the faulty commit. Most of the time this tool is really efficient to track regression.&lt;br /&gt;
&lt;br /&gt;
If you can provide a script that test the presence of the bug &lt;br /&gt;
 $ git bisect run &amp;lt;script_name&amp;gt;&lt;br /&gt;
will be able to track down the regression by itself. See [http://www.kernel.org/pub/software/scm/git/docs/git-bisect.html git-bisect Documentation].&lt;br /&gt;
&lt;br /&gt;
= Using Git to push to VideoLAN git =&lt;br /&gt;
== Initial requirement ==&lt;br /&gt;
* Make sure you&#039;ve set your name and email in your commits&lt;br /&gt;
 $ git config --global user.name &amp;quot;Your Name&amp;quot;&lt;br /&gt;
 $ git config --global user.email &amp;quot;me@example.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Convert your tree to use your ssh push commit access ==&lt;br /&gt;
 $ vi vlc/.git/config&lt;br /&gt;
And replace git://git.videolan.org/vlc.git by git@git.videolan.org:vlc.git&lt;br /&gt;
&lt;br /&gt;
== Staying up to date ==&lt;br /&gt;
  $ git pull --rebase&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to have to type --rebase everytime you pull do:&lt;br /&gt;
 $ git config branch.master.rebase true&lt;br /&gt;
&lt;br /&gt;
This one creates a merge object which is not how SVN worked, so let&#039;s use the first version...&lt;br /&gt;
  $ git pull&lt;br /&gt;
&lt;br /&gt;
== Pushing your work ==&lt;br /&gt;
  $ git push&lt;br /&gt;
&lt;br /&gt;
= Using Git (and git-svn) to commit on VideoLAN SVN trunk (deprecated, scheduled for deletion) =&lt;br /&gt;
== Initial checkout ==&lt;br /&gt;
First get the official VLC svn trunk within git&lt;br /&gt;
 $ git-svn init svn://your_committer_login@svn.videolan.org/vlc&lt;br /&gt;
If you want the full history skip this step:&lt;br /&gt;
 $ git-svn fetch -r19800&lt;br /&gt;
Now get the get the rest&lt;br /&gt;
 $ git-svn fetch&lt;br /&gt;
Compress the tree:&lt;br /&gt;
 $ git repack -d&lt;br /&gt;
&lt;br /&gt;
== Keeping in sync ==&lt;br /&gt;
 $ git-svn fetch&lt;br /&gt;
 $ git rebase&lt;br /&gt;
&lt;br /&gt;
== Commit to VLC svn through git-svn ==&lt;br /&gt;
Once you&#039;ve locally committed your changes you should be able to commit them to the remote svn branch by doing:&lt;br /&gt;
 $ git-svn dcommit&lt;br /&gt;
&lt;br /&gt;
Note that with git-svn, you&#039;ll lost some of the git advantages, and it will probably introduce some overhead in some cases.&lt;br /&gt;
&lt;br /&gt;
= Using Git to publish your work (for SoC student?) =&lt;br /&gt;
First get the official VLC &#039;&#039;&#039;Soc&#039;&#039;&#039; trunk&lt;br /&gt;
 $ git clone git://git.videolan.org/vlc-soc.git&lt;br /&gt;
 $ cd vlc-soc&lt;br /&gt;
Ask for write access to a branch (called your_name_branch). Now we will make git know that you want to publish on this branch&lt;br /&gt;
 $ git config remote.my_soc_public_branch.url ssh://your_name@altair.videolan.org/home/videolan/gitroot/vlc-soc.git&lt;br /&gt;
Now tell git that you want to automatically push the local master branch to the public your_name_branch:&lt;br /&gt;
 $ git config remote.my_soc_public_branch.push +master:your_name_branch # the &amp;quot;+&amp;quot; will tell git to force update ignoring conflicts&lt;br /&gt;
&lt;br /&gt;
Do some work and commit it to your master branch.&lt;br /&gt;
 $ git commit -a&lt;br /&gt;
You can also sync with the trunk (origin) as needed&lt;br /&gt;
 $ git pull --rebase origin&lt;br /&gt;
And don&#039;t forget to publish your changes:&lt;br /&gt;
 $ git push my_soc_public_branch&lt;br /&gt;
Now you should be able to see your latest changes in your branch via [http://git.videolan.org/ gitweb].&lt;br /&gt;
&lt;br /&gt;
= Documentation about git =&lt;br /&gt;
* [http://git.or.cz/ Official Git Website]&lt;br /&gt;
* [http://www.kernel.org/pub/software/scm/git/docs/tutorial.html Git Tutorial]&lt;br /&gt;
* [http://git.or.cz/course/svn.html Switching from SVN to git using cogito]&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10814</id>
		<title>Win32CompileCygwinOld</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10814"/>
		<updated>2008-03-02T22:16:06Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* GIT */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cygwin environment for Windows from http://developers.videolan.org/vlc/cygwin-compile.txt&lt;br /&gt;
&lt;br /&gt;
Originally based on &amp;quot;Win32 Cygwin Environment&amp;quot; Rev. B (20041003) by Mark Moriarty and &amp;quot;Win32 Compile HOWTO&amp;quot; (20050513) by Gildas Bazin and Olivier Teulière.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
This is a guide for Windows users with a step-by-step instruction to download, install and configure the following components on your system:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com &#039;&#039;&#039;Cygwin&#039;&#039;&#039;]:  Linux-like environment for Windows used for compilation of the VLC source code&lt;br /&gt;
&lt;br /&gt;
* [http://download.videolan.org/pub/videolan/testing/win32/ &#039;&#039;&#039;Win32 contrib package&#039;&#039;&#039;]:  Precompiled library package (with DTS support).&lt;br /&gt;
&lt;br /&gt;
Optionally updated libraries:&lt;br /&gt;
&lt;br /&gt;
* [http://ffmpeg.mplayerhq.hu &#039;&#039;&#039;FFmpeg&#039;&#039;&#039;] (with AMR support).&lt;br /&gt;
&lt;br /&gt;
* [http://developers.videolan.org/x264.html &#039;&#039;&#039;x264&#039;&#039;&#039;] used for encoding H.264/AVC video.&lt;br /&gt;
&lt;br /&gt;
* [http://www.live555.com &#039;&#039;&#039;live555&#039;&#039;&#039;] (formerly known as live.com) for RTP/RTCP/RTSP/SIP multimedia streaming.&lt;br /&gt;
&lt;br /&gt;
The best approach to start getting comfortable with building VLC from source is to use the precompiled library package and not yet the optionally updated ones.&lt;br /&gt;
&lt;br /&gt;
Start off by creating a download folder on your hard drive where you can put all the installation files:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads (example)&lt;br /&gt;
&lt;br /&gt;
For further reference, the assumption is made that the local user will be &#039;Administrator&#039;.&lt;br /&gt;
&lt;br /&gt;
=Cygwin=&lt;br /&gt;
&lt;br /&gt;
More info about Cygwin can be found at http://www.cygwin.com or http://sourceware.org/cygwin&lt;br /&gt;
&lt;br /&gt;
Download the latest [http://www.cygwin.com/cygwin/setup.exe Cygwin setup] (it&#039;s at the install or update now icon on the site) and save it in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Selecting Cygwin packages to install==&lt;br /&gt;
&lt;br /&gt;
Run the setup program with the following options:&lt;br /&gt;
&lt;br /&gt;
Installation type : Install from Internet (default)&lt;br /&gt;
&lt;br /&gt;
Root directory : C:\cygwin (default)&lt;br /&gt;
&lt;br /&gt;
Local Package directory : C:\Downloads\cygwin (your download location)&lt;br /&gt;
&lt;br /&gt;
Internet Connection : Direct Connection (preferred, if it fails try another)&lt;br /&gt;
&lt;br /&gt;
Download Site : Choose a download site closest to you (FTP preferred)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the &amp;quot;Select Packages&amp;quot; section of the installation process you can select packages by clicking the button with the rotating 2 arrows. (This is under the &amp;quot;New&amp;quot; section). It shows &amp;quot;Skip&amp;quot; next to the button if the package isn&#039;t selected yet.&lt;br /&gt;
&lt;br /&gt;
Clicking the button a few times will rotate through the possible package versions including &amp;quot;Skip&amp;quot; (meaning do not install or remove if installed) and &amp;quot;Keep&amp;quot; (meaning keep using the current installed version). If a package was already installed it will also show the &amp;quot;Current&amp;quot; version just to the left of it.&lt;br /&gt;
&lt;br /&gt;
Select the following packages (some others will automatically be selected as well):&lt;br /&gt;
&lt;br /&gt;
 Archive&lt;br /&gt;
   5.52-2       unzip (recommended: goes hand in hand with zip utility)&lt;br /&gt;
   2.23-2       zip (required: to make self contained zip packages)&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   2.1          automake (at least 1.5 is required)&lt;br /&gt;
   20060817-1   binutils (autoselected)&lt;br /&gt;
   1.11.22-1    cvs (required for autopoint)&lt;br /&gt;
   3.4.4-3      gcc-core (autoselected)&lt;br /&gt;
   3.4.4-3      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   20050522-1   gcc-mingw-core (autoselected)&lt;br /&gt;
   20050522-1   gcc-mingw-g++ (autoselected)&lt;br /&gt;
   &#039;&#039;&#039;20041228-3   gdb&#039;&#039;&#039; (optional: for debugging purposes)&lt;br /&gt;
   0.15-1       gettext (autoselected)&lt;br /&gt;
   0.15-1       gettext-devel&lt;br /&gt;
   1.5.23a-2    libtool1.5&lt;br /&gt;
   3.81-1       make&lt;br /&gt;
   3.11-1       mingw-runtime (autoselected)&lt;br /&gt;
   0.98.39-1    nasm (optional: for compiling x264 encoder)	&lt;br /&gt;
   0.2.31-1     patchutils (optional: for patching source files with .diff files)&lt;br /&gt;
   0.21-1       pkgconfig (recommended: otherwise ./configure will complain about accuracy)&lt;br /&gt;
   1.4.2-1      subversion&lt;br /&gt;
&lt;br /&gt;
 Lib&lt;br /&gt;
   ?.?          libgcrypt&lt;br /&gt;
&lt;br /&gt;
 Web&lt;br /&gt;
   7.15.4-1     curl (optional: for building extras/contrib)&lt;br /&gt;
   1.10.2-2     wget (optional: for building extras/contrib)&lt;br /&gt;
&lt;br /&gt;
The package version numbers happen to be the representation of what was the most current version available at the time this article was written &#039;&#039;&#039;with the exception of gdb which has to be downgraded from at least 20060706-2 to 20041228-3 for proper usage&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you run into problems of missing packages during install (particularly gettext: cyggettextsrc-0-14-1.dll not found) then rerun the setup program and try selecting another Download Site from the mirror list.&lt;br /&gt;
&lt;br /&gt;
NOTE: Whenever new packages are installed or updated through the Cygwin installer, make sure not to update the packages by keeping the old versions (using the &amp;quot;Keep&amp;quot; option).&lt;br /&gt;
&lt;br /&gt;
==Installing older GCC 3.3 version==&lt;br /&gt;
&lt;br /&gt;
The gcc version used for compilation should match the version specified in the &amp;quot;contrib&amp;quot; package, at present gcc-3.4.5-only.&lt;br /&gt;
&lt;br /&gt;
So the preferred version to use is GCC 3.4 but for historical reasons this section descibes what version to use together with an older gcc-3.3.1-only &amp;quot;contrib&amp;quot; package. The 3.3.1 version is not available in Cygwin but 3.3.3-3 (still) is.&lt;br /&gt;
&lt;br /&gt;
The only compatibility issue with using GCC 3.4 and the precompiled 3.3.1 &amp;quot;contrib&amp;quot; package is that it doesn&#039;t support the compiling of the matroska container .mkv so that leaves 2 options; use gcc 3.3.3-3 with a 3.3.1-only &amp;quot;contrib&amp;quot; or gcc 3.4 (or newer) but disable matroska support.&lt;br /&gt;
&lt;br /&gt;
The second option requires you to add the following line to the configure options:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
If you use the older gcc-g++ and gcc-core versions you have to change the gcc-mingw-core and gcc-mingw-g++ back to the older versions as well.&lt;br /&gt;
&lt;br /&gt;
Select the following package versions instead:&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-core&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-core&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-g++&lt;br /&gt;
&lt;br /&gt;
NOTE: The gcc-3.4.5-only &amp;quot;contrib&amp;quot; package should compile just fine with GCC 3.3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Cygwin environment==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin from the icon on your desktop. If it runs for the first time it will automatically create a home\&amp;quot;username&amp;quot; folder in the Cygwin environment; user being the currently logged on Windows user. Assuming this is the &#039;Administrator&#039; user it will create the following folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: On your desktop, you can rightclick the Cygwin icon and (in the Options field of the Cygwin Properties) set the Command history Buffer size to as large as possible: 999. This setting will make it possible to scroll back further in the Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=VLC source code=&lt;br /&gt;
&lt;br /&gt;
== SVN ==&lt;br /&gt;
The very latest VLC source code can be obtained through a tool called SVN (Subversion). The Cygwin package we&#039;re about to install comes with an internal subversion component. Using this one is the preferred method.&lt;br /&gt;
&lt;br /&gt;
Read the [[SVN]] page.&lt;br /&gt;
&lt;br /&gt;
== GIT ==&lt;br /&gt;
As of March 2008, VLC has switched to a GIT repository.&lt;br /&gt;
If you only need read access, you can continue to use SVN to obtain the latest VLC trunk.&lt;br /&gt;
If you need write (commit) access, you need the Cygwin ssh (Secure Shell), procps, and GIT packages.&lt;br /&gt;
To see if you have them, in a bash shell enter:&lt;br /&gt;
   ssh --help&lt;br /&gt;
   git --help&lt;br /&gt;
   pskill --help&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have them, run Cygwin&#039;s setup.exe, and download/install them.&lt;br /&gt;
For secure shell, generate keys and send the public key (e.g., the file cygwin/home/your_username/.ssh/id_rsa.pub) to the proper vlc admin (check in on IRC for more information).&lt;br /&gt;
Then, update your Cygwin.bat file, so it looks like:&lt;br /&gt;
   @echo off&lt;br /&gt;
   set CYGWIN=binmode&lt;br /&gt;
   C:&lt;br /&gt;
   chdir C:\cygwin\bin&lt;br /&gt;
   c:\cygwin\bin\pkill ssh-agent&lt;br /&gt;
   del c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   c:\cygwin\bin\ssh-agent &amp;gt; c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   bash --login -i &lt;br /&gt;
(Change the &amp;quot;C:\&amp;quot; as appropriate)&lt;br /&gt;
&lt;br /&gt;
And update your cygwin\etc\profile file, adding the following at the bottom:&lt;br /&gt;
  ssh-add&lt;br /&gt;
&lt;br /&gt;
The above changes will kill any pre-existing ssh-agent, start a new instance of it, and automatically prompt you for your ssh passphrase when the bash shell opens.&lt;br /&gt;
&lt;br /&gt;
For general VLC git usage, see: http://wiki.videolan.org/Git#Basic_Git_usage&lt;br /&gt;
&lt;br /&gt;
git-gui appears to work well under Cygwin, provides a fairly simple UI.&lt;br /&gt;
&lt;br /&gt;
General workflow should be:  make your changes locally, commit your changes locally, git pull --rebase, git push.&lt;br /&gt;
&lt;br /&gt;
== Snapshot ==&lt;br /&gt;
Another way of obtaining source code is by downloading a daily code &amp;quot;snapshot&amp;quot; from the following location:&lt;br /&gt;
&lt;br /&gt;
http://nightlies.videolan.org/build/source&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 vlc-snapshot-20080112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
= External libraries to the source code=&lt;br /&gt;
&lt;br /&gt;
VLC depends on other libraries (code) to provide some features like AC3 audio or MPEG-4 video encoding/decoding etc.&lt;br /&gt;
&lt;br /&gt;
Depending on your needs you will have to install and compile some or all of these external libraries. &lt;br /&gt;
&lt;br /&gt;
== Win32 &amp;quot;contrib&amp;quot; package ==&lt;br /&gt;
&lt;br /&gt;
A package with most of these libraries already compiled so it&#039;s actually really easy to compile a full-featured version of vlc can be found here:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
Download the latest version of a &amp;quot;contrib&amp;quot; package for win32:&lt;br /&gt;
&lt;br /&gt;
 contrib-20060730-win32-bin-gcc-3.4.5-only.tar.bz2 (example)&lt;br /&gt;
&lt;br /&gt;
It&#039;s a good idea to check the INSTALL.Win32 file in the VLC source directory for the appropriate contrib download file.&lt;br /&gt;
&lt;br /&gt;
Save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\contrib (example)&lt;br /&gt;
&lt;br /&gt;
Check if the file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simply rename the file back to .tar.bz2&lt;br /&gt;
&lt;br /&gt;
Also remember the &amp;quot;gcc-3.4.5&amp;quot; part in the &amp;quot;contrib&amp;quot; package filename since it relates to the GCC version that needs to be installed in Cygwin lateron!&lt;br /&gt;
&lt;br /&gt;
== Adding additional or updated libraries to the source (optional) ==&lt;br /&gt;
&lt;br /&gt;
Most of them can be found here (source code):&lt;br /&gt;
&lt;br /&gt;
 http://download.videolan.org/pub/testing/contrib/&lt;br /&gt;
&lt;br /&gt;
It is advised to not recompiled those libraries.&lt;br /&gt;
&lt;br /&gt;
Updated libraries for FFmpeg and x264 are available through SVN (which is discussed in a later stage of this guide).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===live555 &amp;quot;snapshot&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
More info about live555 can be found at:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com&lt;br /&gt;
&lt;br /&gt;
The project source code is available here:&lt;br /&gt;
&lt;br /&gt;
http://live555.com/liveMedia/public/&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 live.2007.01.11.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: live555-latest.tar.gz is also the latest version but keeping the date in the filename makes it easier to reference.&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
=Getting the latest sources=&lt;br /&gt;
&lt;br /&gt;
In order to have the latest source code you have to download this using SVN.&lt;br /&gt;
&lt;br /&gt;
Create a new folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\scripts (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update script for VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/vlc/trunk vlc-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location with the option &amp;quot;All Files&amp;quot; and not &amp;quot;Text Documents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 update-vlc.sh (example)&lt;br /&gt;
&lt;br /&gt;
This command will download a complete svn trunk.&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This is for converting the &#039;line endings&#039; made by Windows/DOS (in which the text document was created) to UNIX style.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update scripts for additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
Updating source code using SVN for additional libraries such as x264 or FFmpeg works the same way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update scripts for x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/x264/trunk x264-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-x264.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix update-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update script for FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Checking out&amp;quot; the latest source code from SVN==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 ./update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This will download the current &amp;quot;subversion trunk&amp;quot; (latest code) into your home directory into the directory specified in your shell script:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\vlc-trunk (example)&lt;br /&gt;
&lt;br /&gt;
At the end of the command it will show something like &amp;quot;Checked out revision 18561&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The vlc-trunk folder will get over-written/updated the next time you run the command. If you want to save a so called &amp;quot;snapshot&amp;quot; of the existing vlc-trunk, rename or copy the current directory into something desired (like vlc-trunk-20070112).&lt;br /&gt;
&lt;br /&gt;
NOTE: Updating the source code for additional libraries such as x264, FFmpeg etc. is done by running their corresponding update scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the source from a &amp;quot;snapshot&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
If you are not using SVN to obtain the latest source code but are using a daily &amp;quot;snapshot&amp;quot; then copy that source package from your download/install location to the Cygwin home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf vlc-snapshot-20070112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 vlc-0.9.0-svn (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing the Win32 &amp;quot;contrib&amp;quot; package in Cygwin=&lt;br /&gt;
&lt;br /&gt;
First the additional libraries have to be &amp;quot;installed&amp;quot; in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the Win32 &amp;quot;contrib&amp;quot; package==&lt;br /&gt;
&lt;br /&gt;
Copy the &amp;quot;contrib&amp;quot; package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xjvf contrib-20061202-win32-bin-gcc-3.4.5-only.tar.bz2 -C / (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the &amp;quot;contrib&amp;quot; file and DON&#039;T FORGET THE / (slash)&lt;br /&gt;
at the end.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into usr/win32 folder within your Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
==Keeping the Win32 &amp;quot;contrib&amp;quot; package up-to-date==&lt;br /&gt;
&lt;br /&gt;
For maintenance purposes periodically check:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
to see if a newer &amp;quot;contrib&amp;quot; is available. If that is the case you should DELETE the existing directory structure which is for the precompiled &amp;quot;contrib&amp;quot; package:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32 (example)&lt;br /&gt;
&lt;br /&gt;
Download the newer file and follow the installation instructions the same as before so you will end up with the most up-to-date version.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Configure scripts=&lt;br /&gt;
&lt;br /&gt;
In order to make our lives just a bit easier the following section describes what commandline options should be used for compiling and those commands will then be put into a &amp;quot;script&amp;quot; that can be executed (rather than having to copy and paste all the time).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure script for compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
  CONTRIB_TREE=/usr/win32&lt;br /&gt;
  PATH=${CONTRIB_TREE}/bin:$PATH \&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L${CONTRIB_TREE}/lib \&lt;br /&gt;
  PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \&lt;br /&gt;
  CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --host=i686-pc-mingw32 \&lt;br /&gt;
      --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \&lt;br /&gt;
      --enable-nls \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-freetype-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-fribidi-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-xml2-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-dvdnav-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-gnomevfs \&lt;br /&gt;
      --enable-dts \&lt;br /&gt;
      --disable-optimizations \&lt;br /&gt;
      --enable-debug \&lt;br /&gt;
&lt;br /&gt;
NOTE: The following option is added for DTS Coherent Acoustics streams decoding support. The latest &amp;quot;contrib&amp;quot; package should already contain libdca (formerly known as libdts) needed to compile this but at present it&#039;s disabled by default:&lt;br /&gt;
&lt;br /&gt;
 --enable-dts&lt;br /&gt;
&lt;br /&gt;
NOTE: For VLC 0.9.0, replace the previous option by:&lt;br /&gt;
&lt;br /&gt;
 --enable-dca&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options are added for debug purposes and makes the final package a bit larger but the advantage is it&#039;s easier to debug in case of crash reports:&lt;br /&gt;
&lt;br /&gt;
 --disable-optimizations&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to report a crash bug to the VLC team, it is necessary that you provide a stack backtrace. Unfortunately, Windows automatic crash reporter cannot generate such a backtrace as debug symbols used by GCC compiler aren&#039;t understood by Windows, therefore we suggest that you install Dr. MinGW (http://jrfonseca.dyndns.org/projects/gnu-win32/software/drmingw/) which will extend Windows Just-In-Time Debugger and provide the necessary debug information.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options is needed for QT4 support:&lt;br /&gt;
&lt;br /&gt;
 --enable-qt4&lt;br /&gt;
&lt;br /&gt;
As of version 0.9.0 VLC will include the QT interface. More information can be found about QT here: http://www.trolltech.com&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Win32 contrib package&amp;quot; at present only includes the linux equivalents of uic, moc and roc executables which are required for building this interface.&lt;br /&gt;
&lt;br /&gt;
The linues executables have to be &#039;&#039;&#039;deleted&#039;&#039;&#039; from the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic (example)&lt;br /&gt;
&lt;br /&gt;
The moc, rcc and uic.exe from the [http://www.trolltech.com/developer/downloads/qt/windows Qt/Windows Open Source Edition] (these can be found in the bin folder after installation) have to be placed in the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic.exe (example)&lt;br /&gt;
 &lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
 &lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===POSIX emulation layer===&lt;br /&gt;
&lt;br /&gt;
VLC can be built with or without the so called POSIX emulation layer. Without is the default and is usually better (and with hasn&#039;t been tested for quite some time). If you do want to use the emulation layer, then just leave out the line with the following options:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===VLC optional settings===&lt;br /&gt;
&lt;br /&gt;
The following option should be used when compiling using the GCC 3.4 version with older &amp;quot;contrib&amp;quot; gcc-3.3.1-only:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
==Configure scripts for compiling additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
The following section is optional. The &amp;quot;contrib&amp;quot; package contains precompiled libraries but it is possible to update some of those libraries to the most current versions such as x264 and FFmpeg.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg with AMR support (optional)===&lt;br /&gt;
&lt;br /&gt;
The AMR (Adaptive Multi Rate) codec is designed to encode and decode speech with acceptable quality for transmission over relatively low bandwidth channels with minimal latency, typically used in mobile networks (3GP) or voice message applications.&lt;br /&gt;
&lt;br /&gt;
The AMR codec is usually referred to as:&lt;br /&gt;
&lt;br /&gt;
 Narrow Band (AMR-NB, fourcc samr) for low quality&lt;br /&gt;
 Wide Band (AMR-WB, fourcc samw) for high quality&lt;br /&gt;
&lt;br /&gt;
The sources for AMR are not compatible with the GPL (General Public License). AMR support is disabled by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Getting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The AMR reference codecs can be found on the 3GPP site http://www.3gpp.org at the following download location for zipped source code packages:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/&lt;br /&gt;
&lt;br /&gt;
Download the following 3 packages to a subfolder in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
1.  AMR - latest 26073 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26073-530.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.073 V5.3.0 (2004-03) ANSI-C code for the Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
2.  AMR_FLOAT - latest 26104 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26104-540.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.104 V 5.4.0 (2004-03) ANSI-C code for the Floating-point Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
3.  AMRWB_FLOAT - latest 26204 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26204-520.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.204 V5.2.0 (2003-09) ANSI-C code for Floating-point Adaptive Multi Rate Wideband (AMR-WB) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Extracting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The following AMR reference packages should now be in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 26073-530.zip (example)&lt;br /&gt;
 26104-540.zip (example)&lt;br /&gt;
 26204-520.zip (example)&lt;br /&gt;
&lt;br /&gt;
Using your favourite unzipper (Windows internal extraction wizard, WinZIP, WinRAR etc.) extract the zip files in the into the current folder (Windows wizard would use &amp;quot;Extract All&amp;quot; and WinZIP or WinRAR would use &amp;quot;Extract to &#039;foldername&#039; which is the same as the .zip package name&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
This will create the following folders:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530         &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540         &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520         &lt;br /&gt;
&lt;br /&gt;
Within those folders another .zip package exists. Again unpack those zip files into the current folder:&lt;br /&gt;
&lt;br /&gt;
 26073-530_ANSI_C_source_code      &lt;br /&gt;
 26104-540_ANSI_C_source_code      &lt;br /&gt;
 26204-520_ANSI-C_source_code      &lt;br /&gt;
&lt;br /&gt;
Now each unpacked source code package has an individual folder named &amp;quot;c-code&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Rename the c-code subfolders within each package to amr, amr_float and amrwb_float:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530\26073-530_ANSI_C_source_code\c-code to amr                  &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540\26104-540_ANSI_C_source_code\c-code to amr_float            &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520\26204-520_ANSI-C_source_code\c-code to amrwb_float          &lt;br /&gt;
&lt;br /&gt;
NOTE: the 530, 540 to 520 order looks a bit confusing but those are actually just version numbers and the folders are shown in the correct alphabetical order.&lt;br /&gt;
&lt;br /&gt;
Copy each of the the following folders (including content, so just select the whole folders itself):&lt;br /&gt;
&lt;br /&gt;
 amr                &lt;br /&gt;
 amr_float         &lt;br /&gt;
 amrwb_float       &lt;br /&gt;
&lt;br /&gt;
to the Cygwin home directory in the libavcodec subfolder of where the FFmpeg package resides:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script with &amp;quot;contrib&amp;quot; package (optional)===&lt;br /&gt;
&lt;br /&gt;
NOTE: This compile script assumes you are also using the same FFmpeg version as is used in the &amp;quot;contrib&amp;quot; package (this is why the cflags and ldflags also point to the win32 folder where the &amp;quot;contrib&amp;quot; package was extracted).&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --extra-cflags=-I/usr/win32/include \&lt;br /&gt;
     --extra-ldflags=-L/usr/win32/lib \&lt;br /&gt;
     --prefix=/usr/win32 \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
    --enable-faac --enable-mp3lame --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: For AMR encoding/decoding support also add the following options:&lt;br /&gt;
&lt;br /&gt;
 --enable-amr_nb --enable-amr_wb&lt;br /&gt;
&lt;br /&gt;
NOTE: VLC uses the x264 lib directly and not through ffmpeg so there is no need to add --enable-x264&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg.sh (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator &lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script for FFmpeg &amp;quot;stand-alone&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only if FFmpeg compiling is required as a stand-alone package and not in combination with the precompiled &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
In case of failure to compile VLC with different settings (added/updated libraries to the &amp;quot;contrib&amp;quot;) it is advisable to test if FFmpeg does compile OK just in &amp;quot;stand-alone&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
Create a new text document at the download location with following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
     --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: When including libraries the following options should be added/changed, pointing to the appropriate folder where does libraries are located (for VLC &amp;quot;contrib&amp;quot; that would be /usr/win32 but in other situations it might be the default /usr/local):&lt;br /&gt;
&lt;br /&gt;
    --extra-cflags=-I/usr/local/include \&lt;br /&gt;
    --extra-ldflags=-L/usr/local/lib \&lt;br /&gt;
    --prefix=/usr/local \&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg-svn.sh (example)&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg-svn.sh&lt;br /&gt;
&lt;br /&gt;
==x264 configure script (optional)==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure \&lt;br /&gt;
    --prefix=/usr/win32 \&lt;br /&gt;
&lt;br /&gt;
NOTE: for debugging purposes you can add the following option:&lt;br /&gt;
&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt.&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Compiling source code=&lt;br /&gt;
&lt;br /&gt;
It&#039;s time to start Cygwin again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional libraries==&lt;br /&gt;
&lt;br /&gt;
If any updated or additional libraries are used they need to be compiled first. Since some of these are used indirectly through FFmpeg, FFmpeg should be compiled last.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for x264 compiling where you want to compile x264 yourself in order to use the latest version.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate x264 folder&lt;br /&gt;
&lt;br /&gt;
 cd x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled a new library file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\libx264.a (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
Also take the following file .h file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\x264.h (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the usr/win32/include folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\include (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite the x264.h and libx264.a from the precompiled &amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
===live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required if you want to compile the latest version of live555.&lt;br /&gt;
&lt;br /&gt;
Copy the live555 project package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf live.2006.05.17.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 live (example)&lt;br /&gt;
&lt;br /&gt;
===Compiling FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for FFmpeg compiling.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate FFmpeg folder&lt;br /&gt;
&lt;br /&gt;
 cd ffmpeg-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
 ../configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Preparations for AMR support (optional)====&lt;br /&gt;
&lt;br /&gt;
If you included the AMR reference codec sources in FFmpeg you should see that AMR-NB and WB &amp;quot;float support&amp;quot; should be working:&lt;br /&gt;
&lt;br /&gt;
 AMR-NB float support yes&lt;br /&gt;
 AMR-NB fixed support no&lt;br /&gt;
 AMR-WB float support yes&lt;br /&gt;
 AMR-WB IF2 support no&lt;br /&gt;
 network support      no&lt;br /&gt;
 License: GPL&lt;br /&gt;
&lt;br /&gt;
 AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204&lt;br /&gt;
 V5.1.0 from http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip and extracted the source to libavcodec/amrwb_float&lt;br /&gt;
&lt;br /&gt;
 AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104 REL-5 V5.1.0 from&lt;br /&gt;
 http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip and extracted the source to libavcodec/amr_float&lt;br /&gt;
 If you try this on alpha, you may need to change Word32 to int in amr/typedef.h&lt;br /&gt;
&lt;br /&gt;
NOTE: These warnings/notices can be ignored since we are using more recent versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building FFmpeg (optional)====&lt;br /&gt;
&lt;br /&gt;
First clean up any leftovers from a previous compile using the following commands:&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
Now build FFmpeg with the following command:&lt;br /&gt;
&lt;br /&gt;
 make       &lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled two new &amp;quot;library&amp;quot; files:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec\libavcodec.a (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavformat\libavformat.a (example)&lt;br /&gt;
&lt;br /&gt;
To copy the appropriate libs and header files to the (extracted) contrib&lt;br /&gt;
folder use:&lt;br /&gt;
&lt;br /&gt;
 make install-libs install-headers&lt;br /&gt;
&lt;br /&gt;
For historical reasons the &amp;quot;old&amp;quot; method is still described here as well:&lt;br /&gt;
&lt;br /&gt;
Copy the library files (with the .a extension) into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite libavcodec.a and libavformat.a from the precompiled&lt;br /&gt;
&amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
For backup reasons you can first copy or rename the original files in the &amp;quot;contrib&amp;quot; package (so you won&#039;t have to reinstall the complete contrib package but can simply copy these again)&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavcodec.a to libavcodec.a.org&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavformat.a to libavformat.a.org&lt;br /&gt;
&lt;br /&gt;
In older versions of ffmpeg the libraries had other names:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavcodec\avcodec.lib (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavformat\avformat.lib (example)&lt;br /&gt;
&lt;br /&gt;
Rename those files (in Windows Explorer):&lt;br /&gt;
&lt;br /&gt;
 avcodec.lib to libavcodec.a&lt;br /&gt;
 avformat.lib to libavformat.a&lt;br /&gt;
&lt;br /&gt;
Then copy those library files into the Cygwin usr/win32 folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
How to configure and build the code on a Linux enviroment is explained on the following live555 page:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com/liveMedia/#config-unix&lt;br /&gt;
&lt;br /&gt;
Some options need to be changed/added to the config.cygwin file in the live folder so open this file with a text-editor.&lt;br /&gt;
&lt;br /&gt;
Add the -Wno-deprecated option:&lt;br /&gt;
&lt;br /&gt;
 CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated&lt;br /&gt;
&lt;br /&gt;
Save the file under its current name config.cygwin&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd live&lt;br /&gt;
&lt;br /&gt;
The following command is for converting any DOS/Windows &amp;quot;line endings&amp;quot; to UNIX style:&lt;br /&gt;
 &lt;br /&gt;
 dos2unix config.cygwin&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 ./genMakefiles cygwin&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
TODO: Fix live555 compilation. It still fails with the following errors:&lt;br /&gt;
&lt;br /&gt;
 GroupsockHelper.cpp:477: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:482: error: invalid application of `sizeof&#039; to incomplete type `ip_mreq_source&#039;&lt;br /&gt;
 GroupsockHelper.cpp: In function `Boolean socketLeaveGroupSSM(UsageEnvironment&amp;amp;, int,  netAddressBits, netAddressBits)&#039;:&lt;br /&gt;
 GroupsockHelper.cpp:495: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:500: error: invalid application of `sizeof&#039; to incomplete type  `ip_mreq_source&#039;&lt;br /&gt;
 make[1]: *** [GroupsockHelper.o] Error 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
(you can check with the pwd command to see in which folder you are and with just the cd&lt;br /&gt;
command without any additional parameters you can change back to your home directory).&lt;br /&gt;
&lt;br /&gt;
NOTE: The following line is optional, only use that if you have problems compiling.&lt;br /&gt;
&lt;br /&gt;
 ./toolbox --distclean&lt;br /&gt;
&lt;br /&gt;
(This will have removed everything except code related stuff).&lt;br /&gt;
&lt;br /&gt;
 ../configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Cross your fingers...&lt;br /&gt;
&lt;br /&gt;
NOTE: ./ means you run an application/script from the &amp;quot;current folder&amp;quot; (which is vlc-trunk) and ../ points to &amp;quot;one directory up&amp;quot; (which is where configure-vlc.sh is).&lt;br /&gt;
&lt;br /&gt;
==Creating self contained packages==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;quot;make&amp;quot; commands:&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file).&lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Advanced usage=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating Cygwin package versions==&lt;br /&gt;
&lt;br /&gt;
If you need to update or install additional packages you can just run the Cygwin setup.exe from your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin\setup.exe          (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using older GCC and MINGW version===&lt;br /&gt;
&lt;br /&gt;
You should be aware that Cygwin automatically selects the latest versions for gcc-g++ and gcc-mingw so if you are using older versions of those (like 3.3.3-3 and the accompanied 20040810-1 packages for mingw) and wish to continue to use them you need to &#039;&#039;&#039;change&#039;&#039;&#039; those versions to &#039;&#039;&#039;Keep&#039;&#039;&#039; for &#039;&#039;&#039;every time you use the update process&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You can click on the &amp;quot;View&amp;quot; button a few times until you see &amp;quot;Partial&amp;quot; next to it. This will give you an overview of some &amp;quot;Current&amp;quot; packages that will be updated to &amp;quot;New&amp;quot; versions.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core         -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++          -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Selecting the 3.4.4-3 version automatically changes the gcc-mingw-core and gcc-mingw-g++ to the 20050522-1 (or newer) versions as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Downgrading Cygwin GCC packages===&lt;br /&gt;
&lt;br /&gt;
If your Cygwin gcc versions are already the latest and you wish to downgrade to gcc 3.3.3-3 then it&#039;s not possible to downgrade the gcc-core/g++ and the mingw packages all at the same time, it has to be done in two steps.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Restart the Cygwin update process.&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Again, for any new update process remember to change back those versions!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GDB (Gnu Debugger)==&lt;br /&gt;
&lt;br /&gt;
This section requires that you installed the gdb (Gnu Debugger) in Cygwin.&lt;br /&gt;
&lt;br /&gt;
This is a typical example of creating a crashlog:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 gdb --args vlc.exe --fast-mutex --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
NOTE: vlc-0.9.0 uses libtool for building sources, if you want to debug from the source tree, you should type the following command instead:&lt;br /&gt;
&lt;br /&gt;
 libtool -mode=execute gdb --args vlc --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
In the debugger mode run the program and make sure you reset the preferences!&lt;br /&gt;
&lt;br /&gt;
 (gdb) run &lt;br /&gt;
&lt;br /&gt;
NOTE: the (gdb) is just a prompt which means you are in the debugger mode, please note that &#039;&#039;--fast-mutex&#039;&#039; option is no longer supported in vlc-0.9.0&lt;br /&gt;
&lt;br /&gt;
It will now take a lot longer than usual for VLC to start :)&lt;br /&gt;
&lt;br /&gt;
Now operate VLC as you would normally do. As soon as a crash issue occurs&lt;br /&gt;
you&#039;ll notice a line like this:&lt;br /&gt;
&lt;br /&gt;
 Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
 0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29)&lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 459             i = i_bottom + ( i_top - i_bottom ) / 2;&lt;br /&gt;
&lt;br /&gt;
Now you can do a &amp;quot;backtrace&amp;quot; by using the bt command:&lt;br /&gt;
&lt;br /&gt;
 (gdb) bt&lt;br /&gt;
&lt;br /&gt;
And output similar to this will be created:&lt;br /&gt;
&lt;br /&gt;
 #0  0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29) &lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 #1  0x0b26bbf7 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29fef8}) at playlist.cpp:695&lt;br /&gt;
 #2  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29e8b0}) at playlist.cpp:689&lt;br /&gt;
 #3  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29a818}) at playlist.cpp:689&lt;br /&gt;
 #4  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x299718}) at playlist.cpp:689&lt;br /&gt;
 #5  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0xffff0000}) at playlist.cpp:689&lt;br /&gt;
 #6  0x0b26bf49 in wxvlc::Playlist::AppendItem (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:564&lt;br /&gt;
 #7  0x0b2757fc in wxvlc::Playlist::OnPlaylistEvent (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:1438&lt;br /&gt;
 #8  0x0b3771b8 in wxEvtHandler::ProcessEventIfMatches ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #9  0x0b376a1c in wxEventHashTable::HandleEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #10 0x0b37730d in wxEvtHandler::ProcessEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #11 0x0b37711b in wxEvtHandler::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 #12 0x0b376017 in wxAppConsole::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #13 0x0b3ec75a in wxIdleWakeUpModule::MsgHookProc ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/bmpbuttn.h:81&lt;br /&gt;
 #14 0x773aca2d in USER32!GetScrollRange ()&lt;br /&gt;
    from /cygdrive/c/WINDOWS/system32/user32.dll&lt;br /&gt;
 #15 0x00000000 in ?? () from&lt;br /&gt;
 (gdb)&lt;br /&gt;
&lt;br /&gt;
These are the log outputs that are more usefull to developers than just mentioning &amp;quot;it crashes&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
NOTE: In GDB mode there are sometimes situations where GDB initially &amp;quot;crashes&amp;quot; on certain network activity (opening network shares, network traffic) which in normal operation does not occur. Just select c for continue until &amp;quot;normal&amp;quot; operation continues.&lt;br /&gt;
&lt;br /&gt;
==.diff files==&lt;br /&gt;
&lt;br /&gt;
Frequently patches to source code are presented or discussed in forums or in mailing lists in so called .diff format (these are &amp;quot;differences&amp;quot; to the source code).&lt;br /&gt;
&lt;br /&gt;
You can apply those patches yourself to the source code or create .diff files. This requires the patchutils package in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Patching source code===&lt;br /&gt;
&lt;br /&gt;
Download a so called .diff file:&lt;br /&gt;
&lt;br /&gt;
 sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: make sure the file doesn&#039;t get a .txt extension, so Save as type &amp;quot;All Files&amp;quot; instead of &amp;quot;Text Document&amp;quot; (IE has a habit of renaming to .txt. If that happens just simply rename to .diff)&lt;br /&gt;
&lt;br /&gt;
Copy the .diff file into the appropriate source folder&lt;br /&gt;
&lt;br /&gt;
 x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
Apply the patch as follows&lt;br /&gt;
&lt;br /&gt;
 patch -p0 &amp;lt; sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: replace sse2-pixel-routines-v3.diff with your &amp;quot;patch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will output something like:&lt;br /&gt;
&lt;br /&gt;
 patching file common/i386/pixel.h&lt;br /&gt;
 patching file common/i386/pixel-a.asm&lt;br /&gt;
 patching file common/pixel.c&lt;br /&gt;
&lt;br /&gt;
Your source code is now patched!&lt;br /&gt;
&lt;br /&gt;
NOTE: If you want to revert to the original version you can use the -R option with the patch command or alternatively you can just delete the changed files and just do an SVN update to get the original/latest SVN version back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Creating .diff files===&lt;br /&gt;
&lt;br /&gt;
When changing the source code it&#039;s possible to create a &amp;quot;difference&amp;quot; file against the latest source.&lt;br /&gt;
&lt;br /&gt;
In this example the file /modules/codec/x264.c was changed (the part &amp;quot;in kbit/s&amp;quot; was added to a description).&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate folder where a changed file is.&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/modules/codec (example)&lt;br /&gt;
&lt;br /&gt;
Output the svn diff command to a file:&lt;br /&gt;
&lt;br /&gt;
 svn diff -u &amp;gt; x264-patch.diff&lt;br /&gt;
&lt;br /&gt;
The current folder now holds a x264-patch.diff file containing the following:&lt;br /&gt;
&lt;br /&gt;
 Index: x264.c&lt;br /&gt;
 ===================================================================&lt;br /&gt;
 --- x264.c      (revision 15921)&lt;br /&gt;
 +++ x264.c      (working copy)&lt;br /&gt;
 @@ -131,7 +131,7 @@&lt;br /&gt;
  #define RATETOL_LONGTEXT N_( &amp;quot;Allowed variance in average. &amp;quot; \&lt;br /&gt;
      &amp;quot;bitrate (in kbits/s).&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 -#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate&amp;quot;)&lt;br /&gt;
 +#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate in kbit/s&amp;quot;)&lt;br /&gt;
  #define VBV_MAXRATE_LONGTEXT N_( &amp;quot;Sets a maximum local bitrate in kbits/s.&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
  #define VBV_BUFSIZE_TEXT N_(&amp;quot;VBV buffer&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
NOTE: In Windows you should open this file with something else than notepad (so wordpad or some more advanced editor). This has to do with the end of line markers that are present in the file since it was made in a Linux environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reverting to older SVN source code==&lt;br /&gt;
&lt;br /&gt;
If for some reason you want to revert to (use) an older version (let&#039;s say you are using  revision 15916 of the VLC source code but would like to test with 15915) then use the svn &amp;quot;update&amp;quot; function from within Cygwin but use an older revision number.&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell...&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 svn up -r 15915&lt;br /&gt;
&lt;br /&gt;
And you&#039;ll see something like this:&lt;br /&gt;
&lt;br /&gt;
 U    src\input\input.c&lt;br /&gt;
 Updated to revision 15915.&lt;br /&gt;
&lt;br /&gt;
The following command will show the version used:&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
=FAQ/Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
This chapter mentions some frequently encountered problems during compile and installation procedures and possible fixes or workarounds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Making all in &amp;lt;folder&amp;gt;&amp;quot; takes forever with 0% CPU usage==&lt;br /&gt;
&lt;br /&gt;
Make seems to &amp;quot;stall&amp;quot; at a certain point (no CPU usage) and nothing seems to happen anymore:&lt;br /&gt;
&lt;br /&gt;
 Making all in mpeg&lt;br /&gt;
 make[5]: Entering directory `/home/Administrator/vlc-trunk/modules/mux/mpeg&#039;&lt;br /&gt;
&lt;br /&gt;
NOTE: This problem seems to occur on dual CPU (or HyperThreading enabled)&lt;br /&gt;
systems.&lt;br /&gt;
&lt;br /&gt;
FIX: in the vlc-trunk do a ./toolbox --distclean before doing a ../configure-vlc.sh and try again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: C compiler cannot create executables==&lt;br /&gt;
&lt;br /&gt;
The ../configure-vlc.sh gives the following error:&lt;br /&gt;
&lt;br /&gt;
 checking for gcc... gcc -mno-cygwin&lt;br /&gt;
 checking for C compiler default output file name... configure: error: C compiler&lt;br /&gt;
 cannot create executables&lt;br /&gt;
&lt;br /&gt;
FIX: it&#039;s very likely you are using the gcc 3.3 version but with the wrong mingw packages (the ones that come with 3.4). Reinstall the following gcc-mingw packages but make sure to use the older version!!!&lt;br /&gt;
&lt;br /&gt;
20050522-1      gcc-mingw-core  autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
20050522-1      gcc-mingw-g++ 	autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
&lt;br /&gt;
You can check what version of gcc you are version in the Cygwin shell by using the following command:&lt;br /&gt;
&lt;br /&gt;
 gcc --version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==collect2: ld returned 1 exit status (libebml)==&lt;br /&gt;
&lt;br /&gt;
A make fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_allo&lt;br /&gt;
 c&amp;lt;std::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::_&lt;br /&gt;
 _default_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::deallocate(std::basic_string&amp;lt;char, std::char&lt;br /&gt;
 _traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;*, unsigned int)]+0x1d): undefined referenc&lt;br /&gt;
 e to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc&amp;lt;std:&lt;br /&gt;
 :basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::__defau&lt;br /&gt;
 lt_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference&lt;br /&gt;
  to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[st&lt;br /&gt;
 d::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;true, 0&amp;gt;&lt;br /&gt;
 &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_alloc_t&lt;br /&gt;
 emplate&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEP&lt;br /&gt;
 S2_j[std::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;tr&lt;br /&gt;
 ue, 0&amp;gt; &amp;gt;::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined ref&lt;br /&gt;
 erence to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned in&lt;br /&gt;
 t)&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This problem is because libEbml is a C++ lib and it doesn&#039;t seem to link with gcc 3.4.&lt;br /&gt;
&lt;br /&gt;
FIX: Use gcc 3.3 with the according 3.3 Win32 &amp;quot;contrib&amp;quot; package version or use a Win32 &amp;quot;contrib&amp;quot; package for 3.4 (or even better try compiling it yourself).&lt;br /&gt;
&lt;br /&gt;
WORKAROUND for gcc 3.4: Use --disable-mkv in configure-vlc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==zip: command not found==&lt;br /&gt;
&lt;br /&gt;
A make package fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 zip -r vlc-0.8.4-svn-win32.zip vlc-0.8.4-svn&lt;br /&gt;
 /bin/bash: line 1: zip: command not found&lt;br /&gt;
 make: *** [package-win32-base-zip] Error 127&lt;br /&gt;
&lt;br /&gt;
FIX: Doh! forgot to install the zip package in Cygwin :P&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==vlc.exe: Permission denied==&lt;br /&gt;
&lt;br /&gt;
A make finished successfully and produced vlc.exe, but running the executable returns the following:&lt;br /&gt;
&lt;br /&gt;
 bash: ./vlc.exe: Permission denied&lt;br /&gt;
&lt;br /&gt;
The permissions on both vlc.exe &amp;amp; vlc.exe.manifest must be set to executable. &lt;br /&gt;
&lt;br /&gt;
FIX: Type the following:&lt;br /&gt;
 &lt;br /&gt;
 chmod 755 vlc.exe vlc.exe.manifest&lt;br /&gt;
&lt;br /&gt;
==error: parse error before &#039;(&#039; token==&lt;br /&gt;
&lt;br /&gt;
A make (compile) of FFmpeg results in the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/include/sys/unistd.h:203: error: parse error before &#039;(&#039; token&lt;br /&gt;
 make[1]: *** [ffm.o] Error 1&lt;br /&gt;
&lt;br /&gt;
It&#039;s very likely you are usix the POSIX emulater which you shouldn&#039;t...&lt;br /&gt;
&lt;br /&gt;
FIX: compile with the option &lt;br /&gt;
&lt;br /&gt;
 -mno-cygwin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: invalid conversion from `const void*&#039; to `void*&#039;==&lt;br /&gt;
&lt;br /&gt;
 src/theme_loader.cpp: In function `int gzwrite_frontend(int, const void*, size_t)&#039;:&lt;br /&gt;
 src/theme_loader.cpp:599: error: invalid conversion from `const void*&#039; to `void*&#039;&lt;br /&gt;
 src/theme_loader.cpp:599: error:   initializing argument 2 of `int gzwrite(void*,&lt;br /&gt;
 void*, unsigned int)&#039;&lt;br /&gt;
 make[6]: *** [libskins2_plugin_a-theme_loader.o] Error 1&lt;br /&gt;
&lt;br /&gt;
FIX: This is related to a problem with the zlib library, updating to at least 1.2.2-1 but preferably 1.2.3 or newer is required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: cannot convert `const wxChar*&#039; to `const char*==&lt;br /&gt;
&lt;br /&gt;
 if g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/&lt;br /&gt;
 usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include&lt;br /&gt;
 `top_builddir=&amp;quot;../../..&amp;quot; ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign&lt;br /&gt;
 -compare -Wsign-compare -Wall  -mms-bitfields -pipe -MT libwxwidgets_plugin_a-wx&lt;br /&gt;
 widgets.o -MD -MP -MF &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; -c -o libwxwid&lt;br /&gt;
 gets_plugin_a-wxwidgets.o `test -f &#039;wxwidgets.cpp&#039; || echo &#039;./&#039;`wxwidgets.cpp; \&lt;br /&gt;
 then mv -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; &amp;quot;.deps/libwxwidgets_plugi&lt;br /&gt;
 n_a-wxwidgets.Po&amp;quot;; else rm -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot;; exit&lt;br /&gt;
 1; fi&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/debug.h:22,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/defs.h:452,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wxprec.h:13,&lt;br /&gt;
                  from wxwidgets.h:40,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h: In function `size_t wxStrlen(const wxChar&lt;br /&gt;
 *)&#039;:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h:759: error: cannot convert `const wxChar*&#039;&lt;br /&gt;
  to `const char*&#039; for argument `1&#039; to `size_t strlen(const char*)&#039;&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/memory.h:20,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/object.h:25,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wx.h:16,&lt;br /&gt;
                  from wxwidgets.h:41,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/string.h: In constructor `wxString::wxString(const&lt;br /&gt;
 wxChar*)&#039;:&lt;br /&gt;
&lt;br /&gt;
FIX: update wxwidgets or try a different or newer Win32 &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_av_parser_change&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ffmpeg.o: In function `output_packet&#039;:&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1414: undefined reference to `_av_parser_change&#039;&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1415: undefined reference to `_av_destruct_packet&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make: *** [ffmpeg_g.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This is a possible conflict when you use normal configure-ffmpeg (uses /usr/win32&lt;br /&gt;
contrib) instead of configure-ffmpeg-svn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_pp_get_context&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Init&lt;br /&gt;
 Postproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:164: undefined&lt;br /&gt;
 reference to `_pp_get_context&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `PPQC&lt;br /&gt;
 allback&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:244: undefined&lt;br /&gt;
 reference to `_pp_get_mode_by_name_and_quality&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Post&lt;br /&gt;
 procPict__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:191: undefined&lt;br /&gt;
 reference to `_pp_postprocess&#039;&lt;br /&gt;
 $&lt;br /&gt;
 ePostproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:209: undefined&lt;br /&gt;
 reference to `_pp_free_mode&#039;&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:210: undefined&lt;br /&gt;
 reference to `_pp_free_context&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
 make[2]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make[1]: *** [all-recursive] Error 1&lt;br /&gt;
 make[1]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
FFmpeg was not compiled with post processing support. To do so the following options need to be added to the configure lines for FFmpeg:&lt;br /&gt;
&lt;br /&gt;
 --enable-pp --enable-gpl&lt;br /&gt;
&lt;br /&gt;
Postprocessing code is under GPL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token==&lt;br /&gt;
&lt;br /&gt;
 In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32&lt;br /&gt;
 api/windows.h:52,&lt;br /&gt;
                  from ../../../include/vlc_common.h:459,&lt;br /&gt;
                  from ../../../include/vlc/vlc.h:153,&lt;br /&gt;
                  from dshow.cpp:31:&lt;br /&gt;
 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: warn&lt;br /&gt;
 ing: this is the location of the previous definition&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:45,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/strmif.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dsound.h:13,&lt;br /&gt;
                  from /usr/win32/include/amaudio.h:18,&lt;br /&gt;
                  from /usr/win32/include/dshow.h:47,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:22: warning: ignoring #pragma warning&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:48,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/control.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 dshow.cpp: In function `int CommonOpen(vlc_object_t*, access_sys_t*, vlc_bool_t)&lt;br /&gt;
 &#039;:&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;=&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:485: error: expected `;&#039; before &amp;quot;IAMCrossbar&amp;quot;&lt;br /&gt;
 dshow.cpp:491: error: `pXbar&#039; undeclared (first use this function)&lt;br /&gt;
 dshow.cpp:491: error: (Each undeclared identifier is reported only once for each&lt;br /&gt;
 function it appears in.)&lt;br /&gt;
 make[6]: *** [libdshow_plugin_a-dshow.o] Error 1&lt;br /&gt;
 make[6]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[5]: *** [all-modules] Error 1&lt;br /&gt;
 make[5]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[4]: *** [all-recursive] Error 1&lt;br /&gt;
 make[4]: Leaving directory `/home/Administrator/vlc-trunk/modules/access&#039;&lt;br /&gt;
 make[3]: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
Basically in case of conflict svn adds &amp;quot;&amp;lt;&amp;lt;&amp;lt; mine&amp;quot; and &amp;quot;=======&amp;quot; and &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; r1242&amp;quot; which makes gcc complain.&lt;br /&gt;
&lt;br /&gt;
FIX: revert the offending file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: Could not find ffmpeg on your system==&lt;br /&gt;
&lt;br /&gt;
 configure: error: Could not find ffmpeg on your system: you may get it from&lt;br /&gt;
 http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use&lt;br /&gt;
 --disable-ffmpeg to disable the ffmpeg plugins.&lt;br /&gt;
 make: *** [config.status] Error 1&lt;br /&gt;
&lt;br /&gt;
This can happen when you do a make without doing a configure and the configure.ac file in the source code recently updated.&lt;br /&gt;
&lt;br /&gt;
FIX: do a full configure (using ../configure-vlc.sh) and then run the make process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Objective C source seen but `OBJC&#039; is undefined==&lt;br /&gt;
&lt;br /&gt;
The configure process stops halfway.&lt;br /&gt;
&lt;br /&gt;
 + aclocal-1.9 -I m4&lt;br /&gt;
 + autoconf&lt;br /&gt;
 + autoheader&lt;br /&gt;
 + automake-1.9 --add-missing --copy -Wall&lt;br /&gt;
 configure.ac: installing `autotools/install-sh&#039;&lt;br /&gt;
 configure.ac: installing `autotools/missing&#039;&lt;br /&gt;
 activex/Makefile.am:143: shell $(VLC_CONFIG: non-POSIX variable name&lt;br /&gt;
 activex/Makefile.am:143: (probably a GNU make extension)&lt;br /&gt;
 activex/Makefile.am: installing `autotools/compile&#039;&lt;br /&gt;
 activex/Makefile.am: installing `autotools/depcomp&#039;&lt;br /&gt;
 modules/gui/macosx/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 modules/misc/testsuite/Makefile.am: Objective C source seen but `OBJC&#039; is undefi&lt;br /&gt;
 ned&lt;br /&gt;
 src/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 Makefile.am:282: user target `vlc$(EXEEXT)&#039; defined here...&lt;br /&gt;
 /usr/share/automake-1.9/am/program.am: ... overrides Automake target `vlc$(EXEEX&lt;br /&gt;
 T)&#039; defined here&lt;br /&gt;
 Makefile.am:230:   while processing program `vlc&#039;&lt;br /&gt;
 make: *** No targets specified and no makefile found.  Stop.&lt;br /&gt;
 &lt;br /&gt;
This problem is related to a warning earlier on and only occured in a few revisions where a built-in workaround wasn&#039;t working properly:&lt;br /&gt;
&lt;br /&gt;
 + echo &#039;Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&#039;&lt;br /&gt;
 Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&lt;br /&gt;
&lt;br /&gt;
FIX: update autoconf to 2.60 or newer. If Cygwin doesn&#039;t provide this version yet then build it yourself from extras/contrib.&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/extras/contrib&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
 cd src&lt;br /&gt;
&lt;br /&gt;
 make .autoconf&lt;br /&gt;
&lt;br /&gt;
There should now be compiled autoconf version (probably 2.60 or newer) in extras/contrib that the bootstrap process will use.&lt;br /&gt;
&lt;br /&gt;
Now start the whole &amp;quot;Compile VLC&amp;quot; process from the start again.&lt;br /&gt;
&lt;br /&gt;
==Error: cannot create temporary file for diversion: Permission denied==&lt;br /&gt;
&lt;br /&gt;
If the above error appears, it might mean you don&#039;t have the TMPDIR defined in cygwin. You will need to define it and have its value point to your temporary directory.&lt;br /&gt;
&lt;br /&gt;
=Version=&lt;br /&gt;
&lt;br /&gt;
20050627 Initial version&lt;br /&gt;
&lt;br /&gt;
20050628 Updated some more exceptions&lt;br /&gt;
&lt;br /&gt;
20050628 Some info added about FFmpeg compiling with AMR&lt;br /&gt;
&lt;br /&gt;
20050629 Finalized FFmpeg compiling&lt;br /&gt;
&lt;br /&gt;
20050630 Cross-compiling&lt;br /&gt;
&lt;br /&gt;
20050724 Some extra compile explanations&lt;br /&gt;
&lt;br /&gt;
20050726 Removed cross-compiling (was for linux -&amp;gt; win32) Patching source code with .diff files&lt;br /&gt;
&lt;br /&gt;
20050823 Added zlib error&lt;br /&gt;
&lt;br /&gt;
20050923 --enable-sdl --with-sdl-config-path=/usr/win32/bin added to configure. Added debug section&lt;br /&gt;
&lt;br /&gt;
20051102 Changed FFmpeg lib names&lt;br /&gt;
&lt;br /&gt;
20051128 Detailed Cygwin upgrade/downgrade for gcc 3.3. Renamed some update scripts. Added FFmpeg CVS update. --disable-gnomevfs added to configure (only used on linux)&lt;br /&gt;
&lt;br /&gt;
20060121 PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig added to configure&lt;br /&gt;
&lt;br /&gt;
20060128 Added curl and libtool to Cygwin for those that want to be able to build extras/contrib themselves&lt;br /&gt;
&lt;br /&gt;
20060217 Added make install-libs install-headers to FFmpeg compile&lt;br /&gt;
&lt;br /&gt;
20060222 Remark about missing &amp;quot;gettext&amp;quot; libs for Cygwin during install&lt;br /&gt;
&lt;br /&gt;
20060225 ./bootstrap: you need libtool&lt;br /&gt;
&lt;br /&gt;
20060618 Updated GCC to 3.4 version and added FFmpeg SVN and DTS support&lt;br /&gt;
&lt;br /&gt;
20060805 Added note about using older binutils and gdb for Cygwin!&lt;br /&gt;
&lt;br /&gt;
20060915 Added note about updating autoconf from extras/contrib for an OBJC problem during configure&lt;br /&gt;
&lt;br /&gt;
20061108 Added note this document is no longer usable since Cygwin has been unusable probably related to some bash/dos2unix change&lt;br /&gt;
&lt;br /&gt;
20070612 Added note about --enable-dca&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10810</id>
		<title>Win32CompileCygwinOld</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Win32CompileCygwinOld&amp;diff=10810"/>
		<updated>2008-03-01T19:45:36Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* SVN */   Add GIT usage notes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Cygwin environment for Windows from http://developers.videolan.org/vlc/cygwin-compile.txt&lt;br /&gt;
&lt;br /&gt;
Originally based on &amp;quot;Win32 Cygwin Environment&amp;quot; Rev. B (20041003) by Mark Moriarty and &amp;quot;Win32 Compile HOWTO&amp;quot; (20050513) by Gildas Bazin and Olivier Teulière.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Introduction=&lt;br /&gt;
&lt;br /&gt;
This is a guide for Windows users with a step-by-step instruction to download, install and configure the following components on your system:&lt;br /&gt;
&lt;br /&gt;
* [http://www.cygwin.com &#039;&#039;&#039;Cygwin&#039;&#039;&#039;]:  Linux-like environment for Windows used for compilation of the VLC source code&lt;br /&gt;
&lt;br /&gt;
* [http://download.videolan.org/pub/videolan/testing/win32/ &#039;&#039;&#039;Win32 contrib package&#039;&#039;&#039;]:  Precompiled library package (with DTS support).&lt;br /&gt;
&lt;br /&gt;
Optionally updated libraries:&lt;br /&gt;
&lt;br /&gt;
* [http://ffmpeg.mplayerhq.hu &#039;&#039;&#039;FFmpeg&#039;&#039;&#039;] (with AMR support).&lt;br /&gt;
&lt;br /&gt;
* [http://developers.videolan.org/x264.html &#039;&#039;&#039;x264&#039;&#039;&#039;] used for encoding H.264/AVC video.&lt;br /&gt;
&lt;br /&gt;
* [http://www.live555.com &#039;&#039;&#039;live555&#039;&#039;&#039;] (formerly known as live.com) for RTP/RTCP/RTSP/SIP multimedia streaming.&lt;br /&gt;
&lt;br /&gt;
The best approach to start getting comfortable with building VLC from source is to use the precompiled library package and not yet the optionally updated ones.&lt;br /&gt;
&lt;br /&gt;
Start off by creating a download folder on your hard drive where you can put all the installation files:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads (example)&lt;br /&gt;
&lt;br /&gt;
For further reference, the assumption is made that the local user will be &#039;Administrator&#039;.&lt;br /&gt;
&lt;br /&gt;
=Cygwin=&lt;br /&gt;
&lt;br /&gt;
More info about Cygwin can be found at http://www.cygwin.com or http://sourceware.org/cygwin&lt;br /&gt;
&lt;br /&gt;
Download the latest [http://www.cygwin.com/cygwin/setup.exe Cygwin setup] (it&#039;s at the install or update now icon on the site) and save it in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Selecting Cygwin packages to install==&lt;br /&gt;
&lt;br /&gt;
Run the setup program with the following options:&lt;br /&gt;
&lt;br /&gt;
Installation type : Install from Internet (default)&lt;br /&gt;
&lt;br /&gt;
Root directory : C:\cygwin (default)&lt;br /&gt;
&lt;br /&gt;
Local Package directory : C:\Downloads\cygwin (your download location)&lt;br /&gt;
&lt;br /&gt;
Internet Connection : Direct Connection (preferred, if it fails try another)&lt;br /&gt;
&lt;br /&gt;
Download Site : Choose a download site closest to you (FTP preferred)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
At the &amp;quot;Select Packages&amp;quot; section of the installation process you can select packages by clicking the button with the rotating 2 arrows. (This is under the &amp;quot;New&amp;quot; section). It shows &amp;quot;Skip&amp;quot; next to the button if the package isn&#039;t selected yet.&lt;br /&gt;
&lt;br /&gt;
Clicking the button a few times will rotate through the possible package versions including &amp;quot;Skip&amp;quot; (meaning do not install or remove if installed) and &amp;quot;Keep&amp;quot; (meaning keep using the current installed version). If a package was already installed it will also show the &amp;quot;Current&amp;quot; version just to the left of it.&lt;br /&gt;
&lt;br /&gt;
Select the following packages (some others will automatically be selected as well):&lt;br /&gt;
&lt;br /&gt;
 Archive&lt;br /&gt;
   5.52-2       unzip (recommended: goes hand in hand with zip utility)&lt;br /&gt;
   2.23-2       zip (required: to make self contained zip packages)&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   2.1          automake (at least 1.5 is required)&lt;br /&gt;
   20060817-1   binutils (autoselected)&lt;br /&gt;
   1.11.22-1    cvs (required for autopoint)&lt;br /&gt;
   3.4.4-3      gcc-core (autoselected)&lt;br /&gt;
   3.4.4-3      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   20050522-1   gcc-mingw-core (autoselected)&lt;br /&gt;
   20050522-1   gcc-mingw-g++ (autoselected)&lt;br /&gt;
   &#039;&#039;&#039;20041228-3   gdb&#039;&#039;&#039; (optional: for debugging purposes)&lt;br /&gt;
   0.15-1       gettext (autoselected)&lt;br /&gt;
   0.15-1       gettext-devel&lt;br /&gt;
   1.5.23a-2    libtool1.5&lt;br /&gt;
   3.81-1       make&lt;br /&gt;
   3.11-1       mingw-runtime (autoselected)&lt;br /&gt;
   0.98.39-1    nasm (optional: for compiling x264 encoder)	&lt;br /&gt;
   0.2.31-1     patchutils (optional: for patching source files with .diff files)&lt;br /&gt;
   0.21-1       pkgconfig (recommended: otherwise ./configure will complain about accuracy)&lt;br /&gt;
   1.4.2-1      subversion&lt;br /&gt;
&lt;br /&gt;
 Lib&lt;br /&gt;
   ?.?          libgcrypt&lt;br /&gt;
&lt;br /&gt;
 Web&lt;br /&gt;
   7.15.4-1     curl (optional: for building extras/contrib)&lt;br /&gt;
   1.10.2-2     wget (optional: for building extras/contrib)&lt;br /&gt;
&lt;br /&gt;
The package version numbers happen to be the representation of what was the most current version available at the time this article was written &#039;&#039;&#039;with the exception of gdb which has to be downgraded from at least 20060706-2 to 20041228-3 for proper usage&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
If you run into problems of missing packages during install (particularly gettext: cyggettextsrc-0-14-1.dll not found) then rerun the setup program and try selecting another Download Site from the mirror list.&lt;br /&gt;
&lt;br /&gt;
NOTE: Whenever new packages are installed or updated through the Cygwin installer, make sure not to update the packages by keeping the old versions (using the &amp;quot;Keep&amp;quot; option).&lt;br /&gt;
&lt;br /&gt;
==Installing older GCC 3.3 version==&lt;br /&gt;
&lt;br /&gt;
The gcc version used for compilation should match the version specified in the &amp;quot;contrib&amp;quot; package, at present gcc-3.4.5-only.&lt;br /&gt;
&lt;br /&gt;
So the preferred version to use is GCC 3.4 but for historical reasons this section descibes what version to use together with an older gcc-3.3.1-only &amp;quot;contrib&amp;quot; package. The 3.3.1 version is not available in Cygwin but 3.3.3-3 (still) is.&lt;br /&gt;
&lt;br /&gt;
The only compatibility issue with using GCC 3.4 and the precompiled 3.3.1 &amp;quot;contrib&amp;quot; package is that it doesn&#039;t support the compiling of the matroska container .mkv so that leaves 2 options; use gcc 3.3.3-3 with a 3.3.1-only &amp;quot;contrib&amp;quot; or gcc 3.4 (or newer) but disable matroska support.&lt;br /&gt;
&lt;br /&gt;
The second option requires you to add the following line to the configure options:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
If you use the older gcc-g++ and gcc-core versions you have to change the gcc-mingw-core and gcc-mingw-g++ back to the older versions as well.&lt;br /&gt;
&lt;br /&gt;
Select the following package versions instead:&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-core&lt;br /&gt;
   &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;      gcc-g++&lt;br /&gt;
   20040810-1   gcc-mingw&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-core&lt;br /&gt;
   &#039;&#039;&#039;20040810-1&#039;&#039;&#039;   gcc-mingw-g++&lt;br /&gt;
&lt;br /&gt;
NOTE: The gcc-3.4.5-only &amp;quot;contrib&amp;quot; package should compile just fine with GCC 3.3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Cygwin environment==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin from the icon on your desktop. If it runs for the first time it will automatically create a home\&amp;quot;username&amp;quot; folder in the Cygwin environment; user being the currently logged on Windows user. Assuming this is the &#039;Administrator&#039; user it will create the following folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: On your desktop, you can rightclick the Cygwin icon and (in the Options field of the Cygwin Properties) set the Command history Buffer size to as large as possible: 999. This setting will make it possible to scroll back further in the Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=VLC source code=&lt;br /&gt;
&lt;br /&gt;
== SVN ==&lt;br /&gt;
The very latest VLC source code can be obtained through a tool called SVN (Subversion). The Cygwin package we&#039;re about to install comes with an internal subversion component. Using this one is the preferred method.&lt;br /&gt;
&lt;br /&gt;
Read the [[SVN]] page.&lt;br /&gt;
&lt;br /&gt;
== GIT ==&lt;br /&gt;
As of March 2008, VLC has switched to a GIT repository.&lt;br /&gt;
If you only need read access, you can continue to use SVN to obtain the latest VLC trunk.&lt;br /&gt;
If you need write (commit) access, you need the Cygwin ssh (Secure Shell), procps, and GIT packages.&lt;br /&gt;
To see if you have them, in a bash shell enter:&lt;br /&gt;
   ssh --help&lt;br /&gt;
   git --help&lt;br /&gt;
   pskill --help&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t have them, run Cygwin&#039;s setup.exe, and download/install them.&lt;br /&gt;
For secure shell, generate keys and send the public key (e.g., the file cygwin/home/your_username/.ssh/id_rsa.pub) to the proper vlc admin (check in on IRC for more information).&lt;br /&gt;
Then, update your Cygwin.bat file, so it looks like:&lt;br /&gt;
   @echo off&lt;br /&gt;
   set CYGWIN=binmode&lt;br /&gt;
   C:&lt;br /&gt;
   chdir C:\cygwin\bin&lt;br /&gt;
   c:\cygwin\bin\pkill ssh-agent&lt;br /&gt;
   del c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   c:\cygwin\bin\ssh-agent &amp;gt; c:\cygwin\etc\profile.d\ssh-agent.sh&lt;br /&gt;
   bash --login -i &lt;br /&gt;
(Change the &amp;quot;C:\&amp;quot; as appropriate)&lt;br /&gt;
&lt;br /&gt;
And update your cygwin\etc\profile file, adding the following at the bottom:&lt;br /&gt;
  ssh-add&lt;br /&gt;
&lt;br /&gt;
The above changes will kill any pre-existing ssh-agent, start a new instance of it, and automatically prompt you for your ssh passphrase when the bash shell opens.&lt;br /&gt;
&lt;br /&gt;
For general VLC git usage, see: http://wiki.videolan.org/Git#Basic_Git_usage&lt;br /&gt;
&lt;br /&gt;
git-gui appears to work well under Cygwin, provides a fairly simple UI.&lt;br /&gt;
&lt;br /&gt;
== Snapshot ==&lt;br /&gt;
Another way of obtaining source code is by downloading a daily code &amp;quot;snapshot&amp;quot; from the following location:&lt;br /&gt;
&lt;br /&gt;
http://nightlies.videolan.org/build/source&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 vlc-snapshot-20080112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
= External libraries to the source code=&lt;br /&gt;
&lt;br /&gt;
VLC depends on other libraries (code) to provide some features like AC3 audio or MPEG-4 video encoding/decoding etc.&lt;br /&gt;
&lt;br /&gt;
Depending on your needs you will have to install and compile some or all of these external libraries. &lt;br /&gt;
&lt;br /&gt;
== Win32 &amp;quot;contrib&amp;quot; package ==&lt;br /&gt;
&lt;br /&gt;
A package with most of these libraries already compiled so it&#039;s actually really easy to compile a full-featured version of vlc can be found here:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
Download the latest version of a &amp;quot;contrib&amp;quot; package for win32:&lt;br /&gt;
&lt;br /&gt;
 contrib-20060730-win32-bin-gcc-3.4.5-only.tar.bz2 (example)&lt;br /&gt;
&lt;br /&gt;
It&#039;s a good idea to check the INSTALL.Win32 file in the VLC source directory for the appropriate contrib download file.&lt;br /&gt;
&lt;br /&gt;
Save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\contrib (example)&lt;br /&gt;
&lt;br /&gt;
Check if the file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simply rename the file back to .tar.bz2&lt;br /&gt;
&lt;br /&gt;
Also remember the &amp;quot;gcc-3.4.5&amp;quot; part in the &amp;quot;contrib&amp;quot; package filename since it relates to the GCC version that needs to be installed in Cygwin lateron!&lt;br /&gt;
&lt;br /&gt;
== Adding additional or updated libraries to the source (optional) ==&lt;br /&gt;
&lt;br /&gt;
Most of them can be found here (source code):&lt;br /&gt;
&lt;br /&gt;
 http://download.videolan.org/pub/testing/contrib/&lt;br /&gt;
&lt;br /&gt;
It is advised to not recompiled those libraries.&lt;br /&gt;
&lt;br /&gt;
Updated libraries for FFmpeg and x264 are available through SVN (which is discussed in a later stage of this guide).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===live555 &amp;quot;snapshot&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
More info about live555 can be found at:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com&lt;br /&gt;
&lt;br /&gt;
The project source code is available here:&lt;br /&gt;
&lt;br /&gt;
http://live555.com/liveMedia/public/&lt;br /&gt;
&lt;br /&gt;
Download the latest snapshot:&lt;br /&gt;
&lt;br /&gt;
 live.2007.01.11.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: live555-latest.tar.gz is also the latest version but keeping the date in the filename makes it easier to reference.&lt;br /&gt;
&lt;br /&gt;
and save it into a subfolder in your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
Check if the downloaded file has not been renamed by Internet Explorer in your download folder to something with the extension .tar.tar and if so then simple rename the files back to .tar.gz&lt;br /&gt;
&lt;br /&gt;
=Getting the latest sources=&lt;br /&gt;
&lt;br /&gt;
In order to have the latest source code you have to download this using SVN.&lt;br /&gt;
&lt;br /&gt;
Create a new folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\scripts (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update script for VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/vlc/trunk vlc-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location with the option &amp;quot;All Files&amp;quot; and not &amp;quot;Text Documents&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 update-vlc.sh (example)&lt;br /&gt;
&lt;br /&gt;
This command will download a complete svn trunk.&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This is for converting the &#039;line endings&#039; made by Windows/DOS (in which the text document was created) to UNIX style.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==SVN update scripts for additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
Updating source code using SVN for additional libraries such as x264 or FFmpeg works the same way.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update scripts for x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.videolan.org/x264/trunk x264-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-x264.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix update-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===SVN update script for FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following line:&lt;br /&gt;
&lt;br /&gt;
 svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg-trunk&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
Copy the script file into your Cygwin &amp;quot;home directory&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix update-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Checking out&amp;quot; the latest source code from SVN==&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 ./update-vlc.sh&lt;br /&gt;
&lt;br /&gt;
This will download the current &amp;quot;subversion trunk&amp;quot; (latest code) into your home directory into the directory specified in your shell script:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\vlc-trunk (example)&lt;br /&gt;
&lt;br /&gt;
At the end of the command it will show something like &amp;quot;Checked out revision 18561&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The vlc-trunk folder will get over-written/updated the next time you run the command. If you want to save a so called &amp;quot;snapshot&amp;quot; of the existing vlc-trunk, rename or copy the current directory into something desired (like vlc-trunk-20070112).&lt;br /&gt;
&lt;br /&gt;
NOTE: Updating the source code for additional libraries such as x264, FFmpeg etc. is done by running their corresponding update scripts.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the source from a &amp;quot;snapshot&amp;quot;==&lt;br /&gt;
&lt;br /&gt;
If you are not using SVN to obtain the latest source code but are using a daily &amp;quot;snapshot&amp;quot; then copy that source package from your download/install location to the Cygwin home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf vlc-snapshot-20070112.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 vlc-0.9.0-svn (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Installing the Win32 &amp;quot;contrib&amp;quot; package in Cygwin=&lt;br /&gt;
&lt;br /&gt;
First the additional libraries have to be &amp;quot;installed&amp;quot; in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Extracting the Win32 &amp;quot;contrib&amp;quot; package==&lt;br /&gt;
&lt;br /&gt;
Copy the &amp;quot;contrib&amp;quot; package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xjvf contrib-20061202-win32-bin-gcc-3.4.5-only.tar.bz2 -C / (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the &amp;quot;contrib&amp;quot; file and DON&#039;T FORGET THE / (slash)&lt;br /&gt;
at the end.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into usr/win32 folder within your Cygwin environment.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
==Keeping the Win32 &amp;quot;contrib&amp;quot; package up-to-date==&lt;br /&gt;
&lt;br /&gt;
For maintenance purposes periodically check:&lt;br /&gt;
&lt;br /&gt;
http://download.videolan.org/pub/testing/win32/&lt;br /&gt;
&lt;br /&gt;
to see if a newer &amp;quot;contrib&amp;quot; is available. If that is the case you should DELETE the existing directory structure which is for the precompiled &amp;quot;contrib&amp;quot; package:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32 (example)&lt;br /&gt;
&lt;br /&gt;
Download the newer file and follow the installation instructions the same as before so you will end up with the most up-to-date version.&lt;br /&gt;
&lt;br /&gt;
NOTE: Make sure to DELETE your old version instead of extracting a new version on top of it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Configure scripts=&lt;br /&gt;
&lt;br /&gt;
In order to make our lives just a bit easier the following section describes what commandline options should be used for compiling and those commands will then be put into a &amp;quot;script&amp;quot; that can be executed (rather than having to copy and paste all the time).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Configure script for compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
  CONTRIB_TREE=/usr/win32&lt;br /&gt;
  PATH=${CONTRIB_TREE}/bin:$PATH \&lt;br /&gt;
  ./bootstrap &amp;amp;&amp;amp; \&lt;br /&gt;
  CPPFLAGS=&amp;quot;-I${CONTRIB_TREE}/include -I${CONTRIB_TREE}/include/ebml&amp;quot; \&lt;br /&gt;
  LDFLAGS=-L${CONTRIB_TREE}/lib \&lt;br /&gt;
  PKG_CONFIG_LIBDIR=${CONTRIB_TREE}/lib/pkgconfig \&lt;br /&gt;
  CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot; \&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --host=i686-pc-mingw32 \&lt;br /&gt;
      --enable-sdl --with-sdl-config-path=${CONTRIB_TREE}/bin --disable-gtk \&lt;br /&gt;
      --enable-nls \&lt;br /&gt;
      --enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \&lt;br /&gt;
      --with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \&lt;br /&gt;
      --with-wx-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-freetype-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-fribidi-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --enable-live555 --with-live555-tree=${CONTRIB_TREE}/live.com \&lt;br /&gt;
      --enable-caca --with-caca-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-xml2-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --with-dvdnav-config-path=${CONTRIB_TREE}/bin \&lt;br /&gt;
      --disable-cddax --disable-vcdx --enable-goom \&lt;br /&gt;
      --enable-twolame --enable-dvdread \&lt;br /&gt;
      --disable-gnomevfs \&lt;br /&gt;
      --enable-dts \&lt;br /&gt;
      --disable-optimizations \&lt;br /&gt;
      --enable-debug \&lt;br /&gt;
&lt;br /&gt;
NOTE: The following option is added for DTS Coherent Acoustics streams decoding support. The latest &amp;quot;contrib&amp;quot; package should already contain libdca (formerly known as libdts) needed to compile this but at present it&#039;s disabled by default:&lt;br /&gt;
&lt;br /&gt;
 --enable-dts&lt;br /&gt;
&lt;br /&gt;
NOTE: For VLC 0.9.0, replace the previous option by:&lt;br /&gt;
&lt;br /&gt;
 --enable-dca&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options are added for debug purposes and makes the final package a bit larger but the advantage is it&#039;s easier to debug in case of crash reports:&lt;br /&gt;
&lt;br /&gt;
 --disable-optimizations&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
If you want to report a crash bug to the VLC team, it is necessary that you provide a stack backtrace. Unfortunately, Windows automatic crash reporter cannot generate such a backtrace as debug symbols used by GCC compiler aren&#039;t understood by Windows, therefore we suggest that you install Dr. MinGW (http://jrfonseca.dyndns.org/projects/gnu-win32/software/drmingw/) which will extend Windows Just-In-Time Debugger and provide the necessary debug information.&lt;br /&gt;
&lt;br /&gt;
NOTE: The following options is needed for QT4 support:&lt;br /&gt;
&lt;br /&gt;
 --enable-qt4&lt;br /&gt;
&lt;br /&gt;
As of version 0.9.0 VLC will include the QT interface. More information can be found about QT here: http://www.trolltech.com&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;Win32 contrib package&amp;quot; at present only includes the linux equivalents of uic, moc and roc executables which are required for building this interface.&lt;br /&gt;
&lt;br /&gt;
The linues executables have to be &#039;&#039;&#039;deleted&#039;&#039;&#039; from the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic (example)&lt;br /&gt;
&lt;br /&gt;
The moc, rcc and uic.exe from the [http://www.trolltech.com/developer/downloads/qt/windows Qt/Windows Open Source Edition] (these can be found in the bin folder after installation) have to be placed in the contrib folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\bin\moc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\rcc.exe (example)&lt;br /&gt;
 C:\cygwin\usr\win32\bin\uic.exe (example)&lt;br /&gt;
 &lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
 &lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===POSIX emulation layer===&lt;br /&gt;
&lt;br /&gt;
VLC can be built with or without the so called POSIX emulation layer. Without is the default and is usually better (and with hasn&#039;t been tested for quite some time). If you do want to use the emulation layer, then just leave out the line with the following options:&lt;br /&gt;
&lt;br /&gt;
 CC=&amp;quot;gcc -mno-cygwin&amp;quot; CXX=&amp;quot;g++ -mno-cygwin&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===VLC optional settings===&lt;br /&gt;
&lt;br /&gt;
The following option should be used when compiling using the GCC 3.4 version with older &amp;quot;contrib&amp;quot; gcc-3.3.1-only:&lt;br /&gt;
&lt;br /&gt;
 --disable-mkv&lt;br /&gt;
&lt;br /&gt;
==Configure scripts for compiling additional libraries (optional)==&lt;br /&gt;
&lt;br /&gt;
The following section is optional. The &amp;quot;contrib&amp;quot; package contains precompiled libraries but it is possible to update some of those libraries to the most current versions such as x264 and FFmpeg.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg with AMR support (optional)===&lt;br /&gt;
&lt;br /&gt;
The AMR (Adaptive Multi Rate) codec is designed to encode and decode speech with acceptable quality for transmission over relatively low bandwidth channels with minimal latency, typically used in mobile networks (3GP) or voice message applications.&lt;br /&gt;
&lt;br /&gt;
The AMR codec is usually referred to as:&lt;br /&gt;
&lt;br /&gt;
 Narrow Band (AMR-NB, fourcc samr) for low quality&lt;br /&gt;
 Wide Band (AMR-WB, fourcc samw) for high quality&lt;br /&gt;
&lt;br /&gt;
The sources for AMR are not compatible with the GPL (General Public License). AMR support is disabled by default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Getting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The AMR reference codecs can be found on the 3GPP site http://www.3gpp.org at the following download location for zipped source code packages:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/&lt;br /&gt;
&lt;br /&gt;
Download the following 3 packages to a subfolder in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src (example)&lt;br /&gt;
&lt;br /&gt;
1.  AMR - latest 26073 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26073-530.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.073 V5.3.0 (2004-03) ANSI-C code for the Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
2.  AMR_FLOAT - latest 26104 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26104-540.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.104 V 5.4.0 (2004-03) ANSI-C code for the Floating-point Adaptive Multi Rate (AMR) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
3.  AMRWB_FLOAT - latest 26204 package:&lt;br /&gt;
&lt;br /&gt;
http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26204-520.zip          (example)&lt;br /&gt;
&lt;br /&gt;
3GPP TS 26.204 V5.2.0 (2003-09) ANSI-C code for Floating-point Adaptive Multi Rate Wideband (AMR-WB) speech codec (Release 5)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Extracting the AMR reference codecs (optional)====&lt;br /&gt;
&lt;br /&gt;
The following AMR reference packages should now be in your download/install location:&lt;br /&gt;
&lt;br /&gt;
 26073-530.zip (example)&lt;br /&gt;
 26104-540.zip (example)&lt;br /&gt;
 26204-520.zip (example)&lt;br /&gt;
&lt;br /&gt;
Using your favourite unzipper (Windows internal extraction wizard, WinZIP, WinRAR etc.) extract the zip files in the into the current folder (Windows wizard would use &amp;quot;Extract All&amp;quot; and WinZIP or WinRAR would use &amp;quot;Extract to &#039;foldername&#039; which is the same as the .zip package name&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
This will create the following folders:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530         &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540         &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520         &lt;br /&gt;
&lt;br /&gt;
Within those folders another .zip package exists. Again unpack those zip files into the current folder:&lt;br /&gt;
&lt;br /&gt;
 26073-530_ANSI_C_source_code      &lt;br /&gt;
 26104-540_ANSI_C_source_code      &lt;br /&gt;
 26204-520_ANSI-C_source_code      &lt;br /&gt;
&lt;br /&gt;
Now each unpacked source code package has an individual folder named &amp;quot;c-code&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Rename the c-code subfolders within each package to amr, amr_float and amrwb_float:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\VLC\src\26073-530\26073-530_ANSI_C_source_code\c-code to amr                  &lt;br /&gt;
 C:\Downloads\VLC\src\26104-540\26104-540_ANSI_C_source_code\c-code to amr_float            &lt;br /&gt;
 C:\Downloads\VLC\src\26204-520\26204-520_ANSI-C_source_code\c-code to amrwb_float          &lt;br /&gt;
&lt;br /&gt;
NOTE: the 530, 540 to 520 order looks a bit confusing but those are actually just version numbers and the folders are shown in the correct alphabetical order.&lt;br /&gt;
&lt;br /&gt;
Copy each of the the following folders (including content, so just select the whole folders itself):&lt;br /&gt;
&lt;br /&gt;
 amr                &lt;br /&gt;
 amr_float         &lt;br /&gt;
 amrwb_float       &lt;br /&gt;
&lt;br /&gt;
to the Cygwin home directory in the libavcodec subfolder of where the FFmpeg package resides:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script with &amp;quot;contrib&amp;quot; package (optional)===&lt;br /&gt;
&lt;br /&gt;
NOTE: This compile script assumes you are also using the same FFmpeg version as is used in the &amp;quot;contrib&amp;quot; package (this is why the cflags and ldflags also point to the win32 folder where the &amp;quot;contrib&amp;quot; package was extracted).&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --extra-cflags=-I/usr/win32/include \&lt;br /&gt;
     --extra-ldflags=-L/usr/win32/lib \&lt;br /&gt;
     --prefix=/usr/win32 \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
    --enable-faac --enable-mp3lame --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: For AMR encoding/decoding support also add the following options:&lt;br /&gt;
&lt;br /&gt;
 --enable-amr_nb --enable-amr_wb&lt;br /&gt;
&lt;br /&gt;
NOTE: VLC uses the x264 lib directly and not through ffmpeg so there is no need to add --enable-x264&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg.sh (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator &lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===FFmpeg configure script for FFmpeg &amp;quot;stand-alone&amp;quot; (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only if FFmpeg compiling is required as a stand-alone package and not in combination with the precompiled &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
In case of failure to compile VLC with different settings (added/updated libraries to the &amp;quot;contrib&amp;quot;) it is advisable to test if FFmpeg does compile OK just in &amp;quot;stand-alone&amp;quot; mode.&lt;br /&gt;
&lt;br /&gt;
Create a new text document at the download location with following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure --enable-mingw32 --enable-memalign-hack \&lt;br /&gt;
     --cc=&amp;quot;gcc -mno-cygwin&amp;quot; \&lt;br /&gt;
     --enable-pp --enable-gpl --log \&lt;br /&gt;
&lt;br /&gt;
NOTE: When including libraries the following options should be added/changed, pointing to the appropriate folder where does libraries are located (for VLC &amp;quot;contrib&amp;quot; that would be /usr/win32 but in other situations it might be the default /usr/local):&lt;br /&gt;
&lt;br /&gt;
    --extra-cflags=-I/usr/local/include \&lt;br /&gt;
    --extra-ldflags=-L/usr/local/lib \&lt;br /&gt;
    --prefix=/usr/local \&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-ffmpeg-svn.sh (example)&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-ffmpeg-svn.sh&lt;br /&gt;
&lt;br /&gt;
==x264 configure script (optional)==&lt;br /&gt;
&lt;br /&gt;
Create a new text document with the following lines:&lt;br /&gt;
&lt;br /&gt;
 ./configure \&lt;br /&gt;
    --prefix=/usr/win32 \&lt;br /&gt;
&lt;br /&gt;
NOTE: for debugging purposes you can add the following option:&lt;br /&gt;
&lt;br /&gt;
 --enable-debug&lt;br /&gt;
&lt;br /&gt;
Save as filename in your &amp;quot;scripts&amp;quot; folder at your download/install location:&lt;br /&gt;
&lt;br /&gt;
 configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
NOTE: Save using &amp;quot;All files&amp;quot; and not &amp;quot;Text files&amp;quot; otherwise Windows might append the extension .txt.&lt;br /&gt;
&lt;br /&gt;
Copy the file into your home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell: &lt;br /&gt;
&lt;br /&gt;
 dos2unix configure-x264.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Compiling source code=&lt;br /&gt;
&lt;br /&gt;
It&#039;s time to start Cygwin again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Additional libraries==&lt;br /&gt;
&lt;br /&gt;
If any updated or additional libraries are used they need to be compiled first. Since some of these are used indirectly through FFmpeg, FFmpeg should be compiled last.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling x264 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for x264 compiling where you want to compile x264 yourself in order to use the latest version.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate x264 folder&lt;br /&gt;
&lt;br /&gt;
 cd x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 ./configure&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled a new library file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\libx264.a (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
Also take the following file .h file:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\x264-trunk\x264.h (example)&lt;br /&gt;
&lt;br /&gt;
Copy this file into the usr/win32/include folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\include (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite the x264.h and libx264.a from the precompiled &amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
===live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required if you want to compile the latest version of live555.&lt;br /&gt;
&lt;br /&gt;
Copy the live555 project package from your download/install location to the home directory:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator&lt;br /&gt;
&lt;br /&gt;
Start Cygwin and enter the following command in your shell:&lt;br /&gt;
&lt;br /&gt;
 tar xvf live.2006.05.17.tar.gz (example)&lt;br /&gt;
&lt;br /&gt;
Replace with your version of the source package.&lt;br /&gt;
&lt;br /&gt;
This will extract the contents of the file into a subfolder within your Cygwin environment with the naming convention something like:&lt;br /&gt;
&lt;br /&gt;
 live (example)&lt;br /&gt;
&lt;br /&gt;
===Compiling FFmpeg (optional)===&lt;br /&gt;
&lt;br /&gt;
This section is only required for FFmpeg compiling.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate FFmpeg folder&lt;br /&gt;
&lt;br /&gt;
 cd ffmpeg-trunk (example)&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
 ../configure-ffmpeg.sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Preparations for AMR support (optional)====&lt;br /&gt;
&lt;br /&gt;
If you included the AMR reference codec sources in FFmpeg you should see that AMR-NB and WB &amp;quot;float support&amp;quot; should be working:&lt;br /&gt;
&lt;br /&gt;
 AMR-NB float support yes&lt;br /&gt;
 AMR-NB fixed support no&lt;br /&gt;
 AMR-WB float support yes&lt;br /&gt;
 AMR-WB IF2 support no&lt;br /&gt;
 network support      no&lt;br /&gt;
 License: GPL&lt;br /&gt;
&lt;br /&gt;
 AMR WB FLOAT NOTICE ! Make sure you have downloaded TS26.204&lt;br /&gt;
 V5.1.0 from http://www.3gpp.org/ftp/Specs/archive/26_series/26.204/26204-510.zip and extracted the source to libavcodec/amrwb_float&lt;br /&gt;
&lt;br /&gt;
 AMR NB FLOAT NOTICE ! Make sure you have downloaded TS26.104 REL-5 V5.1.0 from&lt;br /&gt;
 http://www.3gpp.org/ftp/Specs/archive/26_series/26.104/26104-510.zip and extracted the source to libavcodec/amr_float&lt;br /&gt;
 If you try this on alpha, you may need to change Word32 to int in amr/typedef.h&lt;br /&gt;
&lt;br /&gt;
NOTE: These warnings/notices can be ignored since we are using more recent versions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Building FFmpeg (optional)====&lt;br /&gt;
&lt;br /&gt;
First clean up any leftovers from a previous compile using the following commands:&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 make distclean&lt;br /&gt;
&lt;br /&gt;
(This will haved remove everything except code related stuff, VLC uses a &amp;quot;toolbox&amp;quot; script&lt;br /&gt;
which can clean a bit more).&lt;br /&gt;
&lt;br /&gt;
Now build FFmpeg with the following command:&lt;br /&gt;
&lt;br /&gt;
 make       &lt;br /&gt;
&lt;br /&gt;
If the make proceeded without errors you will have compiled two new &amp;quot;library&amp;quot; files:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavcodec\libavcodec.a (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-trunk\libavformat\libavformat.a (example)&lt;br /&gt;
&lt;br /&gt;
To copy the appropriate libs and header files to the (extracted) contrib&lt;br /&gt;
folder use:&lt;br /&gt;
&lt;br /&gt;
 make install-libs install-headers&lt;br /&gt;
&lt;br /&gt;
For historical reasons the &amp;quot;old&amp;quot; method is still described here as well:&lt;br /&gt;
&lt;br /&gt;
Copy the library files (with the .a extension) into the Cygwin usr/win32 folder:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: This will overwrite libavcodec.a and libavformat.a from the precompiled&lt;br /&gt;
&amp;quot;contrib&amp;quot; package!&lt;br /&gt;
&lt;br /&gt;
For backup reasons you can first copy or rename the original files in the &amp;quot;contrib&amp;quot; package (so you won&#039;t have to reinstall the complete contrib package but can simply copy these again)&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavcodec.a to libavcodec.a.org&lt;br /&gt;
 C:\cygwin\usr\win32\lib\libavformat.a to libavformat.a.org&lt;br /&gt;
&lt;br /&gt;
In older versions of ffmpeg the libraries had other names:&lt;br /&gt;
&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavcodec\avcodec.lib (example)&lt;br /&gt;
 C:\cygwin\home\Administrator\ffmpeg-20050624\libavformat\avformat.lib (example)&lt;br /&gt;
&lt;br /&gt;
Rename those files (in Windows Explorer):&lt;br /&gt;
&lt;br /&gt;
 avcodec.lib to libavcodec.a&lt;br /&gt;
 avformat.lib to libavformat.a&lt;br /&gt;
&lt;br /&gt;
Then copy those library files into the Cygwin usr/win32 folder.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Compiling live555 (optional)===&lt;br /&gt;
&lt;br /&gt;
How to configure and build the code on a Linux enviroment is explained on the following live555 page:&lt;br /&gt;
&lt;br /&gt;
http://www.live555.com/liveMedia/#config-unix&lt;br /&gt;
&lt;br /&gt;
Some options need to be changed/added to the config.cygwin file in the live folder so open this file with a text-editor.&lt;br /&gt;
&lt;br /&gt;
Add the -Wno-deprecated option:&lt;br /&gt;
&lt;br /&gt;
 CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 -Wno-deprecated&lt;br /&gt;
&lt;br /&gt;
Save the file under its current name config.cygwin&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd live&lt;br /&gt;
&lt;br /&gt;
The following command is for converting any DOS/Windows &amp;quot;line endings&amp;quot; to UNIX style:&lt;br /&gt;
 &lt;br /&gt;
 dos2unix config.cygwin&lt;br /&gt;
&lt;br /&gt;
 make clean&lt;br /&gt;
&lt;br /&gt;
 ./genMakefiles cygwin&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
TODO: Fix live555 compilation. It still fails with the following errors:&lt;br /&gt;
&lt;br /&gt;
 GroupsockHelper.cpp:477: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:482: error: invalid application of `sizeof&#039; to incomplete type `ip_mreq_source&#039;&lt;br /&gt;
 GroupsockHelper.cpp: In function `Boolean socketLeaveGroupSSM(UsageEnvironment&amp;amp;, int,  netAddressBits, netAddressBits)&#039;:&lt;br /&gt;
 GroupsockHelper.cpp:495: error: aggregate `ip_mreq_source imr&#039; has incomplete type and cannot be defined&lt;br /&gt;
 GroupsockHelper.cpp:500: error: invalid application of `sizeof&#039; to incomplete type  `ip_mreq_source&#039;&lt;br /&gt;
 make[1]: *** [GroupsockHelper.o] Error 1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compiling VLC==&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
(you can check with the pwd command to see in which folder you are and with just the cd&lt;br /&gt;
command without any additional parameters you can change back to your home directory).&lt;br /&gt;
&lt;br /&gt;
NOTE: The following line is optional, only use that if you have problems compiling.&lt;br /&gt;
&lt;br /&gt;
 ./toolbox --distclean&lt;br /&gt;
&lt;br /&gt;
(This will have removed everything except code related stuff).&lt;br /&gt;
&lt;br /&gt;
 ../configure-vlc.sh&lt;br /&gt;
&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Cross your fingers...&lt;br /&gt;
&lt;br /&gt;
NOTE: ./ means you run an application/script from the &amp;quot;current folder&amp;quot; (which is vlc-trunk) and ../ points to &amp;quot;one directory up&amp;quot; (which is where configure-vlc.sh is).&lt;br /&gt;
&lt;br /&gt;
==Creating self contained packages==&lt;br /&gt;
&lt;br /&gt;
Once the compilation is done, you can either run VLC directly from the source tree or you can build self-contained VLC packages with the following &amp;quot;make&amp;quot; commands:&lt;br /&gt;
&lt;br /&gt;
 make package-win32-base&lt;br /&gt;
&lt;br /&gt;
(This will create a subdirectory named vlc-x.x.x with all the binaries &amp;quot;stripped&amp;quot; without any debugging symbols).&lt;br /&gt;
&lt;br /&gt;
 make package-win32-zip&lt;br /&gt;
&lt;br /&gt;
(Same as above but will package the directory in a zip file).&lt;br /&gt;
&lt;br /&gt;
 make package-win32&lt;br /&gt;
&lt;br /&gt;
(Same as above but will also create an auto-installer package. You will need to have NSIS installed in its default location for this to work).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Advanced usage=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Updating Cygwin package versions==&lt;br /&gt;
&lt;br /&gt;
If you need to update or install additional packages you can just run the Cygwin setup.exe from your download location:&lt;br /&gt;
&lt;br /&gt;
 C:\Downloads\cygwin\setup.exe          (example)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Using older GCC and MINGW version===&lt;br /&gt;
&lt;br /&gt;
You should be aware that Cygwin automatically selects the latest versions for gcc-g++ and gcc-mingw so if you are using older versions of those (like 3.3.3-3 and the accompanied 20040810-1 packages for mingw) and wish to continue to use them you need to &#039;&#039;&#039;change&#039;&#039;&#039; those versions to &#039;&#039;&#039;Keep&#039;&#039;&#039; for &#039;&#039;&#039;every time you use the update process&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
NOTE: You can click on the &amp;quot;View&amp;quot; button a few times until you see &amp;quot;Partial&amp;quot; next to it. This will give you an overview of some &amp;quot;Current&amp;quot; packages that will be updated to &amp;quot;New&amp;quot; versions.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core         -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++          -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Selecting the 3.4.4-3 version automatically changes the gcc-mingw-core and gcc-mingw-g++ to the 20050522-1 (or newer) versions as well.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Downgrading Cygwin GCC packages===&lt;br /&gt;
&lt;br /&gt;
If your Cygwin gcc versions are already the latest and you wish to downgrade to gcc 3.3.3-3 then it&#039;s not possible to downgrade the gcc-core/g++ and the mingw packages all at the same time, it has to be done in two steps.&lt;br /&gt;
&lt;br /&gt;
select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;3.3.3-3&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Restart the Cygwin update process.&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Partial&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   3.4.4-3      gcc-core   -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
   3.4.4-3      gcc-g++    -&amp;gt; change version to &#039;&#039;&#039;Keep&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Select the View button until it reaches: Up To Date&lt;br /&gt;
&lt;br /&gt;
 Devel&lt;br /&gt;
   20050522-1   gcc-mingw-core   -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
   20050522-1   gcc-mingw-g++    -&amp;gt; change version to &#039;&#039;&#039;20040810-1&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
Install, OK.&lt;br /&gt;
&lt;br /&gt;
Again, for any new update process remember to change back those versions!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==GDB (Gnu Debugger)==&lt;br /&gt;
&lt;br /&gt;
This section requires that you installed the gdb (Gnu Debugger) in Cygwin.&lt;br /&gt;
&lt;br /&gt;
This is a typical example of creating a crashlog:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 gdb --args vlc.exe --fast-mutex --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
NOTE: vlc-0.9.0 uses libtool for building sources, if you want to debug from the source tree, you should type the following command instead:&lt;br /&gt;
&lt;br /&gt;
 libtool -mode=execute gdb --args vlc --reset-config --reset-plugins-cache&lt;br /&gt;
&lt;br /&gt;
In the debugger mode run the program and make sure you reset the preferences!&lt;br /&gt;
&lt;br /&gt;
 (gdb) run &lt;br /&gt;
&lt;br /&gt;
NOTE: the (gdb) is just a prompt which means you are in the debugger mode, please note that &#039;&#039;--fast-mutex&#039;&#039; option is no longer supported in vlc-0.9.0&lt;br /&gt;
&lt;br /&gt;
It will now take a lot longer than usual for VLC to start :)&lt;br /&gt;
&lt;br /&gt;
Now operate VLC as you would normally do. As soon as a crash issue occurs&lt;br /&gt;
you&#039;ll notice a line like this:&lt;br /&gt;
&lt;br /&gt;
 Program received signal SIGSEGV, Segmentation fault.&lt;br /&gt;
 0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29)&lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 459             i = i_bottom + ( i_top - i_bottom ) / 2;&lt;br /&gt;
&lt;br /&gt;
Now you can do a &amp;quot;backtrace&amp;quot; by using the bt command:&lt;br /&gt;
&lt;br /&gt;
 (gdb) bt&lt;br /&gt;
&lt;br /&gt;
And output similar to this will be created:&lt;br /&gt;
&lt;br /&gt;
 #0  0x0041394c in playlist_ItemGetById (p_playlist=0x19ec4f8, i_id=29) &lt;br /&gt;
     at src/playlist/item-ext.c:459&lt;br /&gt;
 #1  0x0b26bbf7 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29fef8}) at playlist.cpp:695&lt;br /&gt;
 #2  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29e8b0}) at playlist.cpp:689&lt;br /&gt;
 #3  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x29a818}) at playlist.cpp:689&lt;br /&gt;
 #4  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0x299718}) at playlist.cpp:689&lt;br /&gt;
 #5  0x0b26bc83 in wxvlc::Playlist::CountItems (this=0x1822e288, root=&lt;br /&gt;
       {m_pItem = 0xffff0000}) at playlist.cpp:689&lt;br /&gt;
 #6  0x0b26bf49 in wxvlc::Playlist::AppendItem (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:564&lt;br /&gt;
 #7  0x0b2757fc in wxvlc::Playlist::OnPlaylistEvent (this=0x1822e288,&lt;br /&gt;
     event=@0x1827afd0) at playlist.cpp:1438&lt;br /&gt;
 #8  0x0b3771b8 in wxEvtHandler::ProcessEventIfMatches ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #9  0x0b376a1c in wxEventHashTable::HandleEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #10 0x0b37730d in wxEvtHandler::ProcessEvent ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #11 0x0b37711b in wxEvtHandler::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 ---Type &amp;lt;return&amp;gt; to continue, or q &amp;lt;return&amp;gt; to quit---&lt;br /&gt;
 #12 0x0b376017 in wxAppConsole::ProcessPendingEvents ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/event.h:2183&lt;br /&gt;
 #13 0x0b3ec75a in wxIdleWakeUpModule::MsgHookProc ()&lt;br /&gt;
     at /usr/win32/include/wx-2.6/wx/bmpbuttn.h:81&lt;br /&gt;
 #14 0x773aca2d in USER32!GetScrollRange ()&lt;br /&gt;
    from /cygdrive/c/WINDOWS/system32/user32.dll&lt;br /&gt;
 #15 0x00000000 in ?? () from&lt;br /&gt;
 (gdb)&lt;br /&gt;
&lt;br /&gt;
These are the log outputs that are more usefull to developers than just mentioning &amp;quot;it crashes&amp;quot;!&lt;br /&gt;
&lt;br /&gt;
NOTE: In GDB mode there are sometimes situations where GDB initially &amp;quot;crashes&amp;quot; on certain network activity (opening network shares, network traffic) which in normal operation does not occur. Just select c for continue until &amp;quot;normal&amp;quot; operation continues.&lt;br /&gt;
&lt;br /&gt;
==.diff files==&lt;br /&gt;
&lt;br /&gt;
Frequently patches to source code are presented or discussed in forums or in mailing lists in so called .diff format (these are &amp;quot;differences&amp;quot; to the source code).&lt;br /&gt;
&lt;br /&gt;
You can apply those patches yourself to the source code or create .diff files. This requires the patchutils package in Cygwin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Patching source code===&lt;br /&gt;
&lt;br /&gt;
Download a so called .diff file:&lt;br /&gt;
&lt;br /&gt;
 sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: make sure the file doesn&#039;t get a .txt extension, so Save as type &amp;quot;All Files&amp;quot; instead of &amp;quot;Text Document&amp;quot; (IE has a habit of renaming to .txt. If that happens just simply rename to .diff)&lt;br /&gt;
&lt;br /&gt;
Copy the .diff file into the appropriate source folder&lt;br /&gt;
&lt;br /&gt;
 x264-trunk (example)&lt;br /&gt;
&lt;br /&gt;
Apply the patch as follows&lt;br /&gt;
&lt;br /&gt;
 patch -p0 &amp;lt; sse2-pixel-routines-v3.diff (example)&lt;br /&gt;
&lt;br /&gt;
NOTE: replace sse2-pixel-routines-v3.diff with your &amp;quot;patch&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will output something like:&lt;br /&gt;
&lt;br /&gt;
 patching file common/i386/pixel.h&lt;br /&gt;
 patching file common/i386/pixel-a.asm&lt;br /&gt;
 patching file common/pixel.c&lt;br /&gt;
&lt;br /&gt;
Your source code is now patched!&lt;br /&gt;
&lt;br /&gt;
NOTE: If you want to revert to the original version you can use the -R option with the patch command or alternatively you can just delete the changed files and just do an SVN update to get the original/latest SVN version back.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Creating .diff files===&lt;br /&gt;
&lt;br /&gt;
When changing the source code it&#039;s possible to create a &amp;quot;difference&amp;quot; file against the latest source.&lt;br /&gt;
&lt;br /&gt;
In this example the file /modules/codec/x264.c was changed (the part &amp;quot;in kbit/s&amp;quot; was added to a description).&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell.&lt;br /&gt;
&lt;br /&gt;
Change to the appropriate folder where a changed file is.&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/modules/codec (example)&lt;br /&gt;
&lt;br /&gt;
Output the svn diff command to a file:&lt;br /&gt;
&lt;br /&gt;
 svn diff -u &amp;gt; x264-patch.diff&lt;br /&gt;
&lt;br /&gt;
The current folder now holds a x264-patch.diff file containing the following:&lt;br /&gt;
&lt;br /&gt;
 Index: x264.c&lt;br /&gt;
 ===================================================================&lt;br /&gt;
 --- x264.c      (revision 15921)&lt;br /&gt;
 +++ x264.c      (working copy)&lt;br /&gt;
 @@ -131,7 +131,7 @@&lt;br /&gt;
  #define RATETOL_LONGTEXT N_( &amp;quot;Allowed variance in average. &amp;quot; \&lt;br /&gt;
      &amp;quot;bitrate (in kbits/s).&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
 -#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate&amp;quot;)&lt;br /&gt;
 +#define VBV_MAXRATE_TEXT N_(&amp;quot;Max local bitrate in kbit/s&amp;quot;)&lt;br /&gt;
  #define VBV_MAXRATE_LONGTEXT N_( &amp;quot;Sets a maximum local bitrate in kbits/s.&amp;quot;)&lt;br /&gt;
 &lt;br /&gt;
  #define VBV_BUFSIZE_TEXT N_(&amp;quot;VBV buffer&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
NOTE: In Windows you should open this file with something else than notepad (so wordpad or some more advanced editor). This has to do with the end of line markers that are present in the file since it was made in a Linux environment.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reverting to older SVN source code==&lt;br /&gt;
&lt;br /&gt;
If for some reason you want to revert to (use) an older version (let&#039;s say you are using  revision 15916 of the VLC source code but would like to test with 15915) then use the svn &amp;quot;update&amp;quot; function from within Cygwin but use an older revision number.&lt;br /&gt;
&lt;br /&gt;
Start your Cygwin shell...&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk&lt;br /&gt;
&lt;br /&gt;
 svn up -r 15915&lt;br /&gt;
&lt;br /&gt;
And you&#039;ll see something like this:&lt;br /&gt;
&lt;br /&gt;
 U    src\input\input.c&lt;br /&gt;
 Updated to revision 15915.&lt;br /&gt;
&lt;br /&gt;
The following command will show the version used:&lt;br /&gt;
&lt;br /&gt;
 svn info&lt;br /&gt;
&lt;br /&gt;
=FAQ/Troubleshooting=&lt;br /&gt;
&lt;br /&gt;
This chapter mentions some frequently encountered problems during compile and installation procedures and possible fixes or workarounds.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&amp;quot;Making all in &amp;lt;folder&amp;gt;&amp;quot; takes forever with 0% CPU usage==&lt;br /&gt;
&lt;br /&gt;
Make seems to &amp;quot;stall&amp;quot; at a certain point (no CPU usage) and nothing seems to happen anymore:&lt;br /&gt;
&lt;br /&gt;
 Making all in mpeg&lt;br /&gt;
 make[5]: Entering directory `/home/Administrator/vlc-trunk/modules/mux/mpeg&#039;&lt;br /&gt;
&lt;br /&gt;
NOTE: This problem seems to occur on dual CPU (or HyperThreading enabled)&lt;br /&gt;
systems.&lt;br /&gt;
&lt;br /&gt;
FIX: in the vlc-trunk do a ./toolbox --distclean before doing a ../configure-vlc.sh and try again...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: C compiler cannot create executables==&lt;br /&gt;
&lt;br /&gt;
The ../configure-vlc.sh gives the following error:&lt;br /&gt;
&lt;br /&gt;
 checking for gcc... gcc -mno-cygwin&lt;br /&gt;
 checking for C compiler default output file name... configure: error: C compiler&lt;br /&gt;
 cannot create executables&lt;br /&gt;
&lt;br /&gt;
FIX: it&#039;s very likely you are using the gcc 3.3 version but with the wrong mingw packages (the ones that come with 3.4). Reinstall the following gcc-mingw packages but make sure to use the older version!!!&lt;br /&gt;
&lt;br /&gt;
20050522-1      gcc-mingw-core  autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
20050522-1      gcc-mingw-g++ 	autoselected -&amp;gt;  change to 20040810-1&lt;br /&gt;
&lt;br /&gt;
You can check what version of gcc you are version in the Cygwin shell by using the following command:&lt;br /&gt;
&lt;br /&gt;
 gcc --version&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==collect2: ld returned 1 exit status (libebml)==&lt;br /&gt;
&lt;br /&gt;
A make fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE10deallocateEPSsj[std::__simple_allo&lt;br /&gt;
 c&amp;lt;std::basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::_&lt;br /&gt;
 _default_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::deallocate(std::basic_string&amp;lt;char, std::char&lt;br /&gt;
 _traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;*, unsigned int)]+0x1d): undefined referenc&lt;br /&gt;
 e to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocISsSt24__default_alloc_templateILb1ELi0EEE8allocateEj[std::__simple_alloc&amp;lt;std:&lt;br /&gt;
 :basic_string&amp;lt;char, std::char_traits&amp;lt;char&amp;gt;, std::allocator&amp;lt;char&amp;gt; &amp;gt;, std::__defau&lt;br /&gt;
 lt_alloc_template&amp;lt;true, 0&amp;gt; &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference&lt;br /&gt;
  to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE8allocateEj[st&lt;br /&gt;
 d::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;true, 0&amp;gt;&lt;br /&gt;
 &amp;gt;::allocate(unsigned int)]+0x1d): undefined reference to `std::__default_alloc_t&lt;br /&gt;
 emplate&amp;lt;true, 0&amp;gt;::allocate(unsigned int)&#039;&lt;br /&gt;
 /usr/win32/lib/libebml.a(EbmlMaster.o):EbmlMaster.cpp:(.text$_ZNSt14__simple_all&lt;br /&gt;
 ocIPN7libebml11EbmlElementESt24__default_alloc_templateILb1ELi0EEE10deallocateEP&lt;br /&gt;
 S2_j[std::__simple_alloc&amp;lt;libebml::EbmlElement*, std::__default_alloc_template&amp;lt;tr&lt;br /&gt;
 ue, 0&amp;gt; &amp;gt;::deallocate(libebml::EbmlElement**, unsigned int)]+0x1d): undefined ref&lt;br /&gt;
 erence to `std::__default_alloc_template&amp;lt;true, 0&amp;gt;::deallocate(void*, unsigned in&lt;br /&gt;
 t)&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This problem is because libEbml is a C++ lib and it doesn&#039;t seem to link with gcc 3.4.&lt;br /&gt;
&lt;br /&gt;
FIX: Use gcc 3.3 with the according 3.3 Win32 &amp;quot;contrib&amp;quot; package version or use a Win32 &amp;quot;contrib&amp;quot; package for 3.4 (or even better try compiling it yourself).&lt;br /&gt;
&lt;br /&gt;
WORKAROUND for gcc 3.4: Use --disable-mkv in configure-vlc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==zip: command not found==&lt;br /&gt;
&lt;br /&gt;
A make package fails with the following error:&lt;br /&gt;
&lt;br /&gt;
 zip -r vlc-0.8.4-svn-win32.zip vlc-0.8.4-svn&lt;br /&gt;
 /bin/bash: line 1: zip: command not found&lt;br /&gt;
 make: *** [package-win32-base-zip] Error 127&lt;br /&gt;
&lt;br /&gt;
FIX: Doh! forgot to install the zip package in Cygwin :P&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==vlc.exe: Permission denied==&lt;br /&gt;
&lt;br /&gt;
A make finished successfully and produced vlc.exe, but running the executable returns the following:&lt;br /&gt;
&lt;br /&gt;
 bash: ./vlc.exe: Permission denied&lt;br /&gt;
&lt;br /&gt;
The permissions on both vlc.exe &amp;amp; vlc.exe.manifest must be set to executable. &lt;br /&gt;
&lt;br /&gt;
FIX: Type the following:&lt;br /&gt;
 &lt;br /&gt;
 chmod 755 vlc.exe vlc.exe.manifest&lt;br /&gt;
&lt;br /&gt;
==error: parse error before &#039;(&#039; token==&lt;br /&gt;
&lt;br /&gt;
A make (compile) of FFmpeg results in the following error:&lt;br /&gt;
&lt;br /&gt;
 /usr/include/sys/unistd.h:203: error: parse error before &#039;(&#039; token&lt;br /&gt;
 make[1]: *** [ffm.o] Error 1&lt;br /&gt;
&lt;br /&gt;
It&#039;s very likely you are usix the POSIX emulater which you shouldn&#039;t...&lt;br /&gt;
&lt;br /&gt;
FIX: compile with the option &lt;br /&gt;
&lt;br /&gt;
 -mno-cygwin&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: invalid conversion from `const void*&#039; to `void*&#039;==&lt;br /&gt;
&lt;br /&gt;
 src/theme_loader.cpp: In function `int gzwrite_frontend(int, const void*, size_t)&#039;:&lt;br /&gt;
 src/theme_loader.cpp:599: error: invalid conversion from `const void*&#039; to `void*&#039;&lt;br /&gt;
 src/theme_loader.cpp:599: error:   initializing argument 2 of `int gzwrite(void*,&lt;br /&gt;
 void*, unsigned int)&#039;&lt;br /&gt;
 make[6]: *** [libskins2_plugin_a-theme_loader.o] Error 1&lt;br /&gt;
&lt;br /&gt;
FIX: This is related to a problem with the zlib library, updating to at least 1.2.2-1 but preferably 1.2.3 or newer is required&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: cannot convert `const wxChar*&#039; to `const char*==&lt;br /&gt;
&lt;br /&gt;
 if g++ -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../../..   -I/usr/win32/include -I/&lt;br /&gt;
 usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../../../include&lt;br /&gt;
 `top_builddir=&amp;quot;../../..&amp;quot; ../../../vlc-config --cxxflags plugin wxwidgets` -Wsign&lt;br /&gt;
 -compare -Wsign-compare -Wall  -mms-bitfields -pipe -MT libwxwidgets_plugin_a-wx&lt;br /&gt;
 widgets.o -MD -MP -MF &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; -c -o libwxwid&lt;br /&gt;
 gets_plugin_a-wxwidgets.o `test -f &#039;wxwidgets.cpp&#039; || echo &#039;./&#039;`wxwidgets.cpp; \&lt;br /&gt;
 then mv -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot; &amp;quot;.deps/libwxwidgets_plugi&lt;br /&gt;
 n_a-wxwidgets.Po&amp;quot;; else rm -f &amp;quot;.deps/libwxwidgets_plugin_a-wxwidgets.Tpo&amp;quot;; exit&lt;br /&gt;
 1; fi&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/debug.h:22,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/defs.h:452,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wxprec.h:13,&lt;br /&gt;
                  from wxwidgets.h:40,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h: In function `size_t wxStrlen(const wxChar&lt;br /&gt;
 *)&#039;:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/wxchar.h:759: error: cannot convert `const wxChar*&#039;&lt;br /&gt;
  to `const char*&#039; for argument `1&#039; to `size_t strlen(const char*)&#039;&lt;br /&gt;
 In file included from /usr/win32/include/wx-2.6/wx/memory.h:20,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/object.h:25,&lt;br /&gt;
                  from /usr/win32/include/wx-2.6/wx/wx.h:16,&lt;br /&gt;
                  from wxwidgets.h:41,&lt;br /&gt;
                  from wxwidgets.cpp:39:&lt;br /&gt;
 /usr/win32/include/wx-2.6/wx/string.h: In constructor `wxString::wxString(const&lt;br /&gt;
 wxChar*)&#039;:&lt;br /&gt;
&lt;br /&gt;
FIX: update wxwidgets or try a different or newer Win32 &amp;quot;contrib&amp;quot; package.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_av_parser_change&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ffmpeg.o: In function `output_packet&#039;:&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1414: undefined reference to `_av_parser_change&#039;&lt;br /&gt;
 /home/Administrator/FFmpeg-20050724/ffmpeg.c:1415: undefined reference to `_av_destruct_packet&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make: *** [ffmpeg_g.exe] Error 1&lt;br /&gt;
&lt;br /&gt;
This is a possible conflict when you use normal configure-ffmpeg (uses /usr/win32&lt;br /&gt;
contrib) instead of configure-ffmpeg-svn&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==undefined reference to `_pp_get_context&#039; (FFmpeg)==&lt;br /&gt;
&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Init&lt;br /&gt;
 Postproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:164: undefined&lt;br /&gt;
 reference to `_pp_get_context&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `PPQC&lt;br /&gt;
 allback&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:244: undefined&lt;br /&gt;
 reference to `_pp_get_mode_by_name_and_quality&#039;&lt;br /&gt;
 ./modules/codec/ffmpeg/libffmpeg.a(libffmpeg_a-postprocess.o): In function `Post&lt;br /&gt;
 procPict__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:191: undefined&lt;br /&gt;
 reference to `_pp_postprocess&#039;&lt;br /&gt;
 $&lt;br /&gt;
 ePostproc__ffmpeg&#039;:&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:209: undefined&lt;br /&gt;
 reference to `_pp_free_mode&#039;&lt;br /&gt;
 /home/Administrator/vlc-trunk/modules/codec/ffmpeg/postprocess.c:210: undefined&lt;br /&gt;
 reference to `_pp_free_context&#039;&lt;br /&gt;
 collect2: ld returned 1 exit status&lt;br /&gt;
 make[2]: *** [vlc.exe] Error 1&lt;br /&gt;
 make[2]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make[1]: *** [all-recursive] Error 1&lt;br /&gt;
 make[1]: Leaving directory `/home/Administrator/vlc-trunk&#039;&lt;br /&gt;
 make: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
FFmpeg was not compiled with post processing support. To do so the following options need to be added to the configure lines for FFmpeg:&lt;br /&gt;
&lt;br /&gt;
 --enable-pp --enable-gpl&lt;br /&gt;
&lt;br /&gt;
Postprocessing code is under GPL.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token==&lt;br /&gt;
&lt;br /&gt;
 In file included from /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32&lt;br /&gt;
 api/windows.h:52,&lt;br /&gt;
                  from ../../../include/vlc_common.h:459,&lt;br /&gt;
                  from ../../../include/vlc/vlc.h:153,&lt;br /&gt;
                  from dshow.cpp:31:&lt;br /&gt;
 /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../include/w32api/wingdi.h:3:1: warn&lt;br /&gt;
 ing: this is the location of the previous definition&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:14: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:35,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/ddraw.h:5552: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:45,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/strmif.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dsound.h:13,&lt;br /&gt;
                  from /usr/win32/include/amaudio.h:18,&lt;br /&gt;
                  from /usr/win32/include/dshow.h:47,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:22: warning: ignoring #pragma warning&lt;br /&gt;
 /usr/win32/include/d3dtypes.h:1813: warning: ignoring #pragma warning&lt;br /&gt;
 In file included from /usr/win32/include/dshow.h:48,&lt;br /&gt;
                  from common.h:45,&lt;br /&gt;
                  from dshow.cpp:35:&lt;br /&gt;
 /usr/win32/include/control.h:2: warning: ignoring #pragma warning&lt;br /&gt;
 dshow.cpp: In function `int CommonOpen(vlc_object_t*, access_sys_t*, vlc_bool_t)&lt;br /&gt;
 &#039;:&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;&amp;lt;&#039; token&lt;br /&gt;
 dshow.cpp:456: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;==&#039; token&lt;br /&gt;
 dshow.cpp:470: error: expected primary-expression before &#039;=&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;&amp;gt;&#039; token&lt;br /&gt;
 dshow.cpp:484: error: expected primary-expression before &#039;.&#039; token&lt;br /&gt;
 dshow.cpp:485: error: expected `;&#039; before &amp;quot;IAMCrossbar&amp;quot;&lt;br /&gt;
 dshow.cpp:491: error: `pXbar&#039; undeclared (first use this function)&lt;br /&gt;
 dshow.cpp:491: error: (Each undeclared identifier is reported only once for each&lt;br /&gt;
 function it appears in.)&lt;br /&gt;
 make[6]: *** [libdshow_plugin_a-dshow.o] Error 1&lt;br /&gt;
 make[6]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[5]: *** [all-modules] Error 1&lt;br /&gt;
 make[5]: Leaving directory `/home/Administrator/vlc-trunk/modules/access/dshow&#039;&lt;br /&gt;
 make[4]: *** [all-recursive] Error 1&lt;br /&gt;
 make[4]: Leaving directory `/home/Administrator/vlc-trunk/modules/access&#039;&lt;br /&gt;
 make[3]: *** [all] Error 2&lt;br /&gt;
&lt;br /&gt;
Basically in case of conflict svn adds &amp;quot;&amp;lt;&amp;lt;&amp;lt; mine&amp;quot; and &amp;quot;=======&amp;quot; and &amp;quot;&amp;gt;&amp;gt;&amp;gt;&amp;gt; r1242&amp;quot; which makes gcc complain.&lt;br /&gt;
&lt;br /&gt;
FIX: revert the offending file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==configure: error: Could not find ffmpeg on your system==&lt;br /&gt;
&lt;br /&gt;
 configure: error: Could not find ffmpeg on your system: you may get it from&lt;br /&gt;
 http://ffmpeg.sf.net/ (cvs version is recommended). Alternatively you can use&lt;br /&gt;
 --disable-ffmpeg to disable the ffmpeg plugins.&lt;br /&gt;
 make: *** [config.status] Error 1&lt;br /&gt;
&lt;br /&gt;
This can happen when you do a make without doing a configure and the configure.ac file in the source code recently updated.&lt;br /&gt;
&lt;br /&gt;
FIX: do a full configure (using ../configure-vlc.sh) and then run the make process&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Objective C source seen but `OBJC&#039; is undefined==&lt;br /&gt;
&lt;br /&gt;
The configure process stops halfway.&lt;br /&gt;
&lt;br /&gt;
 + aclocal-1.9 -I m4&lt;br /&gt;
 + autoconf&lt;br /&gt;
 + autoheader&lt;br /&gt;
 + automake-1.9 --add-missing --copy -Wall&lt;br /&gt;
 configure.ac: installing `autotools/install-sh&#039;&lt;br /&gt;
 configure.ac: installing `autotools/missing&#039;&lt;br /&gt;
 activex/Makefile.am:143: shell $(VLC_CONFIG: non-POSIX variable name&lt;br /&gt;
 activex/Makefile.am:143: (probably a GNU make extension)&lt;br /&gt;
 activex/Makefile.am: installing `autotools/compile&#039;&lt;br /&gt;
 activex/Makefile.am: installing `autotools/depcomp&#039;&lt;br /&gt;
 modules/gui/macosx/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 modules/misc/testsuite/Makefile.am: Objective C source seen but `OBJC&#039; is undefi&lt;br /&gt;
 ned&lt;br /&gt;
 src/Makefile.am: Objective C source seen but `OBJC&#039; is undefined&lt;br /&gt;
 Makefile.am:282: user target `vlc$(EXEEXT)&#039; defined here...&lt;br /&gt;
 /usr/share/automake-1.9/am/program.am: ... overrides Automake target `vlc$(EXEEX&lt;br /&gt;
 T)&#039; defined here&lt;br /&gt;
 Makefile.am:230:   while processing program `vlc&#039;&lt;br /&gt;
 make: *** No targets specified and no makefile found.  Stop.&lt;br /&gt;
 &lt;br /&gt;
This problem is related to a warning earlier on and only occured in a few revisions where a built-in workaround wasn&#039;t working properly:&lt;br /&gt;
&lt;br /&gt;
 + echo &#039;Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&#039;&lt;br /&gt;
 Enabling provisional autoconf 2.59 work-around. Update autoconf ASAP.&lt;br /&gt;
&lt;br /&gt;
FIX: update autoconf to 2.60 or newer. If Cygwin doesn&#039;t provide this version yet then build it yourself from extras/contrib.&lt;br /&gt;
&lt;br /&gt;
Enter the following commands in your Cygwin shell:&lt;br /&gt;
&lt;br /&gt;
 cd vlc-trunk/extras/contrib&lt;br /&gt;
&lt;br /&gt;
 ./bootstrap&lt;br /&gt;
&lt;br /&gt;
 cd src&lt;br /&gt;
&lt;br /&gt;
 make .autoconf&lt;br /&gt;
&lt;br /&gt;
There should now be compiled autoconf version (probably 2.60 or newer) in extras/contrib that the bootstrap process will use.&lt;br /&gt;
&lt;br /&gt;
Now start the whole &amp;quot;Compile VLC&amp;quot; process from the start again.&lt;br /&gt;
&lt;br /&gt;
==Error: cannot create temporary file for diversion: Permission denied==&lt;br /&gt;
&lt;br /&gt;
If the above error appears, it might mean you don&#039;t have the TMPDIR defined in cygwin. You will need to define it and have its value point to your temporary directory.&lt;br /&gt;
&lt;br /&gt;
=Version=&lt;br /&gt;
&lt;br /&gt;
20050627 Initial version&lt;br /&gt;
&lt;br /&gt;
20050628 Updated some more exceptions&lt;br /&gt;
&lt;br /&gt;
20050628 Some info added about FFmpeg compiling with AMR&lt;br /&gt;
&lt;br /&gt;
20050629 Finalized FFmpeg compiling&lt;br /&gt;
&lt;br /&gt;
20050630 Cross-compiling&lt;br /&gt;
&lt;br /&gt;
20050724 Some extra compile explanations&lt;br /&gt;
&lt;br /&gt;
20050726 Removed cross-compiling (was for linux -&amp;gt; win32) Patching source code with .diff files&lt;br /&gt;
&lt;br /&gt;
20050823 Added zlib error&lt;br /&gt;
&lt;br /&gt;
20050923 --enable-sdl --with-sdl-config-path=/usr/win32/bin added to configure. Added debug section&lt;br /&gt;
&lt;br /&gt;
20051102 Changed FFmpeg lib names&lt;br /&gt;
&lt;br /&gt;
20051128 Detailed Cygwin upgrade/downgrade for gcc 3.3. Renamed some update scripts. Added FFmpeg CVS update. --disable-gnomevfs added to configure (only used on linux)&lt;br /&gt;
&lt;br /&gt;
20060121 PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig added to configure&lt;br /&gt;
&lt;br /&gt;
20060128 Added curl and libtool to Cygwin for those that want to be able to build extras/contrib themselves&lt;br /&gt;
&lt;br /&gt;
20060217 Added make install-libs install-headers to FFmpeg compile&lt;br /&gt;
&lt;br /&gt;
20060222 Remark about missing &amp;quot;gettext&amp;quot; libs for Cygwin during install&lt;br /&gt;
&lt;br /&gt;
20060225 ./bootstrap: you need libtool&lt;br /&gt;
&lt;br /&gt;
20060618 Updated GCC to 3.4 version and added FFmpeg SVN and DTS support&lt;br /&gt;
&lt;br /&gt;
20060805 Added note about using older binutils and gdb for Cygwin!&lt;br /&gt;
&lt;br /&gt;
20060915 Added note about updating autoconf from extras/contrib for an OBJC problem during configure&lt;br /&gt;
&lt;br /&gt;
20061108 Added note this document is no longer usable since Cygwin has been unusable probably related to some bash/dos2unix change&lt;br /&gt;
&lt;br /&gt;
20070612 Added note about --enable-dca&lt;br /&gt;
&lt;br /&gt;
[[Category:Building]]&lt;br /&gt;
[[Category:Coding]]&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
	<entry>
		<id>https://wiki.videolan.org/index.php?title=Windows&amp;diff=507</id>
		<title>Windows</title>
		<link rel="alternate" type="text/html" href="https://wiki.videolan.org/index.php?title=Windows&amp;diff=507"/>
		<updated>2005-03-25T13:08:03Z</updated>

		<summary type="html">&lt;p&gt;Markfm: /* Related article */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The &#039;&#039;&#039;Windows port&#039;&#039;&#039; of VLC usually starts up with the [[WxWindows]] interface which is used in the [[Linux]] one as well. The user can decide to use the [[Skins]] interface instead to be able to modify the interface according to his or her mood.&lt;br /&gt;
&lt;br /&gt;
==Keyboard shortcuts in the Windows (directx) video output==&lt;br /&gt;
&lt;br /&gt;
Note: these shortcuts are only default settings and can be customized (along with many others). To tweak hotkeys settings, go to Settings-&amp;gt;Preferences-&amp;gt;Hot keys&lt;br /&gt;
&lt;br /&gt;
* Left/Right/Up/Down/Enter: DVD menus navigation keys&lt;br /&gt;
* Page Up/Page Down: seek (10 secs)&lt;br /&gt;
* Home/End: Beginning/End of file&lt;br /&gt;
* Space: Pause/Play&lt;br /&gt;
* a/A/z/Z: Volume Control&lt;br /&gt;
* f/F: fullscreen&lt;br /&gt;
* q/Q: quit vlc&lt;br /&gt;
* Esc: exit fullscreen/Stop input&lt;br /&gt;
&lt;br /&gt;
==How to associate media files to VLC==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning&#039;&#039;&#039;: do this association only if you realy know what you are doing!&lt;br /&gt;
&lt;br /&gt;
VLC hasn&#039;t got a module to associate files, so that if you click on a file VLC opens. But you can&lt;br /&gt;
do it by yourself, follow this istructions:&lt;br /&gt;
&lt;br /&gt;
* Open a text editor like Notepad.&lt;br /&gt;
&lt;br /&gt;
* Copy this text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Windows Registry Editor Version 5.00&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.ASF]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.ASX]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.AVI]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.DIVX]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.MPEG]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.MPG]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.VOB]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\.WMV]&lt;br /&gt;
@=&amp;quot;VlcFile&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\VlcFile]&lt;br /&gt;
@=&amp;quot;VLC File&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\VlcFile\DefaultIcon]&lt;br /&gt;
@=&amp;quot;C:\\Programs\\VideoLAN\\VLC\\vlc.exe,0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[HKEY_CLASSES_ROOT\VlcFile\shell\Open]&lt;br /&gt;
[HKEY_CLASSES_ROOT\VlcFile\shell\Open\command]&lt;br /&gt;
@=&amp;quot;C:\\Programs\\VideoLAN\\VLC\\vlc.exe \&amp;quot;%L\&amp;quot;&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Modify the strings &#039;&#039;C:\\Programs\\VideoLAN\\VLC\\vlc.exe&#039;&#039; to match to your VLC installation.&lt;br /&gt;
&lt;br /&gt;
* Save as &#039;&#039;vlc.reg&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
* Execute &#039;&#039;vlc.reg&#039;&#039; (ad it to you registry).&lt;br /&gt;
&lt;br /&gt;
* Enjoy VLC :)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: This associate &#039;&#039;asf&#039;&#039;, &#039;&#039;asx&#039;&#039;, &#039;&#039;avi&#039;&#039;, &#039;&#039;divx&#039;&#039;, &#039;&#039;mpeg&#039;&#039;, &#039;&#039;mpg&#039;&#039;, &#039;&#039;vob&#039;&#039; and &#039;&#039;wmv&#039;&#039; files, if you get the idea you can associate any file you want.&lt;br /&gt;
&lt;br /&gt;
== Related article ==&lt;br /&gt;
* [[VLC Windows FAQ]]&lt;br /&gt;
* [[VLC command-line help]]&lt;br /&gt;
* [[VLCSout]]  how to create a DVD&lt;/div&gt;</summary>
		<author><name>Markfm</name></author>
	</entry>
</feed>