Text capture: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[http://ncam.wgbh.org/resources/icr/teltexhist.html Teletext] is popular in Europe and provides both informational pages and captions or subtitles to television programs. In 1992, teletext was provided in 18 countries. In the PAL standard, the text is digitally encoded in the vertical blanking interval (vbi) on lines 17 through 20.
The PAL standard uses teletext, while the NTSC standard uses closed captioning.
TV capture chipsets implement these in different ways, and the code to support text capture is still missing or incomplete on some chipsets.
Finally, different applications implement support in different ways. The following notes are just a start to describe the current state of affairs.


In North America, [http://www.robson.org/capfaq/ closed captioning] uses line 21 of the vertical blanking interval (NTSC standard). US federal law requires closed captioning of all non-exampt programs starting in 2006. Some broadcasters are implementing [http://www.robson.org/capfaq/technical.html#XDS XDS], or Extended Data Services.
Text is transmitted in the Vertical Blanking Interval, or vbi. To visualize the vbi on NTSC, issue


TV capture chipsets implement teletext and closed captioning in different ways, and the code to support text capture is still missing or incomplete for some chipsets. Finally, different applications implement support in different ways. The following notes are just a start to describe the current state of affairs.
ntsc-cc -d /dev/vbi1 -c -w -r 27

To visualize the Vertical Blanking Interval on NTSC, issue

ntsc-cc -d /dev/vbi -c -w -r 27


bttv and saa7134 cards show orderly signals, while at least on my end, cx88 shows just noise.
bttv and saa7134 cards show orderly signals, while at least on my end, cx88 shows just noise.
Line 16: Line 18:
* ntsc-cc
* ntsc-cc
* tvtime
* tvtime
* zapzilla
* zvbi
* zvbi


Line 32: Line 35:


In early 2004, Kevin Ko wrote a [http://www.princeton.edu/~kko/tvtime/vbi_lock_0.2.patch patch with useful comments] to tvtime's vbidata.c; see [http://www.princeton.edu/~kko/tvtime/ his detailed account] and [https://sourceforge.net/tracker/?func=detail&atid=506989&aid=884449&group_id=64301 the tvtime bugreport].
In early 2004, Kevin Ko wrote a [http://www.princeton.edu/~kko/tvtime/vbi_lock_0.2.patch patch with useful comments] to tvtime's vbidata.c; see [http://www.princeton.edu/~kko/tvtime/ his detailed account] and [https://sourceforge.net/tracker/?func=detail&atid=506989&aid=884449&group_id=64301 the tvtime bugreport].

===zapzilla===

[http://zapping.sourceforge.net Zapping] has a built-in teletext viewer called [http://zapping.sourceforge.net/cgi-bin/view/Main/Zapzilla Zapzilla]. In addition, Zapping


==Unsupported cards==
==Unsupported cards==

Revision as of 08:43, 22 April 2005

Teletext is popular in Europe and provides both informational pages and captions or subtitles to television programs. In 1992, teletext was provided in 18 countries. In the PAL standard, the text is digitally encoded in the vertical blanking interval (vbi) on lines 17 through 20.

In North America, closed captioning uses line 21 of the vertical blanking interval (NTSC standard). US federal law requires closed captioning of all non-exampt programs starting in 2006. Some broadcasters are implementing XDS, or Extended Data Services.

TV capture chipsets implement teletext and closed captioning in different ways, and the code to support text capture is still missing or incomplete for some chipsets. Finally, different applications implement support in different ways. The following notes are just a start to describe the current state of affairs.

To visualize the Vertical Blanking Interval on NTSC, issue

ntsc-cc -d /dev/vbi -c -w -r 27

bttv and saa7134 cards show orderly signals, while at least on my end, cx88 shows just noise.


Applications

  • alevtv
  • gstreamer
  • ntsc-cc
  • tvtime
  • zapzilla
  • zvbi


gstreamer

The application gstreamer has incorporated support for closed captioning (they also mention some tweaks for Canadian English and French television); see Freedesktop's repository.

ntsc-cc

The application ntsc-cc handles closed captioning on bttv devices. For ntsc-cc to work, you typically need to be running an application for viewing or recording television, such as xawtv and mencoder. If no such application is running, ntsc-cc tends to produce garbled output.

tvtime

tvtime has built-in support for closed captioning for bttv and saa7134 cards (also others?).

In early 2004, Kevin Ko wrote a patch with useful comments to tvtime's vbidata.c; see his detailed account and the tvtime bugreport.

zapzilla

Zapping has a built-in teletext viewer called Zapzilla. In addition, Zapping

Unsupported cards

There is currently no code supporting closed captioning on cx88 cards.