# (Plese answer me) Mp3 files in card not play after export

**URL:** <https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991>\
**Category:** Help\
**Created:** [January 24, 2022, 1:54pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991 "2022-01-24T13:54:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 24, 2022, 1:54pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/1 "2022-01-24T13:54:16Z")

</div>

mp3 files in card not play after export.

Originally, it worked well, but if you only use the export function, the audio function of the card does not work.

So I have to turn Anki off and on again for the audio to work properly.

Currently, I am using the latest version, but it is unfortunate that this problem has occurred.

As a result of testing [anki-2.1.26-windows.exe], it works well, so I think it is a problem caused by upgrading to the latest version.

How can I solve this problem?

I would be really grateful if you could solve this problem.

thanks.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 24, 2022, 4:20pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/2 "2022-01-24T16:20:07Z")

</div>

please answer me… plz…

---

<div class="post-metadata">

**Author:** ![01101](https://avatars.discourse-cdn.com/v4/letter/0/f9ae1b/32.png) [@01101](https://forums.ankiweb.net/u/01101)\
**Post date:** [January 24, 2022, 7:17pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/3 "2022-01-24T19:17:39Z")

</div>

Did you check the “Include media” box before exporting?

![anki_O6dZeA4jek](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/e/ee667a7b34000763929cc53b27146a23317c7dc9.png)

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 25, 2022, 3:51am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/4 "2022-01-25T03:51:22Z")

</div>

If your field text and filenames don’t match exactly, Tools\>Check Media in recent Anki versions should fix the problem.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 25, 2022, 5:29am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/5 "2022-01-25T05:29:09Z")

</div>

I think you misunderstood the content because I did not elaborate on the explanation.

I will summarize the contents again and say the following.

The problem I am having is a problem with the latest version of Anki.

There are mp3 files on my card, but when I press the export button, these don’t work.

To make these work again, the only way is to turn off and on Anki or re-import the exported file.

In conclusion, clicking the export button immediately disables the mp3 function.

Please test once.

Current old version 2.1. 26 works fine with no problems.

If you have any further questions about the matter, please let me know.

I look forward to your genius ideas.

please help

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 25, 2022, 11:53am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/6 "2022-01-25T11:53:05Z")

</div>

I posted a post about this yesterday.

I’m sure it’s a bug, but I haven’t received an answer to the exact solution to this.

The problem I am having is:

Currently I am using the latest version 2.1.49.

I was studying hard through Anki. It was confirmed that the Anki card contains various audio files such as MP3 and TTS and works well.

But the problem occurs after clicking the export button as shown below.

**Export → Anki Collection Package (Check Include Media) → After pressing the Export button, if you do card learning without exiting Anki, the audio does not work.**

Note that Audio includes both MP3 files and TTS.

* * *

As a result of my various tests, the solution to this is

1. Restart the Anki program
2. Re-import the exported file
3. When exporting, there is a way to export as an Anki Deck Package rather than as Anki Collection  
Package.

* * *

## As a result of testing in version 2.1.26, it was confirmed that the audio works well even after export → collection package. So I’m pretty sure the problem occurred when I upgraded to the latest version. I want to solve this problem because I personally want to use the latest version.

I’ve asked a question before, but no one answered it properly, so I’m asking again.

I really wish there was someone who could help me to solve this problem.

I will wait for your reply. bro

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [January 25, 2022, 12:31pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/7 "2022-01-25T12:31:10Z")

</div>

The MP3 problem could be related to mpv.  
I recommend following the steps posted by kelciour in this thread anyway:

> [@Audio playing problem](https://forums.ankiweb.net/t/audio-playing-problem/1974):
>
> Hi, I’m using Anki 2.1.29 on macOS 10.14.6. The audio can’t be played after several cards studied. (Since I updated Anki) I need to reopen Anki to recover it. Thank you for developing Anki slight_smile

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 25, 2022, 1:37pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/8 "2022-01-25T13:37:21Z")

</div>

I don’t know much about coding. Can you tell me what is the solution to the problem?

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [January 25, 2022, 2:24pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/9 "2022-01-25T14:24:01Z")

</div>

It’s not clear what is causing the issue, so you have to troubleshoot by following the steps to find the problem. @kelciour provided detailed steps for that.

> [@hanbin](#):
>
> To help you understand, I am attaching a video recording of the problem.

The video recording is not showing by the way.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 25, 2022, 3:42pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/10 "2022-01-25T15:42:09Z")

</div>

