Welcome to ftp.nluug.nl Current directory: /ibiblio/distributions/zenwalk/source/extra/l/smpeg/smpeg/ |
|
Contents of README:SDL MPEG Player Library (SMPEG) Version 0.4.5 July 17, 2001 Written by Karl Robillard and Sam Lantinga, Loki Software, Inc. Streaming MPEG support contributed by Vivien Chappelier. SMPEG is a free MPEG1 video player library with sound support. Video playback is based on the ubiquitous Berkeley MPEG player, mpeg_play v2.2. Audio is played through a slightly modified mpegsound library, part of Splay v0.8.2. SMPEG supports MPEG audio (MP3), MPEG-1 video, and MPEG system streams. This library is distributed under the GNU Library Public License (LGPL) version 2. plaympeg, gtv, and glmovie are simple video players provided to test the library. The C library interface is 'documented' in smpeg.h, and the C++ library interface is spread out over the MPEG*.h files. This is a work in progress. Only 16 or 32 bit color depth is supported. The player will dynamically conver to other color depths, but playback will be much faster if your display is already set to 16 bit color depth. Currently it has only been tested on Linux. Requirements: * Simple DirectMedia Layer v1.2.0 or newer http://www.libsdl.org/ To make: Type 'make all'. This should build libsmpeg.a and plaympeg Usage: plaympeg [--noaudio] [--novideo] [--double|-2] [--loop|-l] file ... Known Issues: The MPEG decoding is a fairly slow and mathematically intensive process. It could use even further optimization. There isn't any synchronization between the audio and video threads, and system stream timestamps are ignored. The video is synchronized with audio by using video framerate and elapsed time. They are are synchronized well enough for short clips, but long movies, or movies with visual audio cues (like speech) don't look very good. Reporting bugs: Please report any bugs and/or fixes to smpeg@lokigames.com. Looking at the code: The functions that should be optimized to improve performance are: Color16DitherImageMod() (Uses 5ms CPU, called few times) Twox2Color16DitherImageMod() (Uses 10ms CPU, called few times) j_rev_dct() (Uses 0.01ms CPU, but called many times) ParseReconBlock() (Uses 0.01ms CPU, but called many times) To improve framerate scheduling, look at timeSync() in video/gdith.cpp Links: Berkeley MPEG player http://bmrc.berkeley.edu/frame/research/mpeg Splay http://my.netian.com/~polarb SDL http://www.libsdl.org/ |
Name Last modified Size
Parent Directory - .deps/ 09-Jun-2008 11:04 - .libs/ 09-Jun-2008 11:05 - .svn/ 09-Jun-2008 11:06 - PBProjects/ 09-Jun-2008 11:07 - audio/ 09-Jun-2008 11:08 - autom4te.cache/ 09-Jun-2008 11:09 - video/ 09-Jun-2008 11:10 - .cvsignore 09-Jun-2008 11:10 206 BUGS 09-Jun-2008 11:10 11 CHANGES 09-Jun-2008 11:10 18K COPYING 09-Jun-2008 11:10 25K MPEG.cpp 09-Jun-2008 11:10 11K MPEG.h 09-Jun-2008 11:10 4.3K MPEG.lo 09-Jun-2008 11:10 303 MPEG.o 09-Jun-2008 11:10 9.9K MPEGaction.h 09-Jun-2008 11:11 3.9K MPEGaudio.h 09-Jun-2008 11:11 10K MPEGaudio.lo 09-Jun-2008 11:11 318 MPEGaudio.o 09-Jun-2008 11:11 8.3K MPEGerror.h 09-Jun-2008 11:11 1.5K MPEGfilter.c 09-Jun-2008 11:11 12K MPEGfilter.h 09-Jun-2008 11:11 2.2K MPEGfilter.lo 09-Jun-2008 11:11 321 MPEGfilter.o 09-Jun-2008 11:11 3.7K MPEGlist.cpp 09-Jun-2008 11:11 880 MPEGlist.h 09-Jun-2008 11:11 831 MPEGlist.lo 09-Jun-2008 11:11 315 MPEGlist.o 09-Jun-2008 11:11 1.6K MPEGring.cpp 09-Jun-2008 11:11 6.5K MPEGring.h 09-Jun-2008 11:11 2.7K MPEGring.lo 09-Jun-2008 11:11 315 MPEGring.o 09-Jun-2008 11:11 3.5K MPEGstream.cpp 09-Jun-2008 11:11 6.9K MPEGstream.h 09-Jun-2008 11:11 2.9K MPEGstream.lo 09-Jun-2008 11:11 321 MPEGstream.o 09-Jun-2008 11:11 4.5K MPEGsystem.cpp 09-Jun-2008 11:11 36K MPEGsystem.h 09-Jun-2008 11:11 3.1K MPEGsystem.lo 09-Jun-2008 11:11 321 MPEGsystem.o 09-Jun-2008 11:11 18K MPEGvideo.h 09-Jun-2008 11:11 3.5K MPEGvideo.lo 09-Jun-2008 11:11 318 MPEGvideo.o 09-Jun-2008 11:11 11K Makefile 09-Jun-2008 11:11 47K Makefile.am 09-Jun-2008 11:11 2.5K Makefile.in 09-Jun-2008 11:11 52K README 09-Jun-2008 11:11 2.5K README.SDL_mixer 09-Jun-2008 11:11 1.2K TODO 09-Jun-2008 11:11 221 VisualC.zip 09-Jun-2008 11:11 4.5K acinclude.m4 09-Jun-2008 11:12 241K aclocal.m4 09-Jun-2008 11:12 30K autogen.sh 09-Jun-2008 11:12 235 bitwindow.lo 09-Jun-2008 11:12 318 bitwindow.o 09-Jun-2008 11:12 832 config.guess 09-Jun-2008 11:12 39K config.log 09-Jun-2008 11:12 29K config.status 09-Jun-2008 11:12 28K config.sub 09-Jun-2008 11:12 29K configure 09-Jun-2008 11:12 742K configure.in 09-Jun-2008 11:12 8.1K decoders.lo 09-Jun-2008 11:12 315 decoders.o 09-Jun-2008 11:12 12K depcomp 09-Jun-2008 11:12 12K filter.lo 09-Jun-2008 11:12 309 filter.o 09-Jun-2008 11:12 22K filter_2.lo 09-Jun-2008 11:11 315 filter_2.o 09-Jun-2008 11:11 22K floatdct.lo 09-Jun-2008 11:10 315 floatdct.o 09-Jun-2008 11:10 1.5K gcc-fat.sh 09-Jun-2008 11:12 2.9K gdith.lo 09-Jun-2008 11:12 306 gdith.o 09-Jun-2008 11:12 3.6K glmovie 09-Jun-2008 11:12 4.9K glmovie-tile.c 09-Jun-2008 11:12 9.0K glmovie-tile.o 09-Jun-2008 11:12 4.6K glmovie.c 09-Jun-2008 11:13 3.0K glmovie.h 09-Jun-2008 11:13 409 glmovie.o 09-Jun-2008 11:13 3.1K gtv.1 09-Jun-2008 11:13 1.0K gtv.c 09-Jun-2008 11:11 44K gtv.h 09-Jun-2008 11:12 341 hufftable.lo 09-Jun-2008 11:12 318 hufftable.o 09-Jun-2008 11:10 24K install-sh 09-Jun-2008 11:10 5.5K jrevdct.lo 09-Jun-2008 11:10 312 jrevdct.o 09-Jun-2008 11:10 7.1K libsmpeg.la 09-Jun-2008 11:10 1.2K libtool 09-Jun-2008 11:11 222K ltmain.sh 09-Jun-2008 11:11 192K missing 09-Jun-2008 11:11 8.6K mkinstalldirs 09-Jun-2008 11:11 719 mmxflags_asm.lo 09-Jun-2008 11:11 327 mmxflags_asm.o 09-Jun-2008 11:11 513 mmxidct_asm.lo 09-Jun-2008 11:11 324 mmxidct_asm.o 09-Jun-2008 11:11 513 motionvec.lo 09-Jun-2008 11:11 318 motionvec.o 09-Jun-2008 11:11 1.5K mpeglayer1.lo 09-Jun-2008 11:11 321 mpeglayer1.o 09-Jun-2008 11:11 2.1K mpeglayer2.lo 09-Jun-2008 11:11 321 mpeglayer2.o 09-Jun-2008 11:11 18K mpeglayer3.lo 09-Jun-2008 11:11 321 mpeglayer3.o 09-Jun-2008 11:11 28K mpegtable.lo 09-Jun-2008 11:11 318 mpegtable.o 09-Jun-2008 11:11 3.7K mpegtoraw.lo 09-Jun-2008 11:11 318 mpegtoraw.o 09-Jun-2008 11:11 5.5K parseblock.lo 09-Jun-2008 11:11 321 parseblock.o 09-Jun-2008 11:11 7.1K plaympeg 09-Jun-2008 11:11 4.9K plaympeg.1 09-Jun-2008 11:11 1.6K plaympeg.c 09-Jun-2008 11:11 25K plaympeg.o 09-Jun-2008 11:11 15K readfile.lo 09-Jun-2008 11:11 315 readfile.o 09-Jun-2008 11:11 1.2K smpeg-config 09-Jun-2008 11:11 1.2K smpeg-config.in 09-Jun-2008 11:11 1.2K smpeg.cpp 09-Jun-2008 11:11 9.8K smpeg.h 09-Jun-2008 11:11 7.3K smpeg.lo 09-Jun-2008 11:12 306 smpeg.m4 09-Jun-2008 11:12 6.2K smpeg.o 09-Jun-2008 11:12 5.3K smpeg.spec 09-Jun-2008 11:12 2.2K smpeg.spec.in 09-Jun-2008 11:12 2.2K util.lo 09-Jun-2008 11:12 303 util.o 09-Jun-2008 11:12 4.2K vhar128.lo 09-Jun-2008 11:12 312 vhar128.o 09-Jun-2008 11:12 625 video.lo 09-Jun-2008 11:12 306 video.o 09-Jun-2008 11:12 43K
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!