Guide on how to set up MPV on Linux to open media streams through IINA URIs.
- Create a bash script that extracts the stream URL from an IINA URL and plays it with MPV:
iina-to-mpv.sh
#! /bin/bash input_url="$1" encoded_url="${input_url#*url=}"
Guide on how to set up MPV on Linux to open media streams through IINA URIs.
iina-to-mpv.sh
#! /bin/bash
input_url="$1"
encoded_url="${input_url#*url=}"
[ 0.005][v][cplayer] mpv 0.33.0-162-gf4e89dde36 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects | |
[ 0.005][v][cplayer] built on Sat May 22 11:09:15 EEST 2021 | |
[ 0.005][v][cplayer] FFmpeg library versions: | |
[ 0.005][v][cplayer] libavutil 57.0.100 | |
[ 0.005][v][cplayer] libavcodec 59.1.100 | |
[ 0.005][v][cplayer] libavformat 59.2.101 | |
[ 0.005][v][cplayer] libswscale 6.0.100 | |
[ 0.005][v][cplayer] libavfilter 8.0.101 | |
[ 0.005][v][cplayer] libswresample 4.0.100 | |
[ 0.005][v][cplayer] FFmpeg version: N-102572-gf27e3ccf06 |
#charset "UTF-8" | |
/* | |
* Module for yes/no answers to the narrator. | |
* 2003/06/17, by Nikos Chantziaras <[email protected]> | |
* This file is in the Public Domain. There is no copyright. | |
* | |
* To use this module, simply compile it together with the rest of your | |
* game's source files. | |
*/ |
#charset "CP1252" | |
#include <adv3.h> | |
#include <en_us.h> | |
/* | |
* Abstract body part class. | |
* | |
* This is not intended for direct use. It's only for inheriting sub-classes | |
* from it. | |
*/ |