Closed gradinaruvasile closed 3 years ago
GitMate.io thinks possibly related issues are https://github.com/nextcloud/android/issues/3061 (Media Streaming Doesn't Work), https://github.com/nextcloud/android/pull/183 (Streaming), https://github.com/nextcloud/android/issues/2941 (Sharing a link form the video player does not work), https://github.com/nextcloud/android/issues/643 (Autoupload does not work), and https://github.com/nextcloud/android/issues/1707 (Push doesn't work).
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
This issue is still present on Android 8.1, 9 with server versions 16.0 (latest ATM).
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
This still happens
I'll have a look. @exussum12 do you see any difference if you use different video formats?
Ive only tried mp4. I can try another format if you like ? It does seem to try and download the entire video before trying to play, smaller videos (1-2 seconds) work but anything over 1 min has big issues
I imagine this is more to do with #3061 actually looking more in to it
I found some problem, which is independent from Android: https://github.com/nextcloud/server/issues/16511
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
It appears that this issue still persists. Has there been any updates on this or any newer issues that are actually tracking this?
@tobiasKaminsky Is it fixed server side?
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
My wife and I both have this issue. Viewing images works fine but we cannot play videos. Tapping a video just leads to a "loading" page forever, and if I choose "Stream with..." then MX Player, MX Player just sits there loading forever too. Most of the videos were recorded on our phones and are 1080p, AVC L4.1 in an MP4 container with AAC audio.
The only workarounds I've found are to download the video first within Nextcloud app (which defeats the purpose IMO), or to use the web interface instead. There is nothing related in the Nextcloud server-side logs either.
I confirm this issue persists in the nextcloud dev 20191017 android app, and also on version 3.8.1. I am running android 10, on a oneplus 6T. I have also tried during my use of nc 16 and now on nc 17.
Streaming with VLC works, but built in app has never worked for me.
@DragonQ do you have server side encryption with user keys enabled?
@dennorske what kind of videos are those? The built in media player relies on the codecs that are installed on Android, so there might a few missing.
These are mainly phone-recorded videos, such as MP4's from my OnePlus 6T. I don't see why the files can play on the phone but not through nextcloud's app. Let me know if i can provide more details.
@DragonQ do you have server side encryption with user keys enabled?
@tobiasKaminsky No, "Default encryption module" is not enabled.
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Has anyone had any updates on this? It would be nice if the videos played better natively through the app especially for content creators etc. Thanks in advance.
Unfortunately it is still not working properly. It seems that shorter videos work because they are cached fully locally in very short time. But longer ones, unless you pre-download them, are hit and miss.
On Sat, Nov 23, 2019, 21:30 Aaron Lawson notifications@github.com wrote:
Has anyone had any updates on this? It would be nice if the videos played better natively through the app especially for content creators etc. Thanks in advance.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nextcloud/android/issues/3064?email_source=notifications&email_token=AD7UOU3T4SHZDH4KZ3GS7R3QVGAEDA5CNFSM4FWFB5H2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE74AXQ#issuecomment-557826142, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD7UOU3N7AR2VNDI2IHGJ6TQVGAEDANCNFSM4FWFB5HQ .
for me, on android, mp4 video files works well on the native nextcloud app but not on the stream with vlc. for .mpk , it just gives sound on native and media player and load indefinitely on vlc
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!
Is anyone still looking into this? I'm running into this issue on the latest stable NC server and android client.
Can confirm the above is the same issue for me
Not sure if this'll help others but I set the Apache log level to debug and saw some non-error clues that led me to figuring out a solution in my case. There were basically some "errors" relating to the domain name when I tried to play a video in the Nextcloud Android app.
I set up a Let's Encrypt cerrificate (to avoid issues with self signed certificates) and tried accessing my server via its public facing URL. Voila, videos load and play successfully. However, if I access my server via its internal IP address while connected to my home network, they do not play. So the solution for me is to use the public facing URL and set up a redirect on my internal network DNS server so it forwards to my local server address, so I'm still accessing the server internally where possible even when using the public URL.
Hopefully this helps someone else with this problem!
Still have the same problem! This problem only exists in case of playing larger files. Let me know if you need more details.
Please help!
I'm having this problem too, makes switching from iPhone to Android a hot mess when none of your existing videos work
Same here, and I found no way to totally disable the nextcloud player (video plugin is disabled but the player still running)
A simple alternative should be to open automatically the file with vlc or some local players
I also have this issue. SAD!
I can't play any of videos past 5 seconds, it freezes every single time. It seems this issue was only closed because of it's age, but this bug has never been fixed. Videos are just unplayable on Android which is a real pity.
A simple alternative should be to open automatically the file with vlc or some local players
This is possible:
I can't play any of videos past 5 seconds, it freezes every single time. It seems this issue was only closed because of it's age, but this bug has never been fixed. Videos are just unplayable on Android which is a real pity.
I had this also with one video, but after 2s it just resumed. The same video worked without a problem on another device. If it hangs, I pressed pause/play and then it worked again. Can you check this?
Maybe it runs out of buffer as the internet connection is not fast enough?
If video in general is working, I'll try to look into how to increase buffer or how to increase debug output
I do have problems with some "videos" and especially formats hosted on my NC instance. I have videos and formats which can be played directly within the NC app on my Android. Some of them just don't work because of its codecs anyhow this are my challenges.
Supported video formats
Non Supported video formats I do have some videos which seem not to be supported by the NC android app, mainly old MOV files. This is ok. VLC would fix this, but streaming it does not work, and downloading would be the only option.
Now, even though I know all of this, I use NC within my family and explaining this my younger family members, even older ones ;) is challenging. They want to click on the video and watch it. Even though the the format is not supported by the NC app. So I would like to see an option which let me allow to forward all my videos to an app installed so I can set it up and all is fine. And I also would like to understand why streaming without downloading the file using the menu to VLC does not work for me, perhaps for others as well.
And as a site note, I tested all of this having client and server in the same LAN, so speed should not be an issue. Just to mention it at least once, I never liked the idea to play a video inside the NC app. There are specialized video players installed on almost any device which do a better work then implementing a video player inside an app which serves another purpose ;)
NC App: 3.14 Android: 11 NC: 20.0.7 VLC: 3.3.4
It seems like people are describing various different issues in this thread. Personally, streaming video has NEVER worked for me, either with the internal player or when using "stream with...". I can only play videos when they are downloaded first.
I can't play any of videos past 5 seconds, it freezes every single time. It seems this issue was only closed because of it's age, but this bug has never been fixed. Videos are just unplayable on Android which is a real pity.
I had this also with one video, but after 2s it just resumed. The same video worked without a problem on another device. If it hangs, I pressed pause/play and then it worked again. Can you check this?
Maybe it runs out of buffer as the internet connection is not fast enough?
If video in general is working, I'll try to look into how to increase buffer or how to increase debug output
Pressing play/pause when it starts hanging doesn't do anything, it just changes the play/pause icon. The internet connection is for sure not a problem. When i open the video in the browser on my phone it plays back without any issues.
I think we should allow users to open the stream in the external video player by default and "fix" it that way.
Video player - in its current form - is not fixable as we just use the built-in VideoView
, with all the platform, version and vendor specific bugs you can imagine.
@ezaquarii You mean this solution? https://github.com/nextcloud/android/issues/378 I think it's a good idea, with VLC all videos are played well
There is an experimental switch to another video player in https://github.com/nextcloud/android/pull/8132#issuecomment-792722526
This apk can be installed in parallel. It would be great if you can give this a test, if it helps in your scenario.
There is an experimental switch to another video player in #8132 (comment)
This apk can be installed in parallel. It would be great if you can give this a test, if it helps in your scenario.
Well that's the first version of the app I've ever used that actually allows me to stream videos, so that's a great plus. It's definitely buggy though, it's crashed mid-playback twice and also if I start a video then press the back button, I can still hear the video playing.
It is a quick&dirty replacement, so misbehaving UI is ok.
Crash while playing not. Can you provide us additional infos via logcat? https://github.com/nextcloud/android/blob/master/README.md#getting-debug-info-via-logcat
Actual behaviour
Note that
Expected behaviour
Steps to reproduce
Environment data
Android version: 8.1.0 Device model: Lenovo K6 Power Stock or customized system: Lineage OS Nextcloud app version: 3.3.0 Nextcloud server version: 14.0.0