I have PMS running on Raspberry PI 2!

@francegue said:

@uglymagoo said:
So guys, it has been an interesting and fun year for me and I think @elan and this folks have done an amazing job bringing essentially all of the PMS features to ARM devices (e.g. soft subtitles, optimize and transcoding). It’s also time to thank all the supporters, contributors and bug reporters in this thread. I hope with release 1.0.0 that I pushed earlier this Friday to my repo most of the recent bugs are gone. Have fun and enjoy your movies :slight_smile:

Thanks @uglymagoo for your great work!
May I know if this major release is supposed to fix the annoying problem with the transcoder (the “Transcoder have died” error we fixed in the past using the old transcoder coming from version 0.9.14 if I am not wrong)?

Anyway I am upgrading my plex server, I will give you my feedback soon!

Yes, indeed, this error has been fixed.

@uglymagoo
I’m on wheezy trying to get the latest version (1.0.0) of the plexmediaserver, but no success after apt-get update and apt-get upgrade it tells me that I’m the latest version but I am on 0.9.16.6

@uglymagoo said: This command fails and that’s definitively a network error: curl --progress-bar -o readynas.deb https://downloads.plex.tv/plex-media-server/1.0.0.2261-a17e99e/plexmediaserver-ros6-binaries-annapurna_1.0.0.2261-a17e99e_armel.deb. >

When I ran this command it works, PMS is installed and running again. Thank you very much for the help and thank you for all your hard work on this.

@putoguiri make sure your pms.list file has jessie instead of wheezy. Then you can try being explicit and reinstall:

apt-get install -t jessie plexmediaserver --reinstall

@uglymagoo said:

@awkman said:
Since I installed Plex version 0.9.17.2 this trick doesn’t work anymore (aslo with version 1.0.0.2261 doesn’t). Has anybody had this problem too?

That hack is not required anymore, at least not with a Raspberry Pi 2/3 and similar devices. Transcoding is just supported. What’s your device? Do you use my repo or do you manually install PMS? In the second case, do you use the “Netgear ARM 6.x RN2xx” build as recommended?

Sorry for the late reply uglymagoo.
I am using a Odroid XU-4 with Ubuntu 15 (which is also armv7). To install Plex, I download the version in the section NAS->Sinology->Armv7, make the deb package and install. I have seen that the instructions to do this are the same for the Raspberry Pi (from femtronic.com/plex.html and htpcguides.com/install-plex-media-server-on-odroid-lubuntu-and-debian/), so it should work the same way as the Raspberry (Actually, after re-reading the hptcguides webpage I see it is thanking you directly!!)

@awkman This instructions are really old and do no longer apply (e.g. we switched to a Netgear build, Synology is no longer used). The simple way is to use my Debian repository (see my signature). If you prefer the manual way you can use the updated tutorial on htpcguides.com. Yes, these tutorials are written for the RPi 2/3 but will work with any ARMv7 (and ARMv8) device running Debian or Ubuntu.

Thank you very much @uglymagoo .
I’ll erase and reinstall Plex using your instructions.
I suppose this explains why nobody had ran into this bug I posted here: forums.plex.tv/discussion/222093/plex-media-server-start-script-bugs

@blindpet said:
@putoguiri make sure your pms.list file has jessie instead of wheezy. Then you can try being explicit and reinstall:

apt-get install -t jessie plexmediaserver --reinstall

Thank you for your help.

my pms.list contents are:

Plex

deb http://dev2day.de/pms/ jessie main

Still no luck even with the reinstall, it just reinstalls 0.9.16 again

@putoguiri If I look at the packages on my machine I see:

aclark@bristlenose 0 ~ $ dpkg -l | grep plexmediaserver
ii  plexmediaserver                       0.9.16.4.1911-ee6e505-2~jessie            all          Dummy package for Plex Media Server for Linux
ii  plexmediaserver-installer             1.0.0.2261-a17e99e-1~jessie               armhf        Plex Media Server for Linux

What happens if you install plexmediaserver-installer instead?

@ajfclark said:
@putoguiri If I look at the packages on my machine I see:

aclark@bristlenose 0 ~ $ dpkg -l | grep plexmediaserver
ii  plexmediaserver                       0.9.16.4.1911-ee6e505-2~jessie            all          Dummy package for Plex Media Server for Linux
ii  plexmediaserver-installer             1.0.0.2261-a17e99e-1~jessie               armhf        Plex Media Server for Linux

What happens if you install plexmediaserver-installer instead?

It also tells me that it is on the newest version.

dpkg -l | grep plexmediaserver
ii plexmediaserver 0.9.16.4.1911-ee6e505-2~jessie all Dummy package for Plex Media Server for Linux
ii plexmediaserver-installer 0.9.16.6.1993-5089475-1~jessie armhf Plex Media Server for Linux

But a

apt-get install -t jessie plexmediaserver-installer --reinstall

finally fixed the issue.

Thank you so much @ajfclark and @blindpet for pointing me in the right direction.

Since upgrading to 1.0.0.2261 I’ve been having issues playing some media via a Chromecast. The file used to work fine and still does to a browser. Looking on the server, I see a single transcoder process running.

Streaming to web:

aclark@bristlenose 0 ~ $ ps -ef | grep [T]ranscoder
plex     15562  3494 97 09:32 ?        00:00:19 /usr/lib/plexmediaserver/Resources/Plex Transcoder -codec:0 h264 -codec:1 ac3 -noaccurate_seek -i [media].mkv -map 0:0 -metadata:s:0 language=eng -codec:0 copy -map 0:1 -metadata:s:1 language=eng -codec:1 aac -ar:1 48000 -channel_layout:1 stereo -b:1 256k -f matroska -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 - -start_at_zero -copyts -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/ntq5hu5l92qjgsmnr57l7syvi/progress

Streaming to Chromecast:

aclark@bristlenose 0 ~ $ ps -ef | grep [T]ranscoder
plex     15788  3494 85 09:41 ?        00:00:02 /usr/lib/plexmediaserver/Resources/Plex Transcoder -codec:0 h264 -codec:1 ac3 -noaccurate_seek -i [media].mkv -map 0:0 -metadata:s:0 language=eng -codec:0 copy -map 0:1 -metadata:s:1 language=eng -codec:1 aac -ar:1 48000 -channel_layout:1 5.1 -b:1 579k -f matroska -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 - -start_at_zero -copyts -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/fng5oam9w39jh5y3iavtic0udi/progress

So the difference appears to be that the Chromecast is pulling the stream in 5.1 audio? Is there anyway to determine if the Transcoder isn’t keeping up or if the wifi on the Chromecast is at fault?

@ajfclark said:
Since upgrading to 1.0.0.2261 I’ve been having issues playing some media via a Chromecast. The file used to work fine and still does to a browser. Looking on the server, I see a single transcoder process running.

So the difference appears to be that the Chromecast is pulling the stream in 5.1 audio? Is there anyway to determine if the Transcoder isn’t keeping up or if the wifi on the Chromecast is at fault?

There appears to be a problem with the efficiency of the AC3 decoder or AAC encoder since 0.9.17.0. In the mean time, copy /usr/lib/plexmediaserver/Resources/Profiles/Chromecast.xml to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Profiles/Chromecast.xml and change the upper bound of the audio channels to 2. This bug was already submitted to the Plex devs in the Synology thread. You could also just enable AC3 passthrough for your Chromecast in this profile.

@uglymagoo said:

There appears to be a problem with the efficiency of the AC3 decoder or AAC encoder since 0.9.17.0. In the mean time, copy /usr/lib/plexmediaserver/Resources/Profiles/Chromecast.xml to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Profiles/Chromecast.xml and change the upper bound of the audio channels to 2. This bug was already submitted to the Plex devs in the Synology thread.

This corrects the stuttering.

You could also just enable AC3 passthrough for your Chromecast in this profile.

I’m not quite sure what you mean here? DirectPlay profiles sound like what I wanted. I tried adding:

  <DirectPlayProfiles>
    <VideoProfile container="mkv" codec="h264" audioCodec="ac3" />
  </DirectPlayProfiles>

But it still transcoded to aac and stuttered during playback.

I also tried changing the mkv video profile:

    <VideoProfile protocol="http" container="mkv" codec="h264" audioCodec="ac3,aac,mp3" context="streaming" />

But that just results in no sound. It’s a chromecast 1 if that changes things?

@ajfclark said:
But that just results in no sound. It’s a chromecast 1 if that changes things?

Does your tv / avr support AC3? However, it seams the AC3 support of the Chromecast is somewhat buggy and Plex intentionally disabled it in their profile. So you might just forget my advice here :slight_smile:

If stereo audio is OK for you just stay with the two channel option till they fix the transcoder.

I will update the Chromecast profile in my package accordingly and release an updated version this evening.

Hello,
with version 1.0.0.2261 I’ve a this strange problem with transcoder.
the transcoder in optimize video and in streaming web it use all 4 cpu of raspberry pi3 , but on chromecast it use only 1 cpu.
Can I set something for chromecast?

Hi All,

I updated my Plex server to the latest 1.0.0 version and I have some problems I didn’t have before.
I use Chromecast (from Android or iOS) to cast my videos to the tv and some of them that used to work before the upgrade right now didn’t play smoothly. I mean that they start but after few seconds they stop, then start again and then stop and they continue like this forever.
Before the upgrade to 1.0.0 I replaced the “Plex New Transcoder” binary file with the old transcoder coming from version 0.9.14 and everything was working perfectly.

