On Wed, 1 Apr 2009 17:04:13 +0200 (CEST), "Hans Verkuil" <[email protected]> said: >> On Wed, 1 Apr 2009 07:49:41 +0200, Hans Verkuil <[email protected]> said: >>> On Wednesday 01 April 2009 06:32:55 Christopher Neufeld wrote:
>> # ./v4l2-ctl -b cc --verbose >> VIDIOC_QUERYCAP: ok >> VIDIOC_S_FMT: ok >> >> # ./v4l2-ctl -c stream_vbi_format=1 --verbose >> VIDIOC_QUERYCAP: ok >> VIDIOC_S_EXT_CTRLS: ok >> >> # ./v4l2-ctl --get-sliced-vbi-out-cap --verbose >> VIDIOC_QUERYCAP: ok >> VIDIOC_G_SLICED_VBI_CAP: failed: Invalid argument > --get-sliced-vbi-out-cap? You want --get-sliced-vbi-cap. The former is for > the output on a PVR-350. Ah, OK. I thought that there was some ioctl that had to be sent to tell the module to insert the CC packets into the mpeg stream. So, let's say I cat /dev/video0 into a file for a few minutes. What can I do to verify that the CC packets are there? I guess I'm looking for packets of type 0x69. Or has this changed in the past few years? Looking at an old recording, I run mpeg2desc < FILE | fgrep 0x69 and I get a large number of lines like this: 030ad764: pes private1, substream id 0x69; length=110; hdr=10; pts 3076.079 sec When I check against a new recording, or one that I draw directly from /dev/video0, I see no packets of type 0x69. -- Christopher Neufeld Home page: http://www.cneufeld.ca/neufeld "Don't edit reality for the sake of simplicity" _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
