mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.1k stars 2.88k forks source link

demux_mf: support URLs in @listfile and filemask #14528

Closed guidocella closed 2 months ago

guidocella commented 2 months ago

This allows playing arguments like mf://https://foo.jpg,https://bar.jpg and also URLs within @listfiles (files with 1 image per line).

URLs still don't work with globs and printf-formats.

github-actions[bot] commented 2 months ago

Download the artifacts for this pull request:

Windows * [mpv-i686-w64-mingw32](https://nightly.link/mpv-player/mpv/actions/artifacts/1695470530.zip) * [mpv-x86_64-w64-mingw32](https://nightly.link/mpv-player/mpv/actions/artifacts/1695476648.zip) * [mpv-x86_64-windows-msvc](https://nightly.link/mpv-player/mpv/actions/artifacts/1695499136.zip)
macOS * [mpv-macos-12-intel](https://nightly.link/mpv-player/mpv/actions/artifacts/1695470839.zip) * [mpv-macos-13-intel](https://nightly.link/mpv-player/mpv/actions/artifacts/1695471594.zip) * [mpv-macos-14-arm](https://nightly.link/mpv-player/mpv/actions/artifacts/1695468849.zip)
guidocella commented 2 months ago

Fun fact: mpv mf://http://foo.jpg,http://bar.jpg,http://baz.jpg can now be used to cache multiple network images without storing them and work around --prefetch-playlist only prefetching the next file. But it is impractical since you want different keybindings for images than videos.