[MPlayer-users] resampling frequency using mencoder and

D Richard Felker III dalias at aerifal.cx
Thu Aug 1 14:51:02 CEST 2002


On Thu, Aug 01, 2002 at 11:06:35AM +0200, Arpi wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
> 
> > > This probably should be mentioned in the man page under -srate.
> > >
> > Definitely. There is a slight difference in what it causes for mplayer and
> > mencoder.
> > Beside that it it passes the audio at specified frequency to encoder
> > (lame). I was asking about giving the lame (library) audio at original
> > frequency and then reencode it to different by lame (like lame
> > with --resample option).
> 
> -srate does exactly this for mencoder
> 
> > Pos:   1.1s     21f ( 0%)   0fps Trem:   0min   0mb  A-V:0.100 [311:63]
> > skip frame!!!
> > Pos:   1.6s     32f ( 0%)   0fps Trem:   0min   0mb  A-V:0.101 [287:63]
> > skip frame!!!
> > Pos:   2.9s     60f ( 0%)   0fps Trem:   0min   0mb  A-V:0.101 [310:63]
> > skip frame!!!
> 
> it's normal. use -noskip if you dislike, and get ready for a-v desync :)

He's using -ovc copy I think, so things will break if there are lots
of skips. Looks like a crappy variable framerate source file.

Rich




More information about the MPlayer-users mailing list