[FFmpeg-user] ffmpeg for creting video from images
Michael Koch
astroelectronic at t-online.de
Wed Jan 27 13:25:27 CET 2016
Am 27.01.2016 um 13:21 schrieb pratik at devrepublic.nl:
>
>
> Hi Carl,
>
> I am running this command
>
> ffmpeg -framerate 1/5 -pattern_type glob -i
> '/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/projects/52/images/temp/*.jpg'
> -i
> '/home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/templatemp3/3/Then
> A Kiss.mp3' -c:v libx264 -vf 'scale=trunc(iw/2)*2:trunc(ih/2)*2'
> -pix_fmt yuv420p -c:a aac -strict experimental -shortest
> /home/devprj01/domains/devrepublic-projects.nl/public_html/development/houseview2/uploads/projects/52/videos/vid27-01-2016_13-16-26.mp4
Is your audio file long enough?
A too short audio file would explain the problem, because you are using
"-shortest".
Michael
More information about the ffmpeg-user
mailing list