![]() ![]() ![]() I downloaded some royalty-free music from YouTube and ran another FFmpeg command. There also are other ways to combine a series of photos, particularly ones with sequentially numbered filenames. You might want to change the output framerate to 25 or 30 … change fps=8 to fps=25 or 30 … but fps=8 worked for me and all that happens in the photos are duplicated more often to get the frames per second. The order of the photos wasn’t important. This command says to create a video showing each photo for 5 seconds (-framerate 1/5). With my images ready, it’s time to run this FFmpeg command to combine the photos as a video. I’ve found the following code will put the entire image in a 16×9 canvas with letterboxing. The above works well with landscape photos, but with people, it’s possible to chop their heads off. Then I deleted the 4:3 aspect ratio versions, leaving only the new 16:9 aspect ratio ones. Yes, I could have resized them as well to 1920×1080, but in this case, FFmpeg handles that.Īlso, it’s Linux, case matters for JPG vs jpg. This converted all the “.JPG” files to 4000×2250, or a 16:9 aspect ratio with the center as the most important part to keep in the crop. I put all the photos in a folder under Linux on the Pixelbook and then I ran this ImageMagick script on the files in the folder: for i in *JPG do convert "$i" \ I wanted to create a video of those photos in a 16:9 aspect ratio (the aspect ratio of your HD TV) with as little “black frame” as possible and add background music. They were 4000 x 3000 pixels, a 4:3 aspect ratio. I had a series of photos taken with my Fujifilm X20 point-and-shoot camera of our dogs. Here is how I created a video slideshow in just a few minutes using ImageMagick and FFmpeg. The trick is to enable Linux on your Chromebook and use some very well-known command-line tools: youtube-dl, FFmpeg, ImageMagick, and MediaInfo. It does nearly all of the photo and video editing I need to do - and usually quicker. I’ve been using a Pixelbook, a Chromebook from Google, for the past two and a half years.Ĭhromebooks are not known as great for photo and video editing, but I have found it’s an excellent platform for my needs. Code examples have been updated after noticing some issues. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |