[Mplayer-dvb] [PATCH] update to dvb-input(2)
nico
nsabbi at libero.it
Sat Jan 25 15:42:41 CET 2003
Hello,
attached is a new patch for Mplayer 0.90rc3 that enables dvb tuning and
channel switching.
It also includes a couple of last-minute updates respect to the one that
I sent to mplayer-dev-eng.
It's not ready for the main branch yet, because it still uses an
external ts2ps routine in the streaming layer, and uses some
'Argh!-able' code,
but it's better than the
previous version because:
1) it handles diseqc
2) it tunes much faster
3) it doesn't hang anymore when switching to a channel with a different
resolution/br
4) it handles other (untested) parameters necessary for DVB-T and -C.
Yet it still hangs when switching to an encrypted channel.
Once again all the code is based on dvbstream (thanks to the authors).
How to use it:
mplayer -dvbin on=1:[PARAMS]
where the possible params are:
on=1 required
prog=name (taken from a VDR-compatible channels.conf file that must be
in your .mplayer dir)
freq: frequency, int
vid, aid are pids (int)
srate: symbol-rate, int
pol: char V/H
diseqc: int 1-4
qam: modulation (16, 32, 64, 128, 256, otherwise default)
gi: guard_interval (4, 8, 16, 32, otherwise default)
tm: trasmission_mode (2,8 otherwise default)
bw: bandwidth(6, 7, 8, otherwise default)
cr: coderate (12, 23, 34, 56, 78, -1=auto)
tone: 0/1 maybe totally useless
e.g.: mplayer -dvbin on=1:prog=Rai1
mplayer -dvbin
on=1:freq=11766:srate=27500:pol=V:aid=80:vid=160:diseqc=1
I paid attention to avoid to issue a diseqc command if the next channel
is on
the same satellite as the previous.
The channels can be switched up and down with 'h' and 'k' keys (as for
the TV).
I tested this patch with my Hauppage WinTV Nova-S, so I couldn't test at
all certain parameters specific to DVB-T. If you want, use them at your
own ris but don't consider me responsible if your card fries.
I hope to receive bug-reports.
Thanks,
Nico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-dvb2.gz
Type: application/x-gzip
Size: 24416 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dvb/attachments/20030125/3dd14378/attachment.bin>
More information about the MPlayer-dvb
mailing list