Has video/media playback improved?
-
-
hmm, for lack of an answer, via matroska.org; I found 8 .mkv test files; 5 are playing fine on UT, 2 are failing because of a missing mpeg4 codec - I think that it is the same bug as this one in fact, the fix that is known in principle just needs to find a bit of storage space, and the test4.mkv has a broken structure - vlc can play it because it papers over the problem, but gstreamer on a standard Ubuntu workstation can't; it's a gstreamer limitation.
So Halium has very probably no relationship with problems reading .mkv files. That's entirely a linux level matter. -
Hello,
the native video player is not optimal. As a solution that actually always works I use mpv in liberline on the shell.
greetings
Charly -
mpv can also be installed via snap.
-
@gpatel-fr it was about a year ago, I didn't do extensive testing, but none of the .mkv I tried worked, and .mp4 were very hit-and-miss. Good to know it isn't Hallium-related, perhaps there's hope to fix it on this device.
@Charly the issue w/ that is that, AFAIK, Libertine apps aren't hardware-accelerated, and video playback often gets choppy (it was one of the workarounds I tried). Didn't try the snap version though.
-
So noone who owns this device can provide any feedback on media playback? I'm planning to reinstall UT anyway, but would rather avoid running into this issue.
-
@hlbkv Hi, I have fresh tablet with UTouch (24.04). I've verified that:
mp4(checked 2 files),m4vandmkvplays without problems in default app. Howeverts2file don't work. -
@floem7 said in Has video/media playback improved?:
mkv plays without problems in default app
a .mkv file is a container format, so the ability of UT mediaplayer to play these files depends on what is exactly the format of media tracks in the file. If the video track is "standard" mp4 or theora or h264 and sound track is mp3 or ogg/vorbis, there will be no problem. If for example the sound is amr or video is 'microsoft' mp4, it will probably not work.
It's not obvious to check on the format of a .mkv file under Ubuntu Touch, it's much easier under a PC running Linux where you can easily install mkvinfo (ffplay or gst-discoverer-1.0 will also be able to interpret the files to some extent).
-
@floem7 said in Has video/media playback improved?:
mkv plays without problems in default app
a .mkv file is a container format, so the ability of UT mediaplayer to play these files depends on what is exactly the format of media tracks in the file. If the video track is "standard" mp4 or theora or h264 and sound track is mp3 or ogg/vorbis, there will be no problem. If for example the sound is amr or video is 'microsoft' mp4, it will probably not work.
It's not obvious to check on the format of a .mkv file under Ubuntu Touch, it's much easier under a PC running Linux where you can easily install mkvinfo (ffplay or gst-discoverer-1.0 will also be able to interpret the files to some extent).
Indeed none of my .mkv files work. I've tried converting to .mp4 using ffmpeg, but it still doesn't play.
What target (that we're sure it's supported) video and audio format/encoding should I use? -
Looking into this with a bit more care, the issue seems to be high definition video such as 10-bit H.264, converting to 8-bit seems to allow playback to work. I'm not sure if it's an hardware limitation, because it works on android roms (at least on custom A14).
-
UT system is based on QT, whose graphic support on Linux is based on gstreamer libraries. Unfortunately by itself while wide, gstreamer support for advanced formats is not limitless.
You can find mkv sample files here
On Ubuntu 24.04 all files can be played by ffplay, even the invalid ones test4 and test7, while the standard gstreamer player (gst-play-1.0) can play 4 of them (2,3,5,7) if ffmpeg support (ffmpeg itself and the link library gstreamer1.0-libav) are not installed, and can play test1 and test6 if this support is enabled.
Ubuntu Touch can play 4 of these sample files (the same as desktop Ubuntu can play if ffmpeg support is not enabled)
gst-discoverer-1.0 test1.mkv (...) Properties: Duration: 0:01:27.336000000 Seekable: yes Live: no container #0: Matroska video #1: Microsoft MPEG-4 4.2this 'Microsoft MPEG-4 4.2' is probably the same thing as your '10 bit support'.
You can install mpv with snap, it can probably play your mkv files.
Note that hardware support is not involved except when it comes to performance of course.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login