Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Mar 5 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 at 16:17

1 Answer 1

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

 
discard

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