-
Notifications
You must be signed in to change notification settings - Fork 54
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
Make it possible to play unsupported video codecs #1207
Comments
I see what you mean ;-) A word of caution though. My first thought appart from this, was to offload the task to a mature standalone server, also capable of using GPUs, and providing an IN/OUT API for nextcloud. The vast amount of combinations in containers and codecs regarding web delivery also seems to me a very standalone project idea. |
I think the memories app has the pssibility to transcode videos on the fly. So maybe we could have a look at the app how they are doing it which sounds like the best approach to me. |
IIRC ffmpeg as a subprocess of php would limit to 1 thread. |
The memories app features on-the-fly transcoding now |
Done via php and ffmpeg btw |
No, the transcoder is written in go IIRC: |
IMO this is about much more than supporting other video formats. Note that modern cameraphones don't encode their videos with HLS for streaming, and can produce very large files. Here are some of the other reasons I have in mind:
Recommend:
|
for reference i recommend to also open the research looking at bigger scale applications:
I think this could be something to burn our fingers on. I found multiple projects at first glance, but not the promising one right away, i earlier found trustworthy and mature, Sorry. Mistserver doesn't do GPU, so i would not recommend it as a sole solution (i deliver preencoded multichannel mpeg_ts to mistserver, but thats streaming not VOD) My remarks seem overkill, best wishes |
That's actually how Memories does it - the app downloads go-vod at runtime. In settings you can choose to use an external go-vod over HTTP, specifically so you can separate hardware requirements as necessary. While I agree that there are lots of potential solutions to investigate, given that there's already a Nextcloud-based implementation that offers the all the desired capabilities using Vue, we should focus on leveraging that work. I also created a ticket on Memories to add the option to override the video/photo viewers globally. |
related #330 nextcloud/server#39560 and nextcloud/server#19567 |
Is your feature request related to a problem? Please describe.
Some video containers are not supported by webbrowsers and probably will not be in the near future.
Describe the solution you'd like
Find a solution that makes it possible to play almost all video containers in browsers.
One solution would be using wasm and ffmpwg to transcode videos on the fly directly in the browser. See e.g. this article: https://blog.scottlogic.com/2020/11/23/ffmpeg-webassembly.html#:~:text=creating%20a%20streaming%20transcoder
Describe alternatives you've considered
Not doing this?
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: