LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-12-2010, 07:00 AM   #16
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65

Quote:
Originally Posted by siawash View Post
I have just rebuilt the system. Many thanks anyway.!
Is the problem solved?
Mark the thread as "[SOLVED]".
 
Old 04-12-2010, 07:10 AM   #17
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by Alien Bob View Post
Well done.
For gnome-mplayer and gecko-mediaplayer you can find SlackBuild script and package here (by the way I just discovered that I have not yet published my builds for the 0.9.9 version (which is newer than the version you are trying to build):
ftp://ftp.slackware.org.uk/people/al...gnome-mplayer/
ftp://ftp.slackware.org.uk/people/al...o-mediaplayer/

Eric
+1 Alien Bob
 
Old 04-12-2010, 09:35 AM   #18
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Actually, after rebuilding the system then installing MPlayer and mplayer codec i am noticing that I have no audio. I can see my router is streaming audio using mplayer but I cannot configure sound. Under applications I tried to open audio mixer but it crashed.

Under multimedia settings on the right pane I can see three items.

HDA Intel (ALC662 Analog)
HDA Intel (ALC662 Digital)
Esound (ESD)

When highlight any of those and hit the test button I get an error saying the device failed.

Do you think this is a compatibility problem between gnome and KDE apps?
 
Old 04-12-2010, 09:49 AM   #19
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
Quote:
Originally Posted by siawash View Post
Actually, after rebuilding the system then installing MPlayer and mplayer codec i am noticing that I have no audio. I can see my router is streaming audio using mplayer but I cannot configure sound. Under applications I tried to open audio mixer but it crashed.

Under multimedia settings on the right pane I can see three items.

HDA Intel (ALC662 Analog)
HDA Intel (ALC662 Digital)
Esound (ESD)

When highlight any of those and hit the test button I get an error saying the device failed.

Do you think this is a compatibility problem between gnome and KDE apps?
How did you install mplayer codec?
From slackbuilds?
 
Old 04-12-2010, 09:50 AM   #20
Thursapr
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 44

Rep: Reputation: 18
May be you should try to configure audio system using alsamixer?
 
Old 04-12-2010, 10:10 AM   #21
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Yes, i used slackbuild. I extracted the slackbuild and placed in it the following files;

Code:
essential-amd64-20071007.tar.bz2            mplayer-codecs.SlackBuild~*
mplayer-codecs-20061022-1.x86_64.rpm        mplayer-codecs.info
mplayer-codecs-extra-20061022-1.x86_64.rpm

I then modidfied script ARCH variable and ran it. Then changed into /tmp directory and ran as root
Code:
installpkg mplayer-codecs-20071007-x86_64-3_SBo.tgz
Code:
/tmp$ ls
SBo/
flash-player-plugin-10.0_r45-x86_64-1_SBo.tgz
gnome-mplayer-0.9.8-x86_64-1_SBo.tgz
hsperfdata_siawacsh/
kde-root/
kde-siawacsh/
ksocket-siawacsh/
lucene-cf11b29ddfbcc37bb91874925b1fa339-write.lock*
 
openoffice.org-3.2.0_en_US-x86_64-1_SBo.tgz
plugtmp/

Last edited by siawash; 04-12-2010 at 10:13 AM.
 
Old 04-12-2010, 11:23 AM   #22
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
alsamixer shows all volumes level high.
 
Old 04-12-2010, 11:31 AM   #23
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Any clues in the output that you get when you launch MPlayer from a terminal?
 
Old 04-12-2010, 11:36 AM   #24
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
I don't see the clues but here is the output

Code:
su     
Password: 
root@redeemer:/home/siawacsh# mplayer
Creating config file: /root/.mplayer/config
MPlayer r29390-4.3.3 (C) 2000-2009 MPlayer Team
Usage:   mplayer [options] [url|path/]filename

Basic options: (complete list in the man page)
 -vo <drv>        select video output driver ('-vo help' for a list)
 -ao <drv>        select audio output driver ('-ao help' for a list)
 vcd://<trackno>  play (S)VCD (Super Video CD) track (raw device, no mount)
 dvd://<titleno>  play DVD title from device instead of plain file
 -alang/-slang    select DVD audio/subtitle language (by 2-char country code)
 -ss <position>   seek to given (seconds or hh:mm:ss) position
 -nosound         do not play sound
 -fs              fullscreen playback (or -vm, -zoom, details in the man page)
 -x <x> -y <y>    set display resolution (for use with -vm or -zoom)
 -sub <file>      specify subtitle file to use (also see -subfps, -subdelay)
 -playlist <file> specify playlist file
 -vid x -aid y    select video (x) and audio (y) stream to play
 -fps x -srate y  change video (x fps) and audio (y Hz) rate
 -pp <quality>    enable postprocessing filter (details in the man page)
 -framedrop       enable frame dropping (for slow machines)

Basic keys: (complete list in the man page, also check input.conf)
 <-  or  ->       seek backward/forward 10 seconds
 down or up       seek backward/forward  1 minute
 pgdown or pgup   seek backward/forward 10 minutes
 < or >           step backward/forward in playlist
 p or SPACE       pause movie (press any key to continue)
 q or ESC         stop playing and quit program
 + or -           adjust audio delay by +/- 0.1 second
 o                cycle OSD mode:  none / seekbar / seekbar + timer
 * or /           increase or decrease PCM volume
 x or z           adjust subtitle delay by +/- 0.1 second
 r or t           adjust subtitle position up/down, also see -vf expand

 * * * SEE THE MAN PAGE FOR DETAILS, FURTHER (ADVANCED) OPTIONS AND KEYS * * *
 
Old 04-12-2010, 11:39 AM   #25
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
No, I meant launching it from a terminal and having it play a file that would normally have audio. i.e. mplayer filename.ext.

Last edited by dugan; 04-12-2010 at 12:59 PM.
 
Old 04-12-2010, 12:11 PM   #26
KeithE
Member
 
Registered: Jan 2003
Location: Mesa, AZ
Distribution: Linux Mint
Posts: 155

Rep: Reputation: 35
MPlayer on Slackware 13

Quote:
Originally Posted by siawash View Post
alsamixer shows all volumes level high.
Did you run alsaconf first? You have to do that to set up the proper audio driver.

I compiled MPlayer on Slackware 13 over the weekend and had no problems at all, but I got the code directly from their website. All I needed to do was configure --enable-gui; make; make install; ldconfig.

But make sure you extract the codec files to the right place (usr/local/lib/codecs, IIRC - it's in the README file).
 
1 members found this post helpful.
Old 04-12-2010, 03:42 PM   #27
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
Here is result for dugan's suggestions.


This is a selection of wma voice recordings.

Code:
siawacsh@redeemer:~/myhome/sia_silver/Audio/peru_record$ ls -l
total 741188
-rwxrwxr-x 1 siawacsh 10001 43715885 2005-10-28 17:50 ENC0060.WMA*
-rwxrwxr-x 1 siawacsh 10001 58484077 2005-10-28 19:09 ENC0061.WMA*
-rwxrwxr-x 1 siawacsh 10001 83650635 2005-10-29 17:26 ENC0062.WMA*
-rwxrwxr-x 1 siawacsh 10001 55787859 2005-10-29 19:12 ENC0063.WMA*
-rwxrwxr-x 1 siawacsh 10001  7946675 2005-10-30 08:53 ENC0064.WMA*
-rwxrwxr-x 1 siawacsh 10001    82397 2005-11-02 08:07 ENC0065.WMA*
-rwxrwxr-x 1 siawacsh 10001    19161 2005-11-03 18:47 ENC0066.WMA*
-rwxrwxr-x 1 siawacsh 10001  3594469 2005-11-04 18:51 ENC0067.WMA*
-rwxrwxr-x 1 siawacsh 10001 65622507 2005-11-05 05:58 ENC0068.WMA*
-rwxrwxr-x 1 siawacsh 10001 82399894 2005-11-06 19:31 ENC0069.WMA*
-rwxrwxr-x 1 siawacsh 10001   268299 2005-11-08 15:24 ENC0070.WMA*
-rwxrwxr-x 1 siawacsh 10001 60176614 2005-11-10 03:55 ENC0071.WMA*
-rwxrwxr-x 1 siawacsh 10001 63286649 2005-11-10 05:15 ENC0072.WMA*
-rwxrwxr-x 1 siawacsh 10001   778599 2005-11-10 17:40 ENC0073.WMA*
-rwxrwxr-x 1 siawacsh 10001 62070372 2005-11-10 17:47 ENC0074.WMA*
-rwxrwxr-x 1 siawacsh 10001 34456845 2005-11-12 16:15 ENC0075.WMA*
-rwxrwxr-x 1 siawacsh 10001 39863875 2005-11-12 16:54 ENC0076.WMA*
-rwxrwxr-x 1 siawacsh 10001    19153 2005-11-15 15:48 ENC0077.WMA*
-rwxrwxr-x 1 siawacsh 10001    50439 2005-11-15 15:48 ENC0078.WMA*
-rwxrwxr-x 1 siawacsh 10001    16739 2005-11-15 15:48 ENC0079.WMA*
-rwxrwxr-x 1 siawacsh 10001    25851 2005-11-15 15:50 ENC0080.WMA*
-rwxrwxr-x 1 siawacsh 10001    37075 2005-11-15 15:50 ENC0081.WMA*
-rwxrwxr-x 1 siawacsh 10001   160051 2005-11-15 15:51 ENC0082.WMA*
-rwxrwxr-x 1 siawacsh 10001   338627 2005-11-15 15:52 ENC0083.WMA*
-rwxrwxr-x 1 siawacsh 10001   452069 2005-11-15 15:52 ENC0084.WMA*
-rwxrwxr-x 1 siawacsh 10001    28643 2005-12-19 20:16 ENC0085.WMA*
-rwxrwxr-x 1 siawacsh 10001  5093243 2005-12-19 22:45 ENC0086.WMA*
-rwxrwxr-x 1 siawacsh 10001  1893271 2005-12-20 01:06 ENC0087.WMA*
-rwxrwxr-x 1 siawacsh 10001 20996043 2005-12-20 01:13 ENC0088.WMA*
-rwxrwxr-x 1 siawacsh 10001    77187 2006-01-08 20:53 ENC0089.WMA*
-rwxrwxr-x 1 siawacsh 10001 64405251 2006-01-11 06:42 ENC0090.WMA*
-rwxrwxr-x 1 siawacsh 10001  2240762 2006-01-12 01:39 ENC0091.WMA*
When I open one of the files with mplayer it starts buffering but i don't hear anything.

Code:
siawacsh@redeemer:~/myhome/sia_silver/Audio/peru_record$ mplayer ENC0088.WMA
MPlayer r29390-4.3.3 (C) 2000-2009 MPlayer Team

Playing ENC0088.WMA.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO ESD] esd_open_sound failed: Connection timed out
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 164.6 (02:44.6) of 1305.0 (21:45.0)  0.6%
keithE, your solution requires further study. The mplayer i am using is from slackbuild not Slackware's own site.

/usr/local/lib is empty.

If you can provide a walk through I would greatly appreciate it.

Last edited by siawash; 04-12-2010 at 03:44 PM.
 
Old 04-12-2010, 03:52 PM   #28
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Do other programs fail to play sounds, or is it just MPlayer?

Also, you are a member of the audio group, right? You can check by entering "groups" and seeing if "audio" appears in the list. If not, you can add yourself to the audio group with:
Code:
su -c 'gpasswd -a user audio'
Then log out and log back in (this is not optional), and try MPlayer again.

Last edited by dugan; 04-12-2010 at 04:07 PM.
 
Old 04-12-2010, 04:05 PM   #29
KeithE
Member
 
Registered: Jan 2003
Location: Mesa, AZ
Distribution: Linux Mint
Posts: 155

Rep: Reputation: 35
MPlayer on Slackware 13

Quote:
Originally Posted by siawash View Post
Here is result for dugan's suggestions.
When I open one of the files with mplayer it starts buffering but i don't hear anything.

Code:
siawacsh@redeemer:~/myhome/sia_silver/Audio/peru_record$ mplayer ENC0088.WMA
MPlayer r29390-4.3.3 (C) 2000-2009 MPlayer Team

Playing ENC0088.WMA.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16002->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO ESD] esd_open_sound failed: Connection timed out
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
A: 164.6 (02:44.6) of 1305.0 (21:45.0)  0.6%
keithE, your solution requires further study. The mplayer i am using is from slackbuild not Slackware's own site.
If no device is available, then you probably didn't run alsaconf. Do that (as root) and follow the instructions. It's very easy. Then run alsamixer again just to make sure everything's OK.

