Yup thats how I read it.
I would like the same treatment for okular though I confess I havent done the legwork to make sure its equally doable.
Whether or not that happens I happily await these changes.
Never did want or use any of those preview things to play media.
( And as the maintainer of the AUR phonon-mpv packages feels the same they have abandoned those packages - they currently have no maintainer. )
After removing the three packages mentioned above, I noticed today that VLC Player no longer plays one of my AVI files.
The error message then appears (automatically translated into English!):
Codec is not supported:
VLC could not decode the format âMJPGâ (Motion JPEG Video)
Just a few days ago, before uninstalling the three packages and also before todayâs system update, this AVI file definitely still played with VLC-Player.
A little research revealed that I should install vlc-plugins-all.
But it turned out that this entails installing 65 (!) individual packages!
After some further research, it turned out that installing just vlc-plugin-ffmpeg as a single package would probably be sufficient for my above-mentioned problem.
And thatâs exactly what happened; now playback works again.
But Iâm still confused. Apparently, VLC has been split into many small packages?!
Should I perhaps still install vlc-plugins-all to get comprehensive functionality (as is actually expected from the VLC Player is used to, VLC is the âomnivoreâ!)?
Yes. When a package has optional functionality, it is often split into multiple packages so you can choose what parts you want installed on your system. This is especially useful in this case where those plugins are dependent on the libraries needed to play those formats which, as you noticed, is a lot of packages.
This saves not only disk space but reduces the bandwidth required for updates. Also, many Linux users prefer to keep as few packages as possible installed.
It is entirely up to you. If you want VLC to âplay everythingâ then, sure, go for it.
Personally, I would only install what I need and add additional plugins if and when I needed them.
But that is the beauty of this method. We get to choose. If you want everything, install vlc-plugins-all and you get everything. If I want the minimal footprint, I can install none of them and we can both get what we want.
But I still donât understand what happened!
Because I didnât uninstall VLC Player or any of its plugins.
Actually, I only removed phonon-qt6-mpv and replaced it with phonon-qt6-vlc, and then removed the three packages mentioned above. And I think that only those three packages were removed and nothing else.
So one of these packages must have contained ffmpeg and possibly other tools and libraries?
Or does it have nothing to do with that and was it due to todayâs system update (sudo pacman -Syu)? But that doesnât actually just remove the codecs that VLC (optionally) requires and that are already present.
Yes, strange, I definitely only ran sudo pacman -R mpv mpvqt haruna
and only those three packages were removed, so I donât understand it.
But, okay, letâs just forget about it. It seems thereâs no way to explain it, and it was solved by reinstalling vlc-plugin-ffmpeg.
I just donât know what else was ripped out of the system (just like ffmpeg), but Iâll probably notice when I get the next error message from VLC that something canât be played (which worked before) âŠ
mpv has a ton of plugins, only they are called lua scripts here.
Also, cache/buffer settings are easily done with the settings demuxer-max-bytes=*KiB and --cache=<yes|no|auto>, --cache-secs, --cache-pause and probably loads more.
mpv is on par with VLC in terms of configurability and plugins, or better. But you need to know more of the underlying system to tune everything right.
VLC is like the Swiss Army knife of media players â it does everything, but nothing as good as it should. The settings are mediocre, you get better video, audio and subtitles with mpv and most likely other players. If you are happy with âit just worksâ, VLC is an attractive player. If you want to go beyond that, use mpv.
What does âefficiencyâ mean in this context? Low CPU load? You can certainly have this with mpv, depending on your settings. mpv plays even in the console with something like vo=tct on low-spec hardware. But you can also have mpv play a 480p DVD video on a 4k screen with neural network interpolation and have the best video possible, for the price of full GPU load even on a Nvidia 4080 or better.
Honestly dont even see it as that since .. like the days of XP.
HW-Accel is off or broken by default.
Output does not automatically select the optimum settings.
So you end up with many users having bad or no playback at all unless they fiddle with the settings.
You know this stuff
These kinds of issues are absent with mpv, that is it will play and might even be hardware accelerated automatically, but users will likely get better performance by learning about all the little options.
Besides the persistent perceptions that somehow vlc is le goat, which are rather unfounded outside of proprietary ecosystemsâŠ
Mostly I think users might have had issues with mpv lacking a GUI.
But thats not true anymore .. it has a pretty intuitive one built in.
Not to mention all the various frontends like haruna.
The problem with using emuxer-max-bytes=*KiB, --cache=<yes|no|auto>, --cache-secs, --cache-pause, etc is that they have to be modified in the desktop file. Then also when we right click a file and then select the MPV to open it then these settings do not get applied. There is no configuration file or menu option where this can be set and is persisted for each and every launch.
Exactly, if a particular video or audio format cannot be played then try and use VLC.
And yes for most of the users out there, âit just worksâ is why VLC is so famous and used. Like a no fuss media player.
Efficiency means using HW acceleration instead of SW acceleration.
Efficiency means adapting playback based on the battery status or whethet it is connected to direct power or not.
Sorry, as I know anecdotally, and as many a forum post will show .. this is simply not true the way it was on windoze. I know folks want to pretend like this is not a windoze-ism .. but it is. That is the only reason someone would think this.
This is a great example - actually VLC fails to automatically use hw-accel in most, if not all, cases.
This is actually true for general playback/output .. not just whether or not its hardware accelerated.
Funny there is a VDPAU, which is for NVIDIA GPUs but nothing similar is there for Intel based GPUs, i.e. VAAPI, nor for AMD.
Please correct me, from what I know the option for OpenGL Video Output, Wayland shared memory video output and X11 Video output (XCB) are for Software Encoding and not Hardware Encoding. So in other words they will end up using the CPU (for Software Encoding) and not the GPU (Hardware encoding).
Now that is intriguing. With MPV or Haruna there is no way to know whether some video playback is using Hardware Encoding or Software encoding. Nor is there some setting which can force that.
Also does Haruna depend on/use MPV? I did not know that. I assumed that like VLC it has its own back-end for playing videos and audio.
@Schlaefer, is there some documentation which will sheds some light on ~/config/mpv? I did not know about this. Thanks.
. Pressing 1 - 4 gives you access to the four pages of the statistics of the player. Also, even easier, start it via the console with mpv <options> myvideofile.mkv and read what mpv throws during playback as information.
emk2203@E6540:~$ mpv ~/Videos/Dandadan04fightscene.mkv
[autoload] Prepending christmas-trees-desktop-wallpaperwaifu-com.mp4
[autoload] Prepending 10bitwhite.mkv
[autoload] Adding Idolmaster-Iori-tsundere.mp4
â Video --vid=1 (h264 1280x720 23.976 fps) [default]
â Audio --aid=1 --alang=jpn (aac 2ch 44100 Hz) [default]
â Subs --sid=1 --slang=eng 'English subs' (ass) [default]
MESA-INTEL: warning: Haswell Vulkan support is incomplete
[vo/gpu/libplacebo] Spent 1636.314 ms enumerating physical devices (slow!)
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:790: FINISHME: support more multi-planar formats with DRM modifiers
[vaapi] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
Using hardware decoding (vaapi).
[W][13:53:49.954429] pw.conf | [ conf.c: 1204 pw_conf_load_conf_for_context()] setting config.name to client-rt.conf is deprecated, using client.conf
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x720 vaapi[nv12]
[sub/ass] fontselect: Using default font family: (Roboto Medium, 400, 0) -> /usr/share/fonts/truetype/noto/NotoSans-Regular.ttf, 0, NotoSans-Regular
AV: 00:00:04 / 00:02:26 (3%) A-V: -0.000
Exiting... (Quit)
Thereâs very little missing from mpv, in terms of documentation, plugins, configurability or output quality.