-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Transcoding not used for external storage #598
Comments
To transcode a file, you need download the whole file locally first. This is problematic for large video files on external storage, so it is explicitly disabled.
That's possibly a bug. Do you get any error? |
Nothing in the logs (debug). Nextcloud just tells me "The media could not be loaded, either because the server or network failed or because the format is not supported." and "Transcoding failed, check the logs". |
Can you play if you set the quality of the video as "Direct"? |
Doesn't change anything. |
Trying to play from a read-only SMB-share |
Does your browser support the video to begin with? A simple test would be to disable transcoding and try playing the same video. |
Yes. No problems when disabling transcoding. |
Are you 100% sure? Disabling transcoding and setting quality to direct are exactly the same thing in the code ... |
Hehe. I assumed the same. But yes, I'm 100% sure. Just double-checked. This is what the developer tools show when playing with enabled transcoding (quality: direct):
|
I'm transcoding videos from an external storage, both playing in auto and direct mode just fine. |
You're right. If I mount the smb-share locally and use "local external storage", it's working fine. |
I encountered this on my testing instance but @drhirn was faster to issue it. Is there going to be a way to enable transcoding for SMB storage? Is transcoding disabled only for SMB storage? I am running Nextcloud in Docker and mounting user data as external SMB storage with authentication even though the storage is local. This way I have the correct owner on the files that I write through Nextcloud and I can also access the files directly. It was working fine for me so far. I can understand that the poor performance can affect the experience in case of WebDAV or Amazon S3 as these are usually not on the same machine as the Nextcloud/Memories instance. |
Not right now. ffmpeg works best when the file is locally available; to support anything else we probably need another wrapper. |
I do think there is something going on as well, I was able to see no noticeable difference between any of the 3 settings within the admin panel for ffmpeg transcoding. My very rough test consisted of disabling transcoding, reloading the page, having the video play in original quality, then repeating the process of disabling and refreshing the page between changing settings. It would go from the native resolution to what appeared to be the same transcoded resolution even with the transcoding enabled, and Direct (without transcode) option set. |
The admin settings only define the default quality. The user can still select whatever quality they desire, and that will be persisted per-user. |
I apologize as this is now irrelevant to the current issue, but for the life of me I can’t find that user setting? |
@pulsejet thank you, I see it on desktop now. iOS Safari on the other hand only displays captions and speed. Logs show no error and it is clearly being transcoded. Unless I’m missing something else I will open a new ticket for this? |
@ChildLearningClub the iOS player doesn't support switching quality, but indeed it's a bug that there's no way to switch between transcoded and direct video. I opened a tracker at #650 |
I apologize for getting everyone of topic, but I think this can be closed? transcoding does work for external storage, and looks like it was just an issue with how to storage was being mounted?
Is anyone else still having this issue? |
Well not really. The way |
As the Memories config page states, transcoding will not be used for external storage. Why?
And what to do, if i have local files and files on a remote storage? If I enable transcoding, all videos on the external storage can't be played anymore.
The text was updated successfully, but these errors were encountered: