PortVideoSDL-0.3.src

所属分类:视频捕捉采集剪辑
开发工具:MultiPlatform
文件大小:498KB
下载次数:15
上传日期:2007-04-18 13:55:50
上 传 者JackZHD
说明:  支持多种平台的视频接口,使用了SDL,ortVideo is a cross-platform framework that provides uniform access to camera devices for video processing or display
(support multiple platforms video interface, the use of the SDL, ortVideo is a cross-platform framework that pr ovides uniform access to camera devices for vid eo processing or display)

文件列表:
PortVideoSDL-0.3 (0, 2005-12-20)
PortVideoSDL-0.3\common (0, 2005-12-20)
PortVideoSDL-0.3\common\cameraEngine.h (3164, 2005-12-20)
PortVideoSDL-0.3\common\cameraTool.cpp (1302, 2005-12-20)
PortVideoSDL-0.3\common\cameraTool.h (1301, 2005-12-20)
PortVideoSDL-0.3\common\FrameInverter.cpp (1024, 2005-12-20)
PortVideoSDL-0.3\common\FrameInverter.h (1083, 2005-12-20)
PortVideoSDL-0.3\common\FrameProcessor.h (1655, 2005-12-20)
PortVideoSDL-0.3\common\Main.cpp (1395, 2005-12-20)
PortVideoSDL-0.3\common\portVideoSDL.cpp (11368, 2005-12-20)
PortVideoSDL-0.3\common\portVideoSDL.h (2522, 2005-12-20)
PortVideoSDL-0.3\common\RingBuffer.cpp (1880, 2005-12-20)
PortVideoSDL-0.3\common\RingBuffer.h (1325, 2005-12-20)
PortVideoSDL-0.3\license.txt (17987, 2005-12-20)
PortVideoSDL-0.3\linux (0, 2005-12-20)
PortVideoSDL-0.3\linux\ccvt.h (4515, 2005-12-20)
PortVideoSDL-0.3\linux\libccvt.a (16840, 2005-12-20)
PortVideoSDL-0.3\linux\linuxfwCamera.cpp (8353, 2005-12-20)
PortVideoSDL-0.3\linux\linuxfwCamera.h (1623, 2005-12-20)
PortVideoSDL-0.3\linux\Makefile (863, 2005-12-20)
PortVideoSDL-0.3\linux\PortVideoSDL.spec (1744, 2005-12-20)
PortVideoSDL-0.3\linux\v4linuxCamera.cpp (4677, 2005-12-20)
PortVideoSDL-0.3\linux\v4linuxCamera.h (1754, 2005-12-20)
PortVideoSDL-0.3\macosx (0, 2005-12-20)
PortVideoSDL-0.3\macosx\English.lproj (0, 2005-12-20)
PortVideoSDL-0.3\macosx\English.lproj\InfoPlist.strings (578, 2005-12-20)
PortVideoSDL-0.3\macosx\macsgCamera.cpp (5778, 2005-12-20)
PortVideoSDL-0.3\macosx\macsgCamera.h (1473, 2005-12-20)
PortVideoSDL-0.3\macosx\macvdCamera.cpp (4832, 2005-12-20)
PortVideoSDL-0.3\macosx\macvdCamera.h (1449, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.icns (41303, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcode (0, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcodeproj (0, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcodeproj\mkalten.mode1 (38474, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcodeproj\mkalten.pbxuser (16100, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcodeproj\project.pbxproj (23184, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcode\mkalten.mode1 (35882, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcode\mkalten.pbxuser (31192, 2005-12-20)
PortVideoSDL-0.3\macosx\portVideoSDL.xcode\project.pbxproj (16205, 2005-12-20)
PortVideoSDL-0.3\macosx\SDLMain.m (7626, 2005-12-20)
... ...

PortVideo is a cross-platform framework that provides uniform access to camera devices for video processing or display. It comes with a SDL demo application which compiles and runs on Win32, Linux and MacOS X systems and supports many USB, Firewire and DV cameras. This application has been developed by Martin Kaltenbrunner [mkalten@iua.upf.es] as a part of the reacTIVision framework at the Music Technology Group in Barcelona, Spain. This Framework is in its early stages and basically has been built out of spare parts found in other open-source projects and currently provides a reasonably working software for the task. Its design is quite rudimentary and will therefore see some major improvements and changes in the future. In general there is a simple wrapper class CameraEngine and various subclasses for each platform and camera type. The CameraTool simply returns the chosen or first available camera, initializes it with the desired width, height and color depth. Once started, a new image buffer will be returned every time you call getFrame(). DEMO APPLICATION: ----------------- There is a simple SDL demo application included, which shows the basic usage of this framework. If you want to start right away, simply implement and add a subclass of FrameProcessor. See the FrameInverter example source code for more information. Upon startup, the application is looking for the first available camera on thte system. Under Win32 and MacOS X a dialog with the camera settings is shown. Under Linux the first available camera is selected. If you want to choose a different camera, set the V4L_CAMERA variable. If a camera is found and correctly initialized, the live image from the camera is displayed. Hitting 'T' will show the processed image, which in this demo is a simple imversion of the original. Hitting 'P' can pause the display and hitting 'ESC' will quit the application. You also can save a bitmap image by typing 'B' as well as a raw buffer image by typing 'R'. PLATFORM NOTES: --------------- Win32: On this platform we are using the DsVideoLib by Thomas Pintaric as a back-end to access the camera. This basically allows you to choose any WDM camera which is installed correctly, which means you can use basically any USB, Firewire or DV camera. The necessary SDL library as well as a Visual Studio .NET project is provided, so you should be able to compile the project right away. Mac OS X: The camera back-end for Mac OS X is using QuickTime VideoDigitizer components. This code is based on the seeSaw example application by Daniel Heckenberg and uses a modified version of his vdigGrab.c file. We tested this code also with some firewire, USB and DV cameras and all of them worked satisfactory. An earlier attempt based on the SequenceGrabber component is also included. There is an Xcode project included, which should also allow you to compile the code without problems, provided you have the SDL framework installed. Linux: On Linux we currently support Firewire cameras and USB cameras based on Video4Linux. Firewire support is well tested, for the USB cameras we recommend a Philips ToUcam Pro (driver). There is currently no support for DV cameras. In order to compile the demo application type "make" in the "linux" folder". Make sure you have the SDL libraries and headers installed as well as the libraw1394 and libdc1394 libraries and headers. CHANGELOG: ---------- Tue 20.12.2005: PortVideoSDL 0.3 * improved the win32 RGB to gray conversion * allow saving of frames (RAW and BMP) * added a finish method to the FrameProcessor * added V4L_DEVICE variable (thanks to Frank Barknecht) * updated DsVideoLib now builds without DirectX SDK Mon 03.01.2005: PortVideoSDL 0.2 * added cameraTool which returns a cameraEngine for any platform * made the SDL demo more modular (FrameProcessor) * fixed problem with video4linux camerasay Fri 24.12.2004: PortVideoSDL 0.1 * initial release LICENSE: -------- This framework is free software, licensed under the GNU General Public License due to the GPL license of most of its subcomponents (DsVideoLib etc.) See the file license.txt for the exact license terms. ACKNOWLEDGEMENTS: ---------------- This work has been developed with a lot of help by Ross Bencina as part of the reacTIVision project within the Music Technology Group, Audiovisual Institute at the University Pompeu Fabra in Barcelona, Spain. Ross Bencina: http://www.audiomulch.com/~rossb/ reacTIVision: http://www.iua.upf.es/mtg/reactable/?software MTG: http://www.iua.upf.es/mtg/

近期下载者

相关文件


收藏者