[vlc-devel] BlackMagic Decklink SDI testing
Adeel Nazir
adeel_n at yahoo.com
Thu Jan 27 04:06:07 CET 2011
Hi,
I have a Decklink SDI card that I'd like to use in VLC, and would love to
test out the new access module, except I'm having a little trouble getting it to
work from the CLI, as it just seg faults. I successfully compiled the git trunk
version, as of about 30 minutes ago. Please find attached the relevant logs:
cvlc -vvv decklink:// --decklink-card-index 0 --decklink-mode "ntsc"
--decklink-video-connection "sdi" --decklink-aspect-ratio "16:9"
VLC media player 1.2.0-git Twoflower (revision 1.1.0-pre1-3167-g4f56b4a)
[0x8dfb0d4] main libvlc debug: VLC media player - 1.2.0-git Twoflower
[0x8dfb0d4] main libvlc debug: Copyright © 1996-2011 the VideoLAN team
[0x8dfb0d4] main libvlc debug: revision 1.1.0-pre1-3167-g4f56b4a
[0x8dfb0d4] main libvlc debug: configured with ./configure '--prefix=/usr'
'--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--docdir=/usr/share/doc/vlc-9999' '--disable-a52'
'--disable-aa' '--enable-faad' '--enable-alsa' '--disable-altivec'
'--disable-atmo' '--disable-bonjour' '--disable-fribidi' '--disable-vcd'
'--disable-libcddb' '--disable-dbus' '--disable-dbus-control'
'--enable-decklink' '--with-decklink-sdk=/usr/local/include/Linux'
'--disable-dirac' '--disable-directfb' '--disable-dc1394' '--disable-debug'
'--disable-dca' '--disable-dvb' '--disable-dvdread' '--disable-dvdnav'
'--disable-fb' '--enable-avcodec' '--enable-avformat' '--enable-swscale'
'--enable-postproc' '--disable-flac' '--disable-fluidsynth'
'--disable-fontconfig' '--disable-gme' '--disable-gnomevfs' '--disable-gnutls'
'--enable-httpd' '--disable-dv' '--disable-jack' '--disable-kate'
'--without-kde-solid' '--disable-libass' '--disable-caca' '--enable-libgcrypt'
'--disable-notify' '--disable-libproxy' '--disable-libtar' '--disable-tiger'
'--disable-libv4l2' '--disable-lirc' '--disable-live555' '--disable-lua'
'--enable-mkv' '--enable-mmx' '--disable-mod' '--enable-mad' '--enable-libmpeg2'
'--enable-mtp' '--disable-mpc' '--enable-ncurses' '--disable-nls'
'--disable-ogg' '--disable-glx' '--disable-optimize-memory' '--disable-oss'
'--disable-png' '--disable-portaudio' '--disable-projectm' '--disable-pulse'
'--disable-pvr' '--disable-qt4' '--disable-remoteosd' '--enable-realrtsp'
'--enable-run-as-root' '--disable-smb' '--disable-schroedinger' '--disable-sdl'
'--disable-sdl-image' '--disable-shine' '--disable-sid' '--disable-shout'
'--disable-skins2' '--disable-speex' '--disable-sqlite' '--enable-sse'
'--disable-svg' '--disable-taglib' '--disable-theora' '--disable-freetype'
'--disable-twolame' '--enable-udev' '--enable-upnp' '--disable-v4l2'
'--disable-vcdx' '--disable-libva' '--enable-vlm' '--disable-vorbis'
'--disable-loader' '--disable-wma-fixed' '--without-x' '--enable-x264'
'--enable-xcb' '--disable-libxml2' '--disable-xosd' '--disable-xvideo'
'--disable-zvbi' '--enable-telx' '--disable-snapshot' '--disable-growl'
'--enable-fast-install' '--enable-sout' 'build_alias=i686-pc-linux-gnu'
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2 -march=prescott -pipe -O2
-fomit-frame-pointer' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='
'CXXFLAGS=-O2 -march=prescott -pipe -O2 -fomit-frame-pointer'
[0x8dfb0d4] main libvlc debug: translation test: code is "C"
[0x8dfb0d4] main libvlc debug: checking plugin modules
[0x8dfb0d4] main libvlc debug: loading plugins cache file
/usr/lib/vlc/plugins/plugins-04041e-fe8.dat
[0x8dfb0d4] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x8dfb0d4] main libvlc debug: saving plugins cache
/usr/lib/vlc/plugins/plugins-04041e-fe8.dat
[0x8dfb0d4] main libvlc debug: module bank initialized (316 modules)
[0x8dfb0d4] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[0x8dfb0d4] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3
SSSE3 SSE4.1 SSE4.2 FPU
[0x8dfb0d4] main libvlc debug: looking for memcpy module: 3 candidates
[0x8dfb0d4] main libvlc debug: using memcpy module "memcpymmxext"
[0x8e81cc4] main input debug: Creating an input for 'Media Library'
[0x8e81cc4] main input debug: Input is a meta file: disabling unneeded options
[0x8e81cc4] main input debug: using timeshift granularity of 50 MiB
[0x8e81cc4] main input debug: using timeshift path '/tmp'
[0x8e81cc4] 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'
[0x8e81cc4] main input debug: creating demux: access='file' demux='xspf-open'
location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0x8e8597c] main demux debug: looking for access_demux module: 1 candidate
[0x8e8597c] main demux debug: no access_demux module matching "file" could be
loaded
[0x8e8597c] main demux debug: TIMER module_need() : 0.122 ms - Total 0.122 ms /
1 intvls (Avg 0.122 ms)
[0x8e81cc4] main input debug: creating access 'file'
location='/root/.local/share/vlc/ml.xspf', path='/root/.local/share/vlc/ml.xspf'
[0x8e85964] main access debug: looking for access module: 2 candidates
[0x8e85964] filesystem access debug: opening file
`/root/.local/share/vlc/ml.xspf'
[0x8e85964] main access debug: using access module "filesystem"
[0x8e85964] main access debug: TIMER module_need() : 0.138 ms - Total 0.138 ms /
1 intvls (Avg 0.138 ms)
[0x8e8795c] main stream debug: Using AStream*Stream
[0x8e8795c] main stream debug: pre buffering
[0x8e8795c] main stream debug: received first data after 0 ms
[0x8e8795c] main stream debug: pre-buffering done 296 bytes in 0s - 41294 KiB/s
[0x8e87b04] main stream debug: looking for stream_filter module: 6 candidates
[0x8e87b04] main stream debug: no stream_filter module matching "any" could be
loaded
[0x8e87b04] main stream debug: TIMER module_need() : 0.209 ms - Total 0.209 ms /
1 intvls (Avg 0.209 ms)
[0x8e87b04] main stream debug: looking for stream_filter module: 1 candidate
[0x8e87b04] main stream debug: using stream_filter module "stream_filter_record"
[0x8e87b04] main stream debug: TIMER module_need() : 0.066 ms - Total 0.066 ms /
1 intvls (Avg 0.066 ms)
[0x8e81cc4] main input debug: creating demux: access='file' demux='xspf-open'
location='/root/.local/share/vlc/ml.xspf' file='/root/.local/share/vlc/ml.xspf'
[0x8e70094] main demux debug: looking for demux module: 1 candidate
[0x8e70094] playlist demux debug: using XSPF playlist reader
[0x8e70094] main demux debug: using demux module "playlist"
[0x8e70094] main demux debug: TIMER module_need() : 0.099 ms - Total 0.099 ms /
1 intvls (Avg 0.099 ms)
[0x8e711ec] main demux meta debug: looking for meta reader module: 0 candidates
[0x8e711ec] main demux meta debug: no meta reader module matched "any"
[0x8e711ec] main demux meta debug: TIMER module_need() : 0.031 ms - Total 0.031
ms / 1 intvls (Avg 0.031 ms)
[0x8e81cc4] main input debug: `file/xspf-open:///root/.local/share/vlc/ml.xspf'
successfully opened
[0x8e70d9c] main xml reader debug: looking for xml reader module: 0 candidates
[0x8e70d9c] main xml reader debug: no xml reader module matched "any"
[0x8e70d9c] main xml reader debug: TIMER module_need() : 0.027 ms - Total 0.027
ms / 1 intvls (Avg 0.027 ms)
[0x8e70d9c] main xml reader error: XML reader not found
[0x8e70094] main demux debug: removing module "playlist"
[0x8e87b04] main stream debug: removing module "stream_filter_record"
[0x8e85964] main access debug: removing module "filesystem"
[0x8e81cc4] main input debug: TIMER input launching for 'Media Library' : 0.890
ms - Total 0.890 ms / 1 intvls (Avg 0.890 ms)
[0x8e87b04] main interface debug: looking for interface module: 1 candidate
[0x8e87b04] main interface debug: using interface module "hotkeys"
[0x8e87b04] main interface debug: TIMER module_need() : 0.082 ms - Total 0.082
ms / 1 intvls (Avg 0.082 ms)
[0x8e08cb4] main playlist debug: Activated
[0x8e08cb4] main playlist debug: adding item `(null)' ( decklink:// )
[0x8e81cc4] main interface debug: looking for interface module: 1 candidate
[0x8e08cb4] main playlist debug: rebuilding array of current - root Playlist
[0x8e08cb4] main playlist debug: rebuild done - 1 items, index -1
[0xb71004e4] main input debug: Creating an input for '(null)'
[0x8e08cb4] main playlist debug: no fetch required for (null) (art currently
(null))
[0x8e81cc4] main interface debug: no interface module matching
"globalhotkeys,none" could be loaded
[0x8e81cc4] main interface debug: TIMER module_need() : 0.501 ms - Total 0.501
ms / 1 intvls (Avg 0.501 ms)
[0x8e81cc4] main interface error: no suitable interface module
[0x8dfb0d4] main libvlc error: interface "globalhotkeys,none" initialization
failed
[0x8e81cc4] main interface debug: looking for interface module: 1 candidate
[0x8e81cc4] dummy interface: using the dummy interface module...
[0x8e81cc4] main interface debug: using interface module "dummy"
[0x8e81cc4] main interface debug: TIMER module_need() : 0.956 ms - Total 0.956
ms / 1 intvls (Avg 0.956 ms)
[0x8e08cb4] main playlist debug: processing request item null node Playlist skip
0
[0x8e08cb4] main playlist debug: starting new item
[0x8e08cb4] main playlist debug: creating new input thread
[0x8e83454] main input debug: Creating an input for '(null)'
[0x8e83454] main input debug: thread (input) created at priority 10
(input/input.c:215)
[0x8e83454] main input debug: thread started
[0x8e83454] main input debug: using timeshift granularity of 50 MiB
[0x8e83454] main input debug: using timeshift path '/tmp'
[0x8e83454] main input debug: `decklink://' gives access `decklink' demux `'
path `'
[0x8e83454] main input debug: creating demux: access='decklink' demux=''
location='' file='(null)'
[0x8e71c14] main demux debug: looking for access_demux module: 1 candidate
[0x8e71c14] decklink demux error: DeckLink PCI card 0 not found
Segmentation fault
and my dmesg output has:
vlc[23298]: segfault at 5b1cc48b ip b7239f9e sp b72efbf0 error 4 in
libdecklink_plugin.so[b7237000+5000]
let me know if there's anything else i can provide.
Adeel
More information about the vlc-devel
mailing list