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

Jean-Paul Saman saman at natlab.research.philips.com
Thu Oct 2 12:44:14 CEST 2003


jusuomin at abo.fi wrote:
> 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 agree, just made a change to that code in the CVS. Use that one!

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

Quick hack !

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

All tuning and setting up is done in dvb.c starting at 
ioctl_SetFrontEnd() and in ioctl_SetupSwitch().

The code that is in there works for QPSK (DVB-S) tuning. For DVB-T it 
could be that we have to do that somewhat different.

-- 
Kind greetings,

Jean-Paul Saman



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