Changes between Version 8 and Version 9 of Create a video slideshow from images


Ignore:
Timestamp:
May 29, 2013, 2:20:20 PM (4 years ago)
Author:
burek
Comment:

-shortest:a alone does not work if a video is shorter than audio

Legend:

Unmodified
Added
Removed
Modified
  • Create a video slideshow from images

    v8 v9  
    2929If you want to add audio (e.g. `audio.wav`) to one "poster" image, you need `-shortest` to tell it to stop after the audio stream is finished. We use the internal AAC encoder, but you can [[AACEncodingGuide|use any other AAC encoder]] as well: 
    3030{{{ 
    31 ffmpeg -loop 1 -f image2 -i img.png -i audio.wav -shortest:a -c:v libx264 -c:a aac -strict experimental -b:a 192k out.mp4 
     31ffmpeg -loop 1 -f image2 -i img.png -i audio.wav -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest out.mp4 
    3232}}} 
    3333