I've seen the notes about bad sliced VBI when capturing at resolutions
other than 720x480 (NTSC), but I'm having problems even without
scaling.

Here's my setup:
Arch Linux
Kernel 2.6.20
IVTV 0.10.1
VLC 0.8.6 and/or SVN trunk
PVR-500 (see dmesg below)

If I don't enable vbi/cc, it works fine:

[]$ v4l2-ctl -v width=720,height=480 -s ntsc
[]$ vlc pvr:// :pvr-device=/dev/video0 -v
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc warning: Unable to get HAL device properties
[00000291] main playlist error: Reloading playlist not implemented.
[00000302] main demuxer warning: no access_demux module matched "pvr"
[00000303] pvr access warning: Unimplemented query in control.
[00000381] main private warning: vout synchro warning: pts !=
current_date (-236656)
(then it plays fine)

But when I turn cc on:

[]$ v4l2-ctl --set-fmt-sliced-vbi=cc -c stream_vbi_format=1 -d0
[]$ vlc pvr:// :pvr-device=/dev/video0 -v
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc warning: Unable to get HAL device properties
[00000291] main playlist error: Reloading playlist not implemented.
[00000302] main demuxer warning: no access_demux module matched "pvr"
[00000303] pvr access warning: Unimplemented query in control.
[00000381] main private warning: vout synchro warning: pts !=
current_date (171017)
[00000381] main private warning: vout synchro warning: pts !=
current_date (-8368)
[00000371] main audio output warning: computed PTS is out of range
(130822), clearing out
[00000371] main audio output warning: PTS is out of range (130843),
dropping buffer
[00000371] main audio output warning: output PTS is out of range
(136189), clearing out
[00000371] main audio output warning: PTS is out of range (98513),
dropping buffer
[00000371] main audio output warning: PTS is out of range (74526),
dropping buffer
[00000371] main audio output warning: PTS is out of range (50538),
dropping buffer
[00000371] main audio output warning: PTS is out of range (26550),
dropping buffer
[00000371] main audio output warning: PTS is out of range (2566),
dropping buffer
[00000371] main audio output warning: PTS is out of range (15105),
dropping buffer
[00000371] main audio output warning: PTS is out of range (-8871),
dropping buffer
[00000371] main audio output warning: PTS is out of range (-32858),
dropping buffer
[00000371] main audio output warning: PTS is out of range (10128),
dropping buffer
[00000371] main audio output warning: PTS is out of range (-13857),
dropping buffer
[00000371] main audio output warning: PTS is out of range (-37848),
dropping buffer
[00000363] main video output warning: late picture skipped (103057)
[00000363] main video output warning: late picture skipped (69705)
[00000363] main video output warning: late picture skipped (36344)
[00000363] main video output warning: late picture skipped (2984)
[00000381] main private warning: backward_pts != dts (8366)
[00000381] main private warning: backward_pts != current_pts (8366)
[00000381] main private warning: vout synchro warning: pts !=
current_date (-8367)
[00000371] main audio output warning: PTS is out of range (36644),
dropping buffer
(errors continue)

Both video and audio stutter and jump.  If I cat /dev/video0 >
foo.mpg, and then watch it offline the problem seems to go away, but
I'd prefer to watch in real-time :)

I've been hacking VLC a little bit to display the CC, and that data
actually looks good and uncorrupted in both cases

Is anyone else seeing this kind of behavior?

-Joel

ivtv:  ==================== START INIT IVTV ====================
ivtv:  version 0.10.1 (tagged release) loading
ivtv:  Linux version: 2.6.20-ARCH SMP preempt mod_unload 686
ivtv:  In case of problems please include the debug info between
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
ivtv:  any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:06:08.0[A] -> GSI 18 (level, low) -> IRQ 21
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0000d10081d8ae6c]
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
tveeprom 1-0050: Hauppauge model 23552, rev E787, serial# 9942836
tveeprom 1-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 1-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 1-0050: second tuner model is Philips TEA5768HL FM Radio (idx
101, type 62)
tveeprom 1-0050: audio processor is CX25843 (idx 37)
tveeprom 1-0050: decoder processor is CX25843 (idx 30)
tveeprom 1-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected WinTV PVR 500 (unit #1)
tuner 1-0060: TEA5767 detected.
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
tuner 1-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
ivtv:  ======================  NEXT CARD  ======================
ivtv1: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt 0000:06:09.0[A] -> GSI 19 (level, low) -> IRQ 23
ivtv1: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv1: Encoder revision: 0x02060039
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #1)
cx25840 2-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #1)
cx25840 2-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #1)
tveeprom 2-0050: Hauppauge model 23552, rev E787, serial# 9942836
tveeprom 2-0050: tuner model is Samsung TCPN 2121P30A (idx 87, type 70)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: second tuner model is Philips TEA5768HL FM Radio (idx
101, type 62)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
ivtv1: Correcting tveeprom data: no radio present on second unit
ivtv1: Autodetected WinTV PVR 500 (unit #2)
ivtv1: Registered device video1 for encoder MPEG (4 MB)
ivtv1: Registered device video33 for encoder YUV (2 MB)
ivtv1: Registered device vbi1 for encoder VBI (1 MB)
ivtv1: Registered device video25 for encoder PCM audio (1 MB)
tuner 2-0061: type set to 70 (Samsung TCPN 2121P30A)
ivtv1: Initialized WinTV PVR 500 (unit #2), card #1
ivtv:  ====================  END INIT IVTV  ====================

_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to