1. Apng format (Animated PNG)

2. GIF format

Bibliography and tools

  1. Check this link first to know how to crop (using a selected region on the video) https://incenp.org/notes/2012/video-cropping.html
  2. To extract all frames from videos
    ffmpeg -i BN2.mp4 -ss 00:00:36.5 -vf crop=240:490:830:550 -f image2 -an -t 00:00:05.5 -s 120x245 tmp/image%5d.png
  3. To merge al frames to an APNG file
     apngasm -F -o Sheyna_Dance.png image00001.png 35 image00002.png 35... ... image00164.png 35 image00165.png 35