⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 zoran

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻
📖 第 1 页 / 共 2 页
字号:
DC10/DC10plus/LML33/Buz  Driver for Linux=========================================by Rainer Johanni <Rainer@Johanni.de> (for Iomega Buz Driver)Adapted for DC10/DC10plus by Wolfgang Scherr <scherr@net4you.net>Further changes for DC10/DC10plus and LML33 cards bySerguei Miridonov <mirsev@cicese.mx>Current homepage: http://www.cicese.mx/~mirsev/Linux/DC10plus/Current maintainer: Serguei Miridonov <mirsev@cicese.mx>  This is a driver for DC10plus capture cards from Pinnacle Systems  Inc., LML33 cards from Linux Media Labs and Buz from Iomega.  It also works with many old Miro DC10 cards with SAA7110A TV decoder  and ADV7176 TV encoder (please, make sure that your card has these  chips, otherwise the driver will not work).  The driver is Video4Linux compliant and contains extensions to  provide hardware support for full motion MJPEG compression and  decompression. Since this driver is a derivative from the driver for  Buz Iomega cards written by Dr. Rainer Johanni,  http://www.johanni.de/munich-vision/buz/ they both have compatible  API. I hope that this API will become a part of V4L standard.Copyright: This driver is free software; you can redistribute it and/ormodify it under the terms of the GNU General Public License. Please,check http://www.gnu.org/ for details.No warranty: This software is provided on AN "AS-IS" basis WITHOUTWARRANTY OF ANY KIND. YOU USE IT AT YOUR OWN RISK.CONTENTS~~~~~~~~Supported FormatsHardware compressionCompiling and Loading the DriverDriver OptionsTested applicationsProgramming interfaceFeatures for testingMailing listsBug ReportsSupported Formats=================Card:              DC10/DC10plus             LML33/BuzTV standard:       NTSC/PAL/SECAM(*)         NTSC/PALFormat:            Square pixel              CCIR.601                   640x480 NTSC              720x480 NTSC                   768x576 PAL/SECAM(*)      720x576 PALFrame rates: 30 frames/60 fields per second NTSC             25 frames/50 fields per second PAL/SECAM(*)(*) - SECAM is supported for input only in DC10/DC10plus cards. Theoutput of the recorded SECAM video stream will be in PAL standard.Also, please, note that monitoring of the SECAM input signal at theDC10/DC10plus analog output may not be available. Please, useappropriate application like XawTV to watch full color SECAM video atthe card input.Hardware compression====================Since the card provides hardware compression, even low end machines canbe successfully used for movie capture and playback. I'm testing thedriver with with 2.2.16 kernel running on 233 MHz Pentium MMX with 64MRAM on 430TX motherboard and with 10GB IDE drive from Western DigitalCorp.On one test run with DC10plus card I've got 0 frames dropped duringabout 20 minutes of full motion NTSC (I live in Mexico) video capturewith fully synchronized audio. The command was  lavrec -fa -in -d1 -l -1 -q30 -w /dos/g/capture/Linux/test%03d.avifor recording, and  lavplay -n128 /dos/g/capture/Linux/test*.avifor playback. (See lavtools distribution for more information).Typical run of similar test can provide as few as 6-8 dropped frames perhalf of an hour. You mileage may vary, though.Compiling and Loading the Driver================================You should run a 2.2.x kernel in order to use this driver. The driverwas also tested with 2.4-test6 kernel, so hopefully it will workwith 2.4 kernels too.I would recommend to use only official kernels from www.kernel.org andits mirrors. Kernels supplied with some Linux distributions may bepatched in some way to meet specific needs of particular Linuxdistributor and could be incompatible with this driver. As a drivermaintainer, I am not able to follow every unofficial kernel release,and no unofficial kernels will be supported.Besides the files in this directory, the driver needs the 'videodev'and the 'i2c' module from the Linux kernel (i2c-old for 2.4 kernels).In order to get these modules available, enable module support forVIDEODEV and BTTV (which implies i2c) in your 2.2.x kernelconfiguration. You will find these devices in the menu "CharacterDevices" in your Kernel Configuration.In newer kernels (2.4) instead of BTTV you should enable support forIomega Buz cards and for Zoran 36060/36067 chipset. This will includei2c or i2c-old modules and Buz/LML33 driver. However, instead ofmodules for Buz/LML33 driver from the kernel, use modules from _this_driver.To compile the driver, just type make.Before you load the driver you must have a video device at major devicenode 81. If you don't have it yet, do the following (as root!):cd /devmknod video0 c 81 0ln -s video0 videoIf you have more than one card, add more nodes in /dev directory:mknod video1 c 81 1mknod video2 c 81 2...The driver should operate properly with several cards. It was testedwith one DC10plus and one LML33 cards installed together and the drivercorrectly identifies both cards and works with both of them.Currently the driver does not support LML33 and Buz cards installedtogether in the same system. This will be fixed in future versions.Edit the 'update' script if you want to give the driver special options(see below for options descriptions) and then type (as root)./update <card_list>to insert all necessary modules into the kernel. <card_list> is a list ofcards installed in your system separated by white space. Supported cards are dc10, dc10plus, lml33, and buz. For example, if you have both dc10plusand lml33 cards, please type./update dc10 lml33If you want to make full use of the Video for Linux _uncompressed_grabbing facilities, you must either- obtain and install the "big_physarea patch" for your kernel and  set aside the necessary memory during boot time. There seem to be  several versions of this patch against various kernel versions  floating around in the net, you may obtain one e.g. from:  http://www.polyware.nl/~middelin/hob-v4l.html#bigphysarea  You also have to compile your driver AFTER installing that patch in  order to get it working  or- start your kernel with the mem=xxx option, where xxx is your  real memory minus the memory needed for the buffers.  For doing this add an entry in lilo.conf (if you use lilo):    append "mem=xxxM"  or add a line in your linux.par file (if you use loadlin):    mem=xxxMThe second method is by far easier, however it is dangerous if morethan one driver at a time has the idea to use the memory leftover bysetting the mem=xxx parameter below the actual memory size.Read also below how to use this memory!  If you use only MJPEG compressed capture provided by the driver, you  should not need large memory areas for DMA. In this case, you will be  able to capture and playback movies with lavtools, however you will  not be able to use capture features of XawTV and other similar  programs (you can still watch video on the screen).Driver Options==============You are able to customize the behavior of the driver by givingit some options at start time.default_input, default_norm---------------------------As soon as the driver is loaded, the Buz samples video signalsfrom one of its input ports and displays it on its output.The driver uses the Composite Input and the video norm PAL for this.If you want to change this default behavior, set default_input=1(for S-VHS input) or default_norm=1 for NTSC or default_norm=2for SECAM (DC10/DC10plus only).lock_norm---------This option was introduced to disable norm (TV standard) change by somenot well behaving programs. For example, if you have some applicationwhich was written by somebody who lives in a country with PAL standard,this program may not have NTSC option and may always try to set thedriver to PAL. In this case, you may load the driver withdefault_norm=1 and lock_norm=1 and the card will be forced to work inNTSC standard only.  Options:    lock_norm=0   default, TV standard change is enabled;  lock_norm=1   TV standard change is disabled but the driver                will not notify the application about any error;  lock_norm=2   TV standard change is disabled and the driver                will notify the program that TV standards other                than set by default_norm=X option are not                 supported.pass_through------------When the driver is not in use (device is not opened by any program) andpass_through=0 (default) the driver will set the TV encoder to producecolor bar signal at the output. If the driver was loaded withpass_through=1, the color bar will be disabled and input signal will besent to the output even if the driver not in use. If you have LML33 cardand wish the color bar signal at the output, you will also need to setlml33dpath=1 (please, see next section).lml33dpath----------LML33 card normally (lml33dpath=0) connects its output to the inputusing analog switch. Additionally, it also allows real-time monitoringof digitized video using TV monitor connected to the output. This"digital path" option can be enabled setting lml33dpath=1. In thismode, the input is connected only to the TV decoder, digital video datais sent via internal video bus to the TV encoder and resulting analogsignal is sent to the output. This mode could be very useful for testing andpicture adjustment while watching video at the TV monitor connected tothe output. However, because of lack of 75 ohm terminating resistors atTV decoder input, the signal will suffer serious distortions.# These distortions could be eliminated by soldering two 75 ohm resistors# in LML33 card: in parallel to capacitors C73 and C82 (see schematics of# H33 board available at www.linuxmedialabs.com and www.zoran.com). Be# aware, however, that doing so will void card warranty and the card,# after this change, must always be used with loading option lml33dpath=1.# # WARNING: I DID NOT TRY THIS CARD CHANGE YET, THIS IS JUST AN ASSUMPTION

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -