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

feature request: Add an option to stream only if transcoding isn't needed #129

Open
2 of 3 tasks
sin3point14 opened this issue Sep 16, 2024 · 2 comments
Open
2 of 3 tasks
Labels
Milestone

Comments

@sin3point14
Copy link
Sponsor

Checklist

  • I checked that this feature has not been requested before
  • I checked that this feature is not in the "Not planned" list
  • This feature will benefit the majority of users

Problem Description / Use Case

I have a NAS that has a super old CPU(pentium 4). I am hosting seanime on it. The machine is good enough to serve multiple web servers but nowhere close to handling transcoding. I tried playing with the Media streaming settings and I see that if codec isn't supported by the browser, it starts to transcode, killing my poor CPU.

image
image

Proposed Solution

Judging by the logs seanime can already detect the need to transcode. So can we add a button to the Media streaming page called Enable transcoding. Turning off would disable transcoding entirely and maybe inform the user to use an external player. Hopefully it shouldn't be too hard to implement and if you accept contributions I can also try implementing this?

Additionally(I don't know if this is even posssible but...) Can we add an option to filter to filter the torrents by the file types? Streaming with mkv seems to be a problem so I can then filter mp4 torrents. Looking at https://animetosho.org/view/erai-raws-kami-no-tou-ouji-kikan-01.n1842682 the File Name (Size) section seems to indicate the extension: .mkv.

@sin3point14 sin3point14 added the feature request New feature or request label Sep 16, 2024
@5rahim
Copy link
Owner

5rahim commented Sep 16, 2024

Judging by the logs seanime can already detect the need to transcode. So can we add a button to the Media streaming page called Enable transcoding. Turning off would disable transcoding entirely and maybe inform the user to use an external player. Hopefully it shouldn't be too hard to implement and if you accept contributions I can also try implementing this?

I could add a Direct play only setting in a future release.

Additionally(I don't know if this is even posssible but...) Can we add an option to filter to filter the torrents by the file types? Streaming with mkv seems to be a problem so I can then filter mp4 torrents.

I don't see the utility as

  1. Almost all recent anime media files use the mkv container
  2. You can already check the file extension before starting a stream
  3. Restricting to direct play only makes it useless

@sin3point14
Copy link
Sponsor Author

I could add a Direct play only setting in a future release.

🎉

I don't see the utility as

Almost all recent anime media files use the mkv container
You can already check the file extension before starting a stream
Restricting to direct play only makes it useless

yeah that's fine though its unfortunate that an open standard file format and related codecs aren't supported by major browsers :(

@5rahim 5rahim added this to the v2.2.0 milestone Sep 17, 2024
5rahim added a commit that referenced this issue Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Review
Development

No branches or pull requests

2 participants