[MPlayer-users] Re: Converting 23.976 to 25fps
D Richard Felker III
dalias at aerifal.cx
Tue Jan 13 09:23:48 CET 2004
On Mon, Jan 12, 2004 at 09:33:34PM +0100, Martin Emrich wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi!
>
> Am Mo, den 12.01.2004 schrieb D Richard Felker III um 19:54:
>
> > On Mon, Jan 12, 2004 at 05:43:49PM +0100, Martin Emrich wrote:
>
> > > 3. extract audio
> > > mplayer movie-with-pcm.avi -dumpaudio -dumpfile moviesound.raw
> > >
> > > 4. resample audio to 44100 Hz
> > > sox -w -s -c 2 -r 45983 -t .raw moviesound.raw -r 44100 moviesound.wav \
> > > resample
> > > rm moviesound.raw
> > >
> > > 5. multiplex new sound back in
> > > mencoder movie-with-pcm.avi -o new-movie-file.avi -audiofile \
> > > moviesound.wav -oac copy -ovc copy
> >
> > mencoder can do steps 3-5 for you (resampling audio)! Just use:
> >
> > mencoder -ovc copy -oac pcm -srate 44100 movie-with-pcm.avi -o new-movie-file.avi
>
> So -srate actually does resample? the manpage says "Forces the given
> audio playback rate, changing video speed to keep A-V sync.
> MEncoder passes this value to lame for resampling.". The "changing video
Yes, the man page is wrong, and has been for over a year. I sent a
report to the docs mailing list but no one fixed it.
Rich
More information about the MPlayer-users
mailing list