The only error I see in the log is the following, but I am not really sure it is the cause of the problem:
[…]
Jul 04, 2016 18:32:58.382 [0x624fd400] DEBUG - Killing job.
Jul 04, 2016 18:32:58.382 [0x624fd400] DEBUG - Signalling job ID 29131 with 9
Jul 04, 2016 18:32:58.383 [0x624fd400] DEBUG - Job was already killed, not killing again.
Jul 04, 2016 18:32:58.383 [0x624fd400] DEBUG - Stopping transcode session saij4yuhagvrjgp9xpa2a9k9
Jul 04, 2016 18:32:58.388 [0x654ff400] DEBUG - Universal transcode session finished reading output.
Jul 04, 2016 18:32:58.389 [0x719ff400] ERROR - JobManager: child process killed by signal: 9 (Killed)
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Finished universal transcode output thread
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Resources/Plex Transcoder’ exit code is -9
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Transcode of metadata item failed with exit code -9
Jul 04, 2016 18:32:58.392 [0x654ff400] DEBUG - Streaming Resource: Terminating session 0x1be44f0:y9hpmg85b2c323xr with reason Video conversion failed. The transcoder crashed or failed to start up. Its exit code was -9
[…]

Now I see that under
/usr/lib/plexmediaserver/Resources/
the binary file “Plex New Transcoder” does not exist anymore, I only see a “Plex Transcoder” one.
Do you think I can replace it with the “Plex New Transcoder” one coming from version 0.9.14 as I used to do before the upgrade?
Or do you have any other idea to fix my problem?

Thanks!

Hi All,

I also tried to update my Plex Server to the very latest released but I still have the same problem.
Some videos, that used to play before, start but after few seconds they stop, then start again and then stop and they continue like this forever.

Should I try to replace the “Plex Transcoder” binari with the old “Plex New Transcoder” one coming from version 0.9.14? Or do you see any other possible fix?

Thanks!

@francegue said:
Hi All,

I updated my Plex server to the latest 1.0.0 version and I have some problems I didn’t have before.
I use Chromecast (from Android or iOS) to cast my videos to the tv and some of them that used to work before the upgrade right now didn’t play smoothly. I mean that they start but after few seconds they stop, then start again and then stop and they continue like this forever.
Before the upgrade to 1.0.0 I replaced the “Plex New Transcoder” binary file with the old transcoder coming from version 0.9.14 and everything was working perfectly.

The only error I see in the log is the following, but I am not really sure it is the cause of the problem:
[…]
Jul 04, 2016 18:32:58.382 [0x624fd400] DEBUG - Killing job.
Jul 04, 2016 18:32:58.382 [0x624fd400] DEBUG - Signalling job ID 29131 with 9
Jul 04, 2016 18:32:58.383 [0x624fd400] DEBUG - Job was already killed, not killing again.
Jul 04, 2016 18:32:58.383 [0x624fd400] DEBUG - Stopping transcode session saij4yuhagvrjgp9xpa2a9k9
Jul 04, 2016 18:32:58.388 [0x654ff400] DEBUG - Universal transcode session finished reading output.
Jul 04, 2016 18:32:58.389 [0x719ff400] ERROR - JobManager: child process killed by signal: 9 (Killed)
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Finished universal transcode output thread
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Jobs: ‘/usr/lib/plexmediaserver/Resources/Plex Transcoder’ exit code is -9
Jul 04, 2016 18:32:58.391 [0x654ff400] DEBUG - Transcode of metadata item failed with exit code -9
Jul 04, 2016 18:32:58.392 [0x654ff400] DEBUG - Streaming Resource: Terminating session 0x1be44f0:y9hpmg85b2c323xr with reason Video conversion failed. The transcoder crashed or failed to start up. Its exit code was -9
[…]

Now I see that under
/usr/lib/plexmediaserver/Resources/
the binary file “Plex New Transcoder” does not exist anymore, I only see a “Plex Transcoder” one.
Do you think I can replace it with the “Plex New Transcoder” one coming from version 0.9.14 as I used to do before the upgrade?
Or do you have any other idea to fix my problem?

Thanks!

1.0.1 is available in the preview forum for Plex Pass users only at this moment. I think it fixes at least the embedded subtitle problem.

@uglymagoo said:
1.0.1 is available in the preview forum for Plex Pass users only at this moment. I think it fixes at least the embedded subtitle problem.

I hope they release it soon, Plex has been pretty unusable for a while now.

Does this actually work as described on RPi3 with Berry Boost and a WD PiDrive? I ran these steps and I’m getting the message: Unable to locate page plexmediaserver-installer
Prior to that when ran the apt-get update after the echo command I also received the message that asked if the apt-transport-https package installed.

This is my command history:

1  wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -
2  apt-get update
3  echo "deb https://dev2day.de/pms/ jessie main" >> /etc/apt/sources.list.d/pms.list
4  apt-get update
5  apt-get install plexmediaserver-installer
6  apt-get install apt-transport-https
7  apt-get install plexmediaserver-installer

It is still failing so I’m trying to do a reboot to see if I can finish this setup. Any suggestions or support would be greatly appreciated.