And, I got the file from MPlayer's website, not Slackware's.

Quote:
/usr/local/lib is empty.

If you can provide a walk through I would greatly appreciate it.
I can't do much from here (I'm not at home, where my Slackware box is), but if you get the source file from MPlayer's website, the README file tells you everything you need to know. It's the normal compilation procedure, with the --enable-gui option set in ./configure if you want the GTK interface. I always do an ldconfig after compiling and installing software from source, even though it may or may not be necessary.

Be sure to download the "essential codecs" file. That is what is extracted into /usr/local/lib/codecs (you'll have to create that directory).
 
1 members found this post helpful.
Old 04-12-2010, 04:18 PM   #30
siawash
Member
 
Registered: Jun 2004
Location: Ireland
Distribution: Zorin 6
Posts: 589

Original Poster
Rep: Reputation: 32
I just ran alsaconf and it detected my card said it configured it. I also ran alsamix and readjusted the volume levels. Still not getting any sound.

I am going to consider rebuilding the system this time using the mplayer's official website for the audio drivers. and see what I can learn from the README.

Thanks for your help Keith.

Last edited by siawash; 04-13-2010 at 03:47 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mplayer Install on Slackware 11 treyh Linux - Desktop 2 10-21-2006 10:59 PM
Slackware- Mplayer coolo Linux - Software 1 01-30-2006 04:43 PM
Slackware Mplayer not working VampireL0rd Linux - Software 2 11-21-2005 06:35 AM
installing mplayer in Slackware 10 edison Linux - Software 5 03-01-2005 08:26 PM
mplayer in Slackware iZvi Slackware 2 06-06-2004 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration