# MPG2 WVC1 Codec

**URL:** https://dietpi.com/forum/t/mpg2-wvc1-codec/995
**Category:** Troubleshooting
**Created:** [12 February 2017 22:53 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995 "2017-02-12T22:53:59Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![babette](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/c89c15/32.png) [@babette](https://dietpi.com/forum/u/babette)
#### Post date: [12 February 2017 22:53 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/1 "2017-02-12T22:53:59Z")

</div>

I have MPG2 and WVC1 codecs for the rapsberry Pi 3, but i when i adjust config.txt i still cannot play those files.  
Please help me to add those codecs for use in Kodi (it has been working with other OS, but i really like dietpi toegther with Roon Labs.)

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [13 February 2017 18:35 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/2 "2017-02-13T18:35:06Z")

</div>

> [@babette](#):
>
> I have MPG2 and WVC1 codecs for the rapsberry Pi 3, but i when i adjust config.txt i still cannot play those files.  
> Please help me to add those codecs for use in Kodi (it has been working with other OS, but i really like dietpi toegther with Roon Labs.)

Hi,

If you are doing this while the device is powered, you’ll need to edit config.txt from the DietPi-RAMdisk location:

```plaintext
nano /DietPi/config.txt

```

Then add accordingly:

```plaintext
decode_MPG2=0000000000

decode_WVC1=0000000000

```

If you’ve already done this, let me know and we’ll look into it.

---

<div class="post-metadata">

### Author: ![babette](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/c89c15/32.png) [@babette](https://dietpi.com/forum/u/babette)
#### Post date: [14 February 2017 19:44 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/3 "2017-02-14T19:44:18Z")

</div>

Thank you for the help codes are enabled, but onfortenately I still cannot play ISO files in kodi 15.2  
How can I arrange this?

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [15 February 2017 12:56 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/4 "2017-02-15T12:56:48Z")

</div>

> [@babette](#):
>
> Thank you for the help codes are enabled, but onfortenately I still cannot play ISO files in kodi 15.2  
> How can I arrange this?

Hi,

Do the codecs return any results when probed?

```plaintext
vcgencmd codec_enabled MPG2
vcgencmd codec_enabled WVC1

```

[http://wiki.openelec.tv/index.php/Config.txt#Check\_If\_The\_Keys\_Are\_Enabled](http://wiki.openelec.tv/index.php/Config.txt#Check_If_The_Keys_Are_Enabled)

---

<div class="post-metadata">

### Author: ![babette](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/c89c15/32.png) [@babette](https://dietpi.com/forum/u/babette)
#### Post date: [15 February 2017 15:41 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/5 "2017-02-15T15:41:29Z")

</div>

Both mentioned enabled

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [15 February 2017 18:52 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/6 "2017-02-15T18:52:58Z")

</div>

> [@babette](#):
>
> Both mentioned enabled

> ISO files

DVD iso?

---

<div class="post-metadata">

### Author: ![babette](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/b/c89c15/32.png) [@babette](https://dietpi.com/forum/u/babette)
#### Post date: [15 February 2017 19:14 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/7 "2017-02-15T19:14:27Z")

</div>

Yes dvd iso and blu-ray iso

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [20 February 2017 15:04 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/8 "2017-02-20T15:04:31Z")

</div>

> [@babette](#):
>
> Yes dvd iso and blu-ray iso

Thanks.

I’ve created a ticket, will purchase codecs and try to replicate the issue:  
[https://github.com/Fourdee/DietPi/issues/771](https://github.com/Fourdee/DietPi/issues/771)

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [23 February 2017 17:06 UTC](https://dietpi.com/forum/t/mpg2-wvc1-codec/995/9 "2017-02-23T17:06:53Z")

</div>

Hi,

DVD.iso test file worked for me in Kodi:  
[https://github.com/Fourdee/DietPi/issues/771#issuecomment-282054530](https://github.com/Fourdee/DietPi/issues/771#issuecomment-282054530)

> Both mentioned enabled

if the following report enabled, it may be an issue with your DVD/Blueray iso, possibly incompatible format?

```plaintext
root@DietPi:~# vcgencmd codec_enabled MPG2
MPG2=enabled
root@DietPi:~# vcgencmd codec_enabled WVC1
WVC1=enabled

```

Either way, please try the DVD test iso and see if that works for you.  
[http://www.deniscarl.com/dvdtest/videotest.zip](http://www.deniscarl.com/dvdtest/videotest.zip)
