Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mplayer in console mode.. use=SDL emerge crashes.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Valhalla1
n00b
n00b


Joined: 14 Mar 2003
Posts: 63

PostPosted: Fri May 02, 2003 9:31 am    Post subject: Mplayer in console mode.. use=SDL emerge crashes. Reply with quote

I am wanting to use mplayer to play movie files in console text-only mode without loading X windows.

as I understand it, its quite capable of doing this, using libsdl...

I 'emerge sdl' and it installs just fine. if I then add "sdl" to my use flags, and emerge mplayer, it crashes every time on the SDL portion:

Code:

make[1]: Leaving directory `/var/tmp/portage/mplayer-0.90_rc5/work/MPlayer-0.90rc5/libmenu'
./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a  libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a mp3lib/libMP3.a libmpeg2/libmpeg2.a linux/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a postproc/libpostproc.a libdha/libdha.so vidix/libvidix.a Gui/libgui.a libmenu/libmenu.a
gcc -O4 -march=athlon-tbird -mcpu=athlon-tbird -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -I/usr/include/SDL -D_REENTRANT  -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o cfgparser.o my_profile.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libpostproc.a postproc/libswscale.a linux/libosdep.a  libavcodec/libavcodec.a   -lvorbis -logg -ldv  -llzo -ldivxdecore -lxvidcore -lpng -lz -lz -ljpeg  /usr/lib/libxmms.so.1 -export-dynamic -lfreetype -lz  -lcdda_interface -lcdda_paranoia -lnsl   -lungif  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib  -lGL -lXxf86dga -lXv -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl  -lnsl -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread    -lvgagl -lvga -lm          -lpthread -ldl -rdynamic   -lm
libao2/libao2.a(ao_sdl.o)(.text+0x14f): In function `init':
: undefined reference to `SDL_OpenAudio'
libao2/libao2.a(ao_sdl.o)(.text+0x1df): In function `init':
: undefined reference to `SDL_PauseAudio'
libao2/libao2.a(ao_sdl.o)(.text+0x37f): In function `outputaudio':
: undefined reference to `SDL_MixAudio'
libao2/libao2.a(ao_sdl.o)(.text+0x478): In function `uninit':
: undefined reference to `SDL_CloseAudio'
libao2/libao2.a(ao_sdl.o)(.text+0x5bb): In function `audio_pause':
: undefined reference to `SDL_PauseAudio'
libao2/libao2.a(ao_sdl.o)(.text+0x5db): In function `audio_resume':
: undefined reference to `SDL_PauseAudio'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

!!! ERROR: media-video/mplayer-0.90_rc5 failed.
!!! Function src_compile, Line 245, Exitcode 2
!!! (no error message)






I have to change it to '-sdl' in my use flags, and then mplayer emerges and works fine in X windows but it wont play in console mode.


I have a sound card on the machine, built into the motherboard, but I never configured it and I have all the sound stuff turned off in the kernel and no sound software installed, since my speakers are hooked up to my main gaming/etc. rig and not this gentoo box so I dont care about sound.

so.. does anyone know why mplayer is crashing on the SDL part, if its because of no sound card being setup... or how I can fix it so i can use mplayer to play movies in console mode[/code]
Back to top
View user's profile Send private message
Valhalla1
n00b
n00b


Joined: 14 Mar 2003
Posts: 63

PostPosted: Sun May 04, 2003 3:05 am    Post subject: ^ Reply with quote

any ideas ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum