On Thursday 08 Apr 2010 14:46, Steve Price via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=56362 >
>
> On Wed Apr 07 15:07:55 2010, MWARD wrote:
> > I have three tuners on my machine, all are detected with dvbt-devices.
> >
> > The Twinhan VP7045/46 USB DVB-T seems to work OK.
> >
> > The other two are AVerMedia AVerTV tuners, detected as "DiBcom 3000P/M-C
> > DVB-T" and these do not work at all.
> >
> > dvbt-strength -a 1
> >
> > gives:
> >
> > Unable to tune frontend at /usr/local/bin/dvbt-strength line 54
> >
> > Note that dvbt-record does not accept the -a option to choose an adapter.
>
> Sorry to hear you are having problems. Could you run dvbt-strength with
> '-debug 15 -verbose 15' and attach the resulting output?
Thanks for the quick response. The output is attached.
Show quoted text> It may well be that the default timeout is not sufficient for these
> cards. You can change the timeout in your own scripts by setting the
> 'timeout' field of the dvb object in milliseconds (the default is 900).
I tried changing the timeout:
my $dvb = Linux::DVB::DVBT->new('adapter_num' => $adapter, 'timeout' =>
90000) ;
but this made no difference: it is obviously not timing out. (See the attached
LOG3 file).
Show quoted text> In general, I've provided the installed scripts more as examples of how
> the module can be used, rather than as production scripts. I was
> expecting people to take copies and roll their own. Having said that,
> I'll modify the record script (and any other I've forgotten) to add the
> -a option!
Thanks.
Currently I use two different methods to record from my two types
of tuner:
The Twinhan uses:
dvbstream -f freq-in-KHz 8192
to broadcast the whole transport stream to the multicast network
(which is bound to the loopback device: I found that otherwise
the data would spam my old wireless router!).
Then individual programmes are recorded with dvb_dumprtp
and dvb_ts_filter like this:
dvb_dumprtp | dvb_ts_filter 201 401 >! test.mpg
Since the data is on a multicast network, we can record
several programmes on the same stream.
This approach didn't work with the AVerTV tuners, for some reason,
so to record programmes from these I run:
tzap -a adapter_number -r "BBC ONE"
in the background to tune in to the station, and then:
setenv DEMUX /dev/dvb/adapter1/demux0
setenv DVR /dev/dvb/adapter1/dvr0
test_dvr file.mpg 0x0258 0x0259
to capture the output. The test_dvr source code is in linuxtv-dvb-apps-1.1.1,
which I downloaded from here:
http://www.linuxtv.org/downloads/
I wrote some perl scripts to handle the details.
--
Martin
STRL Reader in Software Engineering and Royal Society Industry Fellow
martin@gkc.org.uk
http://www.cse.dmu.ac.uk/~mward/ Erdos number: 4
G.K.Chesterton web site:
http://www.cse.dmu.ac.uk/~mward/gkc/
Mirrors:
http://www.gkc.org.uk and
http://www.gkc.org.uk/gkc