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

jusuomin at abo.fi jusuomin at abo.fi
Thu Oct 2 12:25:45 CEST 2003


Quoting jusuomin at abo.fi:

> > 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

I think I found the reason for this. In modules/access/dvb/access.c
lines: 146-149

        frontend_info.frequency_max =   12999000;
        frontend_info.frequency_min =    9750000;
        frontend_info.symbol_rate_max = 30000000;
        frontend_info.symbol_rate_min =  1000000;

Why are these values hardcoded? Especially given the fact that e.g. here
in Finland the terrestrial broadcasts come on frequencies between 538
and 714 MHz, which are way higher than the maximum values above?

I tried multiplying the frontend_info.frequency_max with 100 and
remaking the executable. That took care of the invalid frequency report,
but the tunig still fails, although with different statuc codes.

[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x01!!!
...tuning failed
[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x03!!!
...tuning failed
[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x03!!!
...tuning failed
[00000298] dvb input error: frontend returned a failure event
[00000298] dvb input debug: using default values for frontend info
[00000298] dvb input debug: method of access is terrestrial
[00000298] main input error: option guard does not exist
[00000298] dvb input debug: terrestrial dvb has guard interval not set,
using auto
[00000298] dvb input debug: terrestrial (OFDM) frontend found on
/dev/dvb/adapter0/frontend0
[00000298] dvb input debug: opening DVR device '/dev/dvb/adapter0/dvr0'
[00000298] dvb input debug: Opening frontend /dev/dvb/adapter0/frontend0
[00000298] dvb input debug: ioctl_SetupSwitch: switch pos 0, 13V, hiband
[00000298] dvb input debug: ioctl_SetupSwitch: index 2
[00000298] dvb input debug: DiseqcSendMsg(): e0 10 38 f1 00 00
[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x03!!!
...tuning failed
[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x03!!!
...tuning failed
[00000298] dvb input debug: ioctl_SetFrontend: tuning status == 0x03!!!
...tuning failed
[00000298] dvb input error: frontend returned a failure event

Where is the tuning code located? Is it in access.c or dvb.c (I haven't
had time to look them through properly yet), and where is the code
called from? I thought that I'd compare it with the dvbtune code and see
if that would help me..

-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