Menu

Tree [r60] /
 History

HTTPS access


File Date Author Commit
 AUTHORS 2008-03-22 kf701 [r2] import first version to sf.net
 COPYING.LGPL 2008-03-22 kf701 [r2] import first version to sf.net
 Changelog 2008-04-16 kf701 [r53] add x11 osd
 DLPGUI.pyw 2008-04-07 kf701 [r35]
 DawnLightPlayer.c 2008-04-20 kf701 [r60]
 GenNewFile.py 2008-03-22 kf701 [r2] import first version to sf.net
 Makefile.debian 2008-04-18 kf701 [r58]
 Makefile.linux 2008-04-18 kf701 [r58]
 Makefile.mingw 2008-04-12 kf701 [r48] delete ha1
 NOTE.TXT 2008-03-22 kf701 [r2] import first version to sf.net
 README 2008-03-24 kf701 [r10]
 ao_alsa.c 2008-04-16 kf701 [r53] add x11 osd
 ao_dsound.c 2008-04-09 kf701 [r40] fix ao_dsound output problem, write buffer
 ao_example.c 2008-03-25 kf701 [r17] fix SDL vo pixfmt bug
 ao_oss.c 2008-03-22 kf701 [r6] oss test
 ao_sdl.c 2008-04-13 kf701 [r51] ao use cond wait
 avdecode.c 2008-04-12 kf701 [r46] nothing
 avdecode.h 2008-04-07 kf701 [r34] add RV decode, but not work now
 avin_example.c 2008-03-22 kf701 [r2] import first version to sf.net
 avin_file.c 2008-04-16 kf701 [r56] fix bug for avin_file, detect file eof
 avin_ha2.c 2008-04-18 kf701 [r57] nothing
 avinput.c 2008-04-12 kf701 [r48] delete ha1
 avinput.h 2008-04-10 kf701 [r42] nothing
 avoutput.c 2008-04-16 kf701 [r54]
 avoutput.h 2008-04-16 kf701 [r53] add x11 osd
 cmdutils.c 2008-04-11 kf701 [r43] add vo zoom for sdl vo
 cmdutils.h 2008-04-03 kf701 [r33] modify some print format
 dlpnet.c 2008-03-31 kf701 [r29] add dlpnet.c for network utils
 dlpnet.h 2008-03-31 kf701 [r29] add dlpnet.c for network utils
 global.h 2008-04-16 kf701 [r53] add x11 osd
 logo.yuv 2008-03-22 kf701 [r2] import first version to sf.net
 my_pthread.c 2008-04-08 kf701 [r38] compile for mingw
 my_pthread.h 2008-04-03 kf701 [r32] add all threads id to global context
 queue.c 2008-04-03 kf701 [r33] modify some print format
 queue.h 2008-03-22 kf701 [r2] import first version to sf.net
 vd_rv.c 2008-04-10 kf701 [r42] nothing
 vo_directx.c 2008-03-22 kf701 [r2] import first version to sf.net
 vo_example.c 2008-04-11 kf701 [r45] nothing
 vo_fb.c 2008-04-11 kf701 [r44] add zoom for vo
 vo_gl.c 2008-04-12 kf701 [r47]
 vo_sdl.c 2008-04-20 kf701 [r59]
 vo_x11.c 2008-04-16 kf701 [r54]

Read Me

DawnLightPlayer README
-------------

1) Documentation
----------------

* No doc, here is software flow:

* input(avin_*.c)
	 |
	\|/
* avinput.c
	 |
	\|/
* video packet queue
* audio packet queue
	 |
	\|/
* avdecode.c
	 |
	\|/
* picture queue
* samples queue
	 |
	\|/
* avoutput.c
	 |
	\|/
* output(vo_*.c and ao_*.c)


2) Licensing
------------

* Read the file COPYING.LGPL. DawnLightPlayer are licensed
  under the GNU Lesser General Public License.

3) Compile for Linux
------------

* 1. install ffmpeg, libfaad, libsdl
	$ apt-get install libfaad2-dev
	$ apt-get install libavcodec-dev libavformat-dev libavutil-dev
	$ apt-get install libpostproc-dev libswscale-dev
	$ apt-get install libsdl1.2-dev

* 2. make
	$ cd <DawnLightPlayer dir>
	$ cp Makefile.debian Makefile
	$ make

  If you want to compile ffmpeg yourself, follow the steps:

  * 1. download libfaad2 source
	$ cd <faad2 source dir>
	$ ./configure
	$ make
	$ make install

  * 2. download ffmpeg source
	$ svn co svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
	$ cd <ffmpeg source dir>
	$ ./configure --disable-muxers --disable-ffmpeg --disable-ffserver --disable-ffplay --enable-libfaad --enable-gpl
	$ make

  * 3. make
	$ cd <DawnLightPlayer source dir>
	$ cp Makefile.linux Makefile
	$ modify Makefile, change FFMPEG_DIR var to your ffmpeg dir
	$ make

3) Compile for WIN32
------------

  * 1. install MINGW32 development eviroment
	$ apt-get install mingw32 mingw32-binutils mingw32-runtime
	look for your mingw32 CC dir, maybe /usr/i586-mingw32msvc/

  * 2. cross compile libfaad2 and ffmpeg
	$ cd <faad2 source dir>
	$ ./configure --enable-static --build=mingw32 --host=i586-mingw32msvc
	$ make
	$ cp libfaad/.libs/libfaad.a <mingw32 CC dir>/lib/
	$ cp include/*.h <mingw32 CC dir>/include/
	
	$ cd <ffmpeg source dir>
	$ ./configure --disable-muxers --cross-prefix=i586-mingw32msvc- --target-os=win --enable-memalign-hack --enable-libfaad --enable-gpl
	$ make

  * 3. cross compile DawnLightPlayer
	$ cp Makefile.mingw Makefile
	$ modify Makefile, change FFMPEG_DIR var to your ffmpeg dir
	$ make

  If you use SDL lib for video or audio output, must install
  SDL lib first, download SDL-devel-1.2.xx-mingw32.tar.gz and 
  install it to your mingw32 CC dir.


4) Add new source file
------------

* $ ./GenNewFile.py filename authorname
  $ svn propset svn:keywords "Id" filename
  $ svn add filename
  $ svn ci filename -m "add filename for xxx function"
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.