Hi,
I'm using the composite in of a PVR-250 to capture the output of my
satellite box. The picture is fine. The audio is 'almost' fine. There
seems to be an audio sync problem, ever few seconds it plays a short
burst of sound very quickly to catch up.
I'm wondering if the stream is corrupt and that's what's causing the
problem. In mythtv I can't seek in the file (the length is usually
showing up as about 5 seconds. Looking at the output of mplayer -v I see
a lot of the output below. I've tried different stream types and 0
(TS), 1 (PS) and 10 (DVD) all seem to have the problem.
Is there anything I can do about this?
I'm using ivtv-0.2.0-rc3k, syslog output attached.
thanks
Neale.
mplayer -v output
------------------
<SNIP>
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
TS file format detected.
DEMUX OPEN, AUDIO_ID: -1, VIDEO_ID: -1, SUBTITLE_ID: -1,
Checking for MPEG-TS...
TRIED UP TO POSITION 0, FOUND 47, packet_size= 188, SEEMS A TS? 1
GOOD CC: 30, BAD CC: 0
PROBING UP TO 2000000, PROG: 0
PARSE_PAT, section 0 of 0, TOTAL: 1
PROG: 1 (1-th of 1), PMT: 60
FILL_PMT(prog=1), PMT_len: 183, IS_START: 64, TS_PID: 60, SIZE=184, M=1,
ES_CNT=0, IDX=0, PMT_PTR=0x8681b90
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x12c (300), type=0x10000002,
ES_DESCR_LENGTH: 0, bytes left: 5
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x12d (301), type=0x50,
ES_DESCR_LENGTH: 0, bytes left: 0
----------------------------
New TS pid=300
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
New TS pid=301
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
ts_parse: PID=101, Transport error: 0, CC_OK: no
PARSE_PAT, section 0 of 0, TOTAL: 1
PROG: 1 (1-th of 1), PMT: 60
FILL_PMT(prog=1), PMT_len: 183, IS_START: 64, TS_PID: 60, SIZE=184, M=1,
ES_CNT=2, IDX=0, PMT_PTR=0x8681b90
PARSE_PMT(1 INDEX 0), STREAM: 0, FOUND pid=0x12c (300), type=0x10000002,
ES_DESCR_LENGTH: 0, bytes left: 5
PARSE_PMT(1 INDEX 1), STREAM: 1, FOUND pid=0x12d (301), type=0x50,
ES_DESCR_LENGTH: 0, bytes left: 0
Aug 5 23:22:22 paisley ivtv: ==================== START INIT IVTV
====================
Aug 5 23:22:22 paisley ivtv: version 0.2.0 (rc3j) loading
Aug 5 23:22:22 paisley ivtv: Linux version: 2.6.12-gentoo-r6 preempt VIAC3-2
gcc-3.3
Aug 5 23:22:22 paisley ivtv: In case of problems please include the debug info
Aug 5 23:22:22 paisley ivtv: between the START INIT IVTV and END INIT IVTV
lines when Aug 5 23:22:22 paisley ivtv: mailing the ivtv-devel mailinglist.
Aug 5 23:22:22 paisley ivtv: Autodetected WinTV PVR 250 card
Aug 5 23:22:22 paisley ivtv: Found an iTVC16 based chip
Aug 5 23:22:22 paisley ACPI: PCI Interrupt 0000:00:14.0[A] -> Link [LNKB] ->
GSI 5 (level, low) -> IRQ 5
Aug 5 23:22:22 paisley ivtv: Unreasonably low latency timer, setting to 64
(was 32)
Aug 5 23:22:22 paisley ivtv: VIA PCI device: 0x3123 vendor: 0x1106
Aug 5 23:22:22 paisley tveeprom: Hauppauge: model = 32055, rev = B135, serial#
= 2842169
Aug 5 23:22:22 paisley tveeprom: tuner = Temic 4066FY5 (idx = 35, type = 18)
Aug 5 23:22:22 paisley tveeprom: tuner fmt = PAL(I) (eeprom = 0x10, v4l2 =
0x00000010)
Aug 5 23:22:22 paisley tveeprom: audio_processor = CS5331 (type = 9)
Aug 5 23:22:22 paisley ivtv: i2c attach [client=tveeprom,ok]
Aug 5 23:22:22 paisley ivtv: Tuner Type 18, Tuner formats 0x00000010, Radio:
yes, Model 0x008914d5, Revision 0x00000000
Aug 5 23:22:22 paisley ivtv: PAL tuner detected
Aug 5 23:22:22 paisley ivtv: Radio detected
Aug 5 23:22:22 paisley tuner: Ignoring new-style parameters in presence of
obsolete ones
Aug 5 23:22:22 paisley tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver
#0
Aug 5 23:22:22 paisley ivtv: i2c attach [client=(tuner unset),ok]
Aug 5 23:22:22 paisley saa7115: starting probe for adapter ISA main adapter
(0x0)
Aug 5 23:22:22 paisley saa7115: starting probe for adapter ivtv i2c driver #0
(0x10005)
Aug 5 23:22:22 paisley saa7115: detecting saa7115 client on address 0x42
Aug 5 23:22:22 paisley saa7115: writing init values
Aug 5 23:22:22 paisley ivtv: i2c attach [client=saa7115,ok]
Aug 5 23:22:22 paisley saa7115: status: (1E) 0x48, (1F) 0xc0
Aug 5 23:22:22 paisley msp34xx: ivtv version
Aug 5 23:22:22 paisley msp34xx: init: chip=MSP3418W-A2, has NICAM support,
simple (D) mode, simpler (G) no-thread mode
Aug 5 23:22:22 paisley msp34xx: $Id$ compiled on: Aug 5 2005 22:51:37
Aug 5 23:22:22 paisley ivtv: i2c attach [client=MSP3418W-A2,ok]
Aug 5 23:22:22 paisley ivtv: Encoder revision: 0x02040011
Aug 5 23:22:22 paisley ivtv: Configuring WinTV PVR 250 card with 5 streams
Aug 5 23:22:22 paisley ivtv: Create DMA stream 0 using 256 16384 byte buffers
4194304 kbytes total
Aug 5 23:22:22 paisley ivtv: Registered v4l2 device, streamtype 0 minor 0
Aug 5 23:22:22 paisley ivtv: Create DMA stream 1
Aug 5 23:22:22 paisley ivtv: Registered v4l2 device, streamtype 1 minor 32
Aug 5 23:22:22 paisley ivtv: Create stream 2 using 40 52224 byte buffers
2097152 kbytes total
Aug 5 23:22:22 paisley ivtv: Registered v4l2 device, streamtype 2 minor 224
Aug 5 23:22:22 paisley ivtv: Create DMA stream 3 using 455 4608 byte buffers
2097152 kbytes total
Aug 5 23:22:22 paisley ivtv: Registered v4l2 device, streamtype 3 minor 24
Aug 5 23:22:22 paisley ivtv: Create stream 4
Aug 5 23:22:22 paisley ivtv: Registered v4l2 device, streamtype 4 minor 64
Aug 5 23:22:22 paisley ivtv: Setting Tuner 18
Aug 5 23:22:22 paisley tuner: type set to 18 (Temic PAL_I (4066 FY5)) by ivtv
i2c driver #0
Aug 5 23:22:22 paisley saa7115: decoder set input (4)
Aug 5 23:22:22 paisley saa7115: now setting Composite input
Aug 5 23:22:22 paisley ivtv: Setting audio matrix to input 3, output 1
Aug 5 23:22:22 paisley ivtv: Switching standard to PAL.
Aug 5 23:22:22 paisley ivtv: ivtv_enc_thread: pid = 5088, itv = 0xde8b5e80
Aug 5 23:22:22 paisley saa7115: decoder set norm PAL
Aug 5 23:22:22 paisley saa7115: set audio: 0x01
Aug 5 23:22:22 paisley ivtv: Initialized WinTV PVR 250, card #0
Aug 5 23:22:22 paisley ivtv: ==================== END INIT IVTV
====================