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

Brian Cardarella bcardarella at gmail.com
Wed Jul 20 00:46:10 CEST 2011

Actually, sorry again. I'm still confused. Do I do this to generate
the needed length of audio then use that as the audio stream for the
video or can I use these commands along with the commands to generate
the video?

For example, I am doing this to generate the video:

ffmpeg -loop 1 -vframes 30 -r 29.97 -i title.png -qscale 5 title.mpeg

- Brian

On Tue, Jul 19, 2011 at 6:08 PM, Brian Cardarella <bcardarella at gmail.com> wrote:
> Awesome thank you!
> - Brian
> On Jul 19, 2011, at 5:51 PM, Etienne Buira <etienne.buira.lists at free.fr>
> wrote:
>> Hi
>> 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
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

More information about the ffmpeg-user mailing list