> Using 0.3.2c it all looks fine. What I did to test it (only works with a
I run ivtv-0.2.0-rc3b with success and saw some issues with vbi embedding in 0.3.2 in combination with mythtv. I guess no big changes in vbi code between those releases? > PVR-350) is to enable embedded teletext (ivtvctl -x 1 -b teletext), then > run 'cat /dev/video0 >/dev/video16' and then run 'util/vbi /dev/vbi4'. vbi4 > is the device that outputs the embedded VBI data. The PVR-350 is > responsible for extracting it from the MPEG stream, and the driver > transforms it to the same format as /dev/vbi0. Both /dev/vbi0 and /dev/vbi4 > are OK here. So I suspect your code that extracts the embedded data. I own a PVR250 card and cannot use this trick :-( I did some tests inside mythtv and outside (using 'ivtvctl -x 1 -b teletext' and cat /dev/video >test.mpg) and playback with 'mythtv test.mpg' but same result. > The code in ivtv-vbi.c, ivtv_DEC_VBI_fixup() shows how to interpret the > embedded data. code known, also reviewed the sources from alevt, libzvbi and ivtv (all look familiar),... It looks like you just added magic cookies in the mpeg stream in private stream 1xbd with linemask and sliced vbi data. In the passthrough routine you do the reverse process; detecting the magic cookies and filling the original registers. As there is no detection on the true data content here, but only on IDs like VBI_TYPE_CC etc (which are correctly positioned) my guessing is that any offset is not seen in this process. > You can also mail me your code if you want me to look over > it. I wrote the ivtv VBI implementation, so I daresay I'm familiar with it > :-) Thanks for the offer. Will post some off-line (in Dutch ;-). > > Hans Martin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
