How to build VLC from sources

Asked by InvisiblePinkUnicorn

Hi,

I want to build VLC from the source. But I dont want to use any packages in multiverse or anything that is non-free. I would like to use only libraries in Main and Universe repositories. Can I see what configure options VLC is using right now. And what options I need to exclude to make it work with only libraries from Main and Universe repositories.

Also another question is, why is VLC moved to Multiverse? faad and x264 appear to be GPLv2.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu vlc Edit question
Assignee:
No assignee Edit question
Solved by:
InvisiblePinkUnicorn
Solved:
Last query:
Last reply:
Revision history for this message
Bhavani Shankar (bhavi) said :
#1

Hello

compiling vlc from source on ubuntu:

$sudo apt-get build-dep vlc
$apt-get install subversion autoconf cvs automake libtool libzvbi-dev
$svn co svn://svn.videolan.org/vlc/trunk
$cd trunk
$sudo ./bootstrap
$sudo ./configure --prefix=/opt/vlc ; make; sudo make install
$./vlc-config --list plugin
hal probe_hal dbus telepathy inhibit dummy logger memcpy mpgv mpga m4v m4a h264 vc1 demux_cdg cdg ps pva avi asf mp4 rawdv rawvid nsv real aiff mjpeg demuxdump flacsys tta cvdsub svcdsub spudec subsdec subsusf t140 dvbsub cc mpeg_audio lpcm a52 dts cinepak flac deinterlace invert adjust transform wave ripple psychedelic gradient motionblur rv32 rotate noise grain extract sharpen seamcarving converter_fixed mono trivial_resampler ugly_resampler trivial_channel_mixer trivial_mixer playlist export nsc xtag i420_rgb grey_yuv rawvideo blend scale image logo magnify puzzle colorthres wav araw subtitle vobsub adpcm a52sys dtssys au ty voc xa nuv smf access_directory access_file access_udp access_tcp access_http access_mms access_ftp access_filter_bandwidth packetizer_mpegvideo packetizer_h264 packetizer_mpeg4video packetizer_mpeg4audio packetizer_vc1 spatializer access_fake access_filter_timeshift access_filter_record access_filter_dump gestures rc telnet hotkeys showintf marq podcast shout sap fake folder rss mosaic wall motiondetect clone crop erase bluescreen alphamask gaussianblur i420_yuy2 i422_yuy2 i420_ymga i422_i420 yuy2_i422 yuy2_i420 chroma_chain aout_file linear_resampler bandlimited_resampler float32_mixer spdif_mixer simple_channel_mixer dolby_surround_decoder headphone_channel_mixer normvol equalizer param_eq converter_float a52tospdif dtstospdif audio_format screensaver motion memcpymmx i420_rgb_mmx i420_yuy2_mmx i422_yuy2_mmx i420_ymga_mmx memcpymmxext memcpy3dn i420_rgb_sse2 i420_yuy2_sse2 i422_yuy2_sse2 memcpymmx i420_rgb_mmx i420_yuy2_mmx i422_yuy2_mmx i420_ymga_mmx memcpymmxext memcpy3dn i420_rgb_sse2 i420_yuy2_sse2 i422_yuy2_sse2 access_output_dummy access_output_udp access_output_file access_output_http mux_ps mux_avi mux_mp4 mux_asf mux_dummy mux_wav mux_mpjpeg packetizer_copy stream_out_dummy stream_out_standard stream_out_es stream_out_rtp stream_out_description vod_rtsp stream_out_duplicate stream_out_display stream_out_transcode stream_out_bridge stream_out_mosaic_bridge stream_out_autodel stream_out_gather profile_parser http growl notify audioscrobbler live555 dvdread dvdnav access_smb ts mux_ts vcd cdda screen ogg mux_ogg mkv mod mpc mpgatofixed32 id3tag ffmpeg a52tofloat32 libmpeg2 vorbis speex png osdmenu osd_parser zvbi cmml panoramix x11 xvideo glx opengl opengl vout_sdl aout_sdl sdl_image freetype xml fb oss alsa skins2 visual bonjour gnutls

More info:

http://wiki.videolan.org/UnixCompile#Debian

Secondly,

See the linked bug:

https://bugs.launchpad.net/bugs/206912

Appears that it contains a few not-free-enough decoders and/or encoders.

Bhavani Shankar.

Revision history for this message
InvisiblePinkUnicorn (fsf54321) said :
#2

Thank you very much Bhavani Shankar.
I simply love Free Software :-)