LifeView FlyVideo3000FM NTSC: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
===Introduction ===
===Introduction ===


This card works perfectly -- it gets 640x480 frames, audio directly from the card, and closed captioning. Up to four cards can be placed in one computer, though you need a powerful CPU to keep up with the data flow.
This card works perfectly -- it gets 640x480 frames, audio directly from the card, and closed captioning. Up to four cards can be placed in one computer, though you need a powerful CPU to keep up with the data flow. (I even managed to get five cards to work -- alternating between the 3000FM and the [[FlyTV Platinum |Platinum]] cards.)


For detailed images of the various slightly different models, see [http://www.bttv-gallery.de/ bttv gallery]. Most of LifeView's saa713x cards fit both 32-bit PCI slots and 64-bit PCI-X slots -- see the telltale second slit in the foot of the card.
For detailed images of the various slightly different models, see [http://www.bttv-gallery.de/ bttv gallery]. Most of LifeView's saa713x cards fit both 32-bit PCI slots and 64-bit PCI-X slots -- see the telltale second slit in the foot of the card.
Line 11: Line 11:
=== Identification ===
=== Identification ===


The 3000 and the 3000FM cards are identified as having the same subsystem:
lspci -vvv: 0000:02:0a.0 Multimedia controller: Philips Semiconductors SAA713X Audio+video broadcast decoder (rev 10)
Subsystem: Unknown device 5169:0138


lspci -vvv: 02:0a.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev 10)
This card has the [http://www.semiconductors.philips.com/pip/SAA7133HL_V101.html saa7133HL-v101] chip.
Subsystem: Unknown device 5169:0138

The cards have the [http://www.semiconductors.philips.com/pip/SAA7133HL_V101.html saa7133HL-v101] chip.


=== Loading the right driver ===
=== Loading the right driver ===
Line 34: Line 36:
grep Philips Documentation/video4linux/CARDLIST.tuner | grep NTSC
grep Philips Documentation/video4linux/CARDLIST.tuner | grep NTSC


For the NTSC tuner, I found 17 was the right one. A second and third card I got, also called FlyVideo3000FM, turned out to have a different tuner, namely 43. I had to reboot to reset the tuner; modprobe didn't do it.
For the NTSC tuner on the FlyVideo 3000 (without the radio), I found 17 was the right one. The FlyVideo3000FM has a different tuner, namely 43. I had to reboot to reset the tuner; modprobe didn't do it.


=== Inserting the module ===
=== Inserting the module ===
Line 42: Line 44:
modprobe saa7134 card=2 tuner=43
modprobe saa7134 card=2 tuner=43


Older variants of the card may use tuner 17.
The 3000 version of the card (without radio) takes tuner 17.


When you've found a method that works -- autodetection or manual configuration -- include the working options in your modules configuration setup. For details, see [[Generic_SAA7134_Card_Installation#Drivers_probing]].
When you've found a method that works -- autodetection or manual configuration -- include the working options in your modules configuration setup. For details, see [[Generic_SAA7134_Card_Installation#Drivers_probing]].
Line 80: Line 82:


The files produced in this manner are almost twice as large as the ones produced by the mencoder command above, but show significantly less pixillation. CPU utilization is also about double. For the saa7134, 48000Hz is only valid for external audio input to the card; for tv you have to use 32000Hz.
The files produced in this manner are almost twice as large as the ones produced by the mencoder command above, but show significantly less pixillation. CPU utilization is also about double. For the saa7134, 48000Hz is only valid for external audio input to the card; for tv you have to use 32000Hz.

=== Known errors ===

My FlyVideo3000FM NTSC cards don't handle channels above 60 -- they show snow instead of a picture, however good the signal. It's unknown if this is a driver issue or a hardware issue -- I could find out by testing in another OS. My FlyVideo3000 NTSC card and several [[FlyTV Platinum]] cards don't have this problem.


=== Loading multiple cards ===
=== Loading multiple cards ===
Line 92: Line 98:
saa7134-alsa index=1,2,3
saa7134-alsa index=1,2,3


In /etc/modprobe.d/saa7134, I use this for five different cards:
In /etc/modprobe.d/saa7134, I use this for five different cards (including two [[FlyTV Platinum |Platinum]] cards):


options saa7134 card=2,2,2,54,54 tuner=43,43,17,54,54 video_nr=1,2,3,4,5 \
options saa7134 card=2,54,2,54,2 tuner=43,54,43,54,17 video_nr=1,2,3,4,5 \
vbi_nr=1,2,3,4,5 radio_nr=1,2,3,4,5 disable_ir=1,1,1,1,1
vbi_nr=1,2,3,4,5 radio_nr=1,2,3,4,5 disable_ir=1,1,1,1,1
install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe saa7134-alsa
install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe saa7134-alsa
Line 103: Line 109:
=== Remote control ===
=== Remote control ===


With the FlyVideo 3000, you should have the small grey credit-card sized remote. And yes, this is supported and should be working (I haven't tested it).
With the FlyVideo 3000(FM), you should have the small grey credit-card sized remote. And yes, this is supported and should be working (I haven't tested it).


For instructions, see [[Generic_SAA7134_Card_Installation#Remote_setup]].
For instructions, see [[Generic_SAA7134_Card_Installation#Remote_setup]].
Line 109: Line 115:
=== Closed captioning ===
=== Closed captioning ===


Closed captioning on saa713x is now working; Michael Schimek has added support to libzvbi (mid-May 2005).
Closed captioning on saa713x is now working; Michael Schimek has added support to libzvbi (mid-May 2005); see [[Text capture]].

Revision as of 22:37, 19 September 2006

LifeView-FlyVideo-3000FM.jpg

Introduction

This card works perfectly -- it gets 640x480 frames, audio directly from the card, and closed captioning. Up to four cards can be placed in one computer, though you need a powerful CPU to keep up with the data flow. (I even managed to get five cards to work -- alternating between the 3000FM and the Platinum cards.)

For detailed images of the various slightly different models, see bttv gallery. Most of LifeView's saa713x cards fit both 32-bit PCI slots and 64-bit PCI-X slots -- see the telltale second slit in the foot of the card.

See also FlyVideo3000_PAL-N.

Identification

The 3000 and the 3000FM cards are identified as having the same subsystem:

 lspci -vvv: 02:0a.0 Multimedia controller: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder (rev 10)
       Subsystem: Unknown device 5169:0138

The cards have the saa7133HL-v101 chip.

Loading the right driver

The card needs the saa7134 driver, which should be built as a module in the kernel. When the module is inserted, your particular variant may be autodetected or you may need to manually configure it. Try the simplest method first:

modprobe saa7134

If the card is not working right, and you have a recent kernel, try this:

modprobe saa7134 i2c_scan=1

If both fail, you may need to configure the card manually by passing values for the card and/or tuner.

Selecting the tuner

Use card 2 in the Documentation/video4linux/CARDLIST.saa7134. Versions of FlyVideo 3000 are shipped with different tuners; to find yours, grep on the card and your television standard to pull up relevant alternatives:

grep Philips Documentation/video4linux/CARDLIST.tuner | grep NTSC

For the NTSC tuner on the FlyVideo 3000 (without the radio), I found 17 was the right one. The FlyVideo3000FM has a different tuner, namely 43. I had to reboot to reset the tuner; modprobe didn't do it.

Inserting the module

For this card, if autodetection fails, you can insert the module with the following options:

modprobe saa7134 card=2 tuner=43

The 3000 version of the card (without radio) takes tuner 17.

When you've found a method that works -- autodetection or manual configuration -- include the working options in your modules configuration setup. For details, see Generic_SAA7134_Card_Installation#Drivers_probing.

Getting PCI audio

You can get the audio from the card through the PCI bus instead of through the audio out jack and a patch cable to your sound card.

For kernels 2.6.15 and later, see Saa7134-alsa for details on both ALSA and OSS sound.

For earlier kernels, adding "oss=1" as an insmod parameter will create /dev/dsp1 and /dev/mixer1. For detailed instructions, see Gentoo's saa7134 wiki.

In earlier kernels, you use

  aumix -d /dev/mixer1 -I

to set the recording channel to 1.

Recording with mencoder

Use something like this:

  mencoder tv:// -tv driver=v4l2:device=/dev/video1:fps=30000/1001:chanlist=us-cable:audiorate=32000:
  adevice=/dev/dsp1:input=0:amode=1:normid=4 -ffourcc DIVX -ovc lavc -lavcopts vcodec=mpeg4:mbd=2 
  -oac mp3lame -lameopts cbr:br=128 -endpos 60 -o output.avi

This gives me stereo audio with high-quality video. I found that if I included "-of mpeg" to create a true mpeg stream, the audio got delayed -- there are no sync problems with the avi file.

Recording with transcode

You can also use transcode to record:

  transcode -x v4l2,v4l2 -M 2 -i /dev/video$DEV -p /dev/dsp1 -e 32000,16,2 -y ffmpeg -F mpeg4 
  -c 00:30 -g 640x480 -f 29.970,4 -I 1 -u 1024 -Q 3 -E 32000,16,2 --lame_preset medium -o output.avi

Note the "-e 32000,16,2", letting transcode know about the parameters of the audio stream from the saa7134 card.

The files produced in this manner are almost twice as large as the ones produced by the mencoder command above, but show significantly less pixillation. CPU utilization is also about double. For the saa7134, 48000Hz is only valid for external audio input to the card; for tv you have to use 32000Hz.

Known errors

My FlyVideo3000FM NTSC cards don't handle channels above 60 -- they show snow instead of a picture, however good the signal. It's unknown if this is a driver issue or a hardware issue -- I could find out by testing in another OS. My FlyVideo3000 NTSC card and several FlyTV Platinum cards don't have this problem.

Loading multiple cards

If you have more than one card in the same machine, and want to control which devices they create, you can use this sort of thing with kernels before 2.6.15:

saa7134 video_nr=1,2,3 vbi_nr=1,2,3 mixer_nr=1,2,3 radio_nr=1,2,3 card=2,2,2 tuner=43,43,17 

With 2.6.15 and later kernels, use this instead (drop the mixer and add a line for the audio driver):

saa7134 card=2,2,2 tuner=43,43,17 video_nr=1,2,3 vbi_nr=1,2,3 radio_nr=1,2,3
saa7134-alsa index=1,2,3

In /etc/modprobe.d/saa7134, I use this for five different cards (including two Platinum cards):

     options saa7134 card=2,54,2,54,2 tuner=43,54,43,54,17 video_nr=1,2,3,4,5 \
     vbi_nr=1,2,3,4,5 radio_nr=1,2,3,4,5 disable_ir=1,1,1,1,1
     install saa7134 /sbin/modprobe --ignore-install saa7134; /sbin/modprobe saa7134-alsa
     options saa7134-alsa index=1,2,3,4,5

This creates video1, vbi1, radio1, and the alsa device hw:1 for the first card, and so on up.

Remote control

With the FlyVideo 3000(FM), you should have the small grey credit-card sized remote. And yes, this is supported and should be working (I haven't tested it).

For instructions, see Generic_SAA7134_Card_Installation#Remote_setup.

Closed captioning

Closed captioning on saa713x is now working; Michael Schimek has added support to libzvbi (mid-May 2005); see Text capture.