![]() c:v libx264 -r 30 -pix_fmt yuv420p out.mp4Īdd some music to it, cutoff when the presumably longer audio when the images end: ffmpeg -framerate 1 -pattern_type glob -i '*.png' -i audio.ogg \ Slideshow video with one image per second ffmpeg -framerate 1 -pattern_type glob -i '*.png' \ ![]() It is cool to observe how much the video compresses the image sequence way better than ZIP as it is able to compress across frames with specialized algorithms:Ĭonvert one music file to a video with a fixed image for YouTube upload Images generated with: How to use GLUT/OpenGL to render to a file? These are the test media I've used: wget -O opengl-rotating-triangle.zip ![]() i audio.ogg -c:a copy -shortest -c:v libx264 -pix_fmt yuv420p out.mp4 ![]() Normal speed video with one image per frame at 30 FPS ffmpeg -framerate 30 -pattern_type glob -i '*.png' \Īdd some audio to it: ffmpeg -framerate 30 -pattern_type glob -i '*.png' \ This great option makes it easier to select the images in many cases. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |