First of all, thank you for unbanning me... I got banned (by someone) by jumping too hastily with my post and obviously I added irritation on top of some other irritations it seems.
Let me try explaining my view in easier words again: we can all agree that RPi_Mike's language was 'interesting' and colorful... I'm normally also sensitive to this but in this case his work was actually so good that I think this can be overlooked as a rare case of such behaviour... some comments about how his script doesn't handle each edge case etc. are indeed true... but this is the easy part and this particular engineer decided he doesn't want to do it, that's all... I can personally understand him 100% because even with what he did (expect a clean system, have his script execute perfectly and dismiss any other comment from "random people" because you can go crazy finding each person's particular problem with their configuration etc.)
And thank you idfwhywnrp for further clarifyng what is the issue... I'm not an expert in all the various ways codecs etc. work for this whole platform, trying to learn more as I go but for now... If I specifically want MPV and not VLC or something else, then this script is the only thing that produced usable (and actually more or less perfect) results on RPi3 stretch... We can call that "reality freeze"... the whole community knows of only one way to achieve the desired result and this only works on one particular hardware model and one software OS release...
Everyone probably has their own reasons why they want MPV in particular, for me is that I have built a decentralized multimedia system on top of it and it uses mpv's API. For others it may very well be as idfwhywnrp is suggesting that other solutions don't even work reliably... whatever it is, it seems that the above-mentioned solution through this RPi_Mike guy's script is the only thing that really works.
And from here on I don't have a clue what has to be done to make this "reality freeze" more fluid and permanent so that no black magic (as this script seems to be) is needed and that it would work on RPi 3, 4 and hopefully 5 on current and futher Raspbian releases.
If as a first point we can investigate what would be needed for this, then I think this is the first step.
idfwhywnrp wrote: ↑
Wed Mar 04, 2020 1:46 pm
davidhq is right.
Is there any way to use the raspberrypi 3 or 4 as a media player using mpv ?
On pi 3 or 4 buster the only way to play watchable video (meaning smooth and without screen-tearing on standard videos, no care about 4k 60fps) is to use omxplayer or vlc. But they fail to play many streams.
For mpv the only solution is to use the script of the OP on debian stretch on a raspberry pi 3.