kmplayer_src-0.11.0a

所属分类:Windows编程
开发工具:Visual C++
文件大小:711KB
下载次数:19
上传日期:2009-07-17 21:38:41
上 传 者hante
说明:  大名顶顶的KMP源码,其架构真是很值得学习.
(KMP name of顶顶source, its structure, it is really worth learning.)

文件列表:
INSTALL (88, 2009-01-26)
kmplayer.lsm (334, 2009-01-26)
TODO (348, 2009-01-26)
doc\CMakeLists.txt (79, 2009-01-26)
doc\index.docbook (19311, 2009-01-26)
icons\CMakeLists.txt (42, 2009-01-26)
icons\hi128-app-kmplayer.png (11808, 2009-01-26)
icons\hi16-app-kmplayer.png (928, 2009-01-26)
icons\hi22-app-kmplayer.png (1375, 2009-01-26)
icons\hi32-app-kmplayer.png (2103, 2009-01-26)
icons\hi48-app-kmplayer.png (3767, 2009-01-26)
icons\hi64-app-kmplayer.png (5145, 2009-01-26)
icons\hisc-app-kmplayer.svgz (2190, 2009-01-26)
icons\ox128-app-kmplayer.png (11808, 2009-01-26)
icons\ox16-app-kmplayer.png (928, 2009-01-26)
icons\ox22-app-kmplayer.png (1375, 2009-01-26)
icons\ox32-app-kmplayer.png (2103, 2009-01-26)
icons\ox48-app-kmplayer.png (3767, 2009-01-26)
icons\ox64-app-kmplayer.png (5145, 2009-01-26)
icons\oxsc-app-kmplayer.svgz (2190, 2009-01-26)
po\CMakeLists.txt (767, 2009-01-26)
po\cs\CMakeLists.txt (115, 2009-01-26)
po\cs\kmplayer.po (35823, 2009-01-26)
po\de\CMakeLists.txt (115, 2009-01-26)
po\de\kmplayer.po (39127, 2009-01-26)
po\el\CMakeLists.txt (115, 2009-01-26)
po\el\kmplayer.po (43443, 2009-01-26)
po\es\CMakeLists.txt (115, 2009-01-26)
po\es\kmplayer.po (36700, 2009-01-26)
po\et\CMakeLists.txt (115, 2009-01-26)
po\et\kmplayer.po (37203, 2009-01-26)
po\fr\CMakeLists.txt (115, 2009-01-26)
po\fr\kmplayer.po (37093, 2009-01-26)
po\ga\CMakeLists.txt (115, 2009-01-26)
po\ga\kmplayer.po (28020, 2009-01-26)
po\gl\CMakeLists.txt (115, 2009-01-26)
po\gl\kmplayer.po (36330, 2009-01-26)
po\ja\CMakeLists.txt (115, 2009-01-26)
po\ja\kmplayer.po (37425, 2009-01-26)
... ...

KMPlayer, a simple frontend for MPlayer/FFMpeg/Phonon. It can play DVD/VCD movies, from file or url and from a video device. If setup right, KMPlayer can embed inside konqueror. Which means if you click on a movie file, the movie is played inside konqueror. It can also embed inside khtml, enabling movie playback inside a html page. Movie recording using mencoder (part of the mplayer package). No video during recording, but you can always open a new window and play it there. Broadcasting, http streaming, by using ffserver/ffmpeg. For TV sources, you need v4lctl (part of the xawtv package). KMPlayer needs KDE4 and a working mplayer/mencoder somewhere in you PATH. Additonally, for broadcasting, ffserver/ffmpeg/v4lctl also. For DVD navigation Xine is used. MPlayer has broken dvdnav support. DVDNav is included in libxine and works fine. Unless you reconfigure kmplayer, both mplayer and ffmpeg should be compiled with liblame for mp3. Quickly installing MPlayer Download the sources from http://www.mplayerhq.hu/homepage/. If you want quicktime support, also download the quicktime dll's (http://www.mplayerhq.hu/MPlayer/releases/codecs/qt6dlls.tar.bz2) and unpack them and copy the files to /usr/lib/win32 (make this dir if it doesn't exist). Or download the 'All in one' package and have even more codecs. Untar the mplayer source package (tar xfj MPlayer-0.90.tar.bz2), change to that directory. Make sure $KDEDIR/bin is in you path (check if you can run 'artsplay'). Now run configure (./configure) and make ('make'). Install it as root ('su -c "make install"'). Finally you must setup the config files in ~/.mplayer ('mkdir ~/.mplayer'). Copy the files, from the mplayer sources, etc/codecs.conf and etc/example.conf as codecs.conf and config resp ('cp etc/codecs.conf ~/.mplayer; cp etc/example.conf ~/.mplayer/config'). Next change ~/.mplayer/config with an editor and change the video driver (vo=xv) and audio driver (ao=arts) and remove the last line. Quickly installing ffmpeg/ffserver Download the sources from http://ffmpeg.sourceforge.net/. If the current version is 0.4.6, I recommend using a more recent CVS snapshot because it uses less CPU when grabbing a TV device. Untar the source package, run './configure --enable-mp3lame' and 'make'. Install as root 'su -c "make install"'. Quickly installing kmplayer Untar the source package tar xfj kmplayer-.tar.bz2 Create a build directory, eg /tmp/kmplayer-build and enter this directory Set your environment for building KDE4 apps export QTDIR=path-to-qt4 export KDEDIR=path-to-kde4 export KDEDIRS=$KDEDIR export KDE_BUILD=$KDEDIR export DBUSDIR=$KDEDIR export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib:$LD_LIBRARY_PATH export PKG_CONFIG_PATH=$DBUSDIR/lib/pkgconfig:/usr/lib/pkgconfig export PATH=$QTDIR/bin:$KDEDIR/bin:$PATH Run cmake cmake -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=release path-to-kmplayer-source Run make make Install as root make install KMPlayer doesn't work with all the video drivers that mplayer supports. I tested only xv (X Video Extension) and x11 (Image/Shm). If none work, you might try the patch for the x11 driver and see if that works for you (not needed anymore for mplayer version >= 0.90-rc4). You might need to change mimetype settings (Control Center | KDE Components | File Associations) to make sure KMPlayer (or 'Embedded MPlayer for KDE' in embedded tab) is set for all the formats you want to play with KMPlayer. Also make sure in the 'Embedding' tab 'Show file in embedded viewer' is set. If you run an older versio of MPlayer (0.9x), set 'Post MPlayer 0.90=false' in .kde/share/config/kmplayer.rc under group [MPlayer]. It will change some of the mencoder arguments (for recording). Enjoy!

近期下载者

相关文件


收藏者