[vlc] Re: Streaming a dvb-t channel with vlc?

jusuomin at abo.fi jusuomin at abo.fi
Thu Oct 2 11:23:32 CEST 2003


Quoting Jean-Paul Saman <saman at natlab.research.philips.com>:

OK. I tried again with the following commandline:

/usr/local/bin/vlc -vvv --program 512 terrestrial:714000000:0:3:27500000

(This should be YLE TV 1 here in Finland. "dvbstream -f 714000 -ps 512
650 -o | mplayer -" confirms that.)

> > The problems I'm having (full output below) are that vlc complains
> that
> > I'm giving it an invalid frequency (although I'm positive that it
> is
> > correct) and symbol rate. 
> 
> It doesn't say it is an invalid frequency it says that tuning
> failed.

Well, it also says that the frequency is invalid:

[00000157] dvb input warning: invalid frequency 714000000 (Hz), using
default one

>  > ...tuning failed
>  > [00000157] dvb input debug: ioctl_SetFrontend: tuning status ==
> 0x01!!!
>  > ...tuning failed
>  > [00000157] dvb input error: frontend returned a failure event
> 
> Can you tune to this channel with your dvbstream + mplayer setup ?

Yes. dvbstream + mplayer works like a charm.

> > Also, I'm having difficulties in creating a .dvbrc file (mainly
> because
> > I can't test it, since vlc won't stream dvb for me...), so if
> someone
> > could give me either a working dvb-t .dvbrc for Finland, or point
> me
> > somewhere that could help me creating one (the syntax just doesn't
> make
> > sense to me, I'm afraid...) I'd be very grateful.
> 
> .dvbrc file is not useable with vlc. It is simply not used.

Yes. I'm aware of that, but AFAIK vls uses it, does it not?

> > And one last question. What is the correct value for symbol rate
> here in
> > Finland?
> 
> Do not know ?

Any tools for finding out this that you know of?

> So use vlc like this:
> 
> /usr/local/bin/vlc -vvv --program 8211
> terrestrial:12597000:0:3:27500000
> 
> Now VLC should try to tune the frontend (FE_OFDM) for tuning. It
> hasn't 
> have much testing yet, so could you report success or failure back to
> 
> this list please? (with logs of course ;-))

OK. I tried that, and it seems to use the OFDM frontend, but it still fails.

Screen dump:

[root at blumlein root]# /usr/local/bin/vlc -vvv --program 512
terrestrial:714000000:0:3:27500000

VideoLAN Client 0.6.2 Trevelyan
[00000000] main root debug: VLC media player - version 0.6.2 Trevelyan -
(c) 1996-2003 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure
--enable-v4l --enable-dvb --enable-arts --enable-qt --enable-kde
--enable-lirc --prefix=/usr/local

>>>> Is there perhaps something wrong with the ./configure settings? Is
v4l needed with dvb? Or do they conflict with each other?

