[FFmpeg-user] Empty audio track to video created from image

Etienne Buira etienne.buira.lists at free.fr
Tue Jul 19 23:51:40 CEST 2011


On Tue, Jul 19, 2011 at 05:16:08PM -0400, Brian Cardarella wrote:
> I have a video from an image that I've created. The video goes for
> about 60 frames. Then I append the content video after it using cat.
> The problem is the audio from the 2nd video starts playing when the
> video starts, during the first video instead of when the 2nd video
> starts.
> I'm guessing this is because the first video does not have an audio
> track. So the audio track from the first is told to start on frame 1.
> All this to ask: is there a way to add an empty audio stream when
> creating the 1st video to prevent this? Or am I going about this
> backwards?
> - Brian

Quoting Stefano Sabatini:
> ffmpeg-user random tip #9
> One minute of audio silence with ffmpeg:
> ffmpeg -ar 48000 -t 60 -f s16le -acodec pcm_s16le -i /dev/zero  \
>     -ab 64K -f mp2 -acodec mp2 -y silence.mp2

More information about the ffmpeg-user mailing list