1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-01 00:07:33 +00:00
mpv/stream
wm4 2b280f4522 stream: libarchive wrapper for reading compressed archives
This works similar to the existing .rar support, but uses libarchive.
libarchive supports a number of formats, including zip and (most of)
rar.

Unfortunately, seeking does not work too well. Most libarchive readers
do not support seeking, so it's emulated by skipping data until the
target position. On backwards seek, the file is reopened. This works
fine on a local machine (and if the file is not too large), but will
perform not so well over network connection.

This is disabled by default for now. One reason is that we try
libarchive on every file we open, before trying libavformat, and I'm not
sure if I trust libarchive that much yet. Another reason is that this
breaks multivolume rar support. While libarchive supports seeking in
rar, and (probably) supports multivolume archive, our support of
libarchive (probably) does not. I don't care about multivolume rar, but
vocal users do.
2015-08-17 00:55:26 +02:00
..
ai_alsa1x.c Update license headers 2015-04-13 12:10:01 +02:00
ai_oss.c Update license headers 2015-04-13 12:10:01 +02:00
ai_sndio.c audio: drop swapped-endian audio formats 2014-09-23 23:09:25 +02:00
audio_in.c Update license headers 2015-04-13 12:10:01 +02:00
audio_in.h Update license headers 2015-04-13 12:10:01 +02:00
cache_file.c cache_file: refuse to cache unseekable streams 2014-09-29 18:06:44 +02:00
cache.c cache: make backbuffer size configurable 2015-07-22 23:55:10 +02:00
cookies.c Update license headers 2015-04-13 12:10:01 +02:00
cookies.h Update license headers 2015-04-13 12:10:01 +02:00
dvb_tune.c dvb_tune: fix invalid syntax 2015-02-11 11:36:14 +01:00
dvb_tune.h stream_dvb: Also demux PMT if possible, reactivate TPID parsing. 2015-01-06 19:52:27 +01:00
dvbin.h stream_dvb: Always define NO_STREAM_ID_FILTER if missing. 2015-02-28 18:27:21 +01:00
frequencies.c Update license headers 2015-04-13 12:10:01 +02:00
frequencies.h Update license headers 2015-04-13 12:10:01 +02:00
rar.c stream: remove stream filter concept 2015-02-27 19:51:14 +01:00
rar.h stream: redo playback abort handling 2014-09-13 16:09:51 +02:00
stream_avdevice.c Update license headers 2015-04-13 12:10:01 +02:00
stream_bluray.c stream_bluray: remove menu implementation 2015-08-03 23:49:14 +02:00
stream_cdda.c Update license headers 2015-04-13 12:10:01 +02:00
stream_dvb.c options: add M_OPT_FILE to new options that are missing it 2015-03-07 22:19:38 +01:00
stream_dvd_common.c Update license headers 2015-04-13 12:10:01 +02:00
stream_dvd_common.h Update license headers 2015-04-13 12:10:01 +02:00
stream_dvd.c Update license headers 2015-04-13 12:10:01 +02:00
stream_dvdnav.c stream_dvdnav: rip out lower-level menu implementation 2015-08-03 23:49:14 +02:00
stream_edl.c stream: always disable cache for pseudo-streams 2014-12-24 14:33:34 +01:00
stream_file.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
stream_lavf.c Update license headers 2015-04-13 12:10:01 +02:00
stream_libarchive.c stream: libarchive wrapper for reading compressed archives 2015-08-17 00:55:26 +02:00
stream_libarchive.h stream: libarchive wrapper for reading compressed archives 2015-08-17 00:55:26 +02:00
stream_memory.c Add more const 2014-06-11 00:39:14 +02:00
stream_mf.c Update license headers 2015-04-13 12:10:01 +02:00
stream_null.c Update license headers 2015-04-13 12:10:01 +02:00
stream_pvr.c Update license headers 2015-04-13 12:10:01 +02:00
stream_rar.c stream_rar: update comment 2015-03-29 13:37:14 +02:00
stream_smb.c Update license headers 2015-04-13 12:10:01 +02:00
stream_tv.c Update license headers 2015-04-13 12:10:01 +02:00
stream.c stream: libarchive wrapper for reading compressed archives 2015-08-17 00:55:26 +02:00
stream.h stream: remove remaining DVD/BD menu definitions 2015-08-03 23:49:14 +02:00
tv.c Update license headers 2015-04-13 12:10:01 +02:00
tv.h Update license headers 2015-04-13 12:10:01 +02:00
tvi_def.h Update license headers 2015-04-13 12:10:01 +02:00
tvi_dummy.c Update license headers 2015-04-13 12:10:01 +02:00
tvi_v4l2.c Update license headers 2015-04-13 12:10:01 +02:00