OpenWrt Forum Archive

Topic: Proposal of VLC package for kamikaze

The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Attached, the try I have made to package vlc 0.9.6 on kamikaze : http://stashbox.org/309518/vlc-package.20081129.tar.gz
- it works fine on WGT634U
- all video plugins are removed at compile+package time
- but I had some issues with ogg/vorbis files
- package takes around 1.1 MB of flash space

(Last edited by francoisal on 29 Nov 2008, 17:39)

@francoisal - compilation ok, vlc working - mp3 files play, but http interface not work.
I would like to transcode video from one stream to another.

I have updated the package to solve the network issue encountered when launching the http interface.
Check the new URL in the first message of this thread.
Cheers.

the difference is only in patches?
how to make a compilation?
I copy your files to catalog /8.09_rc1/feeds/packages/sound/vlc
then select vlc in make menuconfig
and at the end make

but how to make a patch? at which point?

The only difference is in the patch (a constant simply had to be undefined).
With this upgraded pacth, you should be able to compile a vlc with a working http interface (tested on my WGT634U).
The compilation process is the one you have written.

Why remove video plugin ?
It can be very usefull to have video input. For example, I'm using VLC on a camera (with a MP4 chip) to provide RTSP stream and only with 32 MB of RAM smile

Which version of VLC do you use ?
I've used VLC 0.8.7 neuros branch.

The plugin is for vlc 0.9.6.
I have removed video plugins for my use-cases (audio only) since my flash ROM is only 8Mb.
You can enable video by adjusting the Makefile :
  - remove these two lines :

    rm -f  "${1}"/usr/lib/vlc/*mux/lib*mp4*
    rm -f  "${1}"/usr/lib/vlc/video*/*

- remove any line disabling wanted features at compile time. For example :

     --disable-libmpeg2 \

(Last edited by francoisal on 2 Dec 2008, 11:35)

@francoisal - http OK big_smile  but I have a several errors when vlc is running:

[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/access/libdvb_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/audio_filter/libspatializer_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/codec/libvorbis_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libogg_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libmp4_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libmpc_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libts_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/mux/libmux_ogg_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/mux/libmux_ts_plugin.so' (File not found)
[00000271] playlist demux warning: invalid <playlist> attribute:"xmlns:vlc"

but these files exists in that directory

and next errors

[00000303] main stream out warning: no sout stream module matching "std" could be loaded
[00000300] stream_out_transcode stream out error: cannot create chain
[00000300] main stream out warning: no sout stream module matching "transcode" could be loaded

any suggestions?

Is it the output of running in verbose mode ( -v argument or even more verbose -vv) ?

only for 1 v:
vlc -v --intf http

Can you upload the output of vlv with -vv (double v) ?
Have you compiled vlc with the Makefile provided in the package or with a custom one which does not remove video plugins ?

I did a few modifications in Makefile:
remove lines(as you wrote)

--disable-libmpeg2 \

and some other in lib section like libdvb...

and

rm -f  "${1}"/usr/lib/vlc/*mux/lib*mp4*
rm -f  "${1}"/usr/lib/vlc/video*/*

but I forgot link a library - my fault...
I have installed vlc on hdd (/hdd/usr/bin, /hdd/usr/lib ...) and all lib must be linked to /usr/lib
Now is almost well...

root@dhouse:~# vlc -vv --intf http
VLC media player 0.9.6 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.6 Grishenko - (c) 1996-2008 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--target=mipsel-linux' '--host=mipsel-linux' '--build=i486-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--with-linux-headers=' '--enable-run-as-root' '--disable-dbus' '--disable-dbus-control' '--disable-vlm' '--disable-notify' '--disable-audioscrobbler' '--disable-live555' '--disable-dvdnav' '--disable-dshow' '--disable-bda' '--disable-smb' '--disable-v4l2' '--disable-libv4l2' '--disable-libcdio' '--disable-libvcdinfo' '--disable-libcddb' '--disable-cdda' '--disable-vcd' '--disable-screen' '--disable-mod' '--disable-gme' '--disable-postproc' '--disable-quicktime' '--disable-libtar' '--disable-a52' '--disable-speex' '--disable-schroedinger' '--disable-png' '--disable-fluidsynth' '--disable-cmml' '--disable-kate' '--disable-x11' '--disable-xvideo' '--disable-glx' '--disable-xinerama' '--disable-opengl' '--disable-sdl' '--disable-sdl-image' '--disable-freetype' '--disable-fribidi' '--disable-fontconfig' '--disable-libxml2' '--disable-hd1000v' '--disable-directx' '--disable-fb' '--disable-wingdi' '--disable-pulse' '--disable-waveout' '--disable-macosx-audio' '--disable-hd1000a' '--disable-upnp' '--disable-skins2' '--disable-qt4' '--disable-wince' '--disable-macosx' '--disable-visual' '--disable-bonjour' '--disable-libgcrypt' '--disable-gnutls' '--disable-remoteosd' '--disable-activex' '--disable-nls' '--disable-rpath' '--disable-telepathy' '--disable-cddax' '--disable-swscale' '--disable-dca' '--disable-telx' '--disable-zvbi' '--disable-atmo' '--disable-mozilla' '--enable-optimize-memory' '--with-libiconv-prefix=/opt/8.09_rc1/staging_dir/mipsel/usr/lib/libiconv' 'CFLAGS= -std=gnu99' 'build_alias=i486-linux-gnu' 'host_alias=mipsel-linux' 'target_alias=mipsel-linux' 'CC=mipsel-linux-uclibc-gcc' 'LDFLAGS=-L/opt/8.09_rc1/staging_dir/toolchain-mipsel_gcc4.1.2/lib -L/opt/8.09_rc1/staging_dir/mipsel/usr/lib -L/opt/8.09_rc1/staging_dir/mipsel/lib ' 'CPPFLAGS=-I/opt/8.09_rc1/staging_dir/mipsel/usr/include -I/opt/8.09_rc1/staging_dir/mipsel/include ' 'CXX=mipsel-linux-uclibc-g++' 'CXXFLAGS=-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts ' 'PKG_CONFIG_PATH=/opt/8.09_rc1/staging_dir/mipsel/usr/lib/pkgconfig:/opt/8.09_rc1/staging_dir/host/usr/lib/pkgconfig' 'PKG_CONFIG=/opt/8.09_rc1/staging_dir/host/bin/pkg-config'
[00000001] main libvlc debug: translation test: code is "C"
[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 `/usr/lib/vlc'
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/audio_filter/libspatializer_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libmp4_plugin.so' (File not found)
[00000001] main libvlc debug: module bank initialized, found 196 modules
[00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 
[00000001] main libvlc debug: looking for memcpy module: 1 candidate
[00000001] main libvlc debug: using memcpy module "memcpy"
[00000271] main interaction debug: thread started
[00000271] main interaction debug: thread 1026 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000273] main input debug: Creating an input for 'Media Library'
[00000273] main input debug: Input is a meta file: disabling unneeded options
[00000273] 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'
[00000273] main input debug: creating access 'file' path='/root/.local/share/vlc/ml.xspf'
[00000274] main access debug: looking for access module: 3 candidates
[00000274] access_file access debug: opening file `/root/.local/share/vlc/ml.xspf'
[00000274] main access debug: using access module "access_file"
[00000274] main access debug: TIMER module_Need() : 46.296 ms - Total 46.296 ms / 1 intvls (Avg 46.296 ms)
[00000279] main stream debug: Using AStream*Stream
[00000279] main stream debug: pre-buffering...
[00000279] main stream debug: received first data for our buffer
[00000273] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.local/share/vlc/ml.xspf'
[00000280] main demux debug: looking for demux module: 1 candidate
[00000280] playlist demux debug: using XSPF playlist reader
[00000280] main demux debug: using demux module "playlist"
[00000280] main demux debug: TIMER module_Need() : 39.771 ms - Total 39.771 ms / 1 intvls (Avg 39.771 ms)
[00000273] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened
[00000295] main xml debug: looking for xml module: 1 candidate
[00000295] main xml debug: using xml module "xtag"
[00000295] main xml debug: TIMER module_Need() : 19.997 ms - Total 19.997 ms / 1 intvls (Avg 19.997 ms)
[00000280] playlist demux warning: invalid <playlist> attribute:"xmlns:vlc"
[00000280] playlist demux debug: parsed 0 tracks successfully
[00000295] main xml debug: removing module "xtag"
[00000273] main input debug: EOF reached
[00000273] main input debug: control type=1
[00000280] main demux debug: removing module "playlist"
[00000274] main access debug: removing module "access_file"
[00000273] main input debug: TIMER input launching for 'Media Library' : 179.718 ms - Total 179.718 ms / 1 intvls (Avg 179.718 ms)
[00000297] main preparser debug: thread started
[00000297] main preparser debug: waiting for thread initialization
[00000297] main preparser debug: thread 2051 (preparser) created at priority 0 (playlist/thread.c:79)
[00000298] main fetcher debug: thread started
[00000298] main fetcher debug: waiting for thread initialization
[00000298] main fetcher debug: thread 3076 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000272] main playlist debug: thread started
[00000272] main playlist debug: waiting for thread initialization
[00000272] main playlist debug: thread 4101 (playlist) created at priority 0 (playlist/thread.c:117)
[00000299] main interface debug: looking for interface module: 1 candidate
[00000272] main playlist debug: rebuilding array of current - root Playlist
[00000272] main playlist debug: rebuild done - 0 items, index -1
[00000299] main interface debug: using interface module "hotkeys"
[00000299] main interface debug: TIMER module_Need() : 28.838 ms - Total 28.838 ms / 1 intvls (Avg 28.838 ms)
[00000299] main interface debug: thread started
[00000299] main interface debug: thread 5126 (interface) created at priority 0 (interface/interface.c:168)
[00000301] main interface debug: looking for interface module: 10 candidates
[00000301] main interface debug: using interface module "signals"
[00000301] main interface debug: TIMER module_Need() : 36.745 ms - Total 36.745 ms / 1 intvls (Avg 36.745 ms)
[00000301] main interface debug: thread started
[00000301] main interface debug: thread 7176 (interface) created at priority 0 (interface/interface.c:168)
[00000303] main interface debug: looking for interface module: 10 candidates
[00000303] http interface debug: base :8080
[00000303] main interface: creating httpd
[00000303] main interface debug: net: listening to  port 8080
[00000303] main interface debug: socket error: Address family not supported by protocol
[00000306] main http server debug: thread started
[00000306] main http server debug: thread 8201 (httpd host thread) created at priority 0 (network/httpd.c:1107)
[00000303] http interface debug: dir=/usr/share/vlc/http
[00000303] main interface debug: find .hosts in dir=/usr/share/vlc/http/.hosts
[00000303] main interface debug: restricted to ::1
[00000303] main interface debug: restricted to 127.0.0.1
[00000303] main interface debug: restricted to 192.168.0.0/16
[00000303] http interface debug: dir=/usr/share/vlc/http/dialogs
[00000303] main interface debug: find .hosts in dir=/usr/share/vlc/http/dialogs/.hosts
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/browse (url=/dialogs/browse)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/footer (url=/dialogs/footer)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/input (url=/dialogs/input)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/main (url=/dialogs/main)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/mosaic (url=/dialogs/mosaic)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/playlist (url=/dialogs/playlist)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/sout (url=/dialogs/sout)
[00000303] http interface debug: file=/usr/share/vlc/http/dialogs/vlm (url=/dialogs/vlm)
[00000303] http interface debug: file=/usr/share/vlc/http/favicon.ico (url=/favicon.ico)
[00000303] http interface debug: file=/usr/share/vlc/http/flash.html (url=/flash.html)
[00000303] http interface debug: file=/usr/share/vlc/http/iehacks.css (url=/iehacks.css)
[00000303] http interface debug: dir=/usr/share/vlc/http/images
[00000303] http interface debug: file=/usr/share/vlc/http/images/delete.png (url=/images/delete.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/delete_small.png (url=/images/delete_small.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/eject.png (url=/images/eject.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/empty.png (url=/images/empty.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/fullscreen.png (url=/images/fullscreen.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/help.png (url=/images/help.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/info.png (url=/images/info.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/loop.png (url=/images/loop.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/minus.png (url=/images/minus.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/next.png (url=/images/next.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/pause.png (url=/images/pause.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/play.png (url=/images/play.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/playlist.png (url=/images/playlist.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/playlist_small.png (url=/images/playlist_small.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/plus.png (url=/images/plus.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/prev.png (url=/images/prev.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/refresh.png (url=/images/refresh.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/repeat.png (url=/images/repeat.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/sd.png (url=/images/sd.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/shuffle.png (url=/images/shuffle.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/slider_bar.png (url=/images/slider_bar.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/slider_left.png (url=/images/slider_left.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/slider_point.png (url=/images/slider_point.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/slider_right.png (url=/images/slider_right.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/slow.png (url=/images/slow.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/snapshot.png (url=/images/snapshot.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/sort.png (url=/images/sort.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/sout.png (url=/images/sout.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/speaker.png (url=/images/speaker.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/speaker_mute.png (url=/images/speaker_mute.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/stop.png (url=/images/stop.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/vlc16x16.png (url=/images/vlc16x16.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/volume_down.png (url=/images/volume_down.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/volume_up.png (url=/images/volume_up.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/white.png (url=/images/white.png)
[00000303] http interface debug: file=/usr/share/vlc/http/images/white_cross_small.png (url=/images/white_cross_small.png)
[00000303] http interface debug: file=/usr/share/vlc/http/index.html (url=/)
[00000303] http interface debug: redir= -> /
[00000303] http interface debug: redir=/index.html -> /
[00000303] http interface debug: dir=/usr/share/vlc/http/js
[00000303] http interface debug: file=/usr/share/vlc/http/js/functions.js (url=/js/functions.js)
[00000303] http interface debug: file=/usr/share/vlc/http/js/mosaic.js (url=/js/mosaic.js)
[00000303] http interface debug: file=/usr/share/vlc/http/js/vlm.js (url=/js/vlm.js)
[00000303] http interface debug: file=/usr/share/vlc/http/mosaic.html (url=/mosaic.html)
[00000303] http interface debug: dir=/usr/share/vlc/http/old
[00000303] main interface debug: find .hosts in dir=/usr/share/vlc/http/old/.hosts
[00000303] main interface debug: restricted to ::1
[00000303] main interface debug: restricted to 127.0.0.1
[00000303] main interface debug: restricted to ::/0
[00000303] main interface debug: restricted to 0.0.0.0/0
[00000303] http interface debug: dir=/usr/share/vlc/http/old/admin
[00000303] http interface debug: find .access in dir=/usr/share/vlc/http/old/admin
[00000303] http interface debug: using user=admin password=admin (read=11)
[00000303] http interface debug: file=/usr/share/vlc/http/old/admin/browse.html (url=/old/admin/browse.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/admin/dboxfiles.html (url=/old/admin/dboxfiles.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/admin/index.html (url=/old/admin/)
[00000303] http interface debug: redir=/old/admin -> /old/admin/
[00000303] http interface debug: redir=/old/admin/index.html -> /old/admin/
[00000303] http interface debug: file=/usr/share/vlc/http/old/cone_minus.png (url=/old/cone_minus.png)
[00000303] http interface debug: file=/usr/share/vlc/http/old/cone_plus.png (url=/old/cone_plus.png)
[00000303] http interface debug: file=/usr/share/vlc/http/old/index.html (url=/old/)
[00000303] http interface debug: redir=/old -> /old/
[00000303] http interface debug: redir=/old/index.html -> /old/
[00000303] http interface debug: file=/usr/share/vlc/http/old/info.html (url=/old/info.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/style.css (url=/old/style.css)
[00000303] http interface debug: dir=/usr/share/vlc/http/old/vlm
[00000303] http interface debug: file=/usr/share/vlc/http/old/vlm/edit.html (url=/old/vlm/edit.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/vlm/index.html (url=/old/vlm/)
[00000303] http interface debug: redir=/old/vlm -> /old/vlm/
[00000303] http interface debug: redir=/old/vlm/index.html -> /old/vlm/
[00000303] http interface debug: file=/usr/share/vlc/http/old/vlm/new.html (url=/old/vlm/new.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/vlm/show.html (url=/old/vlm/show.html)
[00000303] http interface debug: file=/usr/share/vlc/http/old/webcam.html (url=/old/webcam.html)
[00000303] http interface debug: dir=/usr/share/vlc/http/requests
[00000303] http interface debug: file=/usr/share/vlc/http/requests/browse.xml (url=/requests/browse.xml)
[00000303] http interface debug: file=/usr/share/vlc/http/requests/playlist.xml (url=/requests/playlist.xml)
[00000303] http interface debug: file=/usr/share/vlc/http/requests/readme (url=/requests/readme)
[00000303] http interface debug: file=/usr/share/vlc/http/requests/status.xml (url=/requests/status.xml)
[00000303] http interface debug: file=/usr/share/vlc/http/requests/vlm.xml (url=/requests/vlm.xml)
[00000303] http interface debug: file=/usr/share/vlc/http/requests/vlm_cmd.xml (url=/requests/vlm_cmd.xml)
[00000303] http interface debug: file=/usr/share/vlc/http/style.css (url=/style.css)
[00000303] http interface debug: file=/usr/share/vlc/http/vlm.html (url=/vlm.html)
[00000303] http interface debug: file=/usr/share/vlc/http/vlm_export.html (url=/vlm_export.html)
[00000303] main interface debug: using interface module "http"
[00000303] main interface debug: TIMER module_Need() : 382.993 ms - Total 382.993 ms / 1 intvls (Avg 382.993 ms)
[00000303] main interface debug: thread started
[00000303] main interface debug: thread 9226 (interface) created at priority 0 (interface/interface.c:168)

But when I trying transcode video from http interface I have some errors:

[00000272] main playlist debug: adding item `/dysk/movie.avi :sout=#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=http,mux=ts,dst=192.168.0.1:1234}' ( /dysk/movie.avi )
[00000272] main playlist debug: rebuilding array of current - root Playlist
[00000272] main playlist debug: rebuild done - 1 items, index -1
[00000303] http interface debug: requested mrl add: /dysk/movie.avi :sout=#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=http,mux=ts,dst=192.168.0.1:1234}
[00000272] main playlist debug: starting new item
[00000272] main playlist debug: processing request item null node Playlist skip 0
[00000272] main playlist debug: creating new input thread
[00000307] main input debug: Creating an input for '/dysk/movie.avi :sout=#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=http,mux=ts,dst=192.168.0.1:1234}'
[00000303] http interface debug: requested playlist item: 0
[00000307] main input debug: thread started
[00000307] main input debug: waiting for thread initialization
[00000308] main stream output debug: stream=`transcode'
[00000309] main stream out debug: looking for sout stream module: 1 candidate
[00000307] main input debug: thread 10251 (input) created at priority 10 (input/input.c:370)
[00000308] main stream output debug: stream=`std'
[00000312] main stream out debug: looking for sout stream module: 1 candidate
[00000312] main stream out debug: set config option: sout-standard-access to http
[00000312] main stream out debug: set config option: sout-standard-mux to ts
[00000312] main stream out debug: set config option: sout-standard-dst to 192.168.0.1:1234
[00000312] stream_out_standard stream out debug: creating `http/ts://192.168.0.1:1234'
[00000312] stream_out_standard stream out debug: extension is 1:1234
[00000312] stream_out_standard stream out debug: extension -> mux=(null)
[00000312] stream_out_standard stream out debug: using `http/ts://192.168.0.1:1234'
[00000314] main access out debug: looking for sout access module: 1 candidate
[00000314] main access out debug: net: listening to 192.168.0.1 port 1234
[00000316] main http server debug: thread started
[00000316] main http server debug: thread 11276 (httpd host thread) created at priority 0 (network/httpd.c:1107)
[00000314] main access out debug: using sout access module "access_output_http"
[00000314] main access out debug: TIMER module_Need() : 95.754 ms - Total 95.754 ms / 1 intvls (Avg 95.754 ms)
[00000312] stream_out_standard stream out debug: access opened
[00000317] main mux debug: looking for sout mux module: 1 candidate
[00000317] mux_ts mux debug: shaping=200000 pcr=70000 dts_delay=400000
[00000317] main mux debug: using sout mux module "mux_ts"
[00000317] main mux debug: TIMER module_Need() : 152.607 ms - Total 152.607 ms / 1 intvls (Avg 152.607 ms)
[00000308] main stream output debug: muxer support adding stream at any time
[00000312] stream_out_standard stream out debug: mux opened
[00000312] main stream out debug: using sout stream module "stream_out_standard"
[00000312] main stream out debug: TIMER module_Need() : 342.264 ms - Total 342.264 ms / 1 intvls (Avg 342.264 ms)
[00000309] main stream out debug: set config option: sout-transcode-vcodec to mp4v
[00000309] main stream out debug: set config option: sout-transcode-vb to 4096
[00000309] main stream out debug: set config option: sout-transcode-scale to 1
[00000309] main stream out debug: set config option: sout-transcode-acodec to mp3
[00000309] main stream out debug: set config option: sout-transcode-ab to 512
[00000309] stream_out_transcode stream out debug: codec audio=mp3  0Hz 0 channels 512Kb/s
[00000309] stream_out_transcode stream out debug: codec video=mp4v 0x0 scaling: 1.000000 4096kb/s
[00000309] main stream out debug: using sout stream module "stream_out_transcode"
[00000309] main stream out debug: TIMER module_Need() : 461.719 ms - Total 461.719 ms / 1 intvls (Avg 461.719 ms)
[00000307] main input debug: `/dysk/movie.avi' gives access `' demux `' path `/dysk/movie.avi'
[00000307] main input debug: creating demux: access='' demux='' path='/dysk/movie.avi'
[00000319] main demux debug: looking for access_demux module: 0 candidates
[00000319] main demux warning: no access_demux module matched "any"
[00000319] main demux debug: TIMER module_Need() : 4.453 ms - Total 4.453 ms / 1 intvls (Avg 4.453 ms)
[00000307] main input debug: creating access '' path='/dysk/movie.avi'
[00000320] main access debug: looking for access module: 3 candidates
[00000320] access_file access debug: opening file `/dysk/movie.avi'
[00000320] main access debug: using access module "access_file"
[00000320] main access debug: TIMER module_Need() : 9.361 ms - Total 9.361 ms / 1 intvls (Avg 9.361 ms)
[00000321] main stream debug: Using AStream*Stream
[00000321] main stream debug: pre-buffering...
[00000321] main stream debug: received first data for our buffer
[00000321] main stream debug: pre-buffering done 65534 bytes in 0s - 1387 kbytes/s
[00000307] main input debug: creating demux: access='' demux='' path='/dysk/movie.avi'
[00000322] main demux debug: looking for demux module: 54 candidates
[00000321] avi stream debug: found Chunk fourcc:46464952 (RIFF) size:17186680 pos:0
[00000321] avi stream debug: found LIST chunk: 'AVI '
[00000321] avi stream debug: <list 'AVI '>
[00000321] avi stream debug: found Chunk fourcc:5453494c (LIST) size:17022 pos:12
[00000321] avi stream debug: found LIST chunk: 'hdrl'
[00000321] avi stream debug: <list 'hdrl'>
[00000321] avi stream debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000321] avi stream debug: avih: streams:2 flags: HAS_INDEX 352x240
[00000321] avi stream debug: found Chunk fourcc:5453494c (LIST) size:8340 pos:88
[00000321] avi stream debug: found LIST chunk: 'strl'
[00000321] avi stream debug: <list 'strl'>
[00000321] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000321] avi stream debug: strh: type:vids handler:0x44495658 samplesize:0 29.97fps
[00000321] avi stream debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000321] avi stream debug: strf: video:XVID 352x240 planes:1 16bpp
[00000321] avi stream debug: found Chunk fourcc:78646e69 (indx) size:8216 pos:212
[00000321] avi stream debug: indx: type=0 subtype=0 entry=1
[00000321] avi stream debug: </list 'strl'>
[00000321] avi stream debug: found Chunk fourcc:5453494c (LIST) size:8330 pos:8436
[00000321] avi stream debug: found LIST chunk: 'strl'
[00000321] avi stream debug: <list 'strl'>
[00000321] avi stream debug: found Chunk fourcc:68727473 (strh) size:56 pos:8448
[00000321] avi stream debug: strh: type:auds handler:0x00000055 samplesize:1 7000.00fps
[00000321] avi stream debug: found Chunk fourcc:66727473 (strf) size:30 pos:8512
[00000321] avi stream debug: strf: audio:0x0055 channels:2 24000Hz 0bits/sample 54kb/s
[00000321] avi stream debug: found Chunk fourcc:78646e69 (indx) size:8216 pos:8550
[00000321] avi stream debug: indx: type=0 subtype=0 entry=1
[00000321] avi stream debug: </list 'strl'>
[00000321] avi stream debug: found Chunk fourcc:5453494c (LIST) size:260 pos:16774
[00000321] avi stream debug: found LIST chunk: 'odml'
[00000321] avi stream debug: <list 'odml'>
[00000321] avi stream debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:16786
[00000321] avi stream warning: unknown chunk (not loaded)
[00000321] avi stream debug: </list 'odml'>
[00000321] avi stream debug: </list 'hdrl'>
[00000321] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:36 pos:17042
[00000321] avi stream debug: found Chunk fourcc:4b4e554a (JUNK) size:1326 pos:17086
[00000321] avi stream debug: found Chunk fourcc:5453494c (LIST) size:17064780 pos:18420
[00000321] avi stream debug: skipping movi chunk
[00000321] avi stream debug: found Chunk fourcc:31786469 (idx1) size:103472 pos:17083208
[00000321] avi stream debug: idx1: index entry:6467
[00000321] avi stream debug: </list 'AVI '>
[00000321] avi stream debug: * LIST-root size:17186688 pos:0
[00000321] avi stream debug:      + RIFF-AVI  size:17186680 pos:0
[00000321] avi stream debug:      |    + LIST-hdrl size:17022 pos:12
[00000321] avi stream debug:      |    |    + avih size:56 pos:24
[00000321] avi stream debug:      |    |    + LIST-strl size:8340 pos:88
[00000321] avi stream debug:      |    |    |    + strh size:56 pos:100
[00000321] avi stream debug:      |    |    |    + strf size:40 pos:164
[00000321] avi stream debug:      |    |    |    + indx size:8216 pos:212
[00000321] avi stream debug:      |    |    + LIST-strl size:8330 pos:8436
[00000321] avi stream debug:      |    |    |    + strh size:56 pos:8448
[00000321] avi stream debug:      |    |    |    + strf size:30 pos:8512
[00000321] avi stream debug:      |    |    |    + indx size:8216 pos:8550
[00000321] avi stream debug:      |    |    + LIST-odml size:260 pos:16774
[00000321] avi stream debug:      |    |    |    + dmlh size:248 pos:16786
[00000321] avi stream debug:      |    + JUNK size:36 pos:17042
[00000321] avi stream debug:      |    + JUNK size:1326 pos:17086
[00000321] avi stream debug:      |    + LIST-movi size:17064780 pos:18420
[00000321] avi stream debug:      |    + idx1 size:103472 pos:17083208
[00000322] avi demux debug: AVIH: 2 stream, flags  HAS_INDEX 
[00000322] avi demux debug: stream[0] rate:30000 scale:1001 samplesize:0
[00000322] avi demux debug: stream[0] video(XVID) 352x240 16bpp 29.970030fps
[00000307] main input debug: selecting program id=0
[00000322] avi demux debug: stream[1] rate:7000 scale:1 samplesize:1
[00000322] avi demux debug: stream[1] audio(0x55) 2 channels 24000Hz 0bits
[00000322] avi demux debug: stream[0] created 5104 index entries
[00000322] avi demux debug: stream[1] created 1363 index entries
[00000322] avi demux debug: stream[0] length:170 (based on index)
[00000322] avi demux debug: stream[1] length:170 (based on index)
[00000322] main demux debug: using demux module "avi"
[00000322] main demux debug: TIMER module_Need() : 166.669 ms - Total 166.669 ms / 1 intvls (Avg 166.669 ms)
[00000307] main input debug: looking for a subtitle file in /dysk/
[00000324] main packetizer debug: looking for packetizer module: 16 candidates
[00000324] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000324] main packetizer debug: TIMER module_Need() : 294.073 ms - Total 294.073 ms / 1 intvls (Avg 294.073 ms)
[00000307] main input debug: stream out mode -> no decoder thread
[00000342] main packetizer debug: looking for packetizer module: 16 candidates
[00000342] main packetizer debug: using packetizer module "mpeg_audio"
[00000342] main packetizer debug: TIMER module_Need() : 63.420 ms - Total 63.420 ms / 1 intvls (Avg 63.420 ms)
[00000307] main input debug: stream out mode -> no decoder thread
[00000307] main input debug: starting in async mode
[00000307] main input debug: `/dysk/movie.avi' successfully opened
[00000322] avi demux debug: old:0 < new 0
[00000324] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000324] packetizer_mpeg4video packetizer warning: waiting for VOL
[00000307] main input debug: control type=1
[00000342] mpeg_audio packetizer debug: MPGA channels:2 samplerate:24000 bitrate:56
[00000308] main stream output debug: adding a new sout input (sout_input:0x563960)
[00000309] stream_out_transcode stream out debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
[00000351] main decoder debug: looking for decoder module: 19 candidates
[00000351] main decoder debug: using decoder module "mpeg_audio"
[00000351] main decoder debug: TIMER module_Need() : 55.592 ms - Total 55.592 ms / 1 intvls (Avg 55.592 ms)
[00000352] main encoder debug: looking for encoder module: 5 candidates
[00000352] avcodec encoder debug: libavcodec initialized (interface 3356416 )
[00000352] avcodec encoder error: cannot find encoder MPEG Audio layer 1/2/3
*** Your FFMPEG installation is crippled.   ***
*** Please check with your FFMPEG packager. ***
*** This is NOT a VLC media player issue.   ***

[00000352] main encoder debug: TIMER module_Need() : 303.582 ms - Total 303.582 ms / 1 intvls (Avg 303.582 ms)
[00000309] stream_out_transcode stream out error: cannot find audio encoder (module:any fourcc:mp3 )
[00000351] main decoder debug: removing module "mpeg_audio"
[00000309] stream_out_transcode stream out error: cannot create audio chain
[00000342] main packetizer error: cannot create packetizer output (mpga)
[00000308] main stream output debug: adding a new sout input (sout_input:0x563960)
[00000309] stream_out_transcode stream out debug: creating video transcoding from fcc=`mp4v' to fcc=`mp4v'
[00000364] main decoder debug: looking for decoder module: 19 candidates
[00000364] avcodec decoder debug: libavcodec already initialized
[00000364] avcodec decoder debug: using direct rendering
[00000364] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000364] main decoder debug: using decoder module "avcodec"
[00000364] main decoder debug: TIMER module_Need() : 144.150 ms - Total 144.150 ms / 1 intvls (Avg 144.150 ms)
[00000365] main encoder debug: looking for encoder module: 5 candidates
[00000365] avcodec encoder debug: libavcodec already initialized
[00000365] avcodec encoder error: cannot find encoder MPEG-4 Video
*** Your FFMPEG installation is crippled.   ***
*** Please check with your FFMPEG packager. ***
*** This is NOT a VLC media player issue.   ***

[00000365] main encoder debug: TIMER module_Need() : 7.746 ms - Total 7.746 ms / 1 intvls (Avg 7.746 ms)
[00000309] stream_out_transcode stream out error: cannot find video encoder (module:any fourcc:mp4v)
[00000364] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000364] main decoder debug: removing module "avcodec"
[00000309] stream_out_transcode stream out error: cannot create video chain
[00000324] main packetizer error: cannot create packetizer output (mp4v)
[00000322] avi demux warning: cannot skip packet, track disabled
[00000324] main packetizer debug: removing module "packetizer_mpeg4video"
[00000324] main packetizer debug: killing decoder fourcc `XVID', 0 PES in FIFO
[00000342] main packetizer debug: removing module "mpeg_audio"
[00000342] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000307] main input debug: EOF reached
[00000272] main playlist debug: finished input
[00000272] main playlist debug: dying input
[00000321] avi stream debug: free chunk avih
[00000321] avi stream debug: free chunk strh
[00000321] avi stream debug: free chunk strf
[00000321] avi stream debug: free chunk indx
[00000321] avi stream debug: free chunk LIST
[00000321] avi stream debug: free chunk strh
[00000321] avi stream debug: free chunk strf
[00000321] avi stream debug: free chunk indx
[00000321] avi stream debug: free chunk LIST
[00000321] avi stream warning: unknown chunk (not unloaded)
[00000321] avi stream debug: free chunk LIST
[00000321] avi stream debug: free chunk LIST
[00000321] avi stream debug: free chunk JUNK
[00000321] avi stream debug: free chunk JUNK
[00000321] avi stream debug: free chunk LIST
[00000321] avi stream debug: free chunk idx1
[00000321] avi stream debug: free chunk RIFF
[00000321] avi stream debug: free chunk LIST
[00000322] main demux debug: removing module "avi"
[00000320] main access debug: removing module "access_file"
[00000307] main input debug: thread ended
[00000272] main playlist debug: dead input
[00000307] main input debug: thread 10251 joined (playlist/engine.c:244)
[00000307] main input debug: TIMER input launching for '/dysk/movie.avi :sout=#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mp3,ab=512}:std{access=http,mux=ts,dst=192.168.0.1:1234}' : 1187.710 ms - Total 1187.710 ms / 1 intvls (Avg 1187.710 ms)
[00000309] main stream out debug: destroying chain... (name=transcode)
[00000312] main stream out debug: destroying chain... (name=std)
[00000317] main mux debug: removing module "mux_ts"
[00000316] main http server debug: waitpipe: object killed
[00000316] main http server debug: thread ended
[00000316] main http server debug: thread 11276 joined (network/httpd.c:1164)
[00000316] main http server debug: HTTP host removed
[00000314] access_output_http access out debug: Close
[00000314] main access out debug: removing module "access_output_http"
[00000312] main stream out debug: removing module "stream_out_standard"
[00000312] main stream out debug: destroying chain done
[00000309] main stream out debug: removing module "stream_out_transcode"
[00000309] main stream out debug: destroying chain done
[00000272] main playlist debug: starting new item
[00000272] main playlist debug: changing item without a request (current 0/1)
[00000272] main playlist debug: nothing to play

I have installed ffmpeg from opkg but the error still occurs:
*** Your FFMPEG installation is crippled.   ***
*** Please check with your FFMPEG packager. ***
*** This is NOT a VLC media player issue.   ***

The ffmpeg package should not be mandatory. Vlc depends only on libffmpeg, which is installed automatically with vlc package.
Therefore, your issue seems not to be a vlc one, but rather a libffmpeg one : have you activated mp3 encoders & muxers in "make menuconfig / libraries / libffmpeg" ?

as I wrote in last post - I have installed ffmpeg from opkg - before installing vlc (libffmpeg is installed automatically)
my installed version of libffmpeg: libffmpeg_20080419-1_mipsel
and contains:
-libavcodec.so.51.55.0
-libavdevice.so.52.0.0
-libavformat.so.52.13.0
-libavutil.so.49.6.0
and from depends:
-libfaad2

maybe in this compilation (from official opkg package tree) of libffmpeg something missing?
===
and one more question - 2 warnings:

[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/audio_filter/libspatializer_plugin.so' (File not found)
[00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/libmp4_plugin.so' (File not found)

missing libraries too?

(Last edited by reaper7 on 3 Dec 2008, 09:38)

The compilation options of the official libffmpeg package may not integrate all muxers / coders. I suggest you compile your own libffmpeg with the options you need.

The "file not found" errors of vlc occurs generally when one of the library that vlc tries to load requires another library that is not installed.
For example, libalsa_plugin.so requires /usr/lib/asound2.so, which is available in the alsa-lib package.
I guess that libspatializer_plugin.so and libmp4_plugin.so depends on libraries not installed on your system.
To check these dependencies, you can apply the "ldd" command on each vlc plugin.
Or launch vlc with strace and check the log.

Is someone got this package because the link is broken now

The discussion might have continued from here.