# WAV-file cannot be written

**URL:** https://community.mp3tag.de/t/wav-file-cannot-be-written/61272
**Category:** Support
**Created:** [June 15, 2023, 9:41am UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272 "2023-06-15T09:41:26Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Kaia](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/53a042/32.png) [@Kaia](https://community.mp3tag.de/u/Kaia)
#### Post date: [June 15, 2023, 9:41am UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272/1 "2023-06-15T09:41:26Z")

</div>

In one folder I've got files in a MP3 and a WAV-version. I can change the attributes for the MP3 files, but writing to every WAV-file results in an error message: "File {filename.wav} can not be written". There is no info on the why.  
I cannot find problems withe either of these files. They all play from within MP3TAG as well in VLC Player. Also, Gspot utility returns all normal codec information. In MP3TAG however, there is no codec, bitrate, frequency and time info. The files are not read-only.  
What could be wrong, or what can I do to resolve this?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [June 15, 2023, 9:45am UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272/2 "2023-06-15T09:45:05Z")

</div>

As wav is a lossless format, encode the unwilling files again.  
If

> [@Kaia](#):
>
> In MP3TAG however, there is no codec, bitrate

then it looks like the file is corrupt somewhere and somehow.  
Re-encoding is the fastest way.

---

<div class="post-metadata">

### Author: ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)
#### Post date: [June 15, 2023, 11:50am UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272/3 "2023-06-15T11:50:09Z")

</div>

> [@User-defined Tools](https://community.mp3tag.de/t/user-defined-tools/966/7):
>
> Example — Re-encode WAV using ffmpeg Some WAV files [have an invalid structure](https://community.mp3tag.de/t/how-to-check-files-for-errors/44633) or extra junk bytes at some RIFF chunks so re-encoding the file might fix the problems. You can use the excellent [ffmpeg](http://ffmpeg.org/download.html#build-windows) command line utility as a user-defined tool from within Mp3tag. Name wav2wav Path Please locate the path of your ffmpeg.exe Parameter -i "%\_filename\_ext%" "%\_folderpath%\%\_filename%\_out.wav"

---

<div class="post-metadata">

### Author: ![Kaia](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/k/53a042/32.png) [@Kaia](https://community.mp3tag.de/u/Kaia)
#### Post date: [June 15, 2023, 9:04pm UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272/4 "2023-06-15T21:04:08Z")

</div>

Thanks for your answer. Both @ohrenkino and @Poster.  
I can't say I understand, because the file did everything it should, except I couldn't write tags to it.  
After re-encoding it was solved. However, I didn't use ffmpeg for the re-encoding, but used MediaHuman Audioconverter instead, because that works a lot more simple for me. I'm a simple guy.  
But again: thanks for showing me the way.

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [July 15, 2023, 9:04pm UTC](https://community.mp3tag.de/t/wav-file-cannot-be-written/61272/5 "2023-07-15T21:04:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
