LinuxQuestions.org
Visit Jeremy's Blog.
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 02-25-2003, 04:00 AM   #1
JIV
Member
 
Registered: Feb 2003
Location: India
Distribution: RedHat 9.0
Posts: 90

Rep: Reputation: 15
Problem with sound while playing movies


i can't get the sound of movies while playing
There is no problem with video and also there is no problem for playing mp3...
please help

Here is the error message while trying to play the movie with mplayer...

Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
MP3lib: init layer2&3 finished, tables done
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffdivx] vfm:ffmpeg (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
audio_setup: Can't open audio device /dev/dsp: Device or resource busy
/dev/dsp: Device or resource busy
AO: [esd] esd_open_sound failed: Connection refused
AO: [null] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 240 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
 
Old 02-25-2003, 04:08 AM   #2
annehoog
Member
 
Registered: Jan 2002
Location: Nederland
Distribution: RH 8 Psyche and Debian Woody
Posts: 373

Rep: Reputation: 30
check your permissions on you audio devices (/dev/dsp and the others) and make sure they're set to user. That might help.
If not you might have an other program that's keeping your audio device busy, kill that and then try again.

Anne
 
Old 02-25-2003, 04:57 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
ok, so you're in gnome i assume. and mplayer knows there's an esd sever to connect to, but the way it's been set up it 's not allowing "forgien" prorgams to conenct to it. run "esdctl unlock" (i think) and then the esd server should allow the connection just fine

if it's not actually running an esd server (maybe arts.. or maybe you're just playing an mp3 or something....) then you'll want to tell mplayer to use the arts (kde) sound server instead (mplayer -ao arts - IF mplayer is compiled to use arts)
 
Old 02-25-2003, 05:53 AM   #4
JIV
Member
 
Registered: Feb 2003
Location: India
Distribution: RedHat 9.0
Posts: 90

Original Poster
Rep: Reputation: 15
thanx problem solved....i changed the permissions
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Xine distorting sound and dropping frames when playing .avi-movies Trickj Linux - Software 2 11-21-2005 03:04 AM
playing movies and mp3 gokulagiridaran SUSE / openSUSE 5 05-29-2005 04:25 AM
Playing Movies without X? raid517 Linux - Software 3 04-19-2005 06:35 PM
playing dvd movies jappstam12345 Mandriva 10 03-29-2005 08:20 AM
Slackware 10 - Problem Playing DVD Movies Chryzmo Slackware 31 02-05-2005 08:11 AM


All times are GMT -5. The time now is 07:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration