Skip to content
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

Optimized Versions #127

Closed
christianmerges opened this issue Mar 26, 2022 · 5 comments
Closed

Optimized Versions #127

christianmerges opened this issue Mar 26, 2022 · 5 comments
Labels
enhancement New feature or request stale Issue has been inactive for more than 30 days

Comments

@christianmerges
Copy link

When I try to generate optimized versions, only one movie is processed at once. Is it possible to let the worker do this job and for an example in idle time, let all the workers prepare optimized versions for movies?

@christianmerges christianmerges added the enhancement New feature or request label Mar 26, 2022
@christianmerges
Copy link
Author

I found a function to put more videos in the que, but it always failed with error, plex was unable to write to the harddisk. Anyway start optimization for only one movie works.

I mounded codecs directory, but it is empty. Maybe this is the issue.

in the console of the worker i have:

Codec libyop_decoder.so does not exist. Downloading... --2022-03-27 19:46:38-- https://downloads.plex.tv/codecs/62cc2bc-4278/linux-x86_64-standard/libyop_decoder.so Connecting to downloads.plex.tv (downloads.plex.tv)|188.114.96.128|:443... connected. Resolving downloads.plex.tv (downloads.plex.tv)... 188.114.96.128, 2a06:98c1:3122:8000:: HTTP request sent, awaiting response... 200 OK Length: 74008 (72K) [application/octet-stream] libyop_decoder.so: Permission denied Cannot write to ‘libyop_decoder.so’ (Success).

Why is the last line with the error, responding "Success"?

@christianmerges
Copy link
Author

OK i fixed codec download by changing permission of codecs folder to 777

@pabloromeo
Copy link
Owner

Yes! It would be amazing if Plex supported that.
We could take way more advantage of parallel workers
I even posted it on https://forums.plex.tv/t/optimize-transcode-content-in-parallel/547731
Unfortunately I haven't found a way to get Plex to actually process multiple items from the queue simultanously, even when there are plenty of resources to do so with multiple workers. Plex seems to be hardcoded to only support one at a time :(

You can have workers doing playback transcoding and another worker optimizing content, but that's about as far as Plex seems to support unfortunately.

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Issue has been inactive for more than 30 days label Apr 29, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Issue has been inactive for more than 30 days
Projects
None yet
Development

No branches or pull requests

2 participants