'compiling vlc'에 해당되는 글 3건

  1. 2010.01.14 ffmpeg + AMR + x264 + VLC?
  2. 2010.01.13 우분투에서 VLC 컴파일하기 (3)
  3. 2010.01.13 VLC configure --help
프로그램 사용/VLC2010.01.14 19:37
MiniHOWTO: ffmpeg + AMR + x264
[링크 : http://ubuntuforums.org/showthread.php?t=491885]

ffmpeg 컴파일하기
-  yasm(어셈블러) 패키지 필요함
    sudo apt-get install yasm

- libx264library가 설치되어 있으면 삭제하고, 소스를 받아 컴파일 후 설치한다.
    x264-snapshot-20100113-2245 를 다운받은고 shared 옵션으로 컴파일 한다.
    ./configure --enable-shared
    [링크 : http://www.kde-apps.org/content/show.php?content=85826]
    [링크 : http://www.videolan.org/developers/x264.html]

- libopencore-amr[n|w]b 라이브러리는 sourceforge에서 다운받아 설치한다.
    [링크 : http://sourceforge.net/projects/opencore-amr/]

- 환경설정 : libopencore-amr 패키지는 version3 , libx264는 gpl 옵션을 주어야 컴파일이 된다.
    ./configure --enable-version3 --enable-libopencore-amrnb  --enable-libopencore-amrwb
                    --enable-gpl --enable-libx264

- 컴파일 및 설치
    sudo make
    sudo make install

VLC 컴파일은, make / make install 하면 되는듯함 (ffmpeg 별도 빌드 후에 수정사항 적용시)

[링크 : http://wiki.videolan.org/UnixCompile]
[링크 : http://ffmpeg.org/general.html]
[링크 : http://www.webupd8.org/2010/01/how-to-compile-vlc-and-vlmc-from-git-in.html]
[링크 : http://forum.videolan.org/viewtopic.php?f=13&t=46950]
신고

'프로그램 사용 > VLC' 카테고리의 다른 글

youtube mobile on VLC  (0) 2010.01.18
VLC compile [링크]  (0) 2010.01.15
ffmpeg + AMR + x264 + VLC?  (0) 2010.01.14
우분투에서 VLC 컴파일하기  (3) 2010.01.13
VLC configure --help  (0) 2010.01.13
VLC로 웹캠 녹화하기  (4) 2010.01.12
Posted by 구차니

댓글을 달아 주세요

프로그램 사용/VLC2010.01.13 23:11
confiure 옵션
./configure
./configure --disable-qt4 --disable-skins2 --disable-glx
(아마 skins2를 끔으로 인해, GUI가 구동이 안되는듯 하다. 나중에 qt까지 설치하고 다시시도 해봐야 할듯)

기본옵션에서 설치시 에러가 나서 설치하게된 패키지들(ubuntu 9.10 기준)
libqt4-dev (--disable-qt4)
libfribidi-dev (--disable-qt4)
libglu1-xorg-dev (--disable-glx)
libglu1-mesa-dev (필요없을지도?)
libhal-dev
libdbus-dev (존재함)
libmad0-dev
libavcodec-dev
libavutil-dev
libavformat-dev
libswscale-dev
libpostproc-dev
liba52-0.7.4-dev
libgcypt11-dev

에러는 아니지만 warning 내지는 no라고 뜨는 부분을 해결하기 위해 설치한 패키지들
mtpfs
mtp-tools
libmtp-dev
lua5.1 (설치해도 못찾음)
liblivemedia-dev
livemedia-utils
libdvbpsi5-dev
libv4l-dev
libcddb2
libcddb2-dev
libmpeg2-4-dev
zvbi (설치해도 못찾음)
libpulseaudio-dev

configure 시에는 발생하지 않으나, make 시에 발생해서 추가로 설치한 패키지
x11proto-xext-dev
xcommon.c:69:36: error: X11/extensions/XShm.h: No such file or directory
[링크 : http://islandlinux.org/howto/compiling-micropolis-ubuntu-7-10]

설치후 실행불가로 인한 수정
sudo ln -s /usr/local/lib/libvlc.so /lib/libvlc.so.2
sudo ln -s /usr/local/lib/libvlccore.so /lib/libvlccore.so.2
신고

'프로그램 사용 > VLC' 카테고리의 다른 글

VLC compile [링크]  (0) 2010.01.15
ffmpeg + AMR + x264 + VLC?  (0) 2010.01.14
우분투에서 VLC 컴파일하기  (3) 2010.01.13
VLC configure --help  (0) 2010.01.13
VLC로 웹캠 녹화하기  (4) 2010.01.12
youtube 모바일 재생시 samr 오류발생  (0) 2010.01.06
Posted by 구차니

댓글을 달아 주세요

  1. shyesu

    안녕하세요 vlc에 관한 포스트를 찾다가 여기까지 왔습니다.
    vlc--2.0.3 오픈소스를 이클립스에 올려서 build 했더니
    test.h에서 vlc/vlc.h 부분에서 에러가 났는데요
    그런파일이나 디렉터리를 찾을 수 없다고 나옵니다.
    운영체제는 우분투10.10을 쓰고있는데 이 에러를 해결할 방법에는 뭐가 있을까요 ?
    도와주세요 ;

    2012.07.24 14:43 신고 [ ADDR : EDIT/ DEL : REPLY ]
    • 저도 다운 받아서 해봐야 알겠지만,
      기본적인 헤더가 문제가 있다는건 극히 드문일이라,
      ./configure에서 설정이 잘못된게 아닐까 생각이 됩니다.

      2012.07.24 21:52 신고 [ ADDR : EDIT/ DEL ]
  2. park

    shyesu님 운영체제를 우분투 12.03에서 컴파일 해 보세요.

    2012.10.05 09:53 신고 [ ADDR : EDIT/ DEL : REPLY ]

프로그램 사용/VLC2010.01.13 23:04
vlc를 소스로 받아 컴파일 해볼려고 하니 일단, configure가 발목을 잡는다.

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-maintainer-mode  enable make rules and dependencies not useful
              (and sometimes confusing) to the casual installer
  --enable-python-bindings Always fails for historical reasons)
  --enable-java-bindings  Always fails for historical reasons
  --disable-dependency-tracking  speeds up one-time build
  --enable-dependency-tracking   do not reject slow dependency extractors
  --enable-macosx-defaults   Build the default configuration on Mac OS X (default enabled)
  --enable-static[=PKGS]  build static libraries [default=no]
  --enable-shared[=PKGS]  build shared libraries [default=yes]
  --enable-fast-install[=PKGS]   optimize for fast installation [default=yes]
  --disable-libtool-lock  avoid locking (might break parallel builds)
  --disable-nls           do not use Native Language Support
  --disable-rpath         do not hardcode runtime library paths
  --enable-hal            Linux HAL services discovery (default enabled)
  --enable-udev           Linux udev services discovery (default auto)
  --enable-mtp            MTP devices support (default enabled)
  --enable-dbus           Linux D-BUS message bus system (default enabled)
  --disable-dbus-control  D-BUS control interface (default enabled)
  --enable-telepathy      Telepathy Presence plugin through DBus(default enabled)
  --enable-gprof          gprof profiling (default disabled)
  --enable-cprof          cprof profiling (default disabled)
  --disable-mmx           disable MMX optimizations (default auto)
  --disable-sse           disable SSE (1 and 2) optimizations (default auto)

  --disable-altivec       disable AltiVec optimizations (default auto)
  --enable-optimize-memory optimize memory usage over performance
  --disable-optimizations disable compiler optimizations (default enabled)
  --enable-debug          debug mode (default disabled)
  --enable-run-as-root    allow runing VLC as root (default disabled)
  --enable-coverage       build for test coverage (default disabled)
  --enable-release        activate extra optimizations (default disabled)
  --enable-sout           Stream output modules (default enabled)
  --enable-switcher       Stream-out switcher plugin (default disabled)
  --enable-shout          libshout output plugin (default disabled)
  --enable-lua            lua playlist, metafetcher and interface plugins (default enabled)
  --enable-httpd          HTTP daemon (default enabled)
  --enable-libproxy       libproxy support (default auto)
  --enable-vlm            VideoLAN manager (default enabled)
  --enable-growl          growl notification plugin (default disabled)
  --enable-notify         libnotify notification plugin (default enabled)
  --disable-audioscrobbler Last.fm submission plugin (default enabled)
  --disable-taglib        Taglib support (default enabled)
  --enable-live555        live555 RTSP input plugin (default enabled)
  --enable-dc1394         dc1394 access module (default disabled)
  --enable-dv             dv input module (default disabled)
  --enable-dvdread        dvdread input module (default disabled)
  --enable-dvdnav         dvdnav input module (default enabled)
  --enable-dshow          Win32 DirectShow support (default enabled on Win32)
  --enable-bda            Win32 DirectShow BDA support (default enabled on Win32)
  --enable-opencv         OpenCV (computer vision) filter (default disabled)
  --enable-smb            smb input module (default enabled)
  --enable-dvbpsi         dvbpsi ts mux and demux module (default enabled)
  --enable-v4l            Video4Linux input support (default disabled)
  --enable-v4l2           Video4Linux2 input support (default enabled)
  --enable-libv4l2        Libv4l2 Video4Linux2 support (default enabled)
  --enable-pvr            PVR cards access module (default disabled)
  --enable-gnomevfs       GnomeVFS access module (default disabled)
  --enable-libcdio        CD input and control library support (default enabled)
  --enable-libvcdinfo     VCD information library support (default enabled)
  --enable-cddax          audio CD plugin with CD Text and CD paranoia via libcdio (default disabled)
  --enable-libcddb        CDDB support for libcdio audio CD (default enabled)
  --enable-vcdx           VCD with navigation via libvcdinfo (default disabled)
  --enable-cdda           audio CD via built-in VCD (default enabled)
  --enable-vcd            built-in VCD (default enabled)
  --enable-dvb            DVB-S/T/C card support (default enabled)
  --enable-screen         Screen capture support (default enabled)
  --enable-ogg            Ogg demux support (default enabled)
  --enable-mkv            Matroska demux support (default enabled)
  --enable-mod            Mod demux support (default enabled)
  --enable-mpc            Mpc demux support (default enabled)
  --enable-gme            Game Music Emu demux support (default enabled)
  --enable-wma-fixed      libwma-fixed module (default disabled)
  --enable-shine          shine mp3 encoding module (default disabled)
  --enable-mad            libmad module (default enabled)
  --disable-id3tag        id3tag metadata reader plugin (default disabled)
  --enable-avcodec        libavcodec codec (default enabled)
  --enable-avformat       libavformat containers (default enabled)
  --enable-swscale        libswscale image scaling and conversion (default enabled)
  --enable-postproc       libpostproc image post-processing (default enabled)
  --enable-faad           faad codec (default disabled)
  --enable-twolame        twolame codec (default disabled)
  --enable-quicktime      QuickTime module (deprecated)
  --enable-real           Real media module (default disabled)
  --enable-realrtsp       Real RTSP module (default disabled)
  --enable-libsysfs       Get user key from firewire connected iPod via libsysfs (default enabled)
  --enable-libtar         libtar support for skins2 (default enabled)
  --enable-a52            A/52 support with liba52 (default enabled)
  --enable-dca            DTS Coherent Acoustics support with libdca (default enabled)
  --enable-flac           libflac decoder/encoder support (default disabled)
  --enable-libmpeg2       libmpeg2 decoder support (default enabled)
  --enable-vorbis         Vorbis decoder support (default enabled)
  --enable-tremor         Tremor decoder support (default disabled)
  --enable-speex          Speex decoder support (default enabled)
  --enable-tarkin         experimental tarkin codec (default disabled)
  --enable-theora         experimental theora codec (default disabled)
  --enable-dirac          experimental dirac codec (default disabled)
  --disable-schroedinger  high performance dirac codec (default enabled)
  --enable-png            PNG support (default enabled)
  --enable-x264           H264 encoding support with libx264 (default enabled)
  --enable-fluidsynth     MIDI synthesisr with libfluidsynth (default enabled)
  --enable-zvbi           VBI (inc. Teletext) decoding support with libzvbi (default enabled)
  --enable-telx           Teletext decoding module (conflicting with zvbi) (default enabled if zvbi is absent)
  --enable-csri           Subtitle support using CSRI / asa (default disabled)
  --enable-libass         Subtitle support using libass (default disabled)
  --enable-asademux       asa subtitle demuxing (default disabled)
  --enable-cmml           CMML support (default enabled)
  --enable-kate           kate codec (default enabled)
  --enable-tiger          Tiger rendering library for Kate streams (default enabled)
  --enable-x11            X11 support (default enabled)
  --enable-xvideo         XVideo support (default enabled)
  --enable-glx            X11 OpenGL (GLX) support (default enabled)
  --enable-xvmc           XVMC support (default disabled)
  --enable-xinerama       Xinerama support (default enabled)
  --enable-xcb            X C Bindings work-in-progress (default disabled)
  --enable-opengl         OpenGL support (default enabled)
  --enable-sdl            SDL support (default enabled)
  --enable-sdl-image      SDL image support (default enabled)
  --enable-freetype       freetype support (default enabled)
  --enable-fribidi        fribidi support (default enabled)
  --enable-fontconfig,    fontconfig support (default enabled)
  --enable-libxml2        libxml2 support (default enabled)
  --enable-svg            SVG support (default disabled)
  --enable-snapshot       snapshot module (default disabled)
  --enable-qte            QT Embedded support (default disabled)
  --enable-hd1000v        HD1000 Video Output module (default enabled on HD1000)
  --enable-directx        Win32 DirectX support (default enabled on Win32)
  --enable-fb             Linux framebuffer support (default enabled on Linux)
  --enable-mga            Linux kernel Matrox support (default disabled)
  --enable-omapfb         OMAP framebuffer support (default disabled)
  --enable-svgalib        SVGAlib support (default disabled)
  --enable-directfb       DirectFB support (default disabled)
  --enable-ggi            GGI support (default disabled)
  --enable-aa             aalib output (default disabled)
  --enable-caca           libcaca output (default disabled)
  --enable-wingdi         Win32 GDI module (default enabled on Win32)
  --enable-oss            Linux OSS /dev/dsp support (enabled on Linux)
  --enable-pulse          Pulseaudio support (default enabled)
  --enable-portaudio      Portaudio library support (default disabled)
  --enable-alsa           ALSA sound support for Linux (default enabled)
  --enable-waveout        Win32 waveOut module (default enabled on Win32)
  --enable-macosx-audio   Mac OS X audio module (default enabled on MacOS X)
  --enable-hd1000a        HD1000 audio module (default enabled on HD1000)
  --enable-jack           JACK audio I/O modules (default disabled)
  --enable-cyberlink      CyberLink for C++ UPnP stack (default disabled)
  --enable-upnp           Intel UPnP SDK (default enabled)
  --enable-skins2         Skins2 interface module (default enabled except on MacOSX, BeOS and WinCE)
  --enable-pda            PDA interface needs Gtk2 support (default disabled)
  --enable-maemo          Internet tablets based on Maemo SDK (default disabled)
  --enable-qt4            QT 4 support (default enabled)
  --enable-wince          Windows CE interface (default enabled with MinGW)
  --enable-opie           Qt embedded interface support (default disabled)
  --enable-macosx         MacOS X support (default enabled on MacOS X)
  --enable-qnx            QNX RTOS support (default enabled on QNX RTOS)
  --disable-ncurses       ncurses interface support (default enabled)
  --enable-xosd           xosd interface support (default disabled)
  --enable-fbosd          fbosd interface support (default disabled)
  --enable-visual         visualisation plugin (default enabled)
  --enable-galaktos       OpenGL visualisation plugin (default disabled)
  --enable-goom           goom visualisation plugin (default disabled)
  --disable-atmo          AtmoLight (homebrew philips ambilight) (default enabled)
  --enable-bonjour        Bonjour services discovery (default enabled)
  --enable-lirc           lirc support (default disabled)
  --disable-libgcrypt      libgcrypts support (default enabled)
  --enable-gnutls         gnutls TLS/SSL support (default enabled)
  --disable-remoteosd     RemoteOSD plugin (default enabled)
  --enable-update-check   update checking system (default disabled)
  --enable-loader         build DLL loader for ELF i386 platforms (default disabled)
  --enable-vlc            build the VLC media player (default enabled)
  --enable-activex        build a vlc-based ActiveX control (default enabled on Win32)
  --enable-mozilla        build a vlc-based Firefox/Mozilla plugin (default disabled)
  --enable-testsuite      build test modules (default disabled)

./configure --help



ubuntu 9.10에서 컴파일을 시도하니
./configure --disable-qt4 --disable-skins2 --disable-glx
이렇게 세가지를 disable 시켜주어야 컴파일이 가능했다.
신고
Posted by 구차니

댓글을 달아 주세요