* New mpg123-0.59o Alpha diff
@ 1998-10-23 14:03 Nils Faerber
0 siblings, 0 replies; 5+ messages in thread
From: Nils Faerber @ 1998-10-23 14:03 UTC (permalink / raw)
To: axp-list
Hello!
I just uploaded a new version of a mpg123-0.59o diff for Linux-Alpha.
This diff includes Bob McElrath's patch and my changes. The frontend support
now also works (i.e. tk3play and sajber jukebox support).
The diff can be found on the usual page at
http://www.unix-ag.org/Linux-Alpha/Packages/mpg123-0.59p_alpha.diff
In case of problems please feel free to contact me ...
CU
nils
--
Nils Faerber (Linux Nils) eMail: nils@unix-ag.org
Student of computer science http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany
Siegen ... the arctic rain forest!
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New mpg123-0.59o Alpha diff
@ 1998-10-23 14:13 Roman Martonak
1998-10-23 14:15 ` mgraffam
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Roman Martonak @ 1998-10-23 14:13 UTC (permalink / raw)
To: axp-list
>
> Hello!
> I just uploaded a new version of a mpg123-0.59o diff for Linux-Alpha.
> This diff includes Bob McElrath's patch and my changes. The frontend support
> now also works (i.e. tk3play and sajber jukebox support).
> The diff can be found on the usual page at
> http://www.unix-ag.org/Linux-Alpha/Packages/mpg123-0.59p_alpha.diff
> In case of problems please feel free to contact me ...
> CU
> nils
Is this version able to play directly from URL ? About a month ago I compiled
some version of mpg123 and it played fine from a file, but not from a URL, and
when I tried to turn on the buffer (I guess the -b option), it would not work.
Thanks,
Roman Martonak.
--------------------------------------------------------------------------------
Roman Martonak
Max-Planck-Institut fuer Festkoerperforschung
Heisenbergstrasse 1
D-70569 Stuttgart
Germany
Phone: + 49 711 6891756
Fax: + 49 711 6891702
e-mail: martonak@prr.mpi-stuttgart.mpg.de
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New mpg123-0.59o Alpha diff
1998-10-23 14:13 New mpg123-0.59o Alpha diff Roman Martonak
@ 1998-10-23 14:15 ` mgraffam
1998-10-23 14:15 ` Nils Faerber
1998-10-23 17:36 ` Andreas U. Trottmann
2 siblings, 0 replies; 5+ messages in thread
From: mgraffam @ 1998-10-23 14:15 UTC (permalink / raw)
To: Roman Martonak; +Cc: axp-list
On Fri, 23 Oct 1998, Roman Martonak wrote:
> Is this version able to play directly from URL ? About a month ago I compiled
> some version of mpg123 and it played fine from a file, but not from a URL, and
> when I tried to turn on the buffer (I guess the -b option), it would not work.
I use mpg123 0.59k on my Alpha (I happened to have the 59k source on my
Pentium, so I just grabbed it and changed the makefile .. I didn't know
that 59o even existed :) .. it doesn't work with an URL either.. the
way I get around that is to use lynx ..
lynx -source ftp://url | mpg123 -
Not the optimal solution .. but it does make any utility that uses stdio
into a network friendly app :)
Michael J. Graffam (mgraffam@idsi.net)
http://www.mhv.net/~mgraffam -- Philosophy, Religion, Computers, Crypto, etc
"..subordination of one sex to the other is wrong in itself, and now
one of the chief hindrances to human improvement.." John Stuart Mill
"The Subjection of Women"
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New mpg123-0.59o Alpha diff
1998-10-23 14:13 New mpg123-0.59o Alpha diff Roman Martonak
1998-10-23 14:15 ` mgraffam
@ 1998-10-23 14:15 ` Nils Faerber
1998-10-23 17:36 ` Andreas U. Trottmann
2 siblings, 0 replies; 5+ messages in thread
From: Nils Faerber @ 1998-10-23 14:15 UTC (permalink / raw)
To: axp-list
Hallo!
> > I just uploaded a new version of a mpg123-0.59o diff for Linux-Alpha.
> > This diff includes Bob McElrath's patch and my changes. The frontend support
> > now also works (i.e. tk3play and sajber jukebox support).
> > The diff can be found on the usual page at
> > http://www.unix-ag.org/Linux-Alpha/Packages/mpg123-0.59p_alpha.diff
> > In case of problems please feel free to contact me ...
> Is this version able to play directly from URL ? About a month ago I compiled
> some version of mpg123 and it played fine from a file, but not from a URL, and
> when I tried to turn on the buffer (I guess the -b option), it would not work.
The buffer should work, at least it does on my machine.
I will test the URL code tonight, never used it so I do not know ;)
> Thanks,
> Roman Martonak.
CU
nils
--
Nils Faerber (Linux Nils) eMail: nils@unix-ag.org
Student of computer science http://www.si.unix-ag.org/~nils/
Unix user group, University of Siegen, Germany
Siegen ... the arctic rain forest!
--
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: New mpg123-0.59o Alpha diff
1998-10-23 14:13 New mpg123-0.59o Alpha diff Roman Martonak
1998-10-23 14:15 ` mgraffam
1998-10-23 14:15 ` Nils Faerber
@ 1998-10-23 17:36 ` Andreas U. Trottmann
2 siblings, 0 replies; 5+ messages in thread
From: Andreas U. Trottmann @ 1998-10-23 17:36 UTC (permalink / raw)
To: axp-list
On Fri, Oct 23, 1998 at 04:13:12PM +0200, Roman Martonak wrote:
> Is this version able to play directly from URL ?
Nope. But inserting
setbuf(myfile, 0);
after line 223 in httpget.c (after the fdopen, just before relocate = FALSE)
makes it work for me.
The reason is that mpg123 mixes buffered (fgets) and unbuffered (read)
calls on the network sockets which causes it to "miss" the beginning of
the MP3 -> you only hear garbage. The fix just makes it use no buffer in
any way; there would probably be better ways to do this.
I mailed this to the author of mpg123 a couple of weeks ago (when I needed
a mpg123 that could play from URLs :) ) but never got a reply.
--
Andreas Trottmann <andreas.trottmann@werft22.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-10-23 17:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-23 14:13 New mpg123-0.59o Alpha diff Roman Martonak
1998-10-23 14:15 ` mgraffam
1998-10-23 14:15 ` Nils Faerber
1998-10-23 17:36 ` Andreas U. Trottmann
-- strict thread matches above, loose matches on Subject: below --
1998-10-23 14:03 Nils Faerber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox