You are not logged in.
Hey guys, bit of a visual question about making MPVs console output look nice.
You used to be able to have the console output look like this (botttom left).
Bummer is the nice looking (aligned) --msgmodule formatting was removed back in december and (I can't find the specific commit) but the msgmodules are no longer colored.
Is there anyway to make mpv show pretty colored console output again like in the screenshot?
Last edited by EvanPurkhiser (2014-04-12 21:09:22)
Offline
I'm not actually completely sure about this one, but looking through mpv's --list-options and manpage, it seems that you can set custom status and playback strings. I imagine that it would be possible to use tabs ('\t') and ANSI color escapes to format the output to your liking. Have you given this a shot?
(P.S., if you do, post your results, I was unaware of the --msgmodule formatting and I quite like how that screenshot looks)
All the best,
-HG
Offline
Thanks, I gave the "status-msg" option a try, but it only affects the 'statusline' module.
Unfortunately it looks like this really has been removed which is too bad, I'm also quite fond of how it looked before Here's another screenshot to make you yearn for the previous look.
I'm thinking about posting up a issue on the GitHub tracker to find out why it was removed and if there's any chance we can get it back to it's previous form.
Offline
Thanks, I gave the "status-msg" option a try, but it only affects the 'statusline' module.
Ahh, bummer.
I'm thinking about posting up a issue on the GitHub tracker to find out why it was removed and if there's any chance we can get it back to it's previous form.
I'd recommend doing so. At the very least, it will become more obvious why it was removed; and, perhaps, something to replace it may come to fruition. I would happily support such an effort if it would not clutter or slow down the project over-all.
All the best,
-HG
Offline
I opened up an issue here. Feel free to throw a supporting comment in
Offline
I opened up an issue here. Feel free to throw a supporting comment in
Done.
All the best,
-HG
Offline
Offline
That's pretty sweet: thanks!
Offline
Woohoo! My patch was merged into upstream. I hope everyone can enjoy pretty-printed mpv console output now
Install mpv-git from the AUR to grab the changes now.
Offline
You're amazing, thanks for sharing with the community
Asus 1225B - 11,6" - AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go - Radeon HD6290
ArchLinux Openbox - My Github
Offline
That's why I love open source software!
Offline
Congrats on the merge, I think the result is quite nice. And, as a further celebration, perhaps you should add [Solved] to the beginning of the thread title?
All the best,
-HG
Offline
I think this is OT, but the topic seems already solved so ... ;P
I've noticed that when launching from st, mpv-git has the status line
AV: 00:00:00 / 02:50:59 (0%) A-V: -0.000
flickering, while mpv from the repos is fine.
Can somebody please give me a hand with where to start git bisecting? I'd like to know what code went into the release i.e. should I pick March 29th code and see if it's OK?
Either I'm doing it very wrong, or it's been broken for a at least month.
Offline
I'm seeing the same flickering issue in mpv with st. I built from March 29th and it looks like it's still flickering. You could try bisecting from the 0.3.7 tagged commit 2758bc462dea70cea41096dd69b865f1f1f6564e to HEAD. There are about 700 commits between those two though :x
Last edited by EvanPurkhiser (2014-04-12 23:10:05)
Offline
According to https://github.com/mpv-player/mpv/releases the number of commits didn't change for some time. Version 0.3 has been released 4 months ago and it says '733 commits to master since this release' for every release since 0.3.
I've picked code from early March and I still get the flickering status line.
Either I'm doing it wrong or the releases differ from the master branch in a major way.
Offline
Whoops, I didn't even notice that!
Maybe because of the way mpv is built vs how mpv-git is built? [Here's the PKGBUILD diff](https://gist.github.com/EvanPurkhiser/10611502)
Offline
Nah, I've been using the stock mpv PKGBUILD too.
I'll open a bug report upstream and add it to my 'fix this later' list as I have no idea how to approach it, I need some tips / handholding.
Offline