Am Sonntag, den 07.02.2010, 20:13 +0100 schrieb HoP: > Hi Chicken > > 2010/2/7 Chicken Shack <chicken.shack@xxxxxx>: > > Am Sonntag, den 07.02.2010, 19:10 +0100 schrieb HoP: > >> Hi Chicken, > >> > >> > > >> > However I am still alone with the other problem I always stressed: > >> > > >> > When using alevt-dvb (I attached my overworked version 1.7.0 in earlier > >> > mails - please do have a look at it!) the application hangs when you > >> > decide to switch to a channel that is part of a new transponder. > >> > The program hangs then. That means the way alevt-dvb is dealing with the > >> > PMT (program map table) is highly incomplete. > >> > It needs a reset function to read the new PMT when the transponder is > >> > being changed... > >> > > >> > >> If you tell me which application is managing channel zaping function > >> then we can try to find way how to signal that to alevt-dvb. > > > > Hi Hello Honza, > > > > well, every application being capable of playing back DVB-TV with > > in-built receiver engine could manage that. > > > > Just the examples that I know: > > > > 1. mplayer (receiver engine is good old dvbstream from D. Chapman) > > 2. xine-ui (receiver engine is libxine) > > 3. kaffeine (dito 2.) > > 4. mythtv (don't know which) > > 5. xawtv (proprietary receiver engine) > > > > > > Oki, seems you not understood me fully. I ment exactly your configuration. > I need to know: > > 1, which application is tuning to transponder in your case. > 2, is there only one alevt-dvb instance running? Typically, there is the only > one, but, of course I can imagine you do some postprocessing of ALL > teletext services on current transponder. > > >> > I do not know how to program that simple reset function. But I know that > >> > this is the definite key to resolve the issue. > >> > PMT reading, PMT opening, PMT parsing....... > >> > Everything is already inside of the source code of alevt-dvb. > >> > > >> > >> In case, if more then one DVB application is running, one is something > >> like "master" (which do frontend operation, ie. channel change) > >> and rest are slaves. So master has to signal channel/transponder change > >> to the all slaves. Typically, it is done by some custom specific way. > >> For example master can open some well-known unix socket > >> where all slaves are connecting and where, in case of channel change, > >> is sent (by master) some info about such event. > > > > Yes, exactly that's the way it is! Right! > > > > But however the "master" application is doing this tuning job, it's not > > our problem issue right here. > > Our problem issue right here is how to make the "slave" application > > comprehend what the "master" application just managed to do. > > > > When I was doing the code cleanup of the complete Flexcop driver series > > Patrick Boettcher taught me what a software watchdog is and how it > > works. The Conexant frontend / demodulator chip does not work together > > with the Flexcop main chip without a software watchdog performing > > reinitialization every 400 milliseconds. That came into my mind a couple > > of minutes ago. > > > > Well, we should stay outside kernel layer. Best solution should be > to manage signalling (of transponder change and futher information) > inside userland level. And this is why I was asking who is the master > (who is doing channel change) > > > So how about giving alevt-dvb a software watchdog function that just > > looks up lets say every 2 seconds whether the PMT has changed or not, > > performing a reinitialisation of the PMT treatment built inside, i. e. > > doing something like a restart of alevt-dvb? > > > > To find how to catch that "PMT has changed" we have to know > who is doing such PMT change operation. > > > Would that be a pratical solution? > > Or what would be your personal proposal, Honza? > > > > Cheers > > > > CS > > > > P. S.: The decisive case the program must learn to deal with is NOT a > > simple channel change, as you express it above, Honza. > > The proggy can already run multiple instances in parallel console > > sessions if the transponder is one and the same...... > > > > The decisive case the program must learn to deal with is a combination > > of channel change PLUS transponder change, which makes it necessary to > > read, work over and parse a complete new PMT (program map table) causing > > the UI to at least starting the main program of the new transponder > > (which is ZDF f. ex. if the transponder is ZDFVision. > > Everything clear so far? Questions? > > > > Still the only one question - how it works for you now? How do you > zap to channel right now? I expect you have some favourite application. > > Cheers > > /Honza Sorry Honza, my current favourite application is of course xine-ui, but not the one in the distro Debian Squeeze. A self-debianized more recent version 0.6 instead, but definitely xine-ui. As alternative I sometimes use mplayer. These two go for videostreams so far. As far as audiostreams (DVB Radio only) are concerned I do prefer audacious2 with its inofficial or say external DVB-plugin which you can download at the audacious2 homepage. So I do not use simply one application for all (as you might expect), because xine-ui and mplayer are awfully slow for Radio streams. I use at least 2 different ones, if not to say three, while 2 (xine and audacious2 with DVB plugin are the preferred ones. Does that help us so far? I still wonder why you are asking so straightly for the master application. Not as a matter of ignorance I wonder, but as a matter of different experience. If you for instance extract mtt, the videotext application from Gerd Knorr's xawtv-4.0 pre suite and compile it without the other components of the suite you can start it in every "master" application context you may ever wish: If the transponder is changed by whatever external application then mtt follows the transponder change. While it officially belongs to xawtv as program suite it can run autonomously outside that xawtv context. So the "master" application in that case MUST NOT BE necessarily xawtv doing the channel and transponder tuning. It can be every other deliberate DVB application instead. That's why I wonder about your questions. CS -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html