Jump to content

Wikipedia:Reference desk/Archives/Computing/2020 July 12

From Wikipedia, the free encyclopedia
Computing desk
< July 11 << Jun | July | Aug >> Current desk >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


July 12[edit]

Convert group of JPEG files to video for Wikimedia Commons[edit]

I have a group of 14 JPEG files that I want to convert to a video for Wikimedia Commons, which uses WebM, Ogg Theora, and MPEG video formats. I want to be able to control the frame rate so I can show each one for 2-3 seconds.

I tried several free ones that were recommended, but none worked well. I did get one that converted it to an AVI, and then I was able to convert the AVI to MPEG, but the problem is that the slowest frame rate it could do is 1 frame per second.

Using Google, I found a page that said that Microsoft Movie Maker can do it, so I tried it. The page said that you could set the frame rate in settings. In MS Movie Maker, I clicked on Time Lapse, and it said that I had to buy the pro version from the Windows Store. I did this, which actually was HD Movie Maker. But then it has no setting for the frame rate.

Is there Windows software that will do what I want? Bubba73 You talkin' to me? 02:48, 12 July 2020 (UTC)[reply]

I'm not a Windows specialist, but you can simply make three copies of each image, and combine those to create the illusion of a slower frame rate. Alternatively, on the Mac, Keynote can export a presentation to several movie formats. I would expect that Powerpoint can do the same on Windows. Or, although that seems to be overkill: Get OBS Studio and use a presentation with your images as your only source of video data. --Stephan Schulz (talk) 03:29, 12 July 2020 (UTC)[reply]
Ah - three copies of each jpeg - a solution I didn't think of! Bubba73 You talkin' to me? 03:49, 12 July 2020 (UTC)[reply]
See Egg of Columbus ;-). --Stephan Schulz (talk) 09:05, 12 July 2020 (UTC)[reply]
  • I initially googled something like "convert group of jpeg to movie" and didn't find good software. When I used "time lapse", I found better software. Bubba73 You talkin' to me? 02:48, 14 July 2020 (UTC)[reply]
  • ffmpeg a command line program can do it. For 5 secs per silde, something like ffmpeg -r 1/5 -i file1.jpg file2.jpg file3.jpg file.mp4 Graeme Bartlett (talk) 12:52, 16 July 2020 (UTC)[reply]
@Graeme Bartlett:, thanks for that information, but I think the command line may be wrong. Will your command not interpret file2.jpg file3.jpg and file.mp4 as output files? I found I needed to use the %d mechanism as documented on the man page. Regards, Martin of Sheffield (talk) 13:57, 16 July 2020 (UTC)[reply]