Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: dvb-input PATCH for mplayer
- To: linux-dvb@linuxtv.org
- Subject: [linux-dvb] Re: dvb-input PATCH for mplayer
- From: David Mittelstädt <david@flowerz.de>
- Date: Fri, 20 Jun 2003 10:14:11 +0200
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset=ISO-8859-1; format=flowed
- In-reply-to: <Pine.LNX.4.44.0306201006030.10740-100000@berta.cs.unibo.it>
- References: <Pine.LNX.4.44.0306201006030.10740-100000@berta.cs.unibo.it>
- Sender: linux-dvb-bounce@linuxtv.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313
Thanks thats great, because i now have a stable picture but i wasnt able
to figure out how to switch between channels. Great work you did.
David
Nico wrote:
Hi,
sorry, my mail was down and I couldn't answer sooner.
You're right, I forgot to include the howto in the patch.
Here it is:
+++ MPlayer-20030505-new/DOCS/en/dvbin-howto.txt 2003-05-05
23:18:24.000000000 +0200
@@ -0,0 +1,81 @@
+
+How to watch tv from a dvb card:
+
+1) make sure you have a working driver set (I have it working with both
0.9.4 and DVB_HEAD in
+its dvb-kernel incarnation); if you have dvbstream working then mplayer
should work too.
+The drivers are available at www.linuxtv.org.
+
+
+2) compile a ~/.mplayer/channels.conf file compliant to the syntax
defined for you tuner type;
+valid examples are in szap (new drivers' tuning application) directory.
+
+3) run
+mplayer dvb:// (it will load the first channel available in you
config file)
+
+or
+
+mplayer dvb://mychannel (it will try to tune to 'mychannel')
+
+Some parameters may be passed via cli prefixed by -dvbin:
+
+card=1..4 I count starting from 1, not from
0
+type=SAT|TER|CBL if not specified mplayer will try to
autodetect it
+file=mychannels.conf will override you channels file
+
+e.g.
+
+mplayer dvb://Pro7 -dvbin type=SAT:card=1:file=sat.file
+
+You can change channel either with 'h' and 'k' keys (to make it go to the
next and previous respectively),
+or running
+
+mplayer dvb:// --menu
+
+and using the OSD menu, where you will have a list of channels to choose
from.
+
+To use the menu you should
+a) compile mplayer with --menu
+b) have a menu such as the one supplied in etc/menu.conf (dvbsel is the
menu voice)
+c) have the dvb input module running (otherwise a warning will be
displayed).
+
+
+
+A note for SAT users:
+the diseqc value in your config file has the following meaning:
+
+0: not used (so if you have a channel on position 2 and you are actually
tuned on position 1 you
+ won't see the new channel)
+
+1..4 position 1..4 (tested only with 1 and 2).
+
+
+
+Recording:
+either:
+
+mplayer dvb://mychannel -dumpstream -dumpfile mychannel.ts
(it's MPEG-TS)
+
+or
+
+mencoder dvb://mychannel -ovc xvid -xvidencopts quant_range=1..4/1..8
-oac copy -vop denoise3d,pp=lb -o film.avi
+
+that will capture and encode your movie.
+XVID seems to be the best codec for encoding, but be warned:
+this method seems to break randomly after some minutes or sometimes
seconds.
+It's still under investigation, so don't rely too much on it.
NO more, it's working now
+I based my code on dvbstream, which is usually considered the reference
software for dvb-input.
+I tested my patch only with my WinTV Nova-S, and I never had problems.
+I had reports of success by DVB-T owners.
+
+In any case I'm not responsible for any damage provocated to your
hardware, so if you don't want to
+risk don't use this patch.
+
+Please report any problem to nsabbi at libero.it
+
+
+Nico
+
+
+
On Thu, 19 Jun 2003, David Mittelstädt wrote:
Nico wrote:
Hi,
this patch for mplayer-cvs adds three things to the existing code (that is
actually broken)
1) OSD menu of channels
2) howto instructions in DOCS/en/dvbin-howto.txt
3) recording to a recompressed format is now reliable (doesn't break at
the first EOVERFLOW), but continues with eventual glitches in the recorded
stream; as usual the more powerful CPU you have the better.
As always non-FTA channels are not supported and mpalyer hangs when you
select one of them, so please remove them from you ~/.mplayer/channels.conf.
As the tuning code is taken from dvbstream, my patch always uses
INVERSION_OFF, so it might suffer from the same problems reported some
days ago by some DVB-T users. I'll update the code as soon as I have some
more information about this issue.
Feedback and suggestions are welcome.
Thanks,
Nico
Thanks for this patch, but i cant find the howto and when trying to just
read the input of the tuned device or when opening the input with
mplayer i get no output. Could you repost the howto, or give me an
information on how to solve that?
David
--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.
Home |
Main Index |
Thread Index