[00000001] main vlc debug: translation test: code is "C"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000000] main root debug: checking builtin modules
[00000000] main root debug: checking plugin modules
[00000000] main root debug: recursively browsing `modules'
[00000000] main root debug: recursively browsing `/usr/local/lib/vlc'
[00000000] main root warning: cannot open
`/usr/local/lib/vlc/gui/libqt_plugin.so'
(/usr/local/lib/vlc/gui/libqt_plugin.so: undefined symbol:
_ZN11QMainWindow5eventEP6QEvent)
[00000000] main root debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 140 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow!
MMXEXT SSE FPU
[00000001] main vlc debug: looking for memcpy module
[00000001] main vlc debug: probing 4 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000156] main playlist debug: waiting for thread completion
[00000156] main playlist debug: thread 16386 (playlist) created at
priority 0 (src/playlist/playlist.c:80)
[00000156] main playlist debug: adding playlist item «
terrestrial:714000000:0:3:27500000 » ( terrestrial:714000000:0:3:27500000 )
[00000156] main playlist debug: creating new input thread
[00000157] main input: playlist item `terrestrial:714000000:0:3:27500000'
[00000157] main input debug: waiting for thread completion
[00000157] main input debug: thread 32771 (input) created at priority 0
(src/input/input.c:180)
[00000157] main input debug: playing at normal rate
[00000158] main interface debug: looking for interface module
[00000158] main interface debug: probing 3 candidates
[00000158] main interface debug: looking for gui-helper module
[00000158] main interface debug: probing 1 candidate
[00000157] main input debug: access `terrestrial', demux `', name
`714000000:0:3:27500000'
[00000157] main input debug: looking for access module
[00000157] main input debug: probing 8 candidates
[00000157] dvb input debug: using default values for frontend info
[00000157] dvb input debug: method of access is terrestrial
[00000157] dvb input warning: invalid frequency 714000000 (Hz), using
default one

>>>> See, here it complains about the frequency?

[00000157] main input error: option guard does not exist
[00000157] dvb input debug: terrestrial dvb has guard interval not set,
using auto
[00000157] dvb input debug: terrestrial (OFDM) frontend found on
/dev/dvb/adapter0/frontend0
[00000157] dvb input debug: opening DVR device '/dev/dvb/adapter0/dvr0'
[00000157] dvb input debug: Opening frontend /dev/dvb/adapter0/frontend0
[00000159] main private debug: waiting for thread completion
[00000157] dvb input debug: ioctl_SetupSwitch: switch pos 0, 13V, hiband
[00000157] dvb input debug: ioctl_SetupSwitch: index 2
[00000159] main private debug: thread 49156 (gtk_main) created at
priority 0 (gtk_main.c:113)
[00000118] main module debug: using gui-helper module "gtk_main"
[00000101] main module debug: using interface module "gtk"
[00000158] main interface debug: interface initialized
[00000158] main interface debug: thread 65541 (manager) created at
priority 0 (src/interface/interface.c:118)
[00000157] dvb input debug: DiseqcSendMsg(): e0 10 38 f1 00 00

>>>>> Should this happen? Aren't these satellite related?

[00000157] dvb input debug: ioctl_SetFrontend: tuning status == 0x01!!!
...tuning failed
[00000157] dvb input debug: ioctl_SetFrontend: tuning status == 0x01!!!
...tuning failed
[00000157] dvb input debug: ioctl_SetFrontend: tuning status == 0x01!!!
...tuning failed
[00000157] dvb input error: frontend returned a failure event

>>>> Still can't tune either. Where is the code for the dvb-related
things? Is it modules/access/dvb/ or? I could take a look at it..

>>>> I'm assuming that vlc tries the rest of these (dvd, vcd etc)
because the dvb module failed. Is this correct?

[00000157] dvdread input warning: cannot stat() source
`714000000:0:3:27500000' (No such file or directory)
[00000157] dvd input warning: cannot stat() device
`714000000:0:3:27500000' (No such file or directory)
[00000157] vcd input warning: could not open 714000000:0:3:27500000
[00000157] cdda input warning: could not open 714000000:0:3:27500000
[00000157] access_file input warning: cannot stat() file
`714000000:0:3:27500000' (No such file or directory)
[00000157] v4l input warning: unknown option
[00000157] v4l input warning: unknown option
[00000157] v4l input warning: unknown option
[00000157] v4l input debug: video device=`714000000'
[00000157] v4l input debug: audio device=`(null)'
[00000157] v4l input error: cannot open device (No such file or directory)
[00000157] main input warning: no access module matching "terrestrial"
could be loaded
[00000157] main input debug: looking for access module
[00000157] main input debug: probing 7 candidates
[00000157] dvdread input warning: cannot stat() source
`terrestrial:714000000:0:3:27500000' (No such file or directory)
[00000157] dvd input warning: cannot stat() device
`terrestrial:714000000:0:3:27500000' (No such file or directory)
[00000157] vcd input warning: could not open
terrestrial:714000000:0:3:27500000
[00000157] cdda input warning: could not open
terrestrial:714000000:0:3:27500000
[00000157] access_file input warning: cannot stat() file
`terrestrial:714000000:0:3:27500000' (No such file or directory)
[00000157] v4l input warning: unknown option
[00000157] v4l input warning: unknown option
[00000157] v4l input warning: unknown option
[00000157] v4l input warning: unknown option
[00000157] v4l input debug: video device=`terrestrial'
[00000157] v4l input debug: audio device=`(null)'
[00000157] v4l input error: cannot open device (No such file or directory)
[00000157] main input error: no suitable access module for
`/://terrestrial:714000000:0:3:27500000'
[00000157] main input debug: thread 32771 joined (src/input/input.c:214)
00000157] dvb input warning: invalid frequency 714000000 (Hz), using
default one

Thanx again!!

-JP

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list