Using VLC with a DVB-C tuner
Posted: 18 May 2009 02:25
Hi,
I've been googling all weekend like a mad man, but nothing seems to address the specific problem i am facing, so here goes.
The Problem:
I can't get VLC to open my DVB-C tuner, even though other programs can, i can scan for channels and czap to them with the dvb-tools and use programs like kaffeine, mplayer and mythtv without any problems. But VLC just dies, i think during the tuning process / opening of the adapter.
My setup:
Ubuntu Jaunty / Linux 2.6.28-11 i686 (With the newest V4L drivers installed)
VLC 0.9.9a
TV Card = Technotrend C-1501 + CI + irdeto cam
Operator = Stofa / Telia
Transponder freq= 346KhZ
Symbolrate= 6900
QAM= 64
NetworkID= 0
The command i use for launching:
The program i tried to play here is a unencoded free channel (DR1), although i can watch encoded ones with the other programs.
And this is what happens
What i find disturbing are these lines:
I also tried getting VLC to just play my channels.conf generated with the dvb-utils/tools but the result is the same.
I really hope someone has some help to offer on this one, because i'm going loco! And i also really hope that some people out there, can use this thread when trying to get DVB-C working
Best Regards
//Nev
I've been googling all weekend like a mad man, but nothing seems to address the specific problem i am facing, so here goes.
The Problem:
I can't get VLC to open my DVB-C tuner, even though other programs can, i can scan for channels and czap to them with the dvb-tools and use programs like kaffeine, mplayer and mythtv without any problems. But VLC just dies, i think during the tuning process / opening of the adapter.
My setup:
Ubuntu Jaunty / Linux 2.6.28-11 i686 (With the newest V4L drivers installed)
VLC 0.9.9a
TV Card = Technotrend C-1501 + CI + irdeto cam
Operator = Stofa / Telia
Transponder freq= 346KhZ
Symbolrate= 6900
QAM= 64
NetworkID= 0
The command i use for launching:
Code: Select all
$ vlc -vvv dvb-c:// :dvb-frequency=346000 :dvb-modulation=64 :dvb-srate=6900000 :programs=2310,2311
And this is what happens
Code: Select all
nev@nevubuntu:~$ vlc -vvv dvb-c:// :dvb-frequency=346000 :dvb-modulation=64 :dvb-srate=6900000 :programs=2310,2311
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[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 /home/nev/.cache/vlc/plugins-04041e.dat
[00000001] main libvlc debug: recursively browsing `/usr/lib/vlc'
[00000001] main libvlc debug: module bank initialized, found 275 modules
[00000001] main libvlc debug: opening config file (/home/nev/.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"
[00000372] main interaction debug: thread started
[00000372] main interaction debug: thread 3079338896 (Interaction control) created at priority 0 (interface/interaction.c:382)
[00000374] main input debug: Creating an input for 'Media Library'
[00000374] main input debug: Input is a meta file: disabling unneeded options
[00000374] main input debug: `file/xspf-open:///home/nev/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/nev/.local/share/vlc/ml.xspf'
[00000374] main input debug: creating access 'file' path='/home/nev/.local/share/vlc/ml.xspf'
[00000375] main access debug: looking for access module: 3 candidates
[00000375] access_file access debug: opening file `/home/nev/.local/share/vlc/ml.xspf'
[00000375] main access debug: using access module "access_file"
[00000375] main access debug: TIMER module_Need() : 0,693 ms - Total 0,693 ms / 1 intvls (Avg 0,693 ms)
[00000380] main stream debug: Using AStream*Stream
[00000380] main stream debug: pre-buffering...
[00000380] main stream debug: received first data for our buffer
[00000374] main input debug: creating demux: access='file' demux='xspf-open' path='/home/nev/.local/share/vlc/ml.xspf'
[00000381] main demux debug: looking for demux module: 1 candidate
[00000381] playlist demux debug: using XSPF playlist reader
[00000381] main demux debug: using demux module "playlist"
[00000381] main demux debug: TIMER module_Need() : 0,377 ms - Total 0,377 ms / 1 intvls (Avg 0,377 ms)
[00000374] main input debug: `file/xspf-open:///home/nev/.local/share/vlc/ml.xspf' successfully opened
[00000396] main xml debug: looking for xml module: 2 candidates
[00000396] main xml debug: using xml module "xml"
[00000396] main xml debug: TIMER module_Need() : 0,569 ms - Total 0,569 ms / 1 intvls (Avg 0,569 ms)
[00000381] playlist demux debug: parsed 0 tracks successfully
[00000396] main xml debug: removing module "xml"
[00000374] main input debug: EOF reached
[00000374] main input debug: control type=1
[00000381] main demux debug: removing module "playlist"
[00000375] main access debug: removing module "access_file"
[00000374] main input debug: TIMER input launching for 'Media Library' : 9,308 ms - Total 9,308 ms / 1 intvls (Avg 9,308 ms)
[00000398] main preparser debug: thread started
[00000398] main preparser debug: waiting for thread initialization
[00000398] main preparser debug: thread 3070946192 (preparser) created at priority 0 (playlist/thread.c:79)
[00000399] main fetcher debug: thread started
[00000399] main fetcher debug: waiting for thread initialization
[00000399] main fetcher debug: thread 3056790416 (fetcher) created at priority 0 (playlist/thread.c:108)
[00000373] main playlist debug: thread started
[00000373] main playlist debug: waiting for thread initialization
[00000373] main playlist debug: rebuilding array of current - root Playlist
[00000373] main playlist debug: rebuild done - 0 items, index -1
[00000373] main playlist debug: thread 3048397712 (playlist) created at priority 0 (playlist/thread.c:117)
[00000400] main interface debug: looking for interface module: 1 candidate
[00000400] main interface debug: using interface module "hotkeys"
[00000400] main interface debug: TIMER module_Need() : 0,232 ms - Total 0,232 ms / 1 intvls (Avg 0,232 ms)
[00000400] main interface debug: thread started
[00000400] main interface debug: thread 3040005008 (interface) created at priority 0 (interface/interface.c:168)
[00000402] main interface debug: looking for interface module: 1 candidate
[00000402] main interface debug: using interface module "inhibit"
[00000402] main interface debug: TIMER module_Need() : 1,765 ms - Total 1,765 ms / 1 intvls (Avg 1,765 ms)
[00000402] main interface debug: thread started
[00000402] main interface debug: thread 3031612304 (interface) created at priority 0 (interface/interface.c:168)
[00000404] main interface debug: looking for interface module: 1 candidate
[00000404] main interface debug: using interface module "screensaver"
[00000404] main interface debug: TIMER module_Need() : 0,175 ms - Total 0,175 ms / 1 intvls (Avg 0,175 ms)
[00000404] main interface debug: thread started
[00000404] main interface debug: thread 3023219600 (interface) created at priority 0 (interface/interface.c:168)
[00000373] main playlist debug: adding item `dvb-c://' ( dvb-c:// )
[00000406] main interface debug: looking for interface module: 22 candidates
[00000406] main interface debug: using interface module "signals"
[00000406] main interface debug: TIMER module_Need() : 0,182 ms - Total 0,182 ms / 1 intvls (Avg 0,182 ms)
[00000406] main interface debug: thread started
[00000406] main interface debug: thread 3006434192 (interface) created at priority 0 (interface/interface.c:168)
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000408] main interface debug: looking for interface module: 4 candidates
[00000408] main interface debug: using interface module "qt4"
[00000408] main interface debug: TIMER module_Need() : 22,565 ms - Total 22,565 ms / 1 intvls (Avg 22,565 ms)
[00000408] main interface debug: thread started
[00000408] main interface debug: thread 2983512976 (interface) created at priority 0 (interface/interface.c:168)
[00000373] main playlist debug: rebuilding array of current - root Playlist
[00000373] main playlist debug: rebuild done - 1 items, index -1
[00000373] main playlist debug: starting new item
[00000373] main playlist debug: processing request item null node Playlist skip 0
[00000373] main playlist debug: creating new input thread
[00000411] main input debug: Creating an input for 'dvb-c://'
[00000411] main input debug: waiting for thread initialization
[00000411] main input debug: thread started
[00000411] main input debug: thread 2966555536 (input) created at priority 10 (input/input.c:370)
[00000411] main input debug: `dvb-c://' gives access `dvb-c' demux `' path `'
[00000411] main input debug: creating demux: access='dvb-c' demux='' path=''
[00000412] main demux debug: looking for access_demux module: 0 candidates
[00000412] main demux warning: no access_demux module matched "dvb-c"
[00000412] main demux debug: TIMER module_Need() : 0,137 ms - Total 0,137 ms / 1 intvls (Avg 0,137 ms)
[00000411] main input debug: creating access 'dvb-c' path=''
[00000413] main access debug: looking for access module: 1 candidate
[00000413] dvb access debug: Opening device /dev/dvb/adapter0/frontend0
[00000408] qt4 interface debug: Error while initializing qt-specific localization
[00000408] qt4 interface debug: Updating the stream status: 3
[00000413] dvb access debug: Frontend Info:
[00000413] dvb access debug: name = Philips TDA10023 DVB-C
[00000413] dvb access debug: type = QAM (DVB-C)
[00000413] dvb access debug: frequency_min = 47000000 (kHz)
[00000413] dvb access debug: frequency_max = 862000000 (kHz)
[00000413] dvb access debug: frequency_stepsize = 62500
[00000413] dvb access debug: frequency_tolerance = 0
[00000413] dvb access debug: symbol_rate_min = 458333 (kHz)
[00000413] dvb access debug: symbol_rate_max = 7333333 (kHz)
[00000413] dvb access debug: symbol_rate_tolerance (ppm) = 0
[00000413] dvb access debug: notifier_delay (ms) = 0
[00000413] dvb access debug: Frontend Info capability list:
[00000413] dvb access debug: inversion auto
[00000413] dvb access debug: forward error correction auto
[00000413] dvb access debug: card can do QPSK
[00000413] dvb access debug: card can do QAM 16
[00000413] dvb access debug: card can do QAM 32
[00000413] dvb access debug: card can do QAM 64
[00000413] dvb access debug: card can do QAM 128
[00000413] dvb access debug: card can do QAM 256
[00000413] dvb access debug: End of capability list
[00000413] dvb access debug: trying to tune the frontend...
[00000413] dvb access debug: using inversion=2
[00000413] dvb access debug: using fec=9
[00000413] dvb access error: DVB-C: setting frontend failed (-1): Invalid argument
[00000413] dvb access error: DVB-C: tuning failed
[00000413] main access warning: no access module matching "dvb-c" could be loaded
[00000413] main access debug: TIMER module_Need() : 573,710 ms - Total 573,710 ms / 1 intvls (Avg 573,710 ms)
[00000411] main input error: open of `dvb-c://' failed: could not create access
[00000373] main playlist debug: finished input
[00000373] main playlist debug: dying input
[00000408] qt4 interface debug: Updating the stream status: 8
[00000373] main playlist debug: dying input
[00000411] main input debug: thread ended
[00000373] main playlist debug: dead input
[00000411] main input debug: thread 2966555536 joined (playlist/engine.c:244)
[00000411] main input debug: TIMER input launching for 'dvb-c://' : 754,409 ms - Total 754,409 ms / 1 intvls (Avg 754,409 ms)
[00000373] main playlist debug: starting new item
[00000373] main playlist debug: changing item without a request (current 0/1)
[00000373] main playlist debug: nothing to play
^C[00000406] signals interface error: Caught Interrupt signal, exiting...
[00000406] main interface debug: thread ended
[00000001] main libvlc debug: removing all interfaces
[00000408] qt4 interface debug: Quitting the Qt4 Interface
[00000408] qt4 interface debug: Destroying the main interface
[00000408] qt4 interface debug: Destroying the Dialog Provider
[00000408] main interface debug: thread ended
[00000408] main interface debug: thread 2983512976 joined (interface/interface.c:188)
[00000408] main interface debug: removing module "qt4"
[00000406] main interface debug: thread 3006434192 joined (interface/interface.c:188)
[00000406] main interface debug: removing module "signals"
[00000404] main interface debug: thread ended
[00000404] main interface debug: thread 3023219600 joined (interface/interface.c:188)
[00000404] main interface debug: removing module "screensaver"
[00000402] main interface debug: thread ended
[00000402] main interface debug: thread 3031612304 joined (interface/interface.c:188)
[00000402] main interface debug: removing module "inhibit"
[00000400] main interface debug: thread ended
[00000400] main interface debug: thread 3040005008 joined (interface/interface.c:188)
[00000400] main interface debug: removing module "hotkeys"
[00000001] main libvlc debug: removing all services discovery tasks
[00000001] main libvlc debug: removing playlist
[00000373] main playlist debug: saving Media Library to file /home/nev/.local/share/vlc/ml.xspf
[00000373] main playlist debug: looking for playlist export module: 1 candidate
[00000373] main playlist debug: using playlist export module "export"
[00000373] main playlist debug: TIMER module_Need() : 0,200 ms - Total 0,200 ms / 1 intvls (Avg 0,200 ms)
[00000373] main playlist debug: removing module "export"
[00000398] main preparser debug: thread ended
[00000398] main preparser debug: thread 3070946192 joined (playlist/engine.c:521)
[00000399] main fetcher debug: thread ended
[00000399] main fetcher debug: thread 3056790416 joined (playlist/engine.c:523)
[00000373] main playlist debug: thread ended
[00000373] main playlist debug: thread 3048397712 joined (libvlc.c:993)
[00000398] main preparser debug: Destroyed
[00000399] main fetcher debug: Destroyed
[00000373] main playlist debug: Destroyed
[00000001] main libvlc debug: removing interaction
[00000372] main interaction debug: thread ended
[00000372] main interaction debug: thread 3079338896 joined (interface/interaction.c:400)
[00000001] main libvlc debug: removing all video outputs
[00000001] main libvlc debug: TIMER ML Load : Total 10,451 ms / 1 intvls (Avg 10,451 ms)
[00000001] main libvlc debug: TIMER Items array build : Total 0,047 ms / 2 intvls (Avg 0,024 ms)
[00000001] main libvlc debug: TIMER ML Dump : Total 0,269 ms / 1 intvls (Avg 0,269 ms)
[00000001] main libvlc debug: removing stats
[00000001] main libvlc debug: removing module "memcpymmxext"
[00000001] main libvlc debug: opening config file (/home/nev/.config/vlc/vlcrc)
[00000001] main libvlc debug: opening config file (/home/nev/.config/vlc/vlcrc)
[00000001] main libvlc debug: writing plugins cache /home/nev/.cache/vlc/plugins-04041e.dat
Code: Select all
[00000413] dvb access debug: trying to tune the frontend...
[00000413] dvb access debug: using inversion=2
[00000413] dvb access debug: using fec=9
[00000413] dvb access error: DVB-C: setting frontend failed (-1): Invalid argument
[00000413] dvb access error: DVB-C: tuning failed
[00000413] main access warning: no access module matching "dvb-c" could be loaded
[00000413] main access debug: TIMER module_Need() : 573,710 ms - Total 573,710 ms / 1 intvls (Avg 573,710 ms)
[00000411] main input error: open of `dvb-c://' failed: could not create access
Code: Select all
When i use the scan tool i use this config:
# Stofa / Telia DVB-C (Denmark / "Naestved"?)
# freq sr fec mod
C 346000000 6900000 NONE QAM64
And this is some VERY cropped output from the channels scan, i get a'lot more:
TV2 ZULU:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1220:1221:122
Kanal 4 :386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1230:1231:123
Disney Channel:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1660:1661:166
TV2 Charlie:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2030:2031:203
TV2 Film:386000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2210:2211:221
Animal Planet:354000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1050:1051:105
Canal+ Film HD:418000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2460:2461:246
DR1:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2310:2311:231
DR2:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2320:2321:232
TV 2 Ost:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2400:2401:240
DR Update:426000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:2510:2511:251
Viasat Explorer:442000000:INVERSION_AUTO:6900000:FEC_NONE:QAM_256:1680:1681:168
Best Regards
//Nev