When creating film from images, you need to specify input "framerate" as decribed in Create a video slideshow from images
Putting tag -framerate 1/5
before tag -i
for example will make each image be shown for 5s in the film.
Я пытаюсь преобразовать PNG-файл в MP4-файл, но я получаю 0 байтов MP4-файлов.
Вот моя структура кода:
ffmpeg -r [framerate] -i [images] -s [resolution] -vcodec libx264 [videofilename].mp4
When creating film from images, you need to specify input "framerate" as decribed in Create a video slideshow from images
Putting tag -framerate 1/5
before tag -i
for example will make each image be shown for 5s in the film.