MPV media player in BionicPup64 won't play .mkv files

Moderator: Forum moderators

Post Reply
bigphil
Posts: 93
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

MPV media player in BionicPup64 won't play .mkv files

Post by bigphil »

Hi all,

I'm running Bionic 64 bit version, frugal install, and as the subject states, I can't get .mkv files to play.
As well as MPV I've tried several VLC players, one from Quickpet and Mikes one here -
viewtopic.php?f=88&t=153&p=6056&hilit=mkv#p6056.
None of them work.
However if I boot into Windoze and run it's VLC they play OK.

Any of you clever people got any ideas.

Regards
Phil

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player won't play .mkv files

Post by 666philb »

hi @bigphil

try running mpv in in a terminal

Code: Select all

mpv /path/to/my/video.mkv
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player won't play .mkv files

Post by taersh »

It seems there is different .mkv versions existing. I also have this problem on some .mkv videos. Though, some of them playing fine. I think I can recall an error message like playing mpeg4-2 not supported.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player won't play .mkv files

Post by 666philb »

taersh wrote: Mon Nov 30, 2020 6:47 pm

It seems there is different .mkv versions existing. I also have this problem on some .mkv videos. Though, some of them playing fine. I think I can recall an error message like playing mpeg4-2 not supported.

a link to a problem mkv would be could if you're happy to post a link to it

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player won't play .mkv files

Post by taersh »

Yet I don't have a direct link, but some current videos I had downloaded and there wasn't an option to download .mp4 or .webm.
These videos are .mkv videos that won't play video, but playing audio only.

Error message from VLC is (codec not supported):

Codec wird nicht unterstützt:
VLC konnte das Format „av01“ (AOMedia's AV1 Video) nicht dekodieren

Search YouTube for these videos:

Heilung Berserker's Songs
1 Hour of Dark & Powerful Viking Music
Danheim Skapanir (Full-album-2020)
Heilung LIFA

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
JakeSFR
Posts: 273
Joined: Wed Jul 15, 2020 2:23 pm
Been thanked: 158 times

Re: MPV media player won't play .mkv files

Post by JakeSFR »

taersh wrote: Mon Nov 30, 2020 8:28 pm

Error message from VLC is (codec not supported):

Codec wird nicht unterstützt:
VLC konnte das Format „av01“ (AOMedia's AV1 Video) nicht dekodieren

Here's a sample video with this AV1 codec: https://github.com/SPBTV/video_av1_samples

Just checked and it plays fine in Fatdog with VLC and ffplay.
We have libaom preinstalled and VLC/ffmpeg linked against it.

https://aomedia.googlesource.com/aom

Greetings!

[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
User avatar
norgo
Posts: 282
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 6 times
Been thanked: 111 times
Contact:

Re: MPV media player won't play .mkv files

Post by norgo »

taersh wrote: Mon Nov 30, 2020 6:47 pm

It seems there is different .mkv versions existing. I also have this problem on some .mkv videos. Though, some of them playing fine. I think I can recall an error message like playing mpeg4-2 not supported.

MKV is the container and is able to contain almost every codec. A missing codec is mostly the reason if a player doesn't play the video.
Here a link to a video with mpeg-4 part2 codec in a mkv container.

https://sample-videos.com/video123/mkv/720/big_buck_bunny_720p_1mb.mkv

In my case mpv is playing this video.
Check your ffmpeg version.

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player won't play .mkv files

Post by taersh »

Libaom seems not to exist in Bionic repositories.
Only Focal, but it complains about GLIBC_2.29 not found when installed into Bionic.
Needs to be compiled from source - if possible for Bionic?

@norgo
The video plays fine here.

@JakeSFR
The video doesn't play here.
Only the audio bip bop is playing.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
01101001b
Posts: 164
Joined: Wed Jul 15, 2020 10:57 pm
Location: Buenos Aires, Argentina
Has thanked: 643 times
Been thanked: 21 times

Re: MPV media player won't play .mkv files

Post by 01101001b »

taersh wrote: Mon Nov 30, 2020 9:51 pm

Libaom seems not to exist in Bionic repositories.

Just in case, try a search in ppm for "av1" if you didn't do yet.

@JakeSFR
The video doesn't play here.

Same problem here. It said something about a video codec problem BUT real problem was it got downloaded wrong (95KB was reported the first time. Second time the file size was 240KB and now it worked ok with mpv).

''Most people make the mistake of thinking design is what it looks like [...] It's not [...]. Design is how it works.'' -- Steve Jobs

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player won't play .mkv files

Post by taersh »

Screenshot.jpg
Screenshot.jpg (20.9 KiB) Viewed 2048 times

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
mikewalsh
Moderator
Posts: 6115
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 781 times
Been thanked: 1952 times

Re: MPV media player won't play .mkv files

Post by mikewalsh »

Personally, I'd give norgo's SMPlayer builds a look. I've never had the slightest issue with playing anything in these. (May need to install mPlayer from the repos, if it's not already installed.)

I would, however, endorse what's been previously stated on this thread. Check ffmpeg! Puppies often come with older/stripped-back variants of this, so it's worth seeing if you can update it.... John van Sickle's static builds are highly recommended. (You may need to search the "old releases" to find a date-sympathetic version for the age of your Pup, however; despite being 'statically-compiled', the newest versions can still sometimes complain about stuff missing that's needed.)

It's solved several issues for me over the years. Curiously, Bionicpup64 has thrown up a LOT of issues for me; things that worked fine in earlier Pups have refused point-blank to play ball with this one.....and have then inexplicably started working again in later Puppies. Weird.

Mike. ;)

