[FFmpeg-user] pitch corecting audio?

Robert Krüger krueger at lesspain.de
Thu Mar 26 17:31:06 CET 2015


On Thu, Mar 26, 2015 at 3:03 PM, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Wed, Mar 25, 2015 at 20:20:04 -0700, James Heliker wrote:
> > If I could access the original 23.976 source audio and apply "-af
> > atempo=25*1001/24000", would that accomplish the job without affecting
> > pitch in the first place?
>
> Indeed it should!
>
> You may or may not need to use the setpts filter if you use my first
> example, see here:
>
> http://superuser.com/a/611927/361295
>
> (You can experiment and tell us your results.)
>
> > Then I could merge the 25fps video with my correctly sped-up audio
>
> Possibly with my mentioned caveat regarding the A/V sync.
>

I have done that for the exact same use case in the past for a music video
(i.e. very tough A/V sync requirements) with perfect results, so I would
expect this to work.


More information about the ffmpeg-user mailing list