VLC and DVB-t

*nix specific usage questions
Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

VLC and DVB-t

Postby Saltypete » 04 Aug 2007 09:31

I want to be able to use VLC to stream from my Hauppauge Nova-t 500 Card to the network. However I can't get vlc to even display the tv on the local computer.
I'm using Ubuntu 7.04. I've tried using the package available on the universe and have compiled my own but so far no good.
I have been able to tune the card using tzap and can view with kaffeine.
Any ideas?

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: VLC and DVB-t

Postby kmf31 » 04 Aug 2007 11:08

Don't forget "--enable-dvb" when compiling vlc. You also need to provide dvb-headers of some recent linux kernel (not necessarily your actual kernel version), e.g. by:

--with-dvb=PATH

where PATH is the path to a dvb- and v4l2-enabled kernel tree.

Afterwards you start: "vlc channels.conf" and you may save the data of your channels to a playlist (in the playlist-menu).

Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

Re: VLC and DVB-t

Postby Saltypete » 04 Aug 2007 11:41

You also need to provide dvb-headers of some recent linux kernel (not necessarily your actual kernel version), e.g. by:

--with-dvb=PATH

where PATH is the path to a dvb- and v4l2-enabled kernel tree.

Afterwards you start: "vlc channels.conf" and you may save the data of your channels to a playlist (in the playlist-menu).
OK this may be really stupid but how do I get a dvb- and v4l2-enabled kernel tree to use

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: VLC and DVB-t

Postby kmf31 » 04 Aug 2007 13:00

Either you install a kernel-source tree from your Ubunto distribution (this is always possible, maybe already done in /usr/src/linux ) or download simply a recent kernel-tar from http://www.kernel.org .
As far as compilation of vlc is concerned it does NOT matter to have the same version as your running kernel. Any kernel in the range from 2.6.15 (or even earlier) to now will be okay.

It may be a good idea to copy the dvb headers from the kernel-source tree to the system headers by:

Code: Select all

cd <kernelsource_folder> cp -r include/linux/dvb /usr/include/linux/
Once this is done, you only need "--enable-dvb" but not the other option (--with-dvb=PATH) for your future vlc-compilations.

Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

Re: VLC and DVB-t

Postby Saltypete » 04 Aug 2007 14:17

OK I've compiled again with the kernel source specified. It still does not come up.
The playlist has the channels in it but it can't seem to get a lock.
tzap still does get a lock though.
Here is the debug output

Code: Select all

VLC media player 0.9.0-svn Grishenko [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /home/pmcnamara/.vlc/cache/plugins-04041e.da t [00000001] main libvlc debug: recursively browsing `modules' [00000001] main libvlc debug: recursively browsing `/usr/lib/vlc' [00000001] main libvlc warning: cannot load module `/usr/lib/vlc/demux/liblive555_plugin.so' (/usr/li b/vlc/demux/liblive555_plugin.so: undefined symbol: _Z6strDupPKc) [00000001] main libvlc debug: recursively browsing `plugins' [00000001] main libvlc debug: module bank initialized, found 244 modules [00000001] main libvlc debug: opening config file (/home/pmcnamara/.vlc/vlcrc) [00000001] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU [00000001] main libvlc debug: looking for memcpy module: 4 candidates [00000001] main libvlc debug: using memcpy module "memcpymmxext" [00000326] main playlist error: Reloading playlist not implemented. [00000327] main private debug: waiting for thread completion [00000327] main private debug: thread 3072084880 (preparser) created at priority 0 (playlist/thread.c :81) [00000328] main private debug: waiting for thread completion [00000328] main private debug: thread 3063692176 (fetcher) created at priority 0 (playlist/thread.c:1 07) [00000326] main playlist debug: waiting for thread completion [00000326] main playlist debug: rebuilding array of current - root Playlist [00000326] main playlist debug: rebuild done - 0 items, index -1 [00000326] main playlist debug: thread 3055299472 (playlist) created at priority 0 (playlist/thread.c :117) [00000329] main interface debug: looking for interface module: 1 candidate [00000329] main interface debug: using interface module "hotkeys" [00000329] main interface debug: thread 3046906768 (interface) created at priority 0 (interface/inter face.c:218) [00000331] main interface debug: looking for interface module: 1 candidate [00000331] main interface debug: using interface module "screensaver" [00000331] main interface debug: thread 3038514064 (interface) created at priority 0 (interface/inter face.c:218) [00000326] main playlist debug: adding item `channels.conf' ( channels.conf ) [00000333] main interface debug: looking for interface module: 5 candidates [00000333] qt4 interface error: no X server [00000331] screensaver interface warning: failed to connect to the D-BUS daemon: Failed to execute db us-launch to autolaunch D-Bus session [00000333] skins2 interface error: Cannot open display [00000333] skins2 interface error: cannot initialize OSFactory Remote control interface initialized. Type `help' for help. [00000333] main interface debug: using interface module "rc" [00000326] main playlist debug: rebuilding array of current - root Playlist [00000326] main playlist debug: rebuild done - 1 items, index -1 [00000326] main playlist debug: starting new item [00000326] main playlist debug: processing request item null node Playlist skip 0 [00000326] main playlist debug: creating new input thread [00000339] main input debug: waiting for thread completion [00000339] main input debug: `channels.conf' gives access `' demux `' path `channels.conf' [00000339] main input debug: creating demux: access='' demux='' path='channels.conf' [00000340] main demuxer debug: looking for access_demux module: 3 candidates [00000340] dc1394 demuxer error: Bad MRL, please check the option line (MRL was: channels.conf) [00000339] main input debug: creating access '' path='channels.conf' [00000344] main access debug: looking for access2 module: 5 candidates [00000344] vcd access debug: trying .cue file: channels.cue [00000344] vcd access debug: could not find .cue file [00000344] access_directory access debug: opening directory `channels.conf' [00000344] access_directory access debug: skipping non-directory `channels.conf' [00000344] access_file access debug: opening file `channels.conf' [00000344] main access debug: using access2 module "access_file" [00000349] main private debug: pre-buffering... [00000349] main private debug: received first data for our buffer [00000339] main input debug: creating demux: access='' demux='' path='channels.conf' [00000350] main demuxer debug: looking for demux2 module: 47 candidates [00000339] main input debug: thread 3015371664 (input) created at priority 0 (input/input.c:332) [00000326] main playlist debug: requesting art for channels.conf [00000350] ts demuxer warning: TS module discarded (lost sync) [00000350] playlist demuxer debug: found valid DVB conf playlist file [00000350] main demuxer debug: using demux2 module "playlist" [00000339] main input debug: looking for a subtitle file in /home/pmcnamara/.tzap/ [00000339] main input debug: `channels.conf' successfully opened [00000326] main playlist debug: deleting item `channels.conf' [00000326] main playlist debug: marking channels.conf for further deletion [00000326] main playlist debug: need to fetch meta for ABC HDTV [00000326] main playlist debug: incoming request - stopping current input [00000326] main playlist debug: dying input [00000339] main input debug: control type=0 [00000339] main input debug: control: stopping input [00000350] main demuxer debug: removing module "playlist" [00000344] main access debug: removing module "access_file" [00000326] main playlist debug: need to fetch meta for ABC TV Melbourne [00000326] main playlist debug: need to fetch meta for ABC2 [00000326] main playlist debug: need to fetch meta for ABC TV [00000326] main playlist debug: dead input [00000339] main input debug: thread 3015371664 joined (input/input.c:469) [00000326] main playlist debug: channels.conf was marked for deletion, deleting [00000326] main playlist debug: starting new item [00000326] main playlist debug: processing request item null node channels.conf skip 0 [00000326] main playlist debug: rebuilding array of current - root channels.conf [00000326] main playlist debug: rebuild done - 6 items, index -1 [00000326] main playlist debug: creating new input thread [00000401] main input debug: waiting for thread completion [00000401] main input debug: `dvb:' gives access `dvb' demux `' path `' [00000401] main input debug: creating demux: access='dvb' demux='' path='' [00000402] main demuxer debug: looking for access_demux module: 0 candidates [00000402] main demuxer warning: no access_demux module matched "dvb" [00000401] main input debug: creating access 'dvb' path='' [00000403] main access debug: looking for access2 module: 1 candidate [00000403] dvb access debug: Opening device /dev/dvb/adapter0/frontend0 [00000401] main input debug: thread 3015371664 (input) created at priority 0 (input/input.c:332) [00000326] main playlist debug: requesting art for ABC HDTV [00000326] main playlist debug: need to fetch meta for ABC DiG Radio [00000326] main playlist debug: art not found for channels.conf [00000326] main playlist debug: need to fetch meta for ABC DiG Jazz [00000326] main playlist debug: art not found for ABC HDTV [00000403] dvb access debug: Frontend Info: [00000403] dvb access debug: name = DiBcom 3000MC/P [00000403] dvb access debug: type = OFDM (DVB-T) [00000403] dvb access debug: frequency_min = 44250000 (kHz) [00000403] dvb access debug: frequency_max = 867250000 (kHz) [00000403] dvb access debug: frequency_stepsize = 62500 [00000403] dvb access debug: frequency_tolerance = 0 [00000403] dvb access debug: symbol_rate_min = 0 (kHz) [00000403] dvb access debug: symbol_rate_max = 0 (kHz) [00000403] dvb access debug: symbol_rate_tolerance (ppm) = 0 [00000403] dvb access debug: notifier_delay (ms) = 0 [00000403] dvb access debug: Frontend Info capability list: [00000403] dvb access debug: inversion auto [00000403] dvb access debug: forward error correction 1/2 [00000403] dvb access debug: forward error correction 2/3 [00000403] dvb access debug: forward error correction 3/4 [00000403] dvb access debug: forward error correction 5/6 [00000403] dvb access debug: forward error correction 7/8 [00000403] dvb access debug: forward error correction auto [00000403] dvb access debug: card can do QPSK [00000403] dvb access debug: card can do QAM 16 [00000403] dvb access debug: card can do QAM 64 [00000403] dvb access debug: card can do QAM auto [00000403] dvb access debug: transmission mode auto [00000403] dvb access debug: guard interval mode auto [00000403] dvb access debug: hierarchy mode auto [00000403] dvb access debug: card can recover from a cable unplug [00000403] dvb access debug: End of capability list [00000403] dvb access debug: trying to tune the frontend... [00000403] dvb access debug: using inversion=2 [00000403] dvb access debug: using bandwidth=7 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using transmission=8 [00000403] dvb access debug: using guard=16 [00000403] dvb access debug: using hierarchy=-1 [00000403] dvb access debug: Opening device /dev/dvb/adapter0/dvr0 [00000403] dvb access debug: setting filter on PAT [00000403] dvb access debug: Opening device /dev/dvb/adapter0/demux0 [00000403] dvb access debug: DMXSetFilter: DMX_PES_OTHER for PID 0 [00000403] dvb access debug: Opening device /dev/dvb/adapter0/ca0 [00000403] dvb access warning: CAMInit: opening CAM device failed (No such file or directory) [00000403] main access debug: using access2 module "dvb" [00000414] main private debug: pre buffering [00000329] hotkeys interface debug: thread -1248060528: possible condition deadlock at hotkeys.c:209 (Connection timed out) [00000327] main private debug: thread -1222882416: possible condition deadlock at playlist/engine.c:4 80 (Connection timed out) [00000328] main private debug: thread -1231275120: possible condition deadlock at playlist/engine.c:5 96 (Connection timed out) [00000326] main playlist debug: thread -1239667824: possible condition deadlock at playlist/thread.c: 203 (Connection timed out) [00000403] dvb access debug: frontend has acquired signal [00000403] dvb access warning: no lock, tuning again [00000403] dvb access debug: using inversion=2 [00000403] dvb access debug: using bandwidth=7 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using transmission=8 [00000403] dvb access debug: using guard=16 [00000403] dvb access debug: using hierarchy=-1 [00000403] dvb access debug: frontend has acquired signal [00000403] dvb access warning: no lock, tuning again [00000403] dvb access debug: using inversion=2 [00000403] dvb access debug: using bandwidth=7 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using fec=9 [00000403] dvb access debug: using transmission=8 [00000403] dvb access debug: using guard=16 [00000403] dvb access debug: using hierarchy=-1 [00000403] dvb access debug: frontend has acquired signal signal 2 received, terminating vlc - do it again in case it gets stuck user insisted too much, dying badly Aborted (core dumped)

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: VLC and DVB-t

Postby kmf31 » 04 Aug 2007 14:25

Did you first test without streaming, only to look dvb-t TV on the screen ?

Once this is okay you can turn to the proper options for streaming. Furthermore according to the error messages you also neglected to compile live555 support in vlc which is needed for the (kind of) streaming you want to do.

I have answered in some previous topic here in detail how to get and compile the live555 library and how to compile vlc with live555-support.

Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

Re: VLC and DVB-t

Postby Saltypete » 04 Aug 2007 14:31

Yes, what I ran to get the output was

vlc -vvv channels.conf

I think this is to do it for the local machine, would the lack of live555 support affect this?

Thanks for all the help

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: VLC and DVB-t

Postby kmf31 » 04 Aug 2007 14:42

Normally the lack off live555 support should not matter with your simple command line supposed only to show the TV picture on the screen but if for some reason you have selected in the vlc preferences the live-streaming as the default output-device of vlc (and not the screen) then it indeed matters.

In that case you can reset the preferences and restart vlc again for screen viewing and later add the particular streaming options you need.

Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

Re: VLC and DVB-t

Postby Saltypete » 04 Aug 2007 14:57

I have reset the preferences, but still no picture.

kmf31
Cone that earned his stripes
Cone that earned his stripes
Posts: 308
Joined: 11 Mar 2007 21:47

Re: VLC and DVB-t

Postby kmf31 » 04 Aug 2007 16:22

Theoretically the channels.conf file should work directly with vlc but may be in some case that does not produce the exact dvb-parameters for vlc as it should. You may have a look here with a similar problem:
viewtopic.php?f=13&t=39517&p=123267#p123003
and try to put the parameters manually. In principal dvb-s or dvb-t are not too different for this.

Saltypete
New Cone
New Cone
Posts: 9
Joined: 04 Aug 2007 09:24

Re: VLC and DVB-t

Postby Saltypete » 16 Aug 2007 09:54

I have tried to enter the pararameters in the command line with no luck, have reinstalled as well


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests