0

Using Anki desktop and AnkiDroid to develop a LSF (French Sign Language) learning deck, I edit cards with written word on front card, signed word in .mp4 on back card.

With a ~10k cards right now, I would like to reduce size of the .mp4 media files. For a month or two, when I create a new card, just after having added a video to this card with AnkiDroid, I reduce its size entering this custom command in Termux:

tsu ffmpeg -i /storage/emulated/0/Android/data/com.ichi2.anki/files/AnkiDroid/collection.media/name_of_the_video_file.mp4 -vcodec libx265 -crf 40

But for all the other I added before, I would like to "bulk"-aplly this command to all the .mp4 files of this folder, but only those weighting more than 1Mb.

How can I do that?

Thanks a lot for your help!

yoannjap
  • 111

0 Answers0