-
-
Notifications
You must be signed in to change notification settings - Fork 110
N5: video play back is not possible #1092
Comments
I can confirm this bug (Nexus 5 This is the log while recording a video https://paste.ubuntu.com/p/JX7cpH4zR4/ and this for when trying to play that video using the mediaplayer in the roll https://paste.ubuntu.com/p/HDqNYFhXkq/ The relevant part is BTW we should track camera issues in https://gitlab.com/ubports/apps/camera-app/issues and not here, isn't it? :) |
Yeah we are on it a bit. Seems the camera permission fix had some side effects. It should only affect the recorded videos so far. |
Video playback on nexus 5 was always broken, first was green screen, and no thumbnails, now no thumbnails and no green screen. |
rm .cache/gstreamer-1.0/* |
I've tryed on OTA10 rc channel, problem still present, the video can't be played with default media player but I successfully played it with UTmedia. |
for me this also happens now on fp2 with mp4 files |
How mediaplayer-app is built for ubuntu touch ? According to the snapcraft.yaml it should be linked to gstreamer1.0-libav package but I don't see it in ubuntu touch ?
Currently we have those gstreamer packages installed
May we try to add gstreamer1.0-libav package ? |
I'm running N5 (32GB) in Swedish, when I try to play mp4 i get roughly translated "An error has occurred in the attempt to read media". This is the case for both for video made by camera and external content. I didn't really follow the last post. Maybe there is an update that can be done, codec-wise? |
this are some more logs from version 2020/01/28 |
It affects me too. Fp2 OTA12 RC Version 67. When I try to play mp4 or MOV videos, I get this message: "Error playing video |
Same here on my N5, and same message. The video is afterwards readable by other players, but there is no sound at all. I found no setting for that (for information, I see videos in my library taken with the same phone in mid January 2019, with no image(it wasn't working) but the sound was there). |
I wonder whether the problem is on the one hand some devices might not have support for certain video codecs in hardware and on the other hand there is a legal challenges with redistributing the software support for those codecs?! If that is the case, maybe we could do it similar as desktop Linux does it: The codec is not included out of the box, but the user has some simple means of downloading and installing it themselves. Maybe it could go into some |
But I had video support in OTA 11. Mp4, MOV... And now, in OTA 12 rc, I don't. It's not a hardware problem... |
Unfortunately this bug is still present on Nexus 5 with OTA-12 stable. |
I also just reproduced this problem on a Nexus5. A workaround is to play videos using UTmedia. Even the only two reviews for UTmedia in the OpenStore mention this. This is probably an issue with the app and not Ubuntu Touch. Is this the correct place to log this error? Or should this be reported in the GitLab repository for this Gallery App? https://gitlab.com/ubports/apps/gallery-app Reproduced on Nexus5 |
UT media plays videos but, if I remember well, without sound either |
I have UTmedia 0.14 installed and the sound plays in UTmedia for a video recorded on the phone (Nexus5 with the above stated versions). Please advise if anyone wants me to do further tests on this. |
ok I will re-check... good news if it is corrected. |
It still doesn't work here... maybe because I'm on the development channel ( 2020-06-17/2 ) ? |
UTmedia also doesn't work usually. It's not an option. I think that the issue should be fixed in core gallery application. |
Yes, of course Gallery should be fixed. I am NOT suggesting that UTmedia is a solution, it is not user friendly and does not seem maintained. The reason I report the videos working in UTmedia is to help isolate the problem. I just retested on development also (2020-06-17/2). Front and back camera both record video and sound correctly and these videos are playable in UTmedia, but not Gallery. |
@tmaes04 Have you tried a forced reinstall of all the apps just in case? System Settings --> Updates --> Update settings --> Reinstall all apps |
So how can we make progress on it ? I don't understand all the pieces, is it related to the kernel, missing library ? Does halium 7.1 fix the issue ? . |
Yes with Halium 7.1 we should have this fixed, among other problems. There are a few blockers still on getting 7.1 on the core devices (to avoid everyone to do a manual reinstallation) but the progress that was made is already quite far. |
@winstonford do you own an N5 and can help with testing? |
@Flohack74 i can test if needed too |
Video playback can be easy fix |
Im working on a halium 9 port but wont be upload so soon. |
@Flohack74 I do not have an N5.Just doing research. Never even touched android, let alone ubuntu touch.. but my pixel 3a arrives today, and ffmpeg never ceases to amaze me. |
For reasons of Android´s proprieatary stack I would not mess with reencoding anything. Also we have to still run a minimal core Android image in a container, so getting video streamed in and out of this sounds just too wild ;) |
Hmm 'androids proprietary stack' makes me realize how little I understand of ubuntu touch.. I thought it was a way to get ubuntu on the phone, albeit a 16.04 ubuntu. The gui, camera, etc is really gravy for me, I just want to run a server stack on the phone that I can ssh into from my laptop. Does 'minimal core Android image in a container' mean that you are running docker? that's another goal of mine. Sorry this is off-topic. |
Its a bit off-topic :P - If you want to run a server then probably UT is not what you want: Its clearly a human-interface-focused OS, and installing custom stuff and services is very cumbersome (everthing is write-protected, background tasks are hard to do and image-based delta upgrades might revert all of what you installed when the next update is made). |
Thanks a lot for the info. Very helpful. Going to look into pocket vms app as I've already bought the 3a. |
You can run PostmarketOS on that. It's a minimal distro, so you should be fine. |
Installing |
What's the current progress with this problem? Also, where is the "home" of development? And is this device still maintained? |
Well I made efforts to forward-port N5 to Halium 7.1, and now 9.0, but it takes time, and I have also 100 other UT items on my plate. I would however be faster with that if I have someone else helping with this port. 100% it will fix video playback, and its also a precondition to bring this device to Ubuntu 20.04 base later this year. |
It will also allow for WayDroid support. :)
|
Yeah Waydroid could work if we rebase on Halium 9 ;) |
I have a Nexus 5, and I'm willing to install whatever you guys want on it to test and get this working. |
Me too. UT is already getting into the 8-year phone lifecycle territory with OTA updates, so it would be very sad to lose the Nexus 5 support when moving to 20.04. |
The last activity for this device was back in April. Is the project abandoned, @rubencarneiro ? I would like to be able to test anything on my hammerhead device, but is seems like everyone has just abandoned ubuntu touch for the nexus 5... We were so close! |
Pleasew ait for the Halium 9 build of this device. We ar enot investing in anything below, since only with Halium 9 we will be able to carry it over to 20.04 |
Has any progress been made, almost 6 months later? I noticed the development channel getting an update for this month, And I didn't notice any changes at all, not even with things that don't have to do with video playback. Why were the Halium images deleted from the releases tab? did video playback just magically stop working again on those? (edit: oh wait they did) I recently got a Nexus 5 hoping that it would be compatible with everything, but the lack of hardware acceleration for video made playing them more painful than it sounded when I saw the little compatibility checklist on ubports' website. I could help with testing if I wasn't so scared of permanently paperweighting my device. |
Bonjour Madame, Monsieur,
Je serai absent jusqu'au 06/03/2023.
Cordialement,
…--
Thierry Maes
Auditeur PAE / Certificateur PEB agréé par la Wallonie
0475/ 30 36 51
|
Not promising anything i do not like to do that, but i will try to port this device to halium 9, again no promisses. |
No pressure, take your time, and you can totally decide if it happens or not, but i'm sure this move will be highly appreciated by all hammerhead users. Personally I wasn't expecting bigger things such as 20.04 or Halium 9, video playback and hardware acceleration in browser (WebGL, smooth-ish YouTube videos, smooth-ish scrolling) working properly is enough for me. |
@rubencarneiro It seems some work has been started by @Flohack74 https://github.com/ubports/android_kernel_lge_hammerhead/tree/halium-9.0 |
As @gouchi said, yes, some work has already been done, and there's a pull request on the main ubports repository for the device that still hasn't been approved for some reason. It's possible that the UBports devs forgot about its existence, as there's been no further replies to @rubencarneiro 's last message in the PR and again, the PR is still open. ubports/android_device_lge_hammerhead#31 |
@libermax can you add the text |
@libermax plz restest with latest RC |
@Flohack74 AFAIK YouTube video playback stopped working entirely on latest RC, I didn't test local videos before switching back to stable. |
Nevermind, HTML5 Videos work again, but still nothing's working on the video player app |
Ok im updating things to go more toward focal, but i will work on this as i can because i do also have a full time job. |
With last RC (2019-W15) on N5, media player is unable to play mp4 videos, (at least those recorded by the camera). Error message is: "Error playing video
video format is not supported"
(Playing the same videos with UTmedia works)
The text was updated successfully, but these errors were encountered: