-
Notifications
You must be signed in to change notification settings - Fork 192
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
Unable to transcode EAC3 audio #93
Comments
Not sure if this is true, but this very old comment indicated that at one point in time EAE looked to be hardcoded to use /tmp - https://github.com/wnielson/Plex-Remote-Transcoder/blob/master/prt.py#L324 |
Try adding the environment variable TMPDIR to the container and point it to /transcode |
I couldn't get the TMPDIR to work but forcing the /tmp to be mounted to the same pvc as the transcode did the trick for me. Also had to edit the shim to spin up the transcode pod with the same /tmp being mapped to the transcode pvc and it works like a champ. |
This is exactly what I was trying to do however I couldn't figure out how to hack it in. Still learning on how the shim part works and what/where to edit to tell it to use the Transcode PVC. |
@typeon3g I can give you my compiled shim and the config i used to get the deployment and replica set up and running. it might take a little tweeking to get right as i am using some distributed storage for my volumes but it should be pretty simple ifn you trust me ;) |
The shim was easy to make a change to here is the diff:
Where my changes to the deployment.yaml are here. I left the old copy of the kube-plex to /shared but i replaced the location to pull from to my downloads mount . I am also including the UID and GID changes because why not.
|
I'm having trouble and I think I'm a bit out of my depths. Where is the configuration of the transcode pods held or defined? I'd liek to try some things to try and get the EasyAudioEncoder to work as it's trying to do things in /tmp on both the PMS instance and the transcode pods. It's not using /transcode for the audio.
For some context here are the errors in the plex console.
Job running: EAE_ROOT='/tmp/pms-d4a0cd44-31b5-42a2-8b7b-87235833786c/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/99c90e0-3084-linux-x86_64/' XDG_CACHE_HOME='/config/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'h264' '-codec:2' 'eac3_eae' '-eae_prefix:2' 'rnft5v12sq8x7ate39hmdnrz_' '-ss' '0' '-noaccurate_seek' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/data/Video/TV/Show.mkv' '-filter_complex' '[0:2] aresample=async=1:ocl='\''stereo'\'':osr=48000[0]' '-map' '0:0' '-metadata:s:0' 'language=eng' '-codec:0' 'copy' '-map' '[0]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-b:1' '256k' '-f' 'dash' '-seg_duration' '5' '-init_seg_name' 'init-stream$RepresentationID$.m4s' '-media_seg_name' 'chunk-stream$RepresentationID$-$Number%05d$.m4s' '-window_size' '5' '-delete_removed' 'false' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/rnft5v12sq8x7ate39hmdnrz/78be1816-19e6-4190-a0d7-f67eb0e7e87a/manifest?X-Plex-Http-Pipeline=infinite' '-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/rnft5v12sq8x7ate39hmdnrz/78be1816-19e6-4190-a0d7-f67eb0e7e87a/progress'
and then
[Transcoder] [eac3_eae @ 0x1be8300] EAE watchfolder is not writable: /tmp/pms-d4a0cd44-31b5-42a2-8b7b-87235833786c/EasyAudioEncoder/Convert to WAV (to 8ch or less)/rnft5v12sq8x7ate39hmdnrz_1-0-test.tmp
I'm happy to hack at this on my own however I don't know where to begin.
The text was updated successfully, but these errors were encountered: