Dear Wiki user, You have subscribed to a wiki page or wiki category on "Freevo Wiki" for change notification.
The following page has been changed by johan: http://freevo.sourceforge.net/cgi-bin/moin.cgi/Dxr3Page ------------------------------------------------------------------------------ @@ -10,19 +10,34 @@ wget http://unc.dl.sourceforge.net/sourceforge/ffmpeg/ffmpeg-0.4.6.tar.gz tar xzfv ffmpeg-0.4.6.tar.gz cd ffmpeg-0.4.6 -./configure +./configure --enable-shared make make install }}} = Creating SDL with DXR3-Support = + * Homepage: http://www.libsdl.org/ At first, see "Creating the runtime", section SDL under DocumentationPage/InstallDeps. -The difference to that is, that before configuring the source you also have to apply the dxr3-patch from the contrib/DXR3 directory and regenerate the Makefiles with autogen.sh: +The difference to that is, that before configuring the source you also have to apply the dxr3-patch from the contrib/DXR3 directory and regenerate the Makefiles with autogen.sh. +You'll need the CVS version of sdl to get the dxr3-patch working. See the webpage for instructions, or just hit: +{{{ +cvs -d :pserver:[EMAIL PROTECTED]:/home/sdlweb/libsdl.org/cvs login +cvs -z3 -d :pserver:[EMAIL PROTECTED]:/home/sdlweb/libsdl.org/cvs checkout SDL12 }}} +Apply the patches: {{{ cd path-to-your-SDL-source -patch -p1 < path-to-your-freevo-CVS/runtime/src/SDL-1.2.5-nokeyboardpatch -patch -p1 < path-to-your-freevo-CVS/contrib/DXR3/libsdl1.2-dxr3-ffmpeg.diff +patch -p1 < path-to-your-freevo/runtime/src/SDL-1.2.5-nokeyboardpatch +patch -p1 < path-to-your-freevo/runtime/patches/libsdl1.2-dxr3-ffmpeg.diff }}} +The dxr3-patch is outdated, you'll get HUNK #3 failed, or something like that. Look at configure.in.rej to see what have failed and make the changes manually. +Atm it's just the Makefile of dxr3 you'll have to insert in you configure.in among the other video/ Makefiles. +{{{ ./autogen.sh -./configure +./configure }} +To be able to compile your SDL you'll need some files from ffmpeg. This is probably a lame way to go, but hey, it works ;) +{{{ +cp path-to-your-ffmpeg/libavcodec/avcodec.h src/video/dxr3/ +cp path-to-your-ffmpeg/libavcodec/common.h src/video/dxr3/ }}} +Go ahead and compile your SDL. +{{{ make make install cd .. @@ -73,11 +88,17 @@ display = dxr3 geometry = 720x576 }}} - 3. Copy the SDL-Library to the runtime/dll directory + 3. You'll probably want to use your dxr3 card for sound too. + Edit your freevo_config.py or local_config.py and change the mplayer ao to the dxr3 card. + {{{ +MPLAYER_AO_DEV = 'oss://dev/em8300_ma-0' +}}} + Also you might want to use the dxr3 card to decode the sound, change MPLAYER_ARGS_DEF to -ac hwac3, instead of -ac mad, + 4. Copy the SDL-Library to the runtime/dll directory {{{ cp /usr/local/lib/libSDL-1.2.so.0 runtime/dll }}} - 4. Copy MPlayer to the runtime/apps directory + 5. Copy MPlayer to the runtime/apps directory {{{ cp /usr/local/bin/mplayer runtime/apps }}} ------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps1 _______________________________________________ Freevo-wikilog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-wikilog