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

Cliff R Wong cliff.r.wong at gmail.com
Sat Jan 10 17:37:00 CET 2015


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?

Thanks,
Cliff


More information about the ffmpeg-user mailing list