Last edited by mikewalsh on Tue Dec 01, 2020 5:06 pm, edited 1 time in total.
User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player won't play .mkv files

Post by taersh »

Installing the static build of ffmpeg doesn't change anything on that issue.
VLC still plays audio only.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
norgo
Posts: 282
Joined: Mon Jul 13, 2020 6:39 pm
Location: Germany
Has thanked: 6 times
Been thanked: 111 times
Contact:

Re: MPV media player won't play .mkv files

Post by norgo »

av1 test

at first I compiled aom from source
after that ffmpeg with option --enable-libaom

huge effort for a rare codec

Attachments
av1
av1
av1.png (24.18 KiB) Viewed 1544 times
User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player won't play .mkv files

Post by 666philb »

using a combination of this PPA and the PPM you can update mpv & ffmpeg in bionicpup and get av1 working https://launchpad.net/~mc3man/+archive/ ... /+packages

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by taersh »

There's two different ffmpeg in the ppa and there's two different mpv in the ppm.
Which files to download to get this to work?
Does this need libaom also?

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

bigphil
Posts: 93
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by bigphil »

Oh dear - gloom and doom.
Installed mpv - 2:0.30.0~vs~bionic from the PPA suggested by 666philb and updated ffmpeg (to the best of my knowledge) and now MPV won't run at all.
Attempted to run it from the terminal and it reported -

mpv: error while loading shared libraries: libshaderc_shared.so.1: cannot open shared object file: No such file or directory

attempted to run ffmpeg from terminal and it reported -

ffmpeg: error while loading shared libraries: libmysofa.so.0: cannot open shared object file: No such file or directory

Unfortunately I don't have the knowledge to know how to proceed.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by 666philb »

you'll need shaderc from the ppa and quite a lot of other stuff. running in a terminal will show what you need. there's also a few bits from the ppm if not in the ppa

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by taersh »

Sounds like a solution not being a solution for real. ;) :lol:
At least nothing being easily accomplished...

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by 666philb »

this seems to work.

open /var/packages/woof-installed-packages and delete the ffmpeg & mpv lines
then in a terminal

Code: Select all

pkg add-repo ppa:mc3man/bionic-media ubuntu bionic

Code: Select all

pkg repo bionic-mc3man

Code: Select all

pkg get ffmpeg mpv libcodec2 liblilv libpostproc
Last edited by 666philb on Thu Dec 03, 2020 5:28 pm, edited 1 time in total.
bigphil
Posts: 93
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by bigphil »

Above didn't work for me I'm afraid.

However when I entered the second terminal command it reported -

root# pkg repo bionic-mc3ma
The name 'bionic-mc3ma' is not a valid repo name. These are:
bionic-mc3man
noarch
common64
xenial64
tahr64
bionic64
bionic-main
bionic-universe
bionic-multiverse

Maybe it's time for me to admit defeat but thanks anyway 666philb

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by 666philb »

@bigphil
oops .... spelling mistake on my part

Code: Select all

pkg repo bionic-mc3man

will fix my post

bigphil
Posts: 93
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by bigphil »

stranger and stranger
ran pkg repo bionic-mc3man in terminal and it reported -

root# pkg repo bionic-mc3man
The name 'bionic-mc3man' is not a valid repo name. These are:
bionic-mc3man
noarch
common64
xenial64
tahr64
bionic64
bionic-main
bionic-universe
bionic-multiverse

and yet it states that bionic-mc3man is a valid repo name

????????

User avatar
rockedge
Site Admin
Posts: 6481
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2694 times
Been thanked: 2593 times
Contact:

Re: MPV media player in BionicPup64 won't play .mkv files

Post by rockedge »

I see this also from time to time. What I do in this case is highlight the repo name from pkg repo-list and then type in the terminal pkg repo and then I paste the repo name in.
For some reason it will then use it correctly.

User avatar
taersh
Posts: 951
Joined: Tue Jul 07, 2020 11:13 pm
Location: Germany
Has thanked: 53 times
Been thanked: 119 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by taersh »

After replacing the installed ffmpeg by the new one, KdenLive won't extract audio from video files anymore. :o :shock:

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
OscarTalks
Posts: 623
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 247 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by OscarTalks »

I think we really need to know what the codecs are in the .mkv files that are not playing for original poster bigphil.
I would normally use ffinfo for this, but don't think it is installed.
The .mkv files which I tried did work in MPV. I notice that BionicPup64 does not have libmatroska, but this probably won't help with MPV. If it was a missing dependency, MPV would not start at all. There is a chance that it might help with VLC. I found this when compiling VLC in FossaPup, but VLC uses plugins whereas MPV does not as far as I know. Matroska is better at demuxing than relying on ffmpeg libraries if you want a wider range of codecs to play.

bigphil
Posts: 93
Joined: Tue Jul 21, 2020 12:56 pm
Location: Sunny Sussex
Has thanked: 14 times
Been thanked: 16 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by bigphil »

@rockedge

tried that but still no go.

User avatar
666philb
Posts: 429
Joined: Thu Jul 09, 2020 3:18 pm
Location: wales uk
Has thanked: 111 times
Been thanked: 149 times

Re: MPV media player in BionicPup64 won't play .mkv files

Post by 666philb »

taersh wrote: Thu Dec 03, 2020 8:18 pm

After replacing the installed ffmpeg by the new one, KdenLive won't extract audio from video files anymore. :o :shock:

just tried this with an avi and it worked for me. maybe run kdenlive in a term and see the error.
most likely some extra ffmpeg stuff missing from https://launchpad.net/~mc3man/+archive/ ... hive-extra

Post Reply

Return to “Bionic”