<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
<br>
David Watkins wrote:
<blockquote
cite="mid:44829edd0709200110l763819a9ja905fb2bcd13309c@mail.gmail.com"
type="cite">
<pre wrap="">On 20/09/2007, M L Truscott <a class="moz-txt-link-rfc2396E" href="mailto:mltruscott@btinternet.com"><mltruscott@btinternet.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I have some mpeg2 files from dvb radio I'd like to strip the video stream from
and store as oggs/mp3s.
Any one know of a way of doing it?
</pre>
</blockquote>
<pre wrap=""><!---->
I've used this in the past to strip audio to a wav. Should be easy
enough to get to mp3 or ogg from there.
mplayer infile.mpg -vo null -ao pcm:file=outfile.wav
</pre>
</blockquote>
The following ffmpeg command will capture audio from an mpeg2 source
and save it as low-bitrate mp3. It is optimized for voice, so if your
radio recordings are music you should raise the -ab and -ar values to
192 (in kbits) and 44100 in Hz), and remove the '-ac 1' option.<br>
<br>
ffmpeg -v quiet -y -i infile -ab 32 -acodec mp3 -ar 22050 -ac 1
outfile.mp3<br>
<br>
Jon<br>
</body>
</html>