동영상을 추가하고싶었지만, 용량때문에 첨부하기가 어렵다.

내용: 원래 잘 작동되는 mp3 → 내보내기(anki 콜랙션) after → not working mp3

---

<div class="post-metadata">

**Author:** ![abdo](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/abdo/32/654_2.png) [@abdo](https://forums.ankiweb.net/u/abdo)\
**Post date:** [January 25, 2022, 4:08pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/11 "2022-01-25T16:08:42Z")

</div>

Try using an external service like [https://gofile.io/](https://gofile.io/) to upload the video and link to it here.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 25, 2022, 4:18pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/12 "2022-01-25T16:18:59Z")

</div>

I will try.

I have one question, I want to see the anki file in relation to the export function, program files → anki → ? What files can I select to view?

---

<div class="post-metadata">

**Author:** ![kelciour](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kelciour/32/14770_2.png) [@kelciour](https://forums.ankiweb.net/u/kelciour)\
**Post date:** [January 25, 2022, 9:13pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/13 "2022-01-25T21:13:05Z")

</div>

Thanks for the ping @abdo !

@hanbin the issue looks very odd.

I couldn’t find this information in your current or [previous](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/5) posts and will assume that you either don’t have any add-on installed or already tried to turn them off to make sure that the problem wasn’t caused by the add-on - [https://faqs.ankiweb.net/when-problems-occur.html](https://faqs.ankiweb.net/when-problems-occur.html) - and Tools \> Check Media reported no missing audio files.

If you have “Sonic Studio” installed,

> [@Desktop Anki 2.1.35 No Audio Playback](https://forums.ankiweb.net/t/desktop-anki-2-1-35-no-audio-playback/3990/2):
>
> After a lot of fiddling around i noticed that the mpv backend was not playing sounds either, so i was tracing the calls being made and I noticed that it was loading some “Sonic Studio” driver crap. As soon as i closed that sound started playing both in the backend of mvp and Anki!!! Thought of leaving the solution here in case someone stumbles into the same problem. Not entirely sure what the forum policies are.

Otherwise, for now I can only suggest to try VLC instead of mpv by installing VLC and this add-on - [https://ankiweb.net/shared/info/383102081](https://ankiweb.net/shared/info/383102081)

I’ll try to follow up on mpv and how to create the log file tomorrow.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 26, 2022, 3:55am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/14 "2022-01-26T03:55:49Z")

</div>

I tested it in its original state with no add-ons installed.

And I don’t use the sonic driver.

I don’t know much about coding, can you solve this problem?

Or do I have to wait for the next update?

I don’t want to solve that problem with an addon.

---

<div class="post-metadata">

**Author:** ![kelciour](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kelciour/32/14770_2.png) [@kelciour](https://forums.ankiweb.net/u/kelciour)\
**Post date:** [January 26, 2022, 4:23pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/15 "2022-01-26T16:23:58Z")

</div>

I don’t know, but the next update won’t help much if the problem isn’t found in the code and fixed. I guess, it needs some further investigation why it happens and understanding what’s going on.

Maybe, as a temporary workaround, mplayer instead of mpv will work for you. You can test it either by installing [anki-2.1.35-windows-alternate.exe](https://github.com/ankitects/anki/releases/tag/2.1.35) (if anki-2.1.35-windows.exe doesn’t work for you) or by installing the latest Anki version, downloading mplayer (it looks like the latest x86\_64 build is available at [https://oss.netfarm.it/mplayer/](https://oss.netfarm.it/mplayer/) → [https://sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/r38328+g30322ebe3c/](https://sourceforge.net/projects/mplayer-win32/files/MPlayer%20and%20MEncoder/r38328+g30322ebe3c/)), then copy `mplayer.exe` and `mplayer` folder to `C:\Program Files\Anki`, remove or rename `mpv.exe` in the same folder, and open Anki.

![](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/a/acb7c7c8b184a4130079f5406c0bc2b3587c509d.png)

To help understand why the sound won’t work anymore with mpv, something like this can be done. There will be a lot of words, but it’s just about enabling logging for mpv and printing the current working directory before and after export.

1. Open Anki

2. Enable logging for mpv (just this time, until Anki or mpv hasn’t been closed).

3. Get the current working directory for media files.

4. Review a card with the sound, then click on the play button once or twice (just front or back, without moving to the next card). As I understand, the sound will work fine.

5. Then go back to the decks screen and use the export button.

6. Review the same card again, then click on the play button once or twice. As I understand, at this moment the sound won’t work anymore.

7. Get the current working directory for media files (again).

8. Run Tools \> Check Media. It should report no missing files.

9. Close Anki.

10. Look at `mpv.log.txt` on your Desktop or upload it somewhere, e.g. [https://gofile.io](https://gofile.io), maybe it’ll contain some information why mpv can’t play the same sound file the second time.

11. That’s it 🙂

* * *

Alternatively, instead of creating `mpv.log.txt`, you can view mpv output in the real time.

1. Download mpv from [mpv player (Windows) - Browse /64bit at SourceForge.net](https://sourceforge.net/projects/mpv-player-windows/files/64bit/)

2. Unpack it somewhere or copy/replace `mpv.exe`, `mpv.com`, `d3dcompiler_43.dll` to `C:\Program Files\Anki`

3. Open the Windows Command Prompt in the same folder as mpv.exe by typing `cmd` into the adress bar.

 ![](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/7/7968396af81c7171ad4b4a4b1b356bedefbddaf0.png)

1. Just in case, to prevent accidental freezing the console window and pressing Enter to unfreeze it, open the Properties and uncheck “Quick Edit Mode”.

> <https://stackoverflow.com/questions/33883530/why-is-my-command-prompt-freezing-on-windows-10/33883532#33883532>

1. Close Anki if it’s open, then start mpv in a similar way as Anki does by copy-pasting this command into the Command Prompt and pressing Enter.

2. Open Anki and review a card with sound.

 ![](https://us1.discourse-cdn.com/flex002/uploads/anki2/original/2X/f/fab43023361d63d25bb927b1ce0f71c3df6db9d5.png)

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 26, 2022, 4:38pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/16 "2022-01-26T16:38:20Z")

</div>

I just read the answer you wrote really hard. Thank you very much.  
However, I have no knowledge of coding, so it is too difficult for me to understand what you are explaining.

Simply how can I solve this problem?

Will there be a release with this issue fixed in the next update?

I am very interested and curious about these two things.

It would be really appreciated if the developer could fix this bug.

---

<div class="post-metadata">

**Author:** ![BlackBeans](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/blackbeans/32/2283_2.png) [@BlackBeans](https://forums.ankiweb.net/u/BlackBeans)\
**Post date:** [January 26, 2022, 5:45pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/17 "2022-01-26T17:45:04Z")

</div>

If you follow carefully the steps, you should encounter no issue. If you did (you fail to get through a step), please say so, and that step will be explained more in details. The problem cannot be solved if it is not identified, and this debugging steps are necessary to find out what the problem is.  
So, to answer your questions, to solve this problem you need to repeat the steps and post the result, so that we can think of a solution, and no it is probably not going to be fixed in the next update if the problem has not been found yet (it’s hard to patch a problem you don’t know anything about, right?).

---

<div class="post-metadata">

**Author:** ![kelciour](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/kelciour/32/14770_2.png) [@kelciour](https://forums.ankiweb.net/u/kelciour)\
**Post date:** [January 26, 2022, 6:18pm UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/18 "2022-01-26T18:18:03Z")

</div>

No problem. We can start by checking the “current working directory” before and after you use the Export button.

Here’s how to do it.

1. Run this code in the debug console. Let me know the output.

2. Review a card with sound (expected result: it works).

3. Use the export button.

4. Review a card with sound (expected result in your case: it no longer works).

5. Rerun the same code in the debug console. Let me know the output.

Here’s a quick screencast how to do these steps.

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 27, 2022, 7:17am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/19 "2022-01-27T07:17:12Z")

</div>

Thank you for explaining it with a video attached. I will test it and let you know the results.

However, in the video you used the cog’s export function, which should be fine.

The problem occurs in the following situation.

1. Click on the file located at the top
2. Click Export
3. anki collection Export

---

<div class="post-metadata">

**Author:** ![hanbin](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/hanbin/32/8267_2.png) [@hanbin](https://forums.ankiweb.net/u/hanbin)\
**Post date:** [January 27, 2022, 7:28am UTC](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991/20 "2022-01-27T07:28:51Z")

</div>

2.1.49 (dc80804a)  
C:\Users\sonhanbin\AppData\Roaming\Anki2\사용자 1\collection.media

2.1.49 (dc80804a)  
C:\Program Files\Anki

[Next page](https://forums.ankiweb.net/t/plese-answer-me-mp3-files-in-card-not-play-after-export/16991.md?page=2)
