Building vlc with minimal configuration

*nix specific usage questions
dapeco
New Cone
New Cone
Posts: 6
Joined: 31 Oct 2008 08:59

Building vlc with minimal configuration

Postby dapeco » 31 Oct 2008 09:09

Hello,

I would like to compile a vlc versione, with only h264/aac and xvid/mp3 decoding/encoding for doing streaming (RTP). I don't need any gui or other orphel because is on minimalistic debian dist.

I've tried a lot of configure command, but I'm unable to compile v 0.9.5 (same that are disable are anyway requested...) and 0.8.6i have problem with x264.c module.

can you suggest me a right ./configure command for a minimal configuration?

Thanks

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Building vlc with minimal configuration

Postby ivoire » 05 Nov 2008 14:26

Look at the configure file and add all --disable- that you don't need.
For example for 0.9 you will obviously add --disable-qt4

And if you have some problem to compile we need the log if you wan help...

dapeco
New Cone
New Cone
Posts: 6
Joined: 31 Oct 2008 08:59

Re: Building vlc with minimal configuration

Postby dapeco » 05 Nov 2008 15:58

And if you have some problem to compile we need the log if you wan help...
I've compiled vlc with this ./configure options:

Code: Select all

./configure --prefix=/home/vlc/ --disable-hal --disable-dbus --disable-dbus-control --disable-telepathy --disable-optimize-memory --enable-debug --enable-run-as-root --enable-release --enable-sout --enable-switcher --enable-shout --enable-vlm --enable-notify --disable-audioscrobbler --disable-taglib --enable-live555 --disable-dvdnav --disable-smb --enable-dvbpsi --disable-v4l2 --disable-libv4l2 --disable-libcdio --disable-libvcdinfo --disable-libcddb --disable-cdda --disable-vcd --disable-dvb --disable-screen --enable-ogg --enable-mkv --disable-mod --disable-mpc --disable-gme --disable-mad --disable-id3tag --enable-avcodec --enable-avformat --enable-swscale --enable-postproc --enable-faad --enable-realrtsp --disable-libtar --disable-a52 --disable-dca --disable-libmpeg2 --enable-vorbis --disable-speex --disable-schroedinger --enable-png --enable-x264 --disable-fluidsynth --disable-zvbi --disable-telx --disable-cmml --disable-kate --disable-x11 --disable-xvideo --disable-glx --disable-xinerama --disable-opengl --disable-sdl --disable-sdl-image --enable-freetype --disable-fribidi --disable-fontconfig --enable-libxml2 --disable-oss --disable-pulse --disable-alsa --disable-upnp --disable-skins2 --disable-qt4 --disable-ncurses --disable-visual --disable-atmo --disable-bonjour --disable-libgcrypt --disable-remoteosd --enable-vlc --disable-activex --disable-testsuite
Compiled, packed and installed. Than I have use this command:

Code: Select all

./cvlc /home/www/brusasco.org/htdocs/meridiane_new.mp4 --sout '#duplicate{dst=rtp{dst=127.0.0.1,sdp=file:///usr/local/WowzaMediaServerPro/content/vlc.sdp}}'
And I get this error:

Code: Select all

[00000001] main libvlc debug: translation test: code is "en_GB" [00000557] dummy interface: using the dummy interface module... [00000561] main stream out error: no sout stream module matched "rtp" [00000560] stream_out_duplicate stream out error: no destination given [00000559] main stream output error: stream chain failed for `duplicate{dst=rtp{dst=127.0.0.1,sdp=file:///usr/local/WowzaMediaServerPro/content/vlc.sdp}}' [00000558] main input error: cannot start stream output instance, aborting
Any ideas of what is going wrong?

Thanks

ivoire
Cone that earned his stripes
Cone that earned his stripes
Posts: 413
Joined: 20 Aug 2008 11:29
VLC version: trunk
Operating System: linux (debian sid)
Contact:

Re: Building vlc with minimal configuration

Postby ivoire » 05 Nov 2008 16:27

Could you run the same command but with -vvv (verbose mode) and without the 'duplicate'

dapeco
New Cone
New Cone
Posts: 6
Joined: 31 Oct 2008 08:59

Re: Building vlc with minimal configuration

Postby dapeco » 05 Nov 2008 16:35

Could you run the same command but with -vvv (verbose mode) and without the 'duplicate'

Code: Select all

./cvlc -vvv /home/www/brusasco.org/htdocs/meridiane_new.mp4 --sout '#rtp{dst=127.0.0.1,sdp=file:///usr/local/WowzaMediaServerPro/content/vlc.sdp}'
This the output:

Code: Select all

[00000001] main libvlc debug: translation test: code is "en_GB" [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /root/.cache/vlc/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `/home/vlc//lib/vlc' [00000001] main libvlc warning: cannot load module `/home/vlc//lib/vlc/codec/libavcodec_plugin.so' (/home/vlc//lib/vlc/codec/libavcodec_plugin.so: undefined symbol: uncompress) [00000001] main libvlc warning: cannot load module `/home/vlc//lib/vlc/demux/libavformat_plugin.so' (/home/vlc//lib/vlc/demux/libavformat_plugin.so: undefined symbol: avcodec_init) [00000001] main libvlc warning: cannot load module `/home/vlc//lib/vlc/video_filter/libswscale_plugin.so' (/home/vlc//lib/vlc/video_filter/libswscale_plugin.so: undefined symbol: av_freep) [00000001] main libvlc debug: module bank initialized, found 206 modules [00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main libvlc debug: looking for memcpy module: 3 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000276] main interaction debug: thread started [00000276] main interaction debug: thread 3083381648 (Interaction control) created at priority 0 (interface/interaction.c:382) [00000278] main input debug: Creating an input for 'Media Library' [00000278] main input debug: Input is a meta file: disabling unneeded options [00000278] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/root/.local/share/vlc/ml.xspf' [00000278] main input debug: creating access 'file' path='/root/.local/share/vlc/ml.xspf' [00000279] main access debug: looking for access module: 3 candidates [00000279] access_file access debug: opening file `/root/.local/share/vlc/ml.xspf' [00000279] main access debug: using access module "access_file" [00000279] main access debug: TIMER module_Need() : 3.739 ms - Total 3.739 ms / 1 intvls (Avg 3.739 ms) [00000284] main stream debug: Using AStream*Stream [00000284] main stream debug: pre-buffering... [00000284] main stream debug: received first data for our buffer [00000278] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.local/share/vlc/ml.xspf' [00000285] main demux debug: looking for demux module: 1 candidate [00000285] playlist demux debug: using XSPF playlist reader [00000285] main demux debug: using demux module "playlist" [00000285] main demux debug: TIMER module_Need() : 2.417 ms - Total 2.417 ms / 1 intvls (Avg 2.417 ms) [00000278] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened [00000300] main xml debug: looking for xml module: 1 candidate [00000300] main xml debug: using xml module "xtag" [00000300] main xml debug: TIMER module_Need() : 1.228 ms - Total 1.228 ms / 1 intvls (Avg 1.228 ms) [00000285] playlist demux warning: invalid <playlist> attribute:"xmlns:vlc" [00000285] playlist demux debug: parsed 0 tracks successfully [00000300] main xml debug: removing module "xtag" [00000278] main input debug: EOF reached [00000278] main input debug: control type=1 [00000285] main demux debug: removing module "playlist" [00000279] main access debug: removing module "access_file" [00000278] main input debug: Destroying the input for 'Media Library' [00000278] main input debug: TIMER input launching for 'Media Library' : 19.052 ms - Total 19.052 ms / 1 intvls (Avg 19.052 ms) [00000302] main preparser debug: thread started [00000302] main preparser debug: waiting for thread initialization [00000302] main preparser debug: thread 3074947984 (preparser) created at priority 0 (playlist/thread.c:79) [00000303] main fetcher debug: thread started [00000303] main fetcher debug: waiting for thread initialization [00000303] main fetcher debug: thread 3062266768 (fetcher) created at priority 0 (playlist/thread.c:108) [00000277] main playlist debug: thread started [00000277] main playlist debug: waiting for thread initialization [00000277] main playlist debug: rebuilding array of current - root Playlist [00000277] main playlist debug: rebuild done - 0 items, index -1 [00000277] main playlist debug: thread 3053874064 (playlist) created at priority 0 (playlist/thread.c:117) [00000304] main interface debug: looking for interface module: 1 candidate [00000304] main interface debug: using interface module "hotkeys" [00000304] main interface debug: TIMER module_Need() : 1.522 ms - Total 1.522 ms / 1 intvls (Avg 1.522 ms) [00000304] main interface debug: thread started [00000304] main interface debug: thread 3045481360 (interface) created at priority 0 (interface/interface.c:168) [00000277] main playlist debug: adding item `meridiane_new.mp4' ( /home/www/brusasco.org/htdocs/meridiane_new.mp4 ) [00000306] main interface debug: looking for interface module: 11 candidates [00000306] main interface debug: using interface module "signals" [00000306] main interface debug: TIMER module_Need() : 1.619 ms - Total 1.619 ms / 1 intvls (Avg 1.619 ms) [00000306] main interface debug: thread started [00000306] main interface debug: thread 3028695952 (interface) created at priority 0 (interface/interface.c:168) [00000308] main interface debug: looking for interface module: 11 candidates [00000308] dummy interface: using the dummy interface module... [00000308] main interface debug: using interface module "dummy" [00000308] main interface debug: TIMER module_Need() : 2.335 ms - Total 2.335 ms / 1 intvls (Avg 2.335 ms) [00000308] main interface debug: thread started [00000308] main interface debug: thread 3020303248 (interface) created at priority 0 (interface/interface.c:168) [00000277] main playlist debug: rebuilding array of current - root Playlist [00000277] main playlist debug: rebuild done - 1 items, index -1 [00000277] main playlist debug: starting new item [00000277] main playlist debug: processing request item null node Playlist skip 0 [00000277] main playlist debug: creating new input thread [00000317] main input debug: Creating an input for 'meridiane_new.mp4' [00000317] main input debug: thread started [00000317] main input debug: waiting for thread initialization [00000318] main stream output debug: stream=`rtp' [00000319] main stream out debug: looking for sout stream module: 0 candidates [00000319] main stream out error: no sout stream module matched "rtp" [00000319] main stream out debug: TIMER module_Need() : 0.558 ms - Total 0.558 ms / 1 intvls (Avg 0.558 ms) [00000319] main stream out debug: destroying chain... (name=rtp) [00000319] main stream out debug: destroying chain done [00000318] main stream output error: stream chain failed for `rtp{dst=127.0.0.1,sdp=file:///usr/local/WowzaMediaServerPro/content/vlc.sdp}' [00000317] main input error: cannot start stream output instance, aborting [00000317] main input debug: thread 3011910544 (input) created at priority 10 (input/input.c:370) [00000277] main playlist debug: finished input [00000277] main playlist debug: dying input [00000277] main playlist debug: dying input [00000317] main input debug: thread ended [00000277] main playlist debug: dead input [00000317] main input debug: thread 3011910544 joined (playlist/engine.c:244) [00000317] main input debug: Destroying the input for 'meridiane_new.mp4' [00000317] main input debug: TIMER input launching for 'meridiane_new.mp4' : 113.008 ms - Total 113.008 ms / 1 intvls (Avg 113.008 ms) [00000277] main playlist debug: starting new item [00000277] main playlist debug: changing item without a request (current 0/1) [00000277] main playlist debug: nothing to play
Thank You for the help!

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: Building vlc with minimal configuration

Postby ILEoo » 05 Nov 2008 16:41

Did you check that compile went ok? seems that you don't have rtp-module compiled/installed correctly there.

dapeco
New Cone
New Cone
Posts: 6
Joined: 31 Oct 2008 08:59

Re: Building vlc with minimal configuration

Postby dapeco » 05 Nov 2008 16:53

Did you check that compile went ok? seems that you don't have rtp-module compiled/installed correctly there.
Yes, the compile or the make went ok. But I don't know why the rtp module isn't compiled and installed... I tried all the version from 0.9.0 to 0.9.5 and git version (that give me problem with checkinstall packing, but went ok with make install) but this module seems to be a ghost...


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests