Hi Duncan Webb wrote: > One of my todo's is to add support for bttv cards but the next step > is to rewrite the ivtv record plug-in so that it used vbi2srt and so > can generate the subtitles as it records. This should be easy as > when the input is a video device (/dev/video0) then a mpeg file and > a srt file are written. However, there should be some way to specify > the subtitle page number from the record screen. After this I would > like to install freevo2 on a test machine and then I could help > here.
Well, we changed a lot in the Freevo 2 tree. We have our own recorder now, including streaming the data. You should take a look at kaa.record to integrate your work. Kaa.record already contains some C and C++ code, so you don't need to hve an external app, you could access the stream. I guess teletext2srt would be a nice filter for the kaa.record filter chain. > I asked a question a while ago about the format of TV_CHANNELS, the > problem is that it's changed and I couldn't figure out what it should > be. Problem here is that the cable provider in Switzerland doesn't use > standard channels. If you would be so kind as to provide an example > then I could proceed with freevo2. Mine, for Germany and DVB-T is TV_CHANNELS = [ ( 'ard.de', 'ARD', 'dvb0:Das Erste RB', 'dvb1:Das Erste' ), ( 'zdf.de', 'ZDF', 'dvb:ZDF' ), ( 'ndr.de', 'NDR', 'NDR RB' ), ( 'rtl.de', 'RTL', 'RTL Television' ), ( 'sat1.de', 'SAT.1', 'SAT.1' ), ( 'rtl2.de', 'RTL 2', 'RTL2' ), ( 'prosieben.de', 'PRO 7', 'ProSieben' ), ( 'kabel1.de', 'KABEL 1', 'KABEL1' ), ( 'vox.de', 'VOX', 'VOX' ), ( 'n24.de', 'N24', 'N24' ), ( 'arte-tv.com', 'ARTE', 'arte' ), ( 'C3sat.de', '3SAT', 'Info 3sat' ), ( 'info.tvtoday.de', 'ZDF INFO', 'Info 3sat2' ), ( 'superrtl.de', 'Super RTL', 'Super RTL' ), ( 'kika.de', 'Kika', 'Doku KiKa' ), ( 'doku.tvtoday.de', 'ZDF DOKU', 'Doku KiKa' ), ( 'extra.tvtoday.de', 'EINS EXTRA', 'EinsExtra' ), ( 'eurosport.de', 'Eurosport', 'Eurosport' ), ( 'hr-online.de', 'HESSEN', 'hr-fernsehen' ), ( 'mdr.de', 'MDR', 'MDR FERNSEHEN' ), ( 'phoenix.de', 'PHOENIX', 'Phoenix' ), ( 'tele5.de', 'TELE5', 'TELE 5' ), ( 'wdr.de', 'WDR', 'WDR Koeln' ) ] But I want to change that in the future. Again, current Freevo svn does not use much of the TV_CHANNELS anymore, it is a much simpler mapping now. > Another nice feature is that you can run an X server on the card and > connect a Scart, s-video or composite cable to the TV (requires a > bit more horsepower than a DirectFB/SDL solution but no screen > flicker.) I'm not selling TV cards ;-) When Tack is done with the canvas stuff, it would be great to have a "native" ivtv output display. >>Without reading the source, how do you get the data? Do you use an >>external lib like libzvbi? >> >> > If the input device is /dev/video0 then the program just reads it and > writes to the output file; the card also writes the vbi data to > /dev/vbi0 and > the program reads this in a separate thread, processes it and writes a > srt file. It can be terminated with either a signal or a duration. So the teletext data is in the video stream? This is even simpler than I expected. >>Maybe all this could be part of kaa.record, what do you think? >> >> > Can't say for certain as I'm still on Freevo 1.5.4. but give me some > time and I'll have a freevo2 install running... Great. Dischi -- Please do not complain about the coffee. You'll be old and weak someday, too!
pgpNwcLWDRUg6.pgp
Description: PGP signature