Mach64 video4linux2 2006-01-22

Mach64 video4linux2 is a video4linux device driver for older Mach64 TV tuner cards.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!
send us
an update
GPL (GNU General Public License) 
4.0/5 1
Mach64 Team
ROOT \ Multimedia \ Video
Mach64 video4linux2 is a video4linux device driver for older Mach64 TV tuner cards.

Mach64 video4linux2 is very alpha, and has only been tested with a few cards: a 4 MB All-in-wonder capture card, a 2 MB ATI Rage II with an ISA add-on TV card, and an ATI Rage Pro video card with an ISA add-on TV card.

There are versions for 2.6.* and 2.4.* kernels.

Module Options:

debug (set the debug level)
disablev4l2 (disable all v4l2 functions)
disabledma (disable dma support)
disableinterlace (max resolution will be 640x240)

Note: when the height is less than or equal to 240 interlace is automatically turned off. (probably a bad idea but it makes better snapshots in xawtv that way)
halfwidth (cut max width in half 640 becomes 320)
forceromaddr (Force romaddr to 0x000C0000)
tunertype (0=pal, 1=ntsc, 2=secam, 3=pal nc, 4=pal m, 5= pal n, 6=ntsc jp) it will default to ntsc(1)

Example commands:

MPlayer 1.0
mplayer tv://50 -tv driver=v4l:input=1:norm=ntsc:outfmt=yuy2:width=320:height=240:chanlist=us-cable -nofs
MPlayer 0.92
mplayer -tv on:driver=v4l:input=1:norm=ntsc:outfmt=yuy2:width=320:height=240:chanlist=us-cable:channel=50 -nofs
FFmpeg (you need an external program to change the channel)
ffmpeg -vd /dev/video0 -ad /dev/dsp -r 29.97 -s 320x240 -acodec mp3 /tmp/test.avi


Make sure your card has an irq assigned to it (there is a jumper on most cards that can enable/disable this)

If you have multiple video cards and the ATI card is not set as the primary card, you cannot load the module until X has enabled it. (Using kmod would be a good idea, it loads modules when you access the device)

Make sure you load the videodev module as well!

Whats missing

Support for other ATI cards (should be able to support anything the GATOS driver supports)

Audio chip stuff (volume, bass, treble for cards with audio chips) etc etc etc...

Known bugs

Can only capture from one card at a time. (hangs if you use more than one)

If your using kernel 2.4.* and it segfaults, the first thing you should do is update the video4linux header files videodev.h and videodev2.h you can get them from here

Does not work with mach64 DRI, my dma code assumes it has complete control.

What's New in This Release:

This release adds DMA support for AMD-64 machines.

Last updated on January 24th, 2006

#video4linux driver #Mach64 driver #device driver #Mach64 #video4linux #device #driver

Add your review!