Skip to Content.
Sympa Menu

baslinux - Re: [BL] broken windows needs replacing

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: sindi keesan <keesan AT sdf.lonestar.org>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] broken windows needs replacing
  • Date: Tue, 19 Apr 2005 01:10:43 +0000 (UTC)

On Mon, 18 Apr 2005, David Moberg wrote:

----- Original Message -----
From: "sindi keesan" <keesan AT sdf.lonestar.org>

On Mon, 18 Apr 2005, David Moberg wrote:
mpg123 can handle streaming directly from HTTP.

Does this mean you can somehow combine wget and mpg123?

You can do that.

Using a sound-compatible kernel and sound modules and devices:

wget http://www.music.com/file.mp3|mpg123 ???

wget -O - http://www.music.com/file.mp3 | mpg123 -

I tried this approach and got a lot of gibberish on the screen.

I tried mpg123 http://linux10.cs.uaf.edu:8000/kuac16mono
and it played me the Fairbanks university radio station, loud and clear.
This particular station had instructions how to deal with .m3u and .pls formats and it also gave the above line. This was my one success.

I downloaded some .mp3 piano music from an mp3 download site, which was 32 K/sec encoding, and played it here and it sounded okay. My download speed from this site varied between 0 and 3.2K, so when I tried to play it streaming it sounded rather awful. Each note repeated about four times in a row, in short bursts.


The -O is to interrupt broken downloads and the - downloads to stdin?

From the wget man page:

-O file
--output-document=file
The documents will not be written to the appropriate files, but all
will be concatenated together and written to file. If file already
exists, it will be overwritten. If the file is -, the documents
will be written to standard output. Including this option automat-
ically sets the number of tries to 1.

The above seems to write to standard output, not play the file.
mpg123 http://......../filename.mp3 worked (except for connection speed).

I searched on streaming MP3 and classical and the sites I found do
not have files ending in .mp3.

http://www.classicaliscool.com/audiocomposers/vonsuper.asx
(lynx thinks this is video-ms-asf)

Something wrapped in an older Microsoft format. MPlayer should handle
it.

mpg123 told me 'junk at beginning of file' when I tried to play files ending in .asx or .m3u. Files ending in .pls gave me information about the file and not music.

I then read that .m3u and .pls are the currently fashionable formats for streaming audio. Fairbanks has links for both of them but also worked with mpg123 somehow.


This is the Poets and Peasants Overture, which we heard yesterday
played by 16 members of a Tuba and Euphonium Ensemble.

There is Rock at http://wmbr.org/WMBR_live_24.m3u

I tried that. mpg123 tried to grok it, but failed. I used wget to
download it, then used cat to print it and discovered that all it
contained was:

http://headphones.mit.edu:8080/

So I tried

mpg123 http://headphones.mit.edu:8080/

and mpg123 spit out a warning message but then it played fine.

So I need to find some URLs with :8000 or :8080 for streaming mp3. Maybe I should search on these string plus 'classical'. Maybe the URL is the 'junk at beginning of file'?




I found this site:

http://hanna.pyxidis.org/tech/m3u.html

It says that m3u files are just playlists. The real links to mp3s
are found encoded in plain text.

Is there some easy way to find the links without downloading the .m3u or .pls file? I am at least armed with more information (I know what sort of URL to look for in the file if not online).


http://www.di.fm/mp3 has files in .asx or .pls (audio/x-scpls)
and they say the MP3 files are 96K and the AAC+ streams are 24K

Is AAC+ the same as .pls?

http://www.mostlyclassical.com/mp3/classical24k.pls

Looks like it. Xmms has an aac plugin.

None of these are .mp3. I played at making an mp3 file from a CD
and it was .mp3, as was something I once downloaded to play with
dosamp. I don't know if mpg123 can handle .m3u or .asx or .pls
formats.

.m3u files can be handled, at least manually. Xmms can do .pls files.
MPlayer can do all three, but .pls needs an extra plugin. I'm not
sure how to add that.


So I went to www.mpg123.de and after many brief waits learned that
the current version 0.59r has some serious security problems and
should not be downloaded. So do other recent versions, so I
presume the precompiled
mpg123-0.59q-1.i386.rpm should not be downloaded.

0.59r is what I'm using.

Does the SW7.1 mpg123 work at the above URLs?

Yes.

SW7.1 mp3.tgz contains version 0.59r (the one you are warned not to use). The site provides 0.59q for rpm and probably this is more secure. I hope the security problem pertains mainly to people with broadband and/or servers.


Progress on zip BL3 - the zip disk was bad, could not be formatted,
so I got another two and may use 60MB for linux so I can add opera
to show people what is possible. Maybe I can even show them
streaming mp3 but they would need to have SB16 for me to use
Christof's sb package.

Unless you use a different driver set.
I cannot be prepared for all sound cards.

David
--
_______________________________________________
NEW! Lycos Dating Search. The only place to search multiple dating sites at
once.
http://datingsearch.lycos.com

_______________________________________________
BasLinux mailing list
BasLinux AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/baslinux



keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org




Archive powered by MHonArc 2.6.24.

Top of Page