LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2005, 09:32 PM   #1
vrillusions
Member
 
Registered: Feb 2003
Location: Ohio, USA
Distribution: Ubuntu, Debian, CentOS
Posts: 99

Rep: Reputation: 25
mpg321 gives http_open error when playing streams


This is on debian 3.1. I am trying to get mpg123 (actually mpg321) working so it plays streaming audio. I got it working fine on slackware and just upgrading to debian and it isn't working. Here's what I get when I try to run it:
Code:
todd@sonica:~$ mpg123 http://64.236.34.4:5190/stream/8022
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
Version 0.59q (2002/03/23). Written and copyrights by Joe Drew.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
http_open: Connection reset by peer
http://64.236.34.4: No such file or directory
seems like that http_open error would be rather common, at least common enough that people would have asked about it before but hardly any results showed up anywhere, just a couple in google and neither really helped. Any ideas? This is very minimal install so I may just be missing a library or something?

btw, I have tried playing a regular mp3 on the hard drive and it works fine, just internet audio streams. I've also tried several urls with and without trailing /s and different ports, they'll work in itunes but won't on that machine. Thanks for any help.
 
Old 08-08-2005, 09:48 PM   #2
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
I Think its a bogus URL... Here is what I get using curl:

ICY 404 Resource Not Found
icy-notice1:SHOUTcast Distributed Network Audio Server/posix v1.8.1<BR>
icy-notice2:The resource requested was not found<BR>

Try some other streaming content... I don't think it's mpg123 causing the problem....

KC
 
Old 08-08-2005, 10:43 PM   #3
vrillusions
Member
 
Registered: Feb 2003
Location: Ohio, USA
Distribution: Ubuntu, Debian, CentOS
Posts: 99

Original Poster
Rep: Reputation: 25
hmm, interesting...

I got it working with this stream hosted at digitalgunfire:
http://129.16.159.166:8000

but it's not working with di.fm. I am listening to this exact stream right now in itunes:
http://205.188.234.65:8022

but if I try to play that in mpg123 it gives me that http_open error. Tried both with and without the trailing / since I've had issues with that before. So it must be some issue with di.fm I'll have to figure out. Maybe I can see if anyone has ideas over there, either. Thanks.
 
  


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
Playing nsv streams moger Linux - Software 0 11-15-2005 10:58 PM
my mpg321 didn't work rjmaomao Linux - Newbie 4 08-14-2005 07:49 PM
mpg321 raffi Linux - Software 2 12-21-2004 05:42 AM
mpg321 gives no such device error thiqued Linux - Newbie 2 09-10-2004 07:56 PM
when i try to play a sound file with mpg123 or mpg321 i get an error VioLaToR Linux - Software 5 02-24-2004 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:47 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