HowTo: Use FFmpeg's "aresample" audio filter
Posted: Mon Dec 21, 2015 4:20 am
Here's the link to the official FFmpeg's Filter Documentation for "aresample".
It shows examples, but it doesn't show how to use them in the commandline.
Here's how:
Just used this code to fix a problem where the audio ran slightly too fast and ended before the video.
The "async=1000" option to aresample worked automagically. Thanks ffmpeg developers!
It shows examples, but it doesn't show how to use them in the commandline.
Here's how:
Code: Select all
$ ffmpeg -i input.ts -c:v copy -c:a pcm_s16le -af "aresample=async=1000" output.avi"
The "async=1000" option to aresample worked automagically. Thanks ffmpeg developers!