I have PMS running on Raspberry PI 2!

@uglymagoo Thks for the reply. However, when setting the quality to ’ 1.5M , 480p ’ , and the subtitles burn method to image only, the transcoder seems to be crashing as well (see debug below)

Any ideas ?

Cheers,

Apr 26, 2016 17:23:28 [0x6affd400] INFO - [Transcoder] Input #0, matroska,webm, from ‘/mnt/external_hd/Download2/Complete/tvshows/Game of Thrones/Season 06/Game of Thrones - S06E01 - The Red Woman.mkv’:
Metadata:
encoder : libebml v1.3.0 + libmatroska v1.4.1
creation_time : 2016-04-25 04:20:12
Duration: 00:49:58.27, start: 0.000000, bitrate: 10617 kb/s
Stream #0:0, 4, 1/1000: Video: h264 (High), yuv420p(tv, bt709/unknown/unknown), 1920x1078, SAR 1:1 DAR 960:539, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0:1, 8, 1/1000: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
Apr 26, 2016 17:23:28 [0x689ff400] INFO - [Transcoder] Output #0, segment, to ‘media-%05d.ts’:
Metadata:
plex.duration : 2998.27
plex.total_duration: 2998.27
encoder : Lavf56.36.100
Stream #0:0, 0, 1/90000: Video: h264 (libx264), yuv420p, 720x404 [SAR 1616:1617 DAR 960:539], q=-1–1, max. 1500 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
Metadata:
encoder : Lavc56.41.100 libx264
Stream #0:1, 0, 1/90000: Audio: aac, 48000 Hz, stereo, fltp, 193 kb/s (default)
Metadata:
encoder : Lavc56.41.100 aac
Apr 26, 2016 17:23:30 [0x693ff400] WARN - Transcode runner appears to have died.
Apr 26, 2016 17:23:30 [0x693ff400] WARN - Timed out waiting for segment.
Apr 26, 2016 17:23:31 [0x69dff400] WARN - Transcode runner appears to have died.
Apr 26, 2016 17:23:31 [0x69dff400] WARN - Timed out waiting for segment.

@huy.phamnhu said:
hi, me again :smiley:
do you have any idea on how to bypass the new free-space-requirement? I found it kind of annoying, for example I want to play a 15GB movie with direct play, no transcoding at all but pms still require a minimum free space with size of slightly larger than that movie, otherwise it will show “there was a problem playing this item” error

Not much I can do about that. Just use a larger SD card or external storage for the “transcoder temporary directory”.

@zenmod said:
@uglymagoo Thks for the reply. However, when setting the quality to ’ 1.5M , 480p ’ , and the subtitles burn method to image only, the transcoder seems to be crashing as well (see debug below)

Why don’t you use the unlimited quality setting? Nevertheless, there appears to be a problem with minibian, as another user here in this thread has the same problem with the transcoder and minibian and utilizes the “old” 0.9.14.6 “New Plex Transcoder” binary . I can only tell you it is working fine with raspbian or bananian.

Edit: I might have some free time this evening to try minibian on my RPi2. I will come back to you later.

@uglymagoo By ‘unlimited quality setting’ you mean use the ‘Original’ selection ? Didn’t get exaclty where to set the quality to ‘Unlimited’ …
Yes. It looks like that minibian could be the root cause… Is there any way to force the installer to get the ‘new’ ‘New Plex Transcoder’ ?

Thx

@uglymagoo can you share your df -h output and /etc/default/plexmediaserver, It may have something to do with the partition sizes. I have transcoding working on Minibian with 700MB file sizes.

My df -h

Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  3.4G  3.7G  48% /
devtmpfs        483M     0  483M   0% /dev
tmpfs           487M  4.0K  487M   1% /dev/shm
tmpfs           487M  6.6M  481M   2% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           487M     0  487M   0% /sys/fs/cgroup
tmpfs           487M  8.0K  487M   1% /tmp
/dev/mmcblk0p1   48M   20M   29M  41% /boot
tmpfs            98M     0   98M   0% /run/user/0

And /etc/default/plexmediaserver

root@raspberrypi:~# cat /etc/default/plexmediaserver
# default script for Plex Media Server

# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6

# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000

