Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to generate a 1.5hr video for uploading to Youtube using ffmpeg with a 1280x720 screenshot and a audio file. I've tried but it takes a long time for Youtube to process the video. how can i minimize the processing time.

ffmpeg -loop 1 -r 2 -i input.png -i audio.ogg -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt yuv420p output.mkv
share|improve this question

migrated from Mar 5 '14 at 16:08

This question came from our site for professional and enthusiast programmers.

Out of sheer astonishment- you want a 1.5 hour still image? Ah ok I get it- it's the music that matters? – Rajib Mar 5 '14 at 16:17

Add -movflags faststart to your command line and youtube will start processing it while uploading.

Could also try lowering the framerate to 1 with -r 1

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.