Differences between revisions 10 and 11
Revision 10 as of 2009-06-14 18:04:09
Size: 4911
Editor: FranklinPiat
Comment: Add link to linux-doc-*/Documentation/video4linux/Zoran
Revision 11 as of 2009-06-15 02:52:26
Size: 4973
Editor: GeoffSimmons
Comment: De-sudoify, clean up build instructions, add InterWIki, spelling.
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
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: To make this module correctly load at 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:
Line 30: Line 30:
If you've successfully installed your card, you can view video form Video In on your display using [[http://packages.debian.org/search?keywords=xawtv&searchon=names&exact=1&suite=all&section=all| xawtv]] program, or save video stream by lavrec utility from [[http://mjpeg.sourceforge.net/|MJPEG Project]] (You will have to build it yourself, as there is no mjpeg in Debian repository) If you've successfully installed your card, you can view video from Video In on your display using the [[DebianPkg:xawtv&exact=1|xawtv]] program, or save the video stream using the lavrec utility from the [[http://mjpeg.sourceforge.net/|MJPEG Project]] (You will have to build it yourself, as there is no mjpeg in the Debian repository)
Line 33: Line 33:
You can play video through DC10 Video Out using mplayer, but you will need mplayer built 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: You can play video through DC10 Video Out using [[DebianPkg:mplayer&exact=1|MPlayer]], but you will need MPlayer built with zoran (synonym for zr36067) support. There is no such MPlayer in the Debian repository, so you will have to build a package with this video output driver. Here are brief instructions on how to do it.
Line 35: Line 35:
Load mplayer source and mplayer's build dependencies:

{{{
$ sudo apt-get build-dep mplayer
$ sudo apt-get source mplayer
 1. Install MPlayer's build dependencies and acquire the [[DebianPkg:source/mplayer?exact=1|mplayer]] source package: {{{
$ su
#
apt-get build-dep mplayer && exit
$ apt-get source mplayer
Line 42: Line 41:
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
 2. Then add the zoran support option to build files. To do it open rules file from debian directory: {{{
$ editor mplayer-*/debian/rules
Line 46: Line 44:
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.  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.
Line 48: Line 46:
After it stat bulding:
{{{
$ cd mplayer-* ; sudo dpkg-buildpackage; cd ..
 3. After that, start building: {{{
$ cd mplayer-* ; dpkg-buildpackage
Line 53: Line 50:
If building is successfully complete, install the package:
{{{
$ sudo dpkg -i mplayer_*.deb
 4. If building successfully completes, install the package: {{{
$ cd .. ; su
#
dpkg -i mplayer_*.deb && exit
Line 58: Line 55:
Now you can play your video into your DC10 video output:
{{{
Now you can play your video into your DC10 video output: {{{
Line 64: Line 60:
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. Also you might find helpful an old [[http://mjpeg.cvs.sourceforge.net/viewvc/mjpeg/driver-zoran/update?view=markup |update script]] that was written to load zoran modules in 2.4.* kernels. It certainly does not work out of box now, but you might find interesting information there.
Line 77: Line 73:
}}}
}}} -~

Hardware > TvTunerCard > zr36067

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 load at 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 from Video In on your display using the xawtv program, or save the video stream using the lavrec utility from the MJPEG Project (You will have to build it yourself, as there is no mjpeg in the Debian repository)

Playback

You can play video through DC10 Video Out using MPlayer, but you will need MPlayer built with zoran (synonym for zr36067) support. There is no such MPlayer in the Debian repository, so you will have to build a package with this video output driver. Here are brief instructions on how to do it.

  1. Install MPlayer's build dependencies and acquire the mplayer source package:

    $ su
    # apt-get build-dep mplayer && exit
    $ apt-get source mplayer
  2. Then add the zoran support option to build files. To do it open rules file from debian directory:

    $ editor mplayer-*/debian/rules

    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.

  3. After that, start building:

    $ cd mplayer-* ; dpkg-buildpackage
  4. If building successfully completes, install the package:

    $ cd .. ; su
    # dpkg -i mplayer_*.deb && exit

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

$ mplayer -vo zr Your_Video_File.mpeg

Auto-configuration

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

Supported Devices

There are a lot of other cards based on Zoran's zr36067 chipset, listed on http://mjpeg.sourceforge.net/driver-zoran/cards.php (At the time of writing, this chipset is used in the following products: Iomega Buz, Linux Media Labs LML33, Linux Media Labs LML33R10, Pinnacle/Miro DC10+, Pinnacle/Miro DC30+). 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.

The page HowToIdentifyADevice/PCI explains how to identify a PCI device.

The following list is based on the alias fields of modinfo zr36067 in Debian 2.6.29 kernel images.

  • PCI: 11DE:6057 Zoran Corporation ZR36057PQC Video cutting chipset

See also


CategoryHardware