# where the mediaserver should store the transcodes
PLEX_MEDIA_SERVER_TMPDIR=/tmp

# uncomment to set it to something else
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=plex

@blindpet Here is mine conf , for comparison purposes :

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       7.3G  3.1G  3.9G  44% /
devtmpfs        483M     0  483M   0% /dev
tmpfs           487M  4.0K  487M   1% /dev/shm
tmpfs           487M   19M  469M   4% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           487M     0  487M   0% /sys/fs/cgroup
/dev/mmcblk0p1   61M   20M   42M  32% /boot
/dev/sda1       917G  611G  260G  71% /mnt/external_hd

$ cat /etc/default/plexmediaserver
# default script for Plex Media Server

# the number of plugins that can run at the same time
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6

# ulimit -s $PLEX_MEDIA_SERVER_MAX_STACK_SIZE
PLEX_MEDIA_SERVER_MAX_STACK_SIZE=3000

# where the mediaserver should store the transcodes
PLEX_MEDIA_SERVER_TMPDIR=/mnt/external_hd/plex_transcode

# uncomment to set it to something else
# PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${HOME}/Library/Application\ Support"

# the user that PMS should run as, defaults to 'plex'
# note that if you change this you might need to move
# the Application Support directory to not lose your
# media library
PLEX_MEDIA_SERVER_USER=plex
`

@zenmod use the code tags: highlight text, click paragraph icon (backwards P) and choose code.

Just for the sake of testing change the temporary directory to /tmp and restart plex, see if the logs spit anything useful out

@blindpet already did it. refresh ur page

@zenmod said:
@uglymagoo By ‘unlimited quality setting’ you mean use the ‘Original’ selection ? Didn’t get exaclty where to set the quality to ‘Unlimited’ …

The iOS Plex App provides “Unlimited, 1080p” as highest option. At least in the German “translation” of the app :slight_smile: In the web frontend it is called “Original”.

thanks @zenmod let us know the logs from using /tmp instead of your hard drive. I’ve sent the prepared Minibian Plex image to @uglymagoo so he can help investigate if he gets the time.

I am able to transcode 720p Elephants_Dream_(2006).DivXHD720p_ASP.avi and Big Buck Bunny 720 XviD 720p

@uglymagoo Ach soo! Ich habe das gar nicht gesehen. Ich Danke dir. :slight_smile:
@blindpet : will do.

Cheers,

@zenmod Can you please tell us what filesystem is used by /dev/sda1? I read about a problem with samba shares and crashed transcoders some time ago. So there appears to be at least the chance the transcoder is picky about the filesystem.

@uglymagoo : Nah, its not the case. I’m using ext4 :

$ mount | grep sda
/dev/sda1 on /mnt/external_hd type ext4 (rw,noatime,data=ordered)

@blindpet said:
thanks @zenmod let us know the logs from using /tmp instead of your hard drive. I’ve sent the prepared Minibian Plex image to @uglymagoo so he can help investigate if he gets the time.

I am able to transcode 720p Elephants_Dream_(2006).DivXHD720p_ASP.avi and Big Buck Bunny 720 XviD 720p

@blindpet : same thing using the /tmp as temp dir for transcoding

Apr 26, 2016 18:28:31 [0x633ff400] WARN - Timed out waiting for segment.
Apr 26, 2016 18:28:32 [0x6e4ff400] WARN - Transcode runner appears to have died.
Apr 26, 2016 18:28:32 [0x6e4ff400] WARN - Timed out waiting for segment.

Just to add more info, now with the DEBUG enabled and enforcing 1.5M, 480p on the client (iOS) settings (see below).

Apr 26, 2016 21:02:40 [0x720ff400] DEBUG - Completed: [189.40.72.243:2354] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/index.m3u8 (7 live) TLS GZIP 208ms 1386 bytes 200 (pipelined: 2)
Apr 26, 2016 21:02:40 [0x696fd400] INFO - [Transcoder] Output #0, segment, to 'media-%05d.ts':
  Metadata:
    plex.duration   : 2998.27
    plex.total_duration: 2998.27
    encoder         : Lavf56.36.100
    Stream #0:0, 0, 1/90000: Video: h264 (libx264), yuv420p, 720x404 [SAR 1616:1617 DAR 960:539], q=-1--1, max. 1500 kb/s, 23.98 fps, 90k tbn, 23.98 tbc (default)
    Metadata:
      encoder         : Lavc56.41.100 libx264
    Stream #0:1, 0, 1/90000: Audio: aac, 48000 Hz, stereo, fltp, 193 kb/s (default)
    Metadata:
      encoder         : Lavc56.41.100 aac
Apr 26, 2016 21:02:40 [0x671ff400] DEBUG - Request: [127.0.0.1:59316] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?width=720&height=404 (8 live)
Apr 26, 2016 21:02:40 [0x68efd400] DEBUG - Request: [189.40.72.243:2365] GET /transcode/sessions (8 live) TLS GZIP
Apr 26, 2016 21:02:40 [0x671ff400] DEBUG - We want 7 segments ahead, last returned was -1 and max is -1.
Apr 26, 2016 21:02:40 [0x671ff400] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Apr 26, 2016 21:02:40 [0x68efd400] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 26, 2016 21:02:40 [0x68efd400] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 26, 2016 21:02:40 [0x728ff400] DEBUG - Completed: [127.0.0.1:59316] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?width=720&height=404 (8 live) 5ms 289 bytes 206
Apr 26, 2016 21:02:40 [0x68efd400] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - Request: [189.40.72.243:2352] GET /:/timeline?duration=2998290&key=/library/metadata/594&playQueueItemID=777&ratingKey=594&state=buffering&time=0 (8 live) TLS GZIP
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 26, 2016 21:02:40 [0x720ff400] DEBUG - Completed: [189.40.72.243:2365] GET /transcode/sessions (8 live) TLS GZIP 27ms 544 bytes 200 (pipelined: 17)
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - Client [76226A76-3DDB-4BD9-9188-B0FFF3DBAA30] reporting timeline state buffering, progress of 0/2998290ms for guid=, ratingKey=594 url=, key=/library/metadata/594, containerKey=, metadataId=594
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - [Now] User is zenmod (ID: 1)
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - [Now] Device is iOS (iPhone).
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - [Now] Profile is iOS
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - [Now] Updated play state for /library/metadata/594.
Apr 26, 2016 21:02:40 [0x6d1ff400] DEBUG - Statistics: (76226A76-3DDB-4BD9-9188-B0FFF3DBAA30) Reporting active playback in state 2 of type 4 (scrobble: 0) for account 1
Apr 26, 2016 21:02:40 [0x720ff400] DEBUG - Completed: [189.40.72.243:2352] GET /:/timeline?duration=2998290&key=/library/metadata/594&playQueueItemID=777&ratingKey=594&state=buffering&time=0 (8 live) TLS GZIP 21ms 158 bytes 200 (pipelined: 11)
Apr 26, 2016 21:02:41 [0x6a6fd400] DEBUG - Request: [189.40.72.243:2356] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00000.ts (9 live) TLS
Apr 26, 2016 21:02:41 [0x6a6fd400] DEBUG - Asked for segment 0 from session.
Apr 26, 2016 21:02:41 [0x686fd400] DEBUG - Request: [127.0.0.1:59317] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?progress=0.0&size=-22&speed=0.8&remaining=3717 (10 live)
Apr 26, 2016 21:02:41 [0x686fd400] DEBUG - We want 7 segments ahead, last returned was -1 and max is -1.
Apr 26, 2016 21:02:41 [0x686fd400] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Apr 26, 2016 21:02:41 [0x720ff400] DEBUG - Completed: [127.0.0.1:59317] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?progress=0.0&size=-22&speed=0.8&remaining=3717 (9 live) 5ms 289 bytes 206
Apr 26, 2016 21:02:42 [0x696fd400] DEBUG - Request: [127.0.0.1:59318] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?progress=0.0&size=-22&speed=0.6&remaining=4416 (9 live)
Apr 26, 2016 21:02:42 [0x696fd400] DEBUG - We want 7 segments ahead, last returned was -1 and max is -1.
Apr 26, 2016 21:02:42 [0x696fd400] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Apr 26, 2016 21:02:42 [0x720ff400] DEBUG - Completed: [127.0.0.1:59318] PUT /video/:/transcode/session/5CD75923-C347-4506-9690-2E77805D0059/progress?progress=0.0&size=-22&speed=0.6&remaining=4416 (9 live) 5ms 289 bytes 206
Apr 26, 2016 21:02:42 [0x6a6fd400] WARN - Transcode runner appears to have died.
Apr 26, 2016 21:02:42 [0x6a6fd400] WARN - Timed out waiting for segment.
Apr 26, 2016 21:02:42 [0x720ff400] DEBUG - Completed: [189.40.72.243:2356] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00000.ts (9 live) TLS 1312ms 251 bytes 404
Apr 26, 2016 21:02:43 [0x671ff400] DEBUG - Request: [189.40.72.243:2359] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00001.ts (7 live) TLS
Apr 26, 2016 21:02:43 [0x671ff400] DEBUG - Asked for segment 1 from session.
Apr 26, 2016 21:02:43 [0x671ff400] WARN - Transcode runner appears to have died.
Apr 26, 2016 21:02:43 [0x671ff400] WARN - Timed out waiting for segment.
Apr 26, 2016 21:02:43 [0x728ff400] DEBUG - Completed: [189.40.72.243:2359] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00001.ts (7 live) TLS 106ms 251 bytes 404
Apr 26, 2016 21:02:43 [0x718ff400] DEBUG - Request: [189.40.72.243:2363] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00002.ts (7 live) TLS
Apr 26, 2016 21:02:43 [0x718ff400] DEBUG - Asked for segment 2 from session.
Apr 26, 2016 21:02:43 [0x718ff400] WARN - Transcode runner appears to have died.
Apr 26, 2016 21:02:43 [0x718ff400] WARN - Timed out waiting for segment.
Apr 26, 2016 21:02:43 [0x728ff400] DEBUG - Completed: [189.40.72.243:2363] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00002.ts (7 live) TLS 106ms 251 bytes 404
Apr 26, 2016 21:02:44 [0x68efd400] DEBUG - Request: [189.40.72.243:2361] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00003.ts (8 live) TLS
Apr 26, 2016 21:02:44 [0x68efd400] DEBUG - Asked for segment 3 from session.
Apr 26, 2016 21:02:44 [0x68efd400] WARN - Transcode runner appears to have died.
Apr 26, 2016 21:02:44 [0x68efd400] WARN - Timed out waiting for segment.
Apr 26, 2016 21:02:44 [0x728ff400] DEBUG - Completed: [189.40.72.243:2361] GET /video/:/transcode/universal/session/5CD75923-C347-4506-9690-2E77805D0059/base/00003.ts (7 live) TLS 106ms 251 bytes 404

Hi all @uglymagoo @zenmod . First of all i’m sorry for my bad english :frowning:
Finally my new raspberry pi3 is arrived: i have installed and upgraded raspbian jessie (ver 8).
I have installed plex server with “apt-get install plexmediaserver-installer” and the installation gone fine. I have 16gb card, transcoding is written in /tmp folder, my videos are stored in /home/pi/Videos folder. I can stream mp3 files in my iPad (the client) but if i try to stream a movie i obtain “Transcode runner appears to have died” problem. :(( Please see attached log file (plex.log).
What can i do? Le me know if you need other information! Thanks a lot! :-h

@francescorit : im facing the same issue here on my rasp2…still no clue.
I can only stream when using the Unlimited setting in iOS quality, which is
not bad. However, that consumes all my traffic bandwidth when watching plex
over my mobile carrier…so, having the trascoding to do this downscaling
would be very appreciated. Still debugging.

@zenmod in my case if i choose unlimited setting in iOS nothing changes :frowning:
I’m using plex client (unregistered) in my iPad.

@zenmod / all : just for information, I have the exact same problem (Transcode runner appears to have died.). I am using the iOS app streaming to the tv via Chromecast. I have the latest build (plexmediaserver-installer) on Raspbian (so it is not only a problem of minibian)
The only way I found to solve the issue is to replace the “Plex New Transcoder” with the one of the 0.9.14.6 build.
If you need any other info to move on with the investigation, I would be glad to help you :slight_smile:

@zenmod @francesco @francegue you are all using the iOS application.

Can you all please try watching the same video via the web interface instead.