[FFmpeg-user] audio extraction for no sound at end of video

Lou lou at lrcd.com
Sat Jan 10 21:20:28 CET 2015


On Sat, 10 Jan 2015 11:37:00 -0500
Cliff R Wong <cliff.r.wong at gmail.com> wrote:

> Hi. I am extracting the audio from a video file to a wav format
> 
> ffmpeg -i {0} -ar 8000 -ac 1  -acodec pcm_s16le {1}.wav
> 
> where {0} is the input file and {1} is the output filename.
> 
> However, the last 3 minutes of the video has no sound and ffmpeg does not
> convert that so the resulting audio file is 3 minutes shorter than the
> video file. Is there an option that will keep those last 3 minutes of
> silence in the audio file?

You forgot to include the complete ffmpeg console output from your
command.


More information about the ffmpeg-user mailing list