You can add a card first using GoldenDict, and then append an audio clip and a picture to it.
Note: the only version of GoldenDict that can create Anki cards with configurable fields is xiaoyifang's goldendict. Read Setting up GoldenDict and How to connect with Anki if you are new to GoldenDict.
To send subtitles from mpv directly to GoldenDict,
append the following line to subs2srs.conf:
autoclip_method=goldendict
Note: If goldendict is not in the PATH,
you have to add it to the PATH.
- Press a to open
advanced menu. - Press t to toggle the
autoclipoption.
Now as subtitles appear on the screen, they will be immediately sent to GoldenDict instead of the system clipboard.
-
Open GoldenDict.
-
Play a video in
mpv. -
When you find an unknown word, select the definition text, right-click and select "send word to anki" to make a card, or press Ctrl+Shift+N.
-
If you have the new note timer enabled, mpvacious will automatically add media to your card.
Otherwise, go back to mpv and add an image and an audio clip to the card you've just made by pressing m while the
advanced menuis open. Pressing Shift+m will overwrite any existing data in media fields.
screencast.mp4
Don't forget to set the right timings and join lines together if the sentence is split between multiple subs. To do it, enter interactive selection by pressing c and seek to the next or previous subtitle.
To pair Mecab and GoldenDict, install gd-tools.