"Jan Panteltje" wrote in message
news:punp1b$s5d$1@dont-email.me...
> "NY" wrote
>>"Jan Panteltje" wrote in message
>>news:pum4ct$t1m$1@dont-email.me...
>>
>>> If you however typed:
>>> dvbstream -c 0 -I 2 -qam 64 -gi 4 -cr 1_2 -crlp 1_2 -bw 8 -tm
>>> -f 562000 -o 8192 > /root/q1.ts
>>> then you record the whole transponder (the whole transmitter content for
>>> that frequency) to file /root/q1.ts
>>
>>Hmmm. That command, with various values of the f parameter for the
>>frequencies of my transmitter's multiplexes, gives various error messages:
>>dvbstream v0.7 - (C) Dave Chapman 2001-2004
>>Released under the GPL.
>>Latest version available from http://www.linuxstb.org/
>>FRONTEND DEVICE: : Device or resource busy
>>Tuning to 490000 Hz
>>FE_GET_INFO: : Bad file descriptor
>>dvbstream will stop after -1 seconds (71582788 minutes)
>>Output to stdout
>>Streaming 1 stream
>>
>>which look pretty fatal, but...
>>
>>
>>I do actually get a recording of a different multiplex: whatever value of
>>f
>>I use (490 MHz is PSB3 - BBC1 and ITV HD) I always get mux COM7 (BBC News
>>HD
>>etc).
>>
>>
>>That's with the command run under sudo.
>>
>>
>>I wonder if the problem is that the Pi is running TVHeadend (though not
>>actually tuned to anything) - might that be locking the tuner, and maybe
>>the
>>last time I used that decoder I'd tuned it to COM7.
With a bit of further testing, that's exactly what's happening: dvbstream
always tunes to the last mux that TVHeadend tuned to - that's reproducable.
> Maybe type
> fuser /dev/dvb/adapter0/frontend0
That command completes but doesn't produce any stdout
> this should display a number, say NUMBER
> then type
> ps avx | grep NUMBER
> and that should show the process that uses your frontend0 (is the tuner)
> If it is not dvbstream, then maybe that is TVHeadend?
>
> Not sure how to stop that TVHeadend
> but you could perhaps try
> kill -KILL NUMBER
I found the process ID of TVHeadend and killed it, and now dvbstream works
as expected. It can't lock to any DVB-T2 mux (only DVB-T) but it may need a
tweak in the QAM (etc) settings on the dvbstream command line. I'll see what
parameters a typical channel in PSB3, COM7 or COM8 uses, and tweak the
command accordingly.
VLC can also tune to any DVB-T mux, but not (as yet) a DVB-T2 one). Again,
it may be that the auto settings for the QAM etc parameters aren't right and
I need to set them manually.
I'll have a play with streaming channels over the network...
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|