Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: DVB-s Card - no picture




As clearly stated in mplayer's docs, the shutdown happens
because the current dvb code needs the card always on, so you need to load dvb-core
with dvb_shutdown_timeout=0 (which disables PM). You can do this adding

options dvb-core dvb_shutdown_timeout=0

in /etc/modules.conf

If you want to remove this requisite and enable the PM you can apply a patch
that I posted recently to mplayer-dvb@mplayerhq.hu.


Nico


Benedikt wrote:

Ok, thx to all,
now I run kernel 2.4.23 with dvb modules.
This works fine so far with szap -r -n channel and mplayer - < /dev/dvb/adapter0/dvr0 or mplayer --dvb /dev/dvb/adapter0/dvr0, but when I use mplayer with mplayer dvb:// mplayer is losing the dvb stream and shuts down. I can watch a program for some seconds. I do not really know, what causes that, because when I installed the modules I could use mplayer dvb:// without any problems. Now, after reboot, it does not work any longer.
It seems that the frontend or demuxer times out and can't be kept alive by mplayer or something like this.



On Thu, 27 Nov 2003 16:51:08 +0100
Nico <nsabbi@tiscali.it> wrote:


ost is the directory that included the headers of the old drivers (0.9.4). You don't need it anymore.
Get mplayer from cvs and make sure you have
/usr/include/linux/dvb/*.h (this directory is in the tar of 1.0.xxx series of drivers and in the include directory of dvb-kernel)
then run
$ ./configure --enable-menu
and verify that HAVE_DVB_HEAD is defined in config.h (you need this one, not HAVE_DVB)
$ make install
copy the file channels.conf in your ~/.mplayer/channels.conf and run
$ mplayer dvb://

left click on the screen should bring up the main menu with the DVB submenu.

With this version of mplayer you should be able to read the dump file; if it fails
I doubt you can watch TV without problems.




Benedikt wrote:


Hi Nico,
Thank you, I forgot the -r tag. But even if I do so, I can't watch tv. When I cat the /dev/dvb/adapter0/dvr0 into a file that file isn't empty but I also can't play it with with mplayer or another player. There I got another question. Where can I get the ost/include sources from dvb? In the tar.gz files and in downloaded CVS I couldn't find the directorys. I don't know why. But mplayer needs them for compiling with dvb support. Do you know if I can find the ost/include in the debian dvb-driver-source.


Benedikt


On Wed, 26 Nov 2003 15:25:25 +0100
Nico <nsabbi@tiscali.it> wrote:




Benedikt wrote:



So far, so good. But now when I try to start tvtime pointing to the device /dev/dvb/adapter0/dvr0 I get no picture. The same result I get with mplayer - < /dev/dvb/adapter0/dvr0 (mplayer message is: "... Playing - Reading from stdin..." Then it hangs)


You have to run
szap -r PROGRAM (-r, not -n)
and without interrupting it run in another terminal mplayer (from cvs) or xine.

If it doesn't work run
szap -r PROGRAM
cat /dev/dvb/adapter0/dvr0 > file.ts (^C after 30 seconds)

and check if it's empty (it shouldn't be) and if you can play it.

If all is right you can use mplayer's or xine's native dvb interfaces.

Nico



I also tried xawtv which crashes with a seg fault and xine, which brings a similar result as mplayer.
If I am right /dev/video0 isn't the right device for dvb-s cards, if I it should run, it doesn't.

In conclusion it seems to me that the dvb card is working and able to play but I can't play any channels with a play back application.
I hope anybody can tell me what else I can do...


Benedikt

















--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index