[vlc-devel] vlc questions

ikyben at ozu.es ikyben at ozu.es
Fri Apr 22 10:01:16 CEST 2005


Hello,
these question have been posted in vlc forum, but as Benjamin Pracht
suggested me it would be better to post it here. Here they are:

I'm using Debian testing, but I use the vlc svn code (0.8.2 experimental).
 I have two main questions:

a) source code is difficult to understand, documentation is reduced; I 
have begun with video output header files, and something strange has come
to me related to video_output.h':
struct vout_thread_t{ ....} has among others:
picture_heap_t render;
picture_heap_t output;
picture_t p_picture[2*VOUT_MAX_PICTURES+1]

what are the differences between them? are they really needed? it seems 
the same variable.

b) vlc (from debian testing) does not play anymore files without proper
extension; for example, supposing a file called my_file, it is not played
as 'vlc my_file' (segmentation fault) but it is played as 'vlc
my_file.ts'. The file is the same (binary identically), but it seems that
is has to have the proper extension.
Benjamin Pracht suggested me the corresponding mux/demux could be buggy so
I post the complete log: here it is

LC media player 0.8.2-svn Janus
[00000001] main vlc debug: opening config file /home/bmolina/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/home/bmolina/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc warning: cannot load module
`/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so'
(/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so: undefined
symbol: avcodec_init)
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 197 modules
libhal.c 767 : org.freedesktop.DBus.Error.ServiceDoesNotExist raised
"Service "org.freedesktop.Hal" does not exist"

[00000001] main vlc debug: opening config file /home/bmolina/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2-svn Janus -
(c) 1996-2005 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure
--mandir=/share/man --infodir=/share/info --enable-release --prefix=/usr
--disable-gnome --disable-gtk --disable-familiar --disable-fb --enable-ggi
--enable-sdl --enable-esd --disable-qt --enable-mad --enable-arts
--enable-alsa --enable-lirc --enable-a52 --enable-aa --enable-dvbpsi
--enable-xosd --enable-mozilla --disable-kde --enable-mp4 --enable-dvb
--enable-dv --disable-satellite --enable-ogg --enable-vorbis
--enable-wxwindows --with-wx-config=wxgtk-2.4-config --disable-slp
--enable-flac --disable-skins --disable-basic-skins --enable-skins2
--enable-freetype --enable-mkv --enable-v4l --enable-pvr --disable-speex
--enable-caca --enable-livedotcom --enable-libmpeg2 --enable-dts
--enable-fribidi --enable-cdio --enable-mod --enable-theora
--enable-modplug --enable-dvdnav --enable-gnutls --enable-ffmpeg
--enable-ncurses --enable-faad --with-faad-tree=extras/faad2 --enable-x264
--with-x264-tree=extras/x264 --enable-glide --enable-svgalib --enable-dvd
--without-dvdcss
[00000001] main vlc debug: translation test: code is "es"
[00000001] main vlc debug: opening config file /home/bmolina/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file
/home/bmolina/.vlc/cache/plugins-04041e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main vlc warning: cannot load module
`/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so'
(/usr/lib/vlc/stream_out/libstream_out_switcher_plugin.so: undefined
symbol: avcodec_init)
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 197 modules
[00000001] main vlc debug: opening config file /home/bmolina/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE
SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000423] main playlist debug: waiting for thread completion
[00000423] main playlist debug: thread 1112746928 (playlist) created at
priority 0 (src/playlist/playlist.c:149)
[00000424] main private debug: waiting for thread completion
[00000424] main private debug: thread 1121135536 (preparser) created at
priority 0 (src/playlist/playlist.c:171)
[00000425] main interface debug: looking for interface module: 1 candidate
[00000309] main module debug: using interface module "hotkeys"
[00000425] main interface debug: interface initialized
[00000425] main interface debug: thread 1129524144 (interface) created at
priority 0 (src/interface/interface.c:211)
[00000423] main playlist: adding playlist item `my_file' ( my_file )
[00000426] main interface debug: looking for interface module: 5 candidates
[00000214] main module debug: using interface module "wxwindows"
[00000426] main interface debug: interface initialized
[00000426] main interface debug: thread 1137912752 (manager) created at
priority 0 (src/interface/interface.c:196)
[00000423] main playlist debug: creating new input thread
[00000427] main input debug: waiting for thread completion
[00000427] main input debug: `my_file' gives access `' demux `' path
`my_file'
[00000427] main input debug: creating demux: access='' demux=''
path='my_file'
[00000428] main demuxer debug: looking for access_demux module: 2 candidates
[00000427] main input debug: thread 1148189616 (input) created at priority
0 (src/input/input.c:227)
[00000427] main input debug: creating access '' path='my_file'
[00000429] main access debug: looking for access2 module: 4 candidates
[00000429] vcd access debug: trying .cue file: my_file.cue
[00000429] access_file access debug: opening file `my_file'
[00000199] main module debug: using access2 module "access_file"
[00000430] main private debug: pre buffering
[00000430] main private debug: received first data for our buffer
[00000430] main private debug: prebuffering done 1408981 bytes in 0s -
21364 kbytes/s
[00000427] main input debug: creating demux: access='' demux=''
path='my_file'
[00000431] main demuxer debug: looking for demux2 module: 37 candidates
[00000431] main demuxer debug: looking for id3 module: 2 candidates
[00000431] id3tag demuxer debug: checking for ID3 tag
[00000354] main module debug: using id3 module "id3tag"
[00000354] main module debug: unlocking module "id3tag"
Segmentation fault

Thanks for any further suggestion


--------------------------------------------------------------------------------------------
Nueva Barra de Herramientas de OZÚ. Navega Más facilmente por Internet.
¡Descargatela gratis! http://barra.ozu.es/
--------------------------------------------------------------------------------------------
Correo enviado desde http://www.ozu.es

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list