Answers.Body: <pre><code>ffmpeg -loop 1 -i https://thumbs.dreamstime.com/z/cartoon-weather-images-16836392.jpg -t 15 output.mp4 
  </code></pre>
  <p>FFprobe result:</p>
  <blockquote>
  <pre><code>ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg  
  Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':   Metadata:  
      major_brand     : isom  
      minor_version   : 512  
      compatible_brands: isomiso2avc1mp41  
      encoder         : Lavf57.83.100   Duration: 00:00:15.00, start: 0.000000, bitrate: 188 kb/s  
      Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1182x1300 [SAR 1:1 DAR 591:650], 186 kb/s, 25 fps, 25  
  tbr, 12800 tbn, 50 tbc (default)  
      Metadata:  
        handler_name    : VideoHandler  
  </code></pre>
  </blockquote>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T13:19:12.470Z
Answers.Text: Thank you @xer-rex. I used `ffmpeg -loop 1 -i image.jpg -vcodec libx264 -crf 25  -pix_fmt yuv420p -t 15  video.mp4`
Answers.UserDisplayName: Nagarjun Reddy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-10-06T12:57:44.057Z
Answers.LastActivityDate: 2020-10-09T11:25:25.177Z
Answers.LastEditDate: 2020-10-09T11:25:25.177Z
Answers.UserDisplayName: xer-rex
Body: <p>Can anyone help me with a command line for the below scenario please using FFmpeg?</p>
  <p>Convert single <code>image.jpg</code> to <code>output.mp4</code> for 15 seconds.</p>
  <p>Thank you.</p>
  
Tags: <ffmpeg>
Title: How to convert single image to video in infinite loop and set duration of 15 seconds using FFMPEG
UserDisplayName: Nagarjun Reddy
ThreadText: # How to convert single image to video in infinite loop and set duration of 15 seconds using FFMPEG
  
  (Asked by: username_0 on 2020-10-06)
  
  Can anyone help me with a command line for the below scenario please using FFmpeg?
  
  Convert single `image.jpg` to `output.mp4` for 15 seconds.
  
  Thank you.
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-10-06. Score: 2 | Accepted answer
  
  ```
  ffmpeg -loop 1 -i https://thumbs.dreamstime.com/z/cartoon-weather-images-16836392.jpg -t 15 output.mp4 
  
  ```
  
  FFprobe result:
  
  > ```
  > ffprobe version 3.4.8-0ubuntu0.2 Copyright (c) 2007-2020 the FFmpeg  
  > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'output.mp4':   Metadata:  
  >     major_brand     : isom  
  >     minor_version   : 512  
  >     compatible_brands: isomiso2avc1mp41  
  >     encoder         : Lavf57.83.100   Duration: 00:00:15.00, start: 0.000000, bitrate: 188 kb/s  
  >     Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 1182x1300 [SAR 1:1 DAR 591:650], 186 kb/s, 25 fps, 25  
  > tbr, 12800 tbn, 50 tbc (default)  
  >     Metadata:  
  >       handler_name    : VideoHandler  
  >
  > ```
  
  > **Comments:**
  > **username_0**: Thank you @username_1. I used `ffmpeg -loop 1 -i image.jpg -vcodec libx264 -crf 25  -pix_fmt yuv420p -t 15  video.mp4`  
  
  ---
  
  