mirror of
https://github.com/mpv-player/mpv
synced 2025-01-16 20:14:57 +00:00
7a06095dc3
This enables playing URLs from libquvi supported streaming sites directly, e.g. "mplayer http://www.youtube.com/watch?v=...." Anything opened with mplayer is checked with libquvi. If it looks like a URL of a supported streaming site, libquvi is used to extract the media URL, which is then passed to the lower level mplayer code instead of the HTML URL. Hopefully the libquvi URL checker works well enough that it doesn't cause any problems with normal URLs, files, or whatever else mplayer's stream layer accepts. Add the --libquvi-format option. the option value is directly passed to libquvi as requested format. The only values that seem to work for any streaming site seem to be "best" (best quality) and "default" (lowest quality). The mplayer option defaults to "best" (overriding libquvi's default). Outstanding issues: - Does libquvi checking every opened file really not cause problems? Should there be a runtime option to disable libquvi use? (Probably not an issue.) - Should we check/set the supported protocol? By default libquvi has support for all protocols enabled. In the worst case, it might return an URL using a protocol not supported by mplayer, even though it could extract URLs with other protocols too. (Probably not an issue.) - Somehow export metadata (like media title) to the mplayer frontend? |
||
---|---|---|
.. | ||
freesdp | ||
librtsp | ||
realrtsp | ||
ai_alsa1x.c | ||
ai_oss.c | ||
asf_mmst_streaming.c | ||
asf_mmst_streaming.h | ||
asf_streaming.c | ||
audio_in.c | ||
audio_in.h | ||
cache2.c | ||
cache2.h | ||
cdd.h | ||
cdinfo.c | ||
cookies.c | ||
cookies.h | ||
dvb_tune.c | ||
dvb_tune.h | ||
dvbin.h | ||
frequencies.c | ||
frequencies.h | ||
http.c | ||
http.h | ||
network.c | ||
network.h | ||
open.c | ||
pnm.c | ||
pnm.h | ||
pvr.h | ||
rtp.c | ||
rtp.h | ||
stream_bluray.c | ||
stream_cdda.c | ||
stream_cddb.c | ||
stream_cue.c | ||
stream_dvb.c | ||
stream_dvd_common.c | ||
stream_dvd_common.h | ||
stream_dvd.c | ||
stream_dvd.h | ||
stream_dvdnav.c | ||
stream_dvdnav.h | ||
stream_ffmpeg.c | ||
stream_file.c | ||
stream_ftp.c | ||
stream_live555.c | ||
stream_mf.c | ||
stream_nemesi.c | ||
stream_netstream.c | ||
stream_netstream.h | ||
stream_null.c | ||
stream_pvr.c | ||
stream_radio.c | ||
stream_radio.h | ||
stream_rtp.c | ||
stream_rtsp.c | ||
stream_smb.c | ||
stream_tv.c | ||
stream_udp.c | ||
stream_vcd.c | ||
stream_vstream.c | ||
stream.c | ||
stream.h | ||
tcp.c | ||
tcp.h | ||
tv.c | ||
tv.h | ||
tvi_bsdbt848.c | ||
tvi_def.h | ||
tvi_dshow.c | ||
tvi_dshow.h | ||
tvi_dummy.c | ||
tvi_v4l2.c | ||
tvi_v4l.c | ||
udp.c | ||
udp.h | ||
url.c | ||
url.h | ||
vcd_read_darwin.h | ||
vcd_read_fbsd.h | ||
vcd_read_win32.h | ||
vcd_read.h |