* Ripping Streams Directly to mp3?
@ Hart Larry
` Rudy Vener
` Geoff Shang
0 siblings, 2 replies; 3+ messages in thread
From: Hart Larry @ UTC (permalink / raw)
To: Blinux Discussion List
This has been chalenging for several years. I am useing a script which uses
mencoder to rip video to an avi and audio streams to a wave. Sure the
finished product plays nicely, but since its in .wav formatif that wave file
runs more than 3hours, lame will not handle it, won't even know its there.
So, in reality on May 06 I want to record the stream of Sky-News during British
Elections, directly to an mp3. Mp3 is the final format I keep most of my audio
news-coverage in. In mp3 I can record many more hours of:
mms://live2.wm.skynews.servecast.net/skynews_wmlz_audio
Can some1 please suggest a direct way of doing this without making waves. I am
still in FC9
Thanks so much in advance
Hart
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ripping Streams Directly to mp3?
Ripping Streams Directly to mp3? Hart Larry
@ ` Rudy Vener
` Geoff Shang
1 sibling, 0 replies; 3+ messages in thread
From: Rudy Vener @ UTC (permalink / raw)
To: Linux for blind general discussion
lame can compress directly from the standard input to the standard output
e.g.
cat inputfile | lame -r -m m -b 24 --resample 22.05 - - > output
so create a script called stream2mp3 liks so:
lame -r -m m -b 24 --resample 22.05 - -
then call your streaming process pipe it to stream2mp3 and redirect
to your output.mp3 file.
On Sun, Apr 25, 2010 at 10:07:16PM -0700, Hart Larry wrote:
> This has been chalenging for several years. I am useing a script which
> uses mencoder to rip video to an avi and audio streams to a wave. Sure
> the finished product plays nicely, but since its in .wav formatif that
> wave file runs more than 3hours, lame will not handle it, won't even know
> its there.
> So, in reality on May 06 I want to record the stream of Sky-News during
> British Elections, directly to an mp3. Mp3 is the final format I keep
> most of my audio news-coverage in. In mp3 I can record many more hours
> of:
> mms://live2.wm.skynews.servecast.net/skynews_wmlz_audio
> Can some1 please suggest a direct way of doing this without making waves.
> I am still in FC9
> Thanks so much in advance
> Hart
>
> _______________________________________________
> Blinux-list mailing list
> Blinux-list@redhat.com
> https://www.redhat.com/mailman/listinfo/blinux-list
--
Rudy Vener, Owner and founder
Pizza Galaxy - Online ordering and Email marketing for
independent restaurants.
Phone: (203) 230-9662
Website: http://www.pizzagalaxy.com
Restaurant owners, boost your sales with new
customers, increased visits and expanded ticket size with
Pizza Galaxy's Online Ordering and E-mail Marketing.
Get our free report: The Top 7 Ways for Restaurants to get
Customers Online. Go to
http://www.pizzagalaxy.com/top7ways.html
to get your free copy.
see for yourself how customers hear about restaurant online
ordering by following us on Twitter:
http://www.twitter.com/pizzagalaxy
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Ripping Streams Directly to mp3?
Ripping Streams Directly to mp3? Hart Larry
` Rudy Vener
@ ` Geoff Shang
1 sibling, 0 replies; 3+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: Linux for blind general discussion
Hi,
I'm running MPlayer from the Debian package which doesn't include mencoder
for some silly reason. So I can't test this suggestion.
Couldn't you do:
mencoder <url> -o <filename>.mp3
You may need to use options like "-of rawaudio" and "-oac mp3lame", and
you'll probably want to use "-lameopts" to specify MP3 encoder options
("-lameopts help" apparently gives you help).
Possible example:
mencoder -of rawaudio -oac mp3lame -lameopts cbr:br=128 <url> -o
<filename.mp3>
Like I say, i'm not in a position to test this, I've just looked at the
very comprehensive and sometimes daunting MPlayer man page. Search for
"GENERAL ENCODING OPTIONS" to get to the mencoder stuff.
Curious to know how you get on.
Geoff.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
Ripping Streams Directly to mp3? Hart Larry
` Rudy Vener
` Geoff Shang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).