vlc and log file
Posted: 22 Dec 2009 14:31
Hello!
I try to write vlc output in log file.
Whet I use vlc 0.9.9a, vlc is work.
/usr/local/vlc-0.9.9a/bin/cvlc -vvv --udp-caching=300 --extraintf logger --logfile ./test.log
But when I try use vlc 1.0.0, vlc 1.0.1, vlc 1.0.2, vlc 1.0.3, vlc 1.0.4
I get error:
/usr/local/vlc-1.0.0/bin/cvlc -vvv --udp-caching=300 --extraintf logger --logfile ./test.logVLC media player 1.0.0 Goldeneye
[0x80160e1f8] main libvlc debug: VLC media player - version 1.0.0 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x80160e1f8] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr/local/vlc-1.0.0-mopt' '--enable-dvb' '--disable-mad' '--disable-avcodec' '--disable-avformat' '--disable-swscale' '--disable-postproc' '--disable-a52' '--disable-glx' '--disable-qt4' '--disable-skins2' '--enable-optimize-memory' '--disable-x11'
[0x80160e1f8] main libvlc debug: translation test: code is "C"
[0x80160e1f8] main libvlc debug: checking plugin modules
[0x80160e1f8] main libvlc debug: loading plugins cache file /home/grand/.cache/vlc/plugins-04081e.dat
[0x80160e1f8] main libvlc warning: This doesn't look like a valid plugins cache
[0x80160e1f8] main libvlc debug: recursively browsing `/usr/local/vlc-1.0.0-mopt/lib/vlc'
[0x80160e1f8] main libvlc debug: module bank initialized (310 modules)
[0x80160e1f8] main libvlc debug: opening config file (/home/grand/.config/vlc/vlcrc)
[0x80160e1f8] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[0x80160e1f8] main libvlc debug: looking for memcpy module: 3 candidates
[0x80160e1f8] main libvlc debug: using memcpy module "memcpymmxext"
[0x80a14b578] main input debug: Creating an input for 'Media Library'
[0x80a14b578] main input debug: Input is a meta file: disabling unneeded options
[0x80a14b578] main input debug: using timeshift granularity of 50 MBytes
[0x80a14b578] main input debug: using timeshift path '/tmp'
[0x80a14b578] main input debug: `file/xspf-open:///home/grand/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/grand/.local/share/vlc/ml.xspf'
[0x80a14b578] main input debug: creating demux: access='file' demux='xspf-open' path='/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main demux debug: looking for access_demux module: 1 candidate
[0x8016391f8] main demux warning: no access_demux module matching "file" could be loaded
[0x8016391f8] main demux debug: TIMER module_need() : 0.128 ms - Total 0.128 ms / 1 intvls (Avg 0.128 ms)
[0x80a14b578] main input debug: creating access 'file' path='/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main access debug: looking for access module: 3 candidates
[0x8016391f8] access_file access debug: opening file `/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main access debug: using access module "access_file"
[0x8016391f8] main access debug: TIMER module_need() : 0.232 ms - Total 0.232 ms / 1 intvls (Avg 0.232 ms)
[0x80162dd78] main stream debug: Using AStream*Stream
[0x80162dd78] main stream debug: pre buffering
[0x80162dd78] main stream debug: received first data after 0 ms
[0x80162dd78] main stream debug: pre-buffering done 362 bytes in 0s - 16068 kbytes/s
[0x80162df78] main stream debug: looking for stream_filter module: 4 candidates
[0x80162df78] main stream debug: TIMER module_need() : 0.091 ms - Total 0.091 ms / 1 intvls (Avg 0.091 ms)
[0x80162df78] main stream debug: looking for stream_filter module: 1 candidate
[0x80162df78] main stream debug: using stream_filter module "stream_filter_record"
[0x80162df78] main stream debug: TIMER module_need() : 0.081 ms - Total 0.081 ms / 1 intvls (Avg 0.081 ms)
[0x80a14b578] main input debug: creating demux: access='file' demux='xspf-open' path='/home/grand/.local/share/vlc/ml.xspf'
[0x801639338] main demux debug: looking for demux module: 1 candidate
[0x801639338] playlist demux debug: using XSPF playlist reader
[0x801639338] main demux debug: using demux module "playlist"
[0x801639338] main demux debug: TIMER module_need() : 0.090 ms - Total 0.090 ms / 1 intvls (Avg 0.090 ms)
[0x80a14b578] main input debug: `file/xspf-open:///home/grand/.local/share/vlc/ml.xspf' successfully opened
[0x80162e078] main xml debug: looking for xml module: 2 candidates
[0x80162e078] main xml debug: using xml module "xml"
[0x80162e078] main xml debug: TIMER module_need() : 0.142 ms - Total 0.142 ms / 1 intvls (Avg 0.142 ms)
[0x801639338] playlist demux debug: parsed 0 tracks successfully
[0x80162e078] main xml debug: removing module "xml"
[0x80a14b578] main input debug: EOF reached
[0x801639338] main demux debug: removing module "playlist"
[0x80162df78] main stream debug: removing module "stream_filter_record"
[0x8016391f8] main access debug: removing module "access_file"
[0x80a14b578] main input debug: TIMER input launching for 'Media Library' : 3.776 ms - Total 3.776 ms / 1 intvls (Avg 3.776 ms)
[0x8016025b8] main playlist debug: Activated
[0x8016025b8] main playlist debug: rebuilding array of current - root Playlist
[0x8016025b8] main playlist debug: rebuild done - 0 items, index -1
[0x80a1b1b78] main interface debug: looking for interface module: 1 candidate
[0x80a1b1b78] logger interface: using logger...
[0x80a1b1b78] logger interface debug: opening logfile `./test.log'
[0x80a1b1b78] main interface debug: using interface module "logger"
[0x80a1b1b78] main interface debug: TIMER module_need() : 0.326 ms - Total 0.326 ms / 1 intvls (Avg 0.326 ms)
Segmentation fault: 11 (core dumped)
How I can to solve this problem?
I try FreeBSD 8.0-RELEASE-p1 and FreeBSD 7.2-RELEASE-p5.
VLC version > 0.9.9a don't work with --extraintf logger --logfile ./test.log options.
I try to write vlc output in log file.
Whet I use vlc 0.9.9a, vlc is work.
/usr/local/vlc-0.9.9a/bin/cvlc -vvv --udp-caching=300 --extraintf logger --logfile ./test.log
But when I try use vlc 1.0.0, vlc 1.0.1, vlc 1.0.2, vlc 1.0.3, vlc 1.0.4
I get error:
/usr/local/vlc-1.0.0/bin/cvlc -vvv --udp-caching=300 --extraintf logger --logfile ./test.logVLC media player 1.0.0 Goldeneye
[0x80160e1f8] main libvlc debug: VLC media player - version 1.0.0 Goldeneye - (c) 1996-2009 the VideoLAN team
[0x80160e1f8] main libvlc debug: libvlc was configured with ./configure '--prefix=/usr/local/vlc-1.0.0-mopt' '--enable-dvb' '--disable-mad' '--disable-avcodec' '--disable-avformat' '--disable-swscale' '--disable-postproc' '--disable-a52' '--disable-glx' '--disable-qt4' '--disable-skins2' '--enable-optimize-memory' '--disable-x11'
[0x80160e1f8] main libvlc debug: translation test: code is "C"
[0x80160e1f8] main libvlc debug: checking plugin modules
[0x80160e1f8] main libvlc debug: loading plugins cache file /home/grand/.cache/vlc/plugins-04081e.dat
[0x80160e1f8] main libvlc warning: This doesn't look like a valid plugins cache
[0x80160e1f8] main libvlc debug: recursively browsing `/usr/local/vlc-1.0.0-mopt/lib/vlc'
[0x80160e1f8] main libvlc debug: module bank initialized (310 modules)
[0x80160e1f8] main libvlc debug: opening config file (/home/grand/.config/vlc/vlcrc)
[0x80160e1f8] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[0x80160e1f8] main libvlc debug: looking for memcpy module: 3 candidates
[0x80160e1f8] main libvlc debug: using memcpy module "memcpymmxext"
[0x80a14b578] main input debug: Creating an input for 'Media Library'
[0x80a14b578] main input debug: Input is a meta file: disabling unneeded options
[0x80a14b578] main input debug: using timeshift granularity of 50 MBytes
[0x80a14b578] main input debug: using timeshift path '/tmp'
[0x80a14b578] main input debug: `file/xspf-open:///home/grand/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/grand/.local/share/vlc/ml.xspf'
[0x80a14b578] main input debug: creating demux: access='file' demux='xspf-open' path='/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main demux debug: looking for access_demux module: 1 candidate
[0x8016391f8] main demux warning: no access_demux module matching "file" could be loaded
[0x8016391f8] main demux debug: TIMER module_need() : 0.128 ms - Total 0.128 ms / 1 intvls (Avg 0.128 ms)
[0x80a14b578] main input debug: creating access 'file' path='/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main access debug: looking for access module: 3 candidates
[0x8016391f8] access_file access debug: opening file `/home/grand/.local/share/vlc/ml.xspf'
[0x8016391f8] main access debug: using access module "access_file"
[0x8016391f8] main access debug: TIMER module_need() : 0.232 ms - Total 0.232 ms / 1 intvls (Avg 0.232 ms)
[0x80162dd78] main stream debug: Using AStream*Stream
[0x80162dd78] main stream debug: pre buffering
[0x80162dd78] main stream debug: received first data after 0 ms
[0x80162dd78] main stream debug: pre-buffering done 362 bytes in 0s - 16068 kbytes/s
[0x80162df78] main stream debug: looking for stream_filter module: 4 candidates
[0x80162df78] main stream debug: TIMER module_need() : 0.091 ms - Total 0.091 ms / 1 intvls (Avg 0.091 ms)
[0x80162df78] main stream debug: looking for stream_filter module: 1 candidate
[0x80162df78] main stream debug: using stream_filter module "stream_filter_record"
[0x80162df78] main stream debug: TIMER module_need() : 0.081 ms - Total 0.081 ms / 1 intvls (Avg 0.081 ms)
[0x80a14b578] main input debug: creating demux: access='file' demux='xspf-open' path='/home/grand/.local/share/vlc/ml.xspf'
[0x801639338] main demux debug: looking for demux module: 1 candidate
[0x801639338] playlist demux debug: using XSPF playlist reader
[0x801639338] main demux debug: using demux module "playlist"
[0x801639338] main demux debug: TIMER module_need() : 0.090 ms - Total 0.090 ms / 1 intvls (Avg 0.090 ms)
[0x80a14b578] main input debug: `file/xspf-open:///home/grand/.local/share/vlc/ml.xspf' successfully opened
[0x80162e078] main xml debug: looking for xml module: 2 candidates
[0x80162e078] main xml debug: using xml module "xml"
[0x80162e078] main xml debug: TIMER module_need() : 0.142 ms - Total 0.142 ms / 1 intvls (Avg 0.142 ms)
[0x801639338] playlist demux debug: parsed 0 tracks successfully
[0x80162e078] main xml debug: removing module "xml"
[0x80a14b578] main input debug: EOF reached
[0x801639338] main demux debug: removing module "playlist"
[0x80162df78] main stream debug: removing module "stream_filter_record"
[0x8016391f8] main access debug: removing module "access_file"
[0x80a14b578] main input debug: TIMER input launching for 'Media Library' : 3.776 ms - Total 3.776 ms / 1 intvls (Avg 3.776 ms)
[0x8016025b8] main playlist debug: Activated
[0x8016025b8] main playlist debug: rebuilding array of current - root Playlist
[0x8016025b8] main playlist debug: rebuild done - 0 items, index -1
[0x80a1b1b78] main interface debug: looking for interface module: 1 candidate
[0x80a1b1b78] logger interface: using logger...
[0x80a1b1b78] logger interface debug: opening logfile `./test.log'
[0x80a1b1b78] main interface debug: using interface module "logger"
[0x80a1b1b78] main interface debug: TIMER module_need() : 0.326 ms - Total 0.326 ms / 1 intvls (Avg 0.326 ms)
Segmentation fault: 11 (core dumped)
How I can to solve this problem?
I try FreeBSD 8.0-RELEASE-p1 and FreeBSD 7.2-RELEASE-p5.
VLC version > 0.9.9a don't work with --extraintf logger --logfile ./test.log options.