Hi

I also posted this on the general list....

Further to my last message I did not specify that the card is an Adaptec 
Videoh! Media Center, part number AVC-2410. 
I have captured the audio from /dev/video24 and imported it into Audacity as 
signed 16 bit Little endian 48000Hz stereo PCM. Then I noticed that it 
appeared to be twice as long as it should be. I then changed the clip to 
double speed and it played OK, if I imported it at 96000Hz it also plays OK. 
I therefore assume that the audio is being mixed into the MPEG at half speed, 
causing it to sound distorted. Is there a setting I can alter to correct 
this. 


I have an AVC-2410 video capture card which works fine in Windows.
I am trying to get it working under Linux using the ivtv driver.
The board has the following components on:

SAA7115HL
Micronas MSP3415G
Philips FZ1216M3/I H-3
53L32AKZ
PIC16C54C
48LCM32B2
Plus another large chip with a sticker labelled "AVC-2410/EU PAL VIDEO CONVTR 
2053600EU A 0440 M" covering its number

I have installed ivtv-0.2.0-rc3d using the instructions on the website:
http://www.byopvr.com/Journal+index-jop-browse-mode-view-id-112.html

The only real problem I had was extracting the firmware from the file 
avcpwilo.sys but I got around that by editing ivtvfwextract.pl to set 
$fw_driver_name = "avcpwilo.sys" and $tmpdir to /home/mythtv/tmp and then I 
copied avcpwilo.sys to /home/mythtv/tmp and copied a gzipped version of 
avcpwilo.sys to /home/mythtv and from /home/mythtv I ran ivtvfwextract2.pl 
avcwilo.sys.gz ./enc.img ./dec.img.  I then copied enc.img 
to /lib/modules/ivtv-fw-enc.bin and dec.img to /lib/modules/ivtv-fw-dec.bin

I then loaded the modules:

modprobe i2c-core
modprobe i2c-algo-bit bit_test=1
modprobe tuner type=24
modprobe msp3400 simpler=1 standard=0x0a debug=1
modprobe videodev
modprobe saa7115
modprobe tveeprom
modprobe ivtv

and changed some settings:

ivtvctl -p3               # set to composite input
ivtvctl -ybrightness=200  # set brightness
ivtvctl -u 0xff           # set to PAL

at this point if I run

mplayer /dev/video0 -vc ffmpeg12

I get good video, but the sound is distorted with a lot of bass in it and 
speech is almost impossible to understand.

The output from dmesg is:

msp3400: Unknown parameter `simpler'
msp3400: Ignoring new-style parameters in presence of obsolete ones
Linux video capture interface: v1.00
saa7115: Ignoring new-style parameters in presence of obsolete ones
tveeprom: Ignoring new-style parameters in presence of obsolete ones
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3b) loading
ivtv: Linux version: 2.6.8.1-12mdk 686 gcc-3.4
ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Unknown card: vendor/device: 4444/0016, subsystem vendor/device: 
9005/0093
ivtv: Defaulting to WinTV PVR 250 card
ivtv: Please mail the vendor/device and subsystem vendor/device IDs and what 
kind of
ivtv: card you have to the ivtv-devel mailinglist: 
http://sourceforge.net/projects/ivtv
ivtv: Prefix your subject line with [UNKNOWN CARD].
ivtv: Found an iTVC16 based chip
PCI: Found IRQ 10 for device 0000:00:0e.0
PCI: Sharing IRQ 10 with 0000:00:05.0
PCI: Sharing IRQ 10 with 0000:00:07.0
PCI: Sharing IRQ 10 with 0000:00:09.2
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: VIA PCI device: 0x3099 vendor: 0x1106
i2c-algo-bit.o: (0) scl=1, sda=1
i2c-algo-bit.o: (1) scl=1, sda=0
i2c-algo-bit.o: (2) scl=1, sda=1
i2c-algo-bit.o: (3) scl=0, sda=1
i2c-algo-bit.o: (4) scl=1, sda=1
i2c-algo-bit.o: ivtv i2c driver #0 passed test.
tuner: chip found at addr 0xc0 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
tuner: type set to 24 (Philips PAL/SECAM multi (FQ1216ME)) by insmod option
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.
msp34xx: ivtv version
msp34xx: init: chip=MSP3415G-B8, has NICAM support, simple (D) mode, simpler 
(G) no-thread mode
msp34xx: $Id$ compiled on: Jan 23 2005 10:55:26
ivtv: i2c attach [client=MSP3415G-B8,ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
ivtv: i2c client addr: 0x50 not found!
ivtv: Error -19 reading Hauppauge eeprom.
ivtv: Possible causes: the tveeprom module was not loaded, or
ivtv: the eeprom kernel module was loaded before the tveeprom module.
ivtv: Encoder revision: 0x02030015
ivtv: Configuring WinTV PVR 250 card with 4 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes total
ivtv: Registered v4l2 device, streamtype 0 minor 0
ivtv: Create DMA stream 1
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Could not detect tuner standard, defaulting to NTSC.
ivtv: i2c client addr: 0x61 not found!
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: i2c client addr: 0x61 not found!
ivtv: ivtv_enc_thread: pid = 6534, itv = 0xd0e9a6a0
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
ivtv: Initialized WinTV PVR 250, card #0
ivtv: ====================  END INIT IVTV  ====================
saa7115: decoder disable output
saa7115: decoder set input (3)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 1, output 1
saa7115: decoder enable output
saa7115: decoder set picture bright=200 contrast=64 saturation=64 hue=0
ivtv: Switching standard to PAL.
ivtv: i2c client addr: 0x61 not found!
saa7115: decoder set norm PAL
saa7115: set audio: 0x01

I have not tried to set up the tuner yet.

Any assistants would be gratefully received

Thanks for reading this

Trev


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to