TITLE:メディア (Media) 原文 = http://ankisrs.net/docs/manual.html#media ---- &br;&br; Anki はノートに使われている音声と画像をコレクションの隣にあるフォルダーに保存しています。フォルダーの場所についての詳細は、[[ファイルの場所>2.0/ManagingFilesAndYourCollection#file-locations]] を参照してください。Anki にメディアを追加した場合には、Anki はメディアをオリジナルの場所からメディアフォルダーにコピーします。[[エディタ>2.0/Editing]] でペーパークリップアイコンを使った場合でも、フィールドにペーストした場合でも同様です。これにより、コレクションのメディアをバックアップしたり、他のコンピュータへ移動するのが簡単になります。 //Anki stores the sounds and images used in your notes in a folder next to the collection. For more on the folder location, please see the file locations section. When you add media within Anki, either by using the paperclip icon in the <<editor,editor>> or by pasting it into a field, Anki will copy it from its original location into the media folder. This makes it easy to back up your collection’s media or move it to another computer. ノートとメディアフォルダーをスキャンするには、メニューから ツール→メディアをチェック (Tools→Check Media) を使用してください。この機能はメディアフォルダーのファイルの中から、いずれのノートでも利用されていないものを探して報告します。また、ノートから参照しているのにメディアフォルダーに見つからないものも報告します。質問と回答のテンプレートはスキャンされません。これがテンプレートのフィールドでメディア参照を行えない理由です。全てのカードに静的な画像か音声が必要であれば、_ で始まるファイル名(_dog.jpg など)を使用して Anki にメディアのチェック時に無視することを明示してください。メディアを未使用メディアの確認により削除した場合、Anki はそのファイルを OS のゴミ箱フォルダに移動します。よって間違ってメディアを削除してしまった場合も、復元させることが可能です。 //You can use the Tools>Maintenance>Unused Media menu option to scan your notes and media folder. It will generate a report of files in the media folder that are not used by any notes, and media referenced in notes but missing from your media folder. It does not scan question or answer templates, which is why you can’t place media references to fields in the template. If you need a static image or sound on every card, name it with a leading _ (eg _dog.jpg) to tell Anki to ignore it when checking for media. If you delete media using the unused media check, Anki will move it into your operating system's trash folder, so you can recover if you accidentally delete media that shouldn't have been deleted. Anki は音声とビデオへの対応には mplayer というプログラムを利用します。多様なファイルフォーマットがサポートされていますが、これらのフォーマットのすべてが AnkiWeb やモバイルクライアントでサポートされているわけではありません。MP3 オーディオと MP4 ビデオが最も幅広くサポートされているようです。 //Anki uses a program called mplayer in order to support sounds and videos. A wide variety of file formats are supported, but not all of these formats will work on AnkiWeb and the mobile clients. MP3 audio and MP4 video seems to be the most universally supported.