Closed Captioning

From LinuxTVWiki
Revision as of 00:56, 24 April 2005 by Liontooth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a record of my to date failed attempt to make closed captioning work on my FlyVideo3000FM card.

In the zvbi tarball, available on zvbi's project page, there are several useful utilities for testing text capture.

Using the "capture" utility, I'm picking up something, but it looks like the title of the program rather than the conversation:

zvbi-0.2.15/test# ./capture -v --ntsc --dump-cc
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.31 2004/12/30 02:24:11 mschimek Exp $
Opened /dev/vbi
Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.27 2005/01/20 01:40:14 mschimek Exp $
Opened /dev/vbi
/dev/vbi (LifeView FlyVIDEO3000) is a v4l2 vbi device,
driver saa7134, version 0x0000020c
Using streaming interface
Current scanning system is 525
Querying current vbi parameters... success
VBI capture parameters supported: format 59455247 [GREY], 27000000 Hz,
2048 bpl, offs 256, F1 10...21, F2 272...283, flags 00000000
Attempt to set vbi capture parameters
VBI capture parameters requested: format 59455247 [GREY], 27000000 Hz,
1457 bpl, offs 256, F1 10...21, F2 272...284, flags 00000000
Successfully set vbi capture parameters
VBI capture parameters granted: format 59455247 [GREY], 27000000 Hz,
2048 bpl, offs 256, F1 10...21, F2 272...283, flags 00000000
Nyquist check passed
Request decoding of services 0x40000060, strict level 0
Will capture services 0x00000060, added 0x60 commit:1
Requesting 5 streaming i/o buffers
Mapping 5 streaming i/o buffers
Successful opened /dev/vbi (LifeView FlyVIDEO3000)
p waiitn.h . Ja. y ).Le.,no.,.@./.../HE...^.........*......n@..^L..........NB..C...........HE...^......Th..e
..To..ni..gh..t ..Sh..ow..h?h? w..it..h ..Ja. y . ????Le.Xno.X.@."..."SA.*NT..IAHEGO.^:....xNB.xC.."..."..Hen@y,^L h..ey.., Thhee
y.To.,ni.,gh./t ./Sh...?ow.. w..it..h ..Ja..y..Le..no...@......HE...^.........*......NB..C...........HE...^......Th..e ..To..ni..gh..t
..????Sh..ow.. w..it..h ..Ja..y ..Le. no. .@.P...Pn@Yo^Lu'..ll.. b  e.*ok..ayHE...^.p...pNBLoC.ok... ..LoThoke  aTot nimegh..t .,Sh.,ow./
w./it..h ..Ja..y ..Le..no...@......HE...^...... ...*......n@..^L..........NB..C...........HE..??.^

On a bttv card, things look much better:

# ./capture -v --ntsc --dump-cc
Try to open V4L2 0.20 VBI device, libzvbi interface rev.
  $Id: io-v4l2.c,v 1.31 2004/12/30 02:24:11 mschimek Exp $
Opened /dev/vbi
Try to open V4L2 2.6 VBI device, libzvbi interface rev.
  $Id: io-v4l2k.c,v 1.27 2005/01/20 01:40:14 mschimek Exp $
Opened /dev/vbi
/dev/vbi (BT878 video (AVerMedia TVCaptur) is a v4l2 vbi device,
driver bttv, version 0x0000090f
Using streaming interface
Current scanning system is 525
Querying current vbi parameters... success
VBI capture parameters supported: format 59455247 [GREY], 28636363 Hz,
2048 bpl, offs 244, F1 10...25, F2 273...288, flags 00000000
Attempt to set vbi capture parameters
VBI capture parameters requested: format 59455247 [GREY], 27000000 Hz,
1457 bpl, offs 256, F1 10...21, F2 272...284, flags 00000000
Successfully set vbi capture parameters
VBI capture parameters granted: format 59455247 [GREY], 28636363 Hz,
2048 bpl, offs 244, F1 10...21, F2 273...284, flags 00000000
Nyquist check passed
Request decoding of services 0x40000060, strict level 0
Will capture services 0x00000060, added 0x60 commit:1
Requesting 5 streaming i/o buffers
Mapping 5 streaming i/o buffers
Successful opened /dev/vbi (BT878 video (AVerMedia TVCaptur)
....................................................... . .P.P....AND THE BRAVES HAVE JUST WON.t.t....THE WORLD
SERIES!..,.,././...............................................................................................
............................................ . .R.R....OH, WHAT A TRAVESTY!...,././............................
................................ . .T.T....THAT, MY FRIENDS,..p.p....WILL FOREVER BE KNOWN AS.....,.,././......
...........................................................T.T...."A GOOCHER.".,.,././.........................