Differences between revisions 6 and 7
Revision 6 as of 2009-06-14 15:41:48
Size: 3137
Editor: DhyanNataraj
Comment:
Revision 7 as of 2009-06-14 16:00:57
Size: 3986
Editor: DhyanNataraj
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
= Video Capture Cards based on zr36067 = = Video Capture Cards based on zr36067(zoran) =
Line 62: Line 62:
== Other cards ==
There are a lot of other cards based on zr36067 chipset. The list of cards you can find at [[http://mjpeg.sourceforge.net/driver-zoran/cards.php | Zoran Driver Card list]]. The most important information there is the "Card number" for each card that should be passed to zr36067 module for correct loading, as described for DC10. Also there you can find list of modules that should be loaded for each card. But notice that since the time that list were written, zoran module were renamed into zr36067, so use new name instead of old one.

Also you might find helpful old [[http://mjpeg.cvs.sourceforge.net/viewvc/mjpeg/driver-zoran/update?view=markup |update script]] that was writted to load zoran modules at 2.4.* kernels. It certainly does not work out of box now, but you might find interesting information there.

Video Capture Cards based on zr36067(zoran)

miroVIDEO DC10

Brief info

Video input

Composite

Works
(needs configuring)

S-Video

Not Tested

Video output

Composite

Works
(needs configuring)

S-Video

Not Tested

Installing

Modern kernels (at least 2.6.26 2.6.29) do not properly autodetect zr36067 cards, so to run this card one should unload zr36067 module and then load it again with card=N option. For miroVIDEO DC10 N should be 1 (for new version of card) or 0 (for old one):

# rmmod zr36067 
# modprobe zr36067 card=1

If module was successfully loaded, video0 device was added to your /dev :

# ls /dev/video[0-9]
/dev/video0

To make this module correctly loaded on boot-time, add zr36067 to module blacklist, to prevent incorrect auto-loading, and add zr36067 with card=N option into /etc/modules, in order to properly load the module:

# echo "blacklist zr36067" >> /etc/modprobe.d/blacklist
# echo "zr36067 card=1" >> /etc/modules

Viewing/Recording

If you've successfully installed your card, you can view video form Video In on your display using xawtv program, or save video stream by lavrec utility from MJPEG Project (You will have to build it yourself, as there is no mjpeg in Debian repository)

Playback

You can play video through DC10 Video Out using mplayer, but you will need mplayer with zoran (synonym for zr36067) support. There is no such mplayer in Debian repository, so you will have to build such package yourself. Here is small instruction ho to do it:

Load mplayer source and mplayer's build dependencies:

$ sudo apt-get build-dep mplayer
$ sudo apt-get source mplayer

Then we should add zoran support option to build files. To do it open rules file from debian directory

vi mplayer-*/debian/rules  # Use any editor you like instead of vi

Find line that starts from "DEB_BUILD_CONFIGURE=", add "--enable-zr --enable-libavcodec_a" to the list of options in that line, save file, and exit.

After it stat bulding:

$ cd mplayer-* ; sudo dpkg-buildpackage; cd ..

If building is successfully complete, install the package:

$ sudo dpkg -i mplayer_*.deb

Now you can play your video into your DC10 video output:

$ mplayer -vo zr Your_Video_File.mpeg

Other cards

There are a lot of other cards based on zr36067 chipset. The list of cards you can find at Zoran Driver Card list. The most important information there is the "Card number" for each card that should be passed to zr36067 module for correct loading, as described for DC10. Also there you can find list of modules that should be loaded for each card. But notice that since the time that list were written, zoran module were renamed into zr36067, so use new name instead of old one.

Also you might find helpful old update script that was writted to load zoran modules at 2.4.* kernels. It certainly does not work out of box now, but you might find interesting information there.



CategoryHardware | ?CategoryTvTunerCard