LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-23-2006, 06:47 AM   #1
Sjellest
Member
 
Registered: Apr 2006
Location: Denmark
Distribution: Gentoo - kde
Posts: 44

Rep: Reputation: 15
Question Mplayer are playing the files to fast!!!


I have tried to see som mpg files oon mplayer but it just play a musicvideo that normal would take 5 minutes on 5 seconds. It says:
alsa-play: write error: Broken pipe6.189 1856/1856 1% 3% 0.8% 1843 0
alsa-play: trying to reset soundcard.
and it comes again and again...
what shall i do?
 
Old 07-23-2006, 07:16 AM   #2
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Try runnning alsaconf and see if that helps.
 
Old 07-23-2006, 07:44 AM   #3
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
maybe there are other programs accessing your /dev/dsp. try using esd if you want multiple plays to your /dev/dsp.
 
Old 07-23-2006, 07:53 AM   #4
Sjellest
Member
 
Registered: Apr 2006
Location: Denmark
Distribution: Gentoo - kde
Posts: 44

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by konsolebox
maybe there are other programs accessing your /dev/dsp. try using esd if you want multiple plays to your /dev/dsp.
I'm newbie so how to do that? and what is it?
 
Old 07-23-2006, 08:03 AM   #5
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
i mean you can't have two programs accessing the /dev/dsp file or should i say the sound device. only one program is able to access the file.

so to be able to have many programs accessing the file, you need to have a sound manager like esd. esd mixes sound coming from different programs then sends it as one to /dev/dsp.

anyway just try to close all music programs you're running and run mplayer again.

that's all i can suggest. so i hope it helps.
 
Old 07-23-2006, 08:14 AM   #6
Sjellest
Member
 
Registered: Apr 2006
Location: Denmark
Distribution: Gentoo - kde
Posts: 44

Original Poster
Rep: Reputation: 15
I allready did that but nothings change. But maybe you know how to slow down the tempo? tha could help...
 
Old 07-23-2006, 08:17 AM   #7
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
sorry you better wait for other posts. i kinda don't use mplayer. i'm happy with sox.

Edit: it's also possible that you need an update for your codec. try to know the codec it's using then try to upgrade.
 
Old 07-23-2006, 08:19 AM   #8
Sjellest
Member
 
Registered: Apr 2006
Location: Denmark
Distribution: Gentoo - kde
Posts: 44

Original Poster
Rep: Reputation: 15
okay but thank you anyway. I could also try sox? is it good?
 
Old 07-23-2006, 08:23 AM   #9
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
if you have sox you can try "play yourfile". it's just a simple wave converter and sender.
 
Old 07-23-2006, 08:38 AM   #10
Sjellest
Member
 
Registered: Apr 2006
Location: Denmark
Distribution: Gentoo - kde
Posts: 44

Original Poster
Rep: Reputation: 15
thanks a lot
 
Old 07-23-2006, 08:50 AM   #11
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
about mplayer btw. i do really think that you are having problems with your codecs. try upgrading mplayer to the newest version then upgrade your codecs. you can download codecs at free-codecs.com.

that's all i can say now.
so regards.
 
  


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
amaroK playing files to fast Vampir3 Linux - Software 2 09-03-2006 11:08 AM
Playing WMV3 files in mplayer? garnser Linux - Software 4 05-22-2006 05:57 PM
mplayer not playing .wmv files??? matthewa Linux - Software 11 06-14-2005 05:04 PM
playing mkv files on mplayer joq Linux - Software 3 12-07-2004 07:24 AM
mplayer plays files too fast pguru Linux - Software 2 08-12-2004 12:53 PM

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

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