VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. How can I convert a single PNG into a five-second MP4? High quality is important. I would appreciate an FFmpeg solution but will use alternatives.
    Quote Quote  
  2. Never mind. I already knew the answer. I used IrfanView's Slideshow > output to video.
    Quote Quote  
  3. Code:
    ffmpeg -loop 1 -i image.png -t 5 -c libx264 -crf 18 -vf fps=24000/1001,scale=1280:720 output.mp4
    where
    -t is the duration in seconds
    -c is the video codec, in the example x264(avc)
    - crf is the quality (0-28, lower is better)
    fps is the framerate, in the example 23.976 (24000/1001)
    scale is the resolution, in the example 1280x720

    Adjust the parameters as required.
    Quote Quote  
  4. Thanks! Looking forward to trying it.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!