I'm trying to create looping apng files from mkvs. My problem is that they don't loop. The files play once, but stop.
This is what I'm doing:
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've tried -loop -1 -loop 10 -loop 1 but there is no looping done. My version is
ffmpeg-3.3.el_capitan.bottle.tar.gz
The parameter for looping APNGs is -plays
.
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
-plays 0
: loops forever-plays 1
: plays once (i.e. no loop)If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With