Ripping sound from videos with mplayer

Mark Knoop mpknoop at gmail.com
Thu Jan 25 10:37:39 UTC 2007


On 25/01/07, Ric Moore <wayward4now at gmail.com> wrote:
> On Thu, 2007-01-11 at 13:00 +0000, Mark Knoop wrote:
> > On 11/01/07, Roberto Malinverni <roberto.malinverni at dico.coop.it> wrote:
> > > I remember a switch like "-ao pcm", and you should even be able to specify
> > > the otput files's name.
> >
> > mplayer -noframedrop -vo null -vc dummy -ao pcm:file=outfile.wav yourfilm
> >
> Mark, how do I specify the audio freq if I want 48,000? It keeps
> downmixing to 22,000 Thanx!! Ric

That will dump whatever is in the original - you can resample by
adding the following filter:

-af resample=48000:0:2

resample[=srate[:sloppy[:type]]] - details in man mplayer

-- 
Mark Knoop




More information about the fedora-list mailing list