[MPlayer-users] Audio pitch correction while encoding video.

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 22 15:17:18 CET 2007


Hi!

 <"??????? <sstub <at> tut.by>"@natsuki.mplayerhq.hu> writes:

> Is it possible to correct audio pitch (maybe by scaletempo filter) while 
> converting video?
> Situatin is: I need to convert video from 30fps to 25fps without
> dropping frames. In that case the sound pitch is distorted(lowered).
> I tried parameters like:
> mencoder X:\xxx\xxx.avi -o Y:\yyy\yyy.avi -ofps 25 -noskip -vf-add 
> scale=320:240 -vf-add expand=320:240:-1:-1:1 -srate 44100 -ovc xvid 
> -xvidencopts bitrate=450:max_bframes=0:quant_type=h263:me_quality=4 -oac 
> lavc -lavcopts acodec=mp2:abitrate=128 -af pan=1:0.5:0.5 -channels 1 -af 
> scaletempo -speed 0.8341

I didn't try myself, but shouldn't you put all audiofilters in one "af" command
as explained in the man page?

Carl Eugen





More information about the MPlayer-users mailing list