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

Option to disable transcoding, atleast video transcoding. #71

Open
Premicheal opened this issue Jan 30, 2024 · 6 comments
Open

Option to disable transcoding, atleast video transcoding. #71

Premicheal opened this issue Jan 30, 2024 · 6 comments

Comments

@Premicheal
Copy link

I have a mini pc setup to run stremio-service, if any client that cannot support the native format connects, the server goes to 90% cpu load and all streams lag. Is there anyway to turn off transcoding since servers without hw accelerations won't be able to do much anyway, especially arm ones. My apologies if I have missed something.

@TRtomasz
Copy link
Member

If you disable it you will not be able to play the stream so there is no point in this.

@Premicheal
Copy link
Author

Premicheal commented Jan 30, 2024

Oh. Something like my setup on Jellyfin where remuxing and audio transcoding is allowed but video stream re-encoding / transcoding is restricted would also be impossible?

@TRtomasz
Copy link
Member

@jaruba will have to answer

@hyperion4
Copy link

hyperion4 commented Apr 8, 2024

If you disable it you will not be able to play the stream so there is no point in this.

Reasons of transcoding in plex/emby/jellyfin servers.

  1. You want to save your upload bandwidth and you "send" from your plex/emby server to your phone a 720p instead of your 4k video file.
  2. You have people who use your server and you don't want them to use the 4k video file you have, you don't want to upload that big files.
  3. You want to watch to your browser and the browser doesn't support the video codec, for example hevc.

I don't think 1 or 2 are case scenarios for Stremio.

The 3rd reason.. today all browsers have support for hardware hevc decoding.
They have added support the last 2 years. So it is very possible your browser to be capable to play hevc if your GPU supports it.
I personally have disabled in my emby server video transcoding because my browsers can play everything including hevc.

Unfortunately Stremio service insists to transcode hevc to h264 with ffmpeg even if my browser supports hardware hevc decoding.
Emby does the same and transcodes hevc to h264, but it has the option to disable video transcoding and let the browser to try and play hevc itself.

@aayushrautela
Copy link

Yes, it would make stremio server on low end server useful. Most other devices can play h265.

@AlvaroRojas
Copy link

This would be very usefull for ARM based servers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants