public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] No ogg sounds
@ 2007-09-20  1:40 Daniel D Jones
  2007-09-21  5:16 ` [gentoo-user] " Francesco Talamona
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel D Jones @ 2007-09-20  1:40 UTC (permalink / raw
  To: gentoo-user

New amd64 system with KDE, trying to get sound working.  Almost there.  First 
issue I had was that the sound driver apparently doesn't work if compiled 
into the kernel.  If you compile it as a module, it does work.  Second, I 
didn't have the -arts flag enabled before I compiled KDE.  (Followed the 
install instructions at the Gentoo wiki.  Not sure if it omits to mention it 
or if I skipped it when reading.)  Then added new useflags for various 
codecs.  (In the last couple of days, I've recompiled all or most of KDE 
three times.)  I now have sound working, and can play MP3s.  I can not, 
however, play ogg vorbis, including the system sound oggs.  


Use flags are:

USE="64bit widescreen -gnome offensive slang unicode mozdevelop kde \
     kdecards xinerama opengl qt3 X arts avi live matroska mpeg \
     oggvorbis real theora xanim X aac opengl sdl xv dvd dvdnav dvdread \
     3dnow 3dnow2 mmx mmx2 mmxext sse sse2 3dnowext a52"

oggvorbis is selected.

[I] media-libs/libogg
     Available versions:  1.0 1.1 ~1.1.1 1.1.2 1.1.3
     Installed versions:  1.1.3(15:15:59 09/06/07)
     Homepage:            http://xiph.org/ogg/
     Description:         the Ogg media file format library

LIbogg version 1.1.3 is installed.


KPlayer, given an ogg file, keeps failing with the same error over and over 
until I either close it or hit the stop button:

MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 12, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
Playing /mnt/media/Music/rock/Marilyn Manson/Antichrist Superstar/Marilyn 
Manson-Antichrist Superstar-12-Antichrist Superstar.ogg.
ID_VIDEO_ID=0
libavformat file format detected.
[mp3 @ 0x941680]Could not find codec parameters (Audio: mp1, 80 kb/s)
LAVF_header: av_find_stream_info() failed
Exiting... (End of file)

Trying to play an ogg directly from mplayer, I get:

root@/# mplayer Disturbed-Believe-03-Awaken.ogg
MPlayer SVN-r24130 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3000+ (Family: 15, Model: 12, Stepping: 0)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing Disturbed-Believe-03-Awaken.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
Clip info:
 Name: Awaken
 Artist: Disturbed
 Album: Believe
 Track: 3
 Genre: Metal
 Creation Date: 2002
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis decoder)
==========================================================================
mcop warning: user defined signal handler found for SIG_PIPE, overriding
[AO ARTS] can't connect to aRts soundserver
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
mcop warning: user defined signal handler found for SIG_PIPE, overriding
[AO SDL] Unable to open audio: No available audio device
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   2.5 (02.5) of 269.2 (04:29.2)  0.6%


It recognizes the ogg, and appears to be playing it, but there's no sound.  It 
complains that it can't connect to an arts soundserver, but:

root@ /# ps aux | grep arts
ddjones   7550  0.0  0.5  42928 10484 ?        S    Sep18   
0:00 /usr/kde/3.5/bin/artsd -F 10 -S 4096 -a alsa -d -b 16 -s 60 -m 
artsmessage -c drkonqi -l 3 -f

artsd is running.  Any ideas or hints appreciated.



-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-user] Re: No ogg sounds
  2007-09-20  1:40 [gentoo-user] No ogg sounds Daniel D Jones
@ 2007-09-21  5:16 ` Francesco Talamona
  0 siblings, 0 replies; 2+ messages in thread
From: Francesco Talamona @ 2007-09-21  5:16 UTC (permalink / raw
  To: gentoo-user

On Thursday 20 September 2007, Daniel D Jones wrote:
> USE="64bit widescreen -gnome offensive slang unicode mozdevelop kde \
>      kdecards xinerama opengl qt3 X arts avi live matroska mpeg \
>      oggvorbis real theora xanim X aac opengl sdl xv dvd dvdnav
> dvdread \ 3dnow 3dnow2 mmx mmx2 mmxext sse sse2 3dnowext a52"
>
> oggvorbis is selected.

"ogg" and "vorbis" are two flags :-)

Put a space between them, and recompile affected programs (emerge -aN 
world).

Ciao
	Francesco

-- 
Linux Version 2.6.22-gentoo-r6, Compiled #1 PREEMPT Wed Sep 5 19:12:33 
CEST 2007
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2003.98 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-09-21  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-20  1:40 [gentoo-user] No ogg sounds Daniel D Jones
2007-09-21  5:16 ` [gentoo-user] " Francesco Talamona

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox