# Issues with transcoding, unable to play media

**URL:** <https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010>\
**Category:** Apps & Creations\
**Created:** [July 14, 2015, 9:32pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010 "2015-07-14T21:32:42Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 14, 2015, 9:32pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/1 "2015-07-14T21:32:42Z")

</div>

Hi all,

there a couple of days that I can’t run some films. The strange thing is that I can run them from another source like a Samsung SmartTV.  
Each time I trying to play these films appear a message “Transcoding: Unknown video codec” after that another message “Unable to play media: please check that this file exists and the neccessary drive is mounted”

I have a Raspberry PI version B with 512Mb, a SDHC class 10 8Gb. The connection is Ethernet. The version of Rasplex is the latest 0.6.0. I have installed RasPlex by disk imager OSX.  
I have followed instruction on GitHub but I can’t get log file, from SSH session is telling me that “rasplex” password is not correct for user “plexuser”  
Version of Plex Server is 0.9.12.3.1173-937aac3  
Type of plex server: NAS on Synology  
Power supply: via usb cable from TV

Thanks all

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 14, 2015, 9:45pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/2 "2015-07-14T21:45:33Z")

</div>

User is root, password is rasplex, please also post details of media file, container, codecs, etc.

Regards

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 17, 2015, 10:27pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/3 "2015-07-17T22:27:08Z")

</div>

Ok I’ve the log. Also the video that I try to play is an avi. The codec I think is MPEG2 and other information I don’t know how to “read” in the file.

I see from log file this two row:

00:05:02 T:1796207696 DEBUG: CPlexTranscoderClientRPi : Codec MPG2 was not found.  
00:05:02 T:1796207696 DEBUG: CPlexTranscoderClientRPi : Codec WVC1 was not found.

What mean ? And why from Samsung SmartTV I haven’t this problem ?

I found also this article:  
[Buy MPEG-2 license](http://www.howtogeek.com/137654/how-to-add-mpeg-2-and-vc-1-video-codec-support-to-your-raspberry-pi/ "howtogeek.com/137654/how-to-add-mpeg-2-and-vc-1-video-codec-support-to-your-raspberry-pi/") It means that I need to buy the license ? Why one or 2 month ago I didn’t have this problem ? I played MPEG-2 file anyway.

Log file: [Pastebin](http://pastebin.com/b1NTwt8H "http://pastebin.com/b1NTwt8H")

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 18, 2015, 12:11am UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/4 "2015-07-18T00:11:57Z")

</div>

> @K4rn4K said:  
> Ok I’ve the log. Also the video that I try to play is an avi. The codec I think is MPEG2 and other information I don’t know how to “read” in the file.
> 
> I see from log file this two row:
> 
> 00:05:02 T:1796207696 DEBUG: CPlexTranscoderClientRPi : Codec MPG2 was not found.  
> 00:05:02 T:1796207696 DEBUG: CPlexTranscoderClientRPi : Codec WVC1 was not found.
> 
> What mean ? And why from Samsung SmartTV I haven’t this problem ?
> 
> I found also this article:  
> [Buy MPEG-2 license](http://www.howtogeek.com/137654/how-to-add-mpeg-2-and-vc-1-video-codec-support-to-your-raspberry-pi/ "howtogeek.com/137654/how-to-add-mpeg-2-and-vc-1-video-codec-support-to-your-raspberry-pi/") It means that I need to buy the license ? Why one or 2 month ago I didn’t have this problem ? I played MPEG-2 file anyway.
> 
> Log file: [Pastebin](http://pastebin.com/b1NTwt8H "http://pastebin.com/b1NTwt8H")

Rasplex has never been able to play MPEG2 files without a licence from [raspberrypi.org](http://raspberrypi.org).

Maybe Samsung pay the licence fee for MPEG2, who knows, Smart TV - £1000 approx, Raspberry Pi - £30 approx!

Regards

---

<div class="post-metadata">

**Author:** ![ethanfel](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@ethanfel](https://forums.plex.tv/u/ethanfel)\
**Post date:** [July 18, 2015, 9:12am UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/5 "2015-07-18T09:12:26Z")

</div>

lower you mpeg-2 streaming quality (force your plex server to transcode) that may work.

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 18, 2015, 5:17pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/6 "2015-07-18T17:17:32Z")

</div>

Ok. Now I purchased (for 5 euros) license for MPEG-2 and WVC1. Rasplex tell me that it find the codec, but the problem still remain. Can you help me ?

Here there is log: [PasteBin](http://pastebin.com/Mc5Z7amL "pastebin.com/Mc5Z7amL")

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 19, 2015, 8:30pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/7 "2015-07-19T20:30:14Z")

</div>

> @ethanfel said:  
> lower you mpeg-2 streaming quality (force your plex server to transcode) that may work.

I did also that but still not working… ☹

---

<div class="post-metadata">

**Author:** ![dlanor](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dlanor/32/4522_2.png) [@dlanor](https://forums.plex.tv/u/dlanor)\
**Post date:** [July 20, 2015, 2:02pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/8 "2015-07-20T14:02:18Z")

</div>

If you’re still using RasPlex 0.6.0, then please try installing or updating to RasPlex 0.7.0 instead.  
For a new install, make sure to download and use the new and improved RasPlex installer.  
Hopefully the new release will eliminate the problems you had.

Best regards: dlanor

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 20, 2015, 2:07pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/9 "2015-07-20T14:07:43Z")

</div>

> @K4rn4K said:  
> Ok. Now I purchased (for 5 euros) license for MPEG-2 and WVC1. Rasplex tell me that it find the codec, but the problem still remain. Can you help me ?
> 
> Here there is log: [PasteBin](http://pastebin.com/Mc5Z7amL "pastebin.com/Mc5Z7amL")

Did you enter the license details in config.txt?

Regards

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 22, 2015, 11:08am UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/10 "2015-07-22T11:08:04Z")

</div>

I’ve updated to Rasplex 0.7.0 and yes I’ve entered license details in config.txt.

The problems still remain. It continue to say “unknown codec”.

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 23, 2015, 3:35pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/11 "2015-07-23T15:35:38Z")

</div>

I tried some tests. One with Force Transcoding Off and one with Force Transcoding On.

Each time I find this string inside log:  
`17:07:39 T:1969602560 INFO: CAESinkALSA - ALSA: /home/dale.hamel/workspace/rasplex/OpenELEC.tv/build.RasPlex-RPi.arm-devel/alsa-lib-1.0.29/src/confmisc.c:392:(snd_func_concat) error evaluating strings 17:07:39 T:1969602560 INFO: CAESinkALSA - ALSA: /home/dale.hamel/workspace/rasplex/OpenELEC.tv/build.RasPlex-RPi.arm-devel/alsa-lib-1.0.29/src/conf.c:4260:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory`  
No such file or directory, what mean ? Which file or directory ? I’m not an expert of OpenELEC.

Also I found this one:  
`17:17:11 T:1602864208 DEBUG: RPi ShouldTranscode decided to transcode, Reason : Unknown video codec : 17:17:11 T:1602864208 DEBUG: CPlexMediaDecisionJob::DoWork Item should be transcoded 17:17:11 T:1602864208 DEBUG: CPlexMediaDecisionJob::DoWork final URL from MDE is plexserver://20ceafd68989c4c5c0a4541c47f88be0cb0a2aef/video/:/transcode/universal/start.mkv?copyts=1&directPlay=0&directStream=1&maxVideoBitrate=20000&mediaIndex=0&path=%2flibrary%2fmetadata%2f9064&protocol=http&session=6c1b0c46-ea73-4b41-a8ec-34353a2df734&videoQuality=100&videoResolution=1920x1080`  
Why is talking about matroska ? the file has an AVI extension and not an MKV.`

Here the log with Transcoding Off: [http://pastebin.com/psxh0Qbn](http://pastebin.com/psxh0Qbn)

Here the log with Transcoding On: [http://pastebin.com/6ECSZPMe](http://pastebin.com/6ECSZPMe)

Also, for user NedtheNerd, I did the command line for verify the license of MPEG:

`RasPlex:~ # vcgencmd codec_enabled MPG2 MPG2=enabled RasPlex:~ # vcgencmd codec_enabled WVC1 WVC1=enabled`

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [July 25, 2015, 3:18pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/12 "2015-07-25T15:18:32Z")

</div>

Has anyone an idea how to solve ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [July 25, 2015, 3:59pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/13 "2015-07-25T15:59:59Z")

</div>

It’s being looked at.

Regards

---

<div class="post-metadata">

**Author:** ![K4rn4K](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/k4rn4k/32/110036_2.png) [@K4rn4K](https://forums.plex.tv/u/K4rn4K)\
**Post date:** [August 1, 2015, 8:38pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/14 "2015-08-01T20:38:08Z")

</div>

Any news ?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 1, 2015, 9:07pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/15 "2015-08-01T21:07:01Z")

</div>

No.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 12, 2015, 9:38am UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/16 "2015-08-12T09:38:47Z")

</div>

Can you create a 30 second snippet of the problem movie and post a link to it.

Regards

---

<div class="post-metadata">

**Author:** ![Jacqs](https://avatars.discourse-cdn.com/v4/letter/j/e99b99/32.png) [@Jacqs](https://forums.plex.tv/u/Jacqs)\
**Post date:** [January 14, 2017, 2:46pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/17 "2017-01-14T14:46:53Z")

</div>

Same problem here, only for some videos. I have no problem in de android app or in the windows plex player.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 8, 2020, 7:01pm UTC](https://forums.plex.tv/t/issues-with-transcoding-unable-to-play-media/108010/18 "2020-01-08T19:01:14Z")

</div>


