How can I create an hour video of from a single photo? I tried ffmpeg -i "photo.png" -framerate 10 -pattern_type glob -t 00:05:00 -output video.mp4 but it did not seem to work as it created a video that shuts down after clicking Play.

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Jul 4, 2022 at 16:16
  • I think the bot is confused. I see only a single question, along with an attempt to resolve the question, which didn't work.
    – fred_dot_u
    Jul 4, 2022 at 16:35
  • Add -loop 1 argument. See Creating a video from a single image for a specific duration in ffmpeg.
    – Rotem
    Jul 4, 2022 at 16:35
  • ffmpeg -framerate 10 -i "photo.png" -vf "format=yuv420p,loop=-1:1:0" -t 01:00:00 output.mp4
    – Gyan
    Jul 5, 2022 at 4:12


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.