wnielson / Plex-Remote-Transcoder

A distributed transcoding backend for Plex
MIT License
640 stars 59 forks source link

remote transcode fails with plugin HDHR Viewer 2 (1.1.2) #70

Open nydave69 opened 6 years ago

nydave69 commented 6 years ago

When tring to use the plugin HDHR Viewer 2 (1.1.2)

It fails then Launching transcode_remote

2018-03-12 12:52:10,156 - prt - INFO - Launching transcode_remote with args ['ssh', '-tt', '-R', '32400:127.0.0.1:32400', u'plex@192.168.44.32', '-p', u'22', 'export LANG=en_US.UTF-8;export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=\'/var/lib/plexmediaserver/Library/Application Support\';export SHELL=/bin/bash;export FFMPEG_EXTERNAL_LIBS=\'/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/6bd6751-1276-linux-ubuntu-x86_64/\';export XDG_DATA_HOME=/usr/lib/plexmediaserver/Resources/;export X_PLEX_TOKEN=rddo4eWaHaJTzWpa9eRh;export XDG_CACHE_HOME=\'/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/\';export EAE_ROOT=/tmp/pms-c37bf61d-a75d-4f98-b776-c699bdbf4fa2/EasyAudioEncoder;export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver;export PWD=/;export LOGNAME=plex;export USER=plex;export LIBVA_DRIVERS_PATH=/usr/lib/plexmediaserver/dri;export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin;export HOME=/home/plex;export PLEX_MEDIA_SERVER_TMPDIR=/tmp;export LD_LIBRARY_PATH=/usr/lib/plexmediaserver;export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6;export PRT_ID=b39b0f18261511e8a2e4000ec4d4d453;cd /opt/plex/tmp/Transcode/Sessions/plex-transcode-2ax08tcmtsqsehsv66t3qg22-f223d41e-ac09-4595-886a-0cc7d2fa014e;prt_local -codec:V:0 mpeg2video -codec:a:0 ac3 -i http://192.168.13.102:5004/auto/v122 -filter_complex \'[0:V:0]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1]\' -filter_complex \'[0:a:0] aresample=async=1:ocl=\'"\'"\'stereo\'"\'"\':osr=96000[2]\' -map \'[1]\' -codec:0 libx264 -crf:0 21 -maxrate:0 1724k -bufsize:0 3448k -preset:0 veryfast -x264opts:0 subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames:0 \'expr:gte(t,0+n_forced*8)\' -map \'[2]\' -codec:1 aac -b:1 162k -f dash -min_seg_duration 8000000 -skip_to_segment 1 -time_delta 0.0625 -manifest_name http://127.0.0.1:32400/video/:/transcode/session/2ax08tcmtsqsehsv66t3qg22/f223d41e-ac09-4595-886a-0cc7d2fa014e/manifest -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/2ax08tcmtsqsehsv66t3qg22/f223d41e-ac09-4595-886a-0cc7d2fa014e/progress']

tried this a number of times using the same channel, diffrent chaneels etc.. always the same results.
Just doesnt play, buffing, waiting on transcode data.. no time out

Works when Launching transcode_local

2018-03-12 12:47:01,689 - prt - INFO - Launching transcode_local: ['/usr/lib/plexmediaserver/plex_transcoder', '-codec:V:0', 'mpeg2video', '-codec:a:0', 'ac3', '-i', 'http://192.168.13.102:5004/auto/v122', '-filter_complex', '[0:V:0]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1]', '-filter_complex', "[0:a:0] aresample=async=1:ocl='stereo':osr=96000[2]", '-map', '[1]', '-codec:0', 'libx264', '-crf:0', '21', '-maxrate:0', '1724k', '-bufsize:0', '3448k', '-preset:0', 'veryfast', '-x264opts:0', 'subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none', '-force_key_frames:0', 'expr:gte(t,0+n_forced*8)', '-map', '[2]', '-codec:1', 'aac', '-b:1', '162k', '-f', 'dash', '-min_seg_duration', '8000000', '-skip_to_segment', '1', '-time_delta', '0.0625', '-manifest_name', 'http://127.0.0.1:32400/video/:/transcode/session/14hfrn8bg7crzuofnmvo3o4d/1f7b31a2-2d24-49eb-9f45-b5c9f3470722/manifest', '-avoid_negative_ts', 'disabled', '-map_metadata', '-1', '-map_chapters', '-1', 'dash', '-start_at_zero', '-copyts', '-vsync', 'cfr', '-y', '-nostats', '-loglevel', 'verbose', '-loglevel_plex', 'verbose', '-progressurl', 'http://127.0.0.1:32400/video/:/transcode/session/14hfrn8bg7crzuofnmvo3o4d/1f7b31a2-2d24-49eb-9f45-b5c9f3470722/progress']