LinHES Forums
http://forum.linhes.org/

mythtv recording first second of video over and over again
http://forum.linhes.org/viewtopic.php?f=2&t=8921
Page 1 of 1

Author:  kgbrero [ Sat Mar 11, 2006 3:05 am ]
Post subject:  mythtv recording first second of video over and over again

Hi,

I am having a problem with recording from the PVR-350 tuner with mythtv.
It only records the first 20 frames or so (a bit less than a second of video). Then these 20 frames are recorded again and again for as long as the recording is scheduled.

This seems to me to be a problem with the PVR-350 hardware encoder that I am using. Am I recording the same GOP (Group of Pictures) over and over again ?

I have searched this forum thoroughly on the subject but nobody seems to be experiencing any recording problems.

My setup:
Old PIII-566 systems with 256 MB RAM, 40G HDD
PVR-350
Knoppmyth R5A30.2
ivtv version 0.4.0
X windows TV-out enabled via script R5Alpha30.2-pvr350.pl and working.

The PVR-350 hardware is OK as I can record fine with the same setup running Windows.
I am also able to record video using the PVR-350 from the command line with:
cat /dev/video0 > test.mpg
The video recorded this way plays back just fine with mplayer.

The problem only occurs when recording in mythtv. I have tried all the different methods I could come up with:
-pressing record while watching Live TV
-scheduling a recording with the EPG
-schedulling a manual recording

The ivtv driver seems to initialise OK:
ivtv: ==================== START INIT IVTV ====================
Feb 26 08:22:11 mythtv kernel: ivtv: version 0.4.0 (tagged release) loading
Feb 26 08:22:11 mythtv kernel: ivtv: Linux version: 2.6.13.2-chw-3 SMP preempt 586 gcc-3.3
Feb 26 08:22:11 mythtv kernel: ivtv: In case of problems please include the debug info
Feb 26 08:22:11 mythtv kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when
Feb 26 08:22:11 mythtv kernel: ivtv: mailing the ivtv-devel mailinglist.
Feb 26 08:22:11 mythtv kernel: ivtv0: Autodetected WinTV PVR 350 card (iTVC15 based)
Feb 26 08:22:11 mythtv kernel: ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
Feb 26 08:22:11 mythtv kernel: ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
Feb 26 08:22:11 mythtv kernel: tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61]
Feb 26 08:22:11 mythtv kernel: msp34xx: ivtv version
Feb 26 08:22:11 mythtv kernel: msp34xx: init: chip=MSP3418W-B3, has NICAM support, simple (D) mode, simpler (G) no-thread mod
e
Feb 26 08:22:11 mythtv kernel: msp34xx: $Id$ compiled on: Oct 9 2005 22:52:16
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=MSP3418W-B3, addr=40]
Feb 26 08:22:11 mythtv kernel: saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0)
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21]
Feb 26 08:22:11 mythtv kernel: tveeprom: ivtv version
Feb 26 08:22:11 mythtv kernel: tveeprom: Hauppauge: model = 48139, rev = K257, serial# = 8260703
Feb 26 08:22:11 mythtv kernel: tveeprom: tuner = Philips FM1216 ME MK3 (idx = 57, type = 38)
Feb 26 08:22:11 mythtv kernel: tveeprom: tuner fmt = PAL(B/G) PAL(I) SECAM(L/L') PAL(D/K) (eeprom = 0x74, v4l2 = 0x00400e17)
Feb 26 08:22:11 mythtv kernel: tveeprom: audio processor = MSP4418 (type = 19)
Feb 26 08:22:11 mythtv kernel: tveeprom: decoder processor = SAA7115 (type = 13)
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50]
Feb 26 08:22:11 mythtv kernel: saa7127 0-0044: saa7129 found @ 0x88 (ivtv i2c driver #0)
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=saa7127, addr=44]
Feb 26 08:22:11 mythtv kernel: tda9885/6/7: (ivtv) chip found @ 0x86
Feb 26 08:22:11 mythtv kernel: ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43]
Feb 26 08:22:11 mythtv kernel: ivtv0: loading /lib/modules/ivtv-fw-enc.bin
Feb 26 08:22:11 mythtv kernel: ivtv0: loading /lib/modules/ivtv-fw-dec.bin
Feb 26 08:22:11 mythtv kernel: ivtv0: Encoder revision: 0x02040011
Feb 26 08:22:11 mythtv kernel: ivtv0: Decoder revision: 0x02020023
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA encoder YUV stream: 161 x 12960 buffers (2048KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA encoder VBI stream: 80 x 26208 buffers (2048KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Create encoder radio stream
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA decoder MPEG stream: 16 x 65536 buffers (1024KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA decoder VBI stream: 512 x 2048 buffers (1024KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: Create decoder VOUT stream
Feb 26 08:22:11 mythtv kernel: ivtv0: Allocate DMA decoder YUV stream: 20 x 51840 buffers (1024KB total)
Feb 26 08:22:11 mythtv kernel: ivtv0: loading /lib/modules/ivtv_init_mpeg.bin
Feb 26 08:22:11 mythtv kernel: tuner: type set to 38 (Philips PAL/SECAM multi (FM1216ME MK3)) by ivtv i2c driver #0
Feb 26 08:22:11 mythtv kernel: ivtv0: Initialized WinTV PVR 350, card #0
Feb 26 08:22:11 mythtv kernel: ivtv: ==================== END INIT IVTV ====================

Do you guys have any suggestions on where to start looking for a solution ?

Thanks alot

Author:  mac [ Sat Mar 11, 2006 9:16 am ]
Post subject: 

are there any errors or clues showing up in:

/var/log/messages
/var/log/mythtv/mythbackend.log
/var/log/mysql/mysql.err
/var/log/mysql/mysql.log
/var/log/XFree86.0.log

Author:  tjc [ Sat Mar 11, 2006 9:45 am ]
Post subject: 

Check the md5sum values on your firmware. I'd suggest following the ivtv 0.4.3 upgrade procedures on the wiki simply becasue it includes installing new firmware and doing this check. http://www.knoppmythwiki.org/index.php?page=CompileIvtv

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/