Take the 2-minute tour ×
Software Recommendations Stack Exchange is a question and answer site for people seeking specific software recommendations. It's 100% free, no registration required.

I'm looking for an application that converts any video into animated PNG format (aka. APNG).

The application should read MKV files as well as other popular formats and allow to select:

  • Dimensions of resulting animation in pixels
  • Framerate
  • Compression options
  • Target file size
  • (bonus) Subtitle for embedding

I noticed that APNGs are usually significantly smaller than animated GIFs (by about 10-20%) while also showing much better colors (>256 colors, no dithering or slopy gradients) so I'm thinking of switching to that if I can find a good app.

share|improve this question

2 Answers 2

You can:

  1. split into PNGs: e.g. with FFmpeg ffmpeg -i input.mov -r 0.25 output_%04d.png (to get a picture every four seconds in this example).
  2. resize the PNGs: e.g. with ImageMagick: mogrify -resize 30x30% *.png (to 30% in this example)
  3. Create APNG file from a bunch of PNGs: e.g. using APNG Edit.

share|improve this answer
    
is it possible to emded subtitles like that? –  user6532 Jul 20 at 18:55
    
@user64308 yes, added in answer. You might have to script around though. –  Franck Dernoncourt Jul 20 at 19:00
    
I meant while splitting video into PNGs, like making screenshots of a video player with subs on, but automatically, in a command line. Manually retyping text and using an external tool to paste it in will produce a different result and I'd like to achieve a "media player with subs on" animation feel. –  user6532 Jul 20 at 19:03
    
@user64308 yes, added in answer. –  Franck Dernoncourt Jul 20 at 19:10

You can use VirtualDub APNG Mod:

  • free and open source
  • it is a VirtualDub Mod so you have access to all VirtualDub features such as changing the FPS or change dimensions (i.e. resize):

enter image description here

enter image description here

  • handle APNG:

enter image description here

enter image description here

  • compatible with major video formats such as .mkv files: you need to download some import plugins/filters. I personally use the FFMPEG Input Driver (32-bit, I had issues with 64-bit) which provides support for 31 video formats
share|improve this answer
    
afaik Virtualdub doesn't read MKV, nor does it allow to embed subtitles, but I know there is a Virtualdub MKV version with limited capabilities, which I don't suppose can convert to APNG –  user6532 Jul 20 at 18:42
    
    
does it mean I can make this version support MKV and other formats by installing a plugin/filter or…? –  user6532 Jul 20 at 18:46
    
@user64308 yes, added in answer. –  Franck Dernoncourt Jul 20 at 18:46

Your Answer

 
discard

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