Re: [Redbutton-devel] How to use RedButton
Brought to you by:
skilvington
|
From: Simon K. <s.k...@er...> - 2007-05-14 11:33:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Mario Rossi wrote: > Hi, > > I've been using red-button for a while but I'm not sure I'm using it properly. > > Basically this is what I do: > > 1) tzap -x "BBC ONE" && rb-download > 2) I read the channel id of BBC ONE (4164) > 3) tzap -x "BBC ONE" && rb-download 4164 > > in an other window > > 4) rb-browser -d services/9018 > if rb-download and rb-browser are running on the same host, you should just do rb-downlaod 4165 then in the other window: rb-browser -d > Here are my questions? > > 1) It seems that redbutton uses channels.conf now, but if I don't use > tzap it cannot find anything. Is it able to tune at the beginning? > it should be able to tune at the beginning, you should just be able to do: rb-download 4165 to get BBC1 - it uses the same code as tzap to tune, so it should work! > 2) If there is alreay an application using the dvb-t card it fails > ERROR: failed opening '/dev/dvb/adapter0/frontend0' (Device or resource busy) > while i remember I used to be able to use it on the same frequency of > the already displayed channel. > it tries to open the frontend device read/write first, if this fails it prints something like "you will not be able to retune", then tries to open the frontend read-only - that should work, even if another process is using the frontend (I can use rb-download while mythtv is running on the same machine - I just can't retune then) that error message doesn't look like one from rb-download > 3) I MUST use (-d) otherwise it behaves very bad. The video is slow or > not moving at all. And it does not respond always to the key pressed > > Those are some of the warnings: > [mpeg2video @ 0xb7cf0a44]invalid cbp at 33 34 > [mpeg2video @ 0xb7cf0a44]00 motion_type at 15 35 > [mpeg2video @ 0xb7cf0a44]concealing 1218 DC, 1218 AC, 1218 MV errors > [mp3 @ 0xb7cf0a44]incorrect frame size > [mpeg2video @ 0xb7cf0a44]ac-tex damaged at 2 0 > [mpeg2video @ 0xb7cf0a44]ac-tex damaged at 3 1 > [mpeg2video @ 0xb7cf0a44]ac-tex damaged at 8 2 > [mpeg2video @ 0xb7cf0a44]ac-tex damaged at 1 3 > yep, the video output method I use is probably the slowest you can have, but it does work on everything, as long as the processor can keep up! - on my TODO list is adding things like SDL, XVideo, OpenGL, etc video output methods, which use the graphics card more and the CPU less so that should solve these errors > 4) The only directory created under services/ is services/9018. > Reading the documentation it seems that is should have the same number > that is specified in rb-download. > that shouldn't happen - you should get services/4165 if you do rb-download 4165 try doing: make clean make after you do an svn update to make sure everything gets rebuilt and so is consistent. > Would it be possible to know what is the current preferred way of > running rb-download & rb-browser. > use "scan" or whatever to generate a channels.conf file, and store it in ~/.tzap/channels.conf to list services on a given frequency, do either: tzap -x "BBC ONE" && rb-download or dvbtune -f 722166667 -qam whatever etc && rb-download or just grep channels.conf to find the service ID you want to use a given service (eg 4165), do this in one terminal: rb-download 4165 and this in another: rb-browser -d if you want to run rb-broswer on another host, run this on it: rb-browser 10.0.0.1 assuming rb-download is running on IP 10.0.0.1 > I forgot to say that I'm using the latest "trunk" of both applications > and latest SVN ffmpeg. > > Thanks > hope this helps! - -- Simon Kilvington -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGSEj2mt9ZifioJSwRAvjKAJ9RODjwODe7wUNYZgHHMoeAnsZBSACfayAf HWQf0qvqRRkfL6aysdG5JSA= =Vw1e -----END PGP SIGNATURE----- |