Hi,
Recently Anki on my iPhone has had some trouble playing .mp4 videos that used to play fine. Some .mp4 videos still play fine, others seem to stop and start or lose volume or freeze before finishing. Other cards (including cards with .mp3 files or embedded YouTube videos) work fine. All cards (including those with .mp4 videos) work fine on my Mac (Anki 24.04.1).
Any suggestions? Restarting my phone has not helped.
Thanks,
Nick
AnkiMobile relies on iOS for playing videos, so I’m afraid this sounds like an iOS bug that was introduced in an iOS update. If it’s consistently only certain videos, have you tried playing those videos inside iOS, but outside AnkiMobile?
I copied one video from my collection.media folder to my Desktop on my mac. Then (after it had uploaded to iCloud), I played it using the Files app on my phone. It seemed to play fine.
Curious, I opened Anki, searched for the card with the video, and previewed it. Here is the initial screenshot after pressing play:
It is recommended that the image size of the video file should not be greater than 640 x 360. It is recommended to use the baseline H.264 profile-coded .mp4. In addition, the bitrate of the iPhone is limited to 1.5Mb, but it is recommended to keep the bitrate below 900kb.