LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2010, 05:26 PM   #1
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Rep: Reputation: 33
mplayer no audio


Hi I am not a newbie, but feel like one for this post!

I have lost audio in media player. mp3 everything!

<code>
johnh10000@tux:~$ sudo apt-get install w32codecs libdvdcss2
[sudo] password for johnh10000:
Reading package lists... Done
Building dependency tree
Reading state information... Done
w32codecs is already the newest version.
w32codecs set to manually installed.
libdvdcss2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
johnh10000@tux:~$ sudo apt-get install mozilla-mplayer
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed
mozilla-mplayer
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 519kB of archives.
After this operation, 1880kB of additional disk space will be used.
Get: 1 http://gb.archive.ubuntu.com jaunty/multiverse mozilla-mplayer 3.55-1.1ubuntu1 [519kB]
Fetched 519kB in 0s (609kB/s)
Selecting previously deselected package mozilla-mplayer.
(Reading database ... 190910 files and directories currently installed.)
Unpacking mozilla-mplayer (from .../mozilla-mplayer_3.55-1.1ubuntu1_i386.deb) ...
Setting up mozilla-mplayer (3.55-1.1ubuntu1) ...
johnh10000@tux:~$
</code>
As you can see w32codecs libdvdcss2, are installed. I don't whats up.

Can someone help. Oh runnimg ubuntu jaunty
 
Old 01-02-2010, 01:19 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Do you get audio in other applications?
Can you play audio files, any codec, with other players?
Will mplayer play free codecs?
Please show us the output of attempting to play a file via the commandline.

Why did you not install the codecs via apt-get?
 
Old 01-02-2010, 01:55 AM   #3
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Simon Bridge View Post
Do you get audio in other applications?
Can you play audio files, any codec, with other players?
Will mplayer play free codecs?
mplayer won't play audio with anything
Quote:
Please show us the output of attempting to play a file via the commandline.

Why did you not install the codecs via apt-get?
huh? I did!
johnh10000@tux:~$ sudo apt-get install w32codecs libdvdcss2.

Anyways, I seem to have found the problem, if set movie playback etc to ESD. it works.

Thaks though.
 
Old 01-02-2010, 05:39 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Hmmm ... so you are still using esd for sound then?
The output from a commandline attempt to play audio files would likely have told us this.
Well done for figuring it out yourself.

Please take note of the clarifying questions for future issues
 
Old 01-02-2010, 07:38 PM   #5
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by Simon Bridge View Post
Hmmm ... so you are still using esd for sound then?
The output from a commandline attempt to play audio files would likely have told us this.
Well done for figuring it out yourself.
no not still using esd. I found it worked sort of. Alsa, is my choice.

well not quite. I am now getting failed to write to the esound daemon.
Quote:
Please take note of the clarifying questions for future issues
[/quote]
sorry

MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 1700MHz (Family: 15, Model: 0, Stepping: 10)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing mike.mp3.
Audio file file format detected.
Clip info:
Title: Railway Hotel
Artist: Mike Batt
Album: The Winds Of Change
Year: 1995
Comment:
Track: 1
Genre: Rock
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A: 23.0 (23.0) of 305.0 (05:05.0) 4.4%
[4]+ Stopped mplayer mike.mp3
 
Old 01-02-2010, 08:27 PM   #6
johnh10000
Member
 
Registered: Nov 2008
Distribution: Ubuntu Lucid Lynx
Posts: 541

Original Poster
Rep: Reputation: 33
works ecscept my steaming audio

putting everything to pulseaudio, seems to work.

When I say my streaming audio dosen't work, is a bit of a lie. It does but.

it shows up as a black screen on my website. I can hear it ok, but if nav away, goes too.

why isn't it starting mplayer, as a new "task"?
 
  


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
Doesn't get audio from mplayer msivasakthi Linux - Software 2 05-20-2008 02:23 AM
Audio in Mplayer mickeyboa Fedora 0 11-13-2004 09:11 AM
No Audio when trying new Mplayer breakerfall Linux - Software 2 08-25-2004 07:58 PM
Mplayer Audio Help dmiller23462 Linux - Software 6 08-11-2004 05:21 AM
No audio with MPlayer christer Linux - Software 6 10-04-2003 08:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:18 PM.

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