Page 1 of 1

XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 8:45 am
by postcd
Hello,

i tried to play two .webm audio files (example file) and i am unable to find MPV which plays it.
The audio plays good and process is there according to "ps auxf" output:
mpv --sub-codepage=windows-1250 --no-video-aspect --loop-file=inf filenamehere.webm

But MPV does not appear anywhere in GUI (default GUI of MXLinux 17.1 - Xfce 4.12.3)

When i play .webm video (not only audio) then the GUI MPV player appear OK.

Re: XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 8:58 am
by dolphin_oracle
check this thread....this is actually a feature of mpv, which by default only has a gui for video files.

https://github.com/mpv-player/mpv/issues/1808

Re: XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 9:18 am
by postcd
dolphin_oracle wrote: Wed Jan 09, 2019 8:58 amthis is actually a feature of mpv
Thank you, indeed. What a bad feature when you have looping enabled and want to seek in the audio or close audio earlier because it bother you.

This command enable player even for audio:

echo 'profile=pseudo-gui' >> ~/.config/mpv/mpv.conf

Re: XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 12:05 pm
by Eadwine Rose
Interesting.. this .webm file does play for me in vlc and mpv, contrary to the earlier test webm file. No image though, only sound. Sound plays fine :)

Re: XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 5:11 pm
by Stevo
Webm is only a container format, like a box, so can hold video and audio encoded with all kinds of codecs.

However, it's usually used for video files. The example is encoded in the opus audio codec, which is well supported in MX 18, and the usual file extension for that is ".opus". You can rename that webm file to a .opus one and it still will play! Maybe the OP was trying to fool mpv into thinking it was a video file to get a GUI...

Re: XFCE4: MPV player .webm audio files are wrongly played (mpv invisible in GUI)

Posted: Wed Jan 09, 2019 5:27 pm
by Eadwine Rose
So many formats! *giggle*


The .opus opens the mpv player, but can be played by clementine and I assume others as well.