Mailing List archive

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

[linux-dvb] Re: A step closer




On Tue, 17 Jun 2003, Holger Waechtler wrote:

> Ashley Evans wrote:
> > I've got all my software up to date now. dvbtune and tzap show things to be
> > working correctly however dvbstream (latest CVS) under strace reports:
> >
> > strace dvbstream -o -ps 600 601
> >
> > accept(6, 0x8152680, [0])               = -1 EAGAIN (Resource temporarily
> > unavailable)
> > read(5, 0xbffff610, 188)                = -1 EAGAIN (Resource temporarily
> > unavailable)
> > poll([{fd=5, events=POLLIN|POLLPRI, revents=POLLIN|POLLPRI}], 1, 500) = 1
> >
> > This repeats over and over and I never get any data.
> >
> > fd 5 == /dev/dvb/adapter0/dvr0
> > fd 6 ==I belive is a socket
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 6
> > setsockopt(6, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> > bind(6, {sa_family=AF_INET, sin_port=htons(12345),
> > sin_addr=inet_addr("0.0.0.0")}, 16) = 0
> >
> > Whats going on ? I only want to watch a bit of TV :)
>
> if you just want a quick'n'dirty result then try this:
>
> [load modules]
> $ tzap -r <channel>
>
> [let it run in the first console and then type in a second xterm:]
> $ cat /dev/dvb/adapter0/dvr0 | ts2ps 0 0 | mplayer -
>
> ts2ps is part of the mpegtools and available on the metzlerbros website.
> If the mplayer output is not fluent you might want to play with mplayers
> codec and optimisation options. 'mplayer -vo xv -framedrop -vfm ffmpeg
> -vop lavcdeint -' worked fine for me.


ts2ps is no more needed: both xine and mplayer-cvs can play TS input


>
> To watch TV more comfortable you might want to try the different DVB
> mplayer and xine patches, add software decoder support to VDR or enigma
> or write your own simple zapping app.
>
> Holger


Nico



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



Home | Main Index | Thread Index