teckk |
12-23-2020 12:50 PM |
I use mplayer, mpv, ffplay. They work fine and are easily script-able.
The code base for mplayer may be crustier, but I think that mplayer is a little more useful.
mpv dropped DVD menu support years ago. When playing a stream mpv will start to download the whole video as soon as it starts. mplayer will stream it. That is useful if you only want to watch the first few seconds of the vid, also saves bandwidth.
Ever notice that? Start your system monitor, like gkrellm, so that you can watch the ethernet interface.
Let me get a video to demonstrate.
Code:
a=$(youtube-dl -f 18 -g https://m.youtube.com/watch?v=MQ11fPpPKwg)
Now try them one at a time and watch the ethernet.
Code:
mplayer "$a"
mpv "$a"
Unless there is something that I have missed in the man page. Where that can be changed.
But, mplayer will complain about not being able to seek backwards in an online stream, where mpv won't And mpv will use youtube-dl to get/play a vid. But, I don't like it downloading the entire video.
I find all 3 useful. ffplay is a natural for getting the exact time to cut a video with ffmpeg, such as when you are editing commercials out of a tv show capture. It will give a more accurate time than mplayer. That's my 2 cents.
|