-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get PRT to work on PMS 1.0.2.2413 #32
Comments
In case it's needed, here is the contents of the ~/.prt.conf file: { |
Did you set your |
Good catch! I set it, and I still get an error, with this output:
|
What errors do you see in the |
|
It seems like the transcoder is bombing out on the
|
|
Try again with verbose logging enabled:
|
plex@transcoder:/home/tyrone/tmp/plex-transcode-vpi6uq55a3n-4afbb772-4f1e-49b3-81b3-d0ce505f19f3$ prt_local -codec:0 h264 -codec:1 dca -noaccurate_seek -i '/home/tyrone/data/Media/Movies/Matrix Reloaded, The (2003)1080p/The Matrix Reloaded.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 768k -segment_format mpegts -f segment -flags -global_header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -nostats -loglevel verbose -loglevel_plex verbose -progressurl http://10.0.1.99:32400/video/:/transcode/session/vpi6uq55a3n/progress |
Rescanning for external libs: '/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ecd8c57-1099-linux-ubuntu-x86_64/' This directory is available on the Master, but the Slave can't access it, /var/lib/plexmediaserver/Library/Application\ Support/ is accessible, but /Plex\ Media\ Server is a broken symlink. I added a new export to fix that and now get: plex@transcoder:/home/tyrone/tmp/plex-transcode-vpi6uq55a3n-4afbb772-4f1e-49b3-81b3-d0ce505f19f3$ prt_local -codec:0 h264 -codec:1 dca -noaccurate_seek -i '/home/tyrone/data/Media/Movies/Matrix Reloaded, The (2003)1080p/The Matrix Reloaded.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 768k -segment_format mpegts -f segment -flags -global_header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -nostats -loglevel verbose -loglevel_plex verbose -progressurl http://10.0.1.99:32400/video/:/transcode/session/vpi6uq55a3n/progress |
I just stood up a second slave and am getting the same results on it. :( |
This error
means that the transcoder can't find a shared library. You need to make sure to set the
|
Strange... libiconv.so.2 is in /usr/lib/plexmediaserver and running those export commands didn't change the outcome. plex@transcoder02:/usr/lib/plexmediaserver$ ls |
Here what I get without setting
And here it is with:
|
I get the same thing here...
|
Great, so now try running
|
plex@transcoder02:/usr/lib/plexmediaserver$ prt_local -codec:0 h264 -codec:1 dca -noaccurate_seek -i '/home/tyrone/data/Media/Movies/Matrix Reloaded, The (2003)1080p/The Matrix Reloaded.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 768k -segment_format mpegts -f segment -flags -global_header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -nostats -loglevel verbose -loglevel_plex verbose -progressurl http://10.0.1.99:32400/video/:/transcode/session/vpi6uq55a3n/progress |
Try setting the ffmpeg environmental variable:
|
That changed this a little bit...
|
Plex is doesn't seem to be able to recognized the h264 encoder. See this thread for a possible fix? |
I added Contents and permissions of the 2 directories under /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/ /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/ecd8c57-1099-linux-ubuntu-x86_64 364 -rw-r--r-- 1 plex plex 370472 Jul 18 18:52 libaac_decoder.so /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/2c361e4-1071-linux-ubuntu-x86_64 364 -rw-r--r-- 1 plex plex 370440 Jul 4 21:40 libaac_decoder.so |
I'm just posting here to say I had this same problem on my recent slave installation.
My Library/Application Support/Plex Media Server/Codecs/XXXXX sub-directory was empty |
I am running PMS Version 1.0.2.2413 and have installed PRT 0.3.2 and am not able to get PRT to transcode a movie for me.
I can SSH into the slave from the master with no password.
I have confirmed the mounts and the ability for the slave to write to the shared /tmp directory.
Running prt get_cluster_load gives the following:
$ prt get_cluster_load
Cluster Load
10.0.1.110: 0.00%, 0.08%, 0.42%
Looking at the error I get in the PRT.log (bolded below), it appears as though the slave is being instructed to use the "Plex Transcoder", rather than "plex_transcoder". Also, the ssh command is referencing the master's IP, not the slaves. This is likely just me not understanding how the flow is supposed to work, but I wanted to point it out.
When I try to load a movie, I get the following error in the PRT.log:
2016-08-03 15:09:12,585 - prt - DEBUG - Getting load for host '10.0.1.110'
2016-08-03 15:09:12,909 - prt - DEBUG - Log for '10.0.1.110': [0.0, 0.0833333333333, 0.416666666667]
2016-08-03 15:09:12,909 - prt - INFO - Host with minimum load is '10.0.1.110'
2016-08-03 15:09:12,909 - prt - INFO - Using transcode host '10.0.1.110'
2016-08-03 15:09:12,909 - prt - INFO - Launching transcode_remote with args ['ssh', u'[email protected]', '-p', u'22', u"export LC_CTYPE=en_CA.UTF-8;export LESSOPEN=| /usr/bin/lesspipe %s;export LOGNAME=plex;export USER=plex;export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games;export HOME=/var/lib/plexmediaserver;export LANG=en_CA.UTF-8;export TERM=xterm-256color;export SHELL=/bin/bash;export LANGUAGE=en_CA:en;export SHLVL=2;export SUDO_USER=tyrone;export USERNAME=root;export XDG_RUNTIME_DIR=/run/user/1000;export SUDO_UID=1000;export XDG_SESSION_ID=1;export =/usr/lib/plexmediaserver/Resources/Plex Transcoder;export SUDO_COMMAND=/bin/su;export SUDO_GID=1000;export LESSCLOSE=/usr/bin/lesspipe %s %s;export OLDPWD=/home/tyrone/Plex-Remote-Transcoder;export PWD=/var/lib/plexmediaserver;export MAIL=/var/mail/plex;export LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36:;export PRT_ID=e8d20c7659c611e698fed43d7edf724c;cd /var/lib/plexmediaserver;prt_local -codec:0 h264 -codec:1 dca -noaccurate_seek -i '/home/tyrone/data/Media/Movies/AVP Alien vs. Predator (2004)1080p/AVP Alien vs. Predator.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 768k -segment_format mpegts -f segment -flags -global_header -segment_time 10 -segment_start_number 0 -segment_copyts 1 -segment_time_delta 0.0625 -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 media-%05d.ts -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://10.0.1.99:32400/video/:/transcode/session/ass2ggw0n5n/progress"]
2016-08-03 15:09:13,301 - prt - INFO - Transcode stopped on host '10.0.1.110'
Any help or ideas gratefully accepted.
Thanks in advance!
The text was updated successfully, but these errors were encountered: