Using ffmpeg to create looping apng

I am trying to create loop apng files from mkvs. My problem is that they don't loop. Files play once but stop.

This is what I do:

 ffmpeg -ss 16:43 -i ./10.mkv -loop 10 -t 1 -filter:v "setpts=PTS-STARTPTS, crop=1200:800, hqdn3d=1.5:1.5:6:6, scale=600:400"  10-file-2.apng

I tried -loop -1 -loop 10 -loop 1 but the loop is not completed. My version

Ffmpeg-3.3.el_capitan.bottle.tar.gz

+4
source share
1 answer

The parameters for the APNG loop are reproduced.

ffmpeg -ss 16:43 -i ./10.mkv -plays 10 -t 1 -vf "setpts=PTS-STARTPTS, crop=1200:800, hqdn3d=1.5:1.5:6:6, scale=600:400"  10-file-2.apng
+5
source

Source: https://habr.com/ru/post/1676424/


All Articles