1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-05 14:42:24 +00:00
mpv/stream
Mohammad AlSaleh ffa9aaa2e4 stream: Implement slice:// for reading slices of streams
Add support for reading a byte range from a stream via
 the `slice://` protocol.

 Syntax is `slice://start[-end]@URL` where end is a maximum
 (read until end or eof).

 Size suffixes support in `m_option` is reused so they can
 be used with start/end.

 This can be very useful with e.g. large MPEGTS streams with
 corruption or time-stamp jumps or other issues in them.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2020-08-19 17:22:53 +02:00
..
cookies.c
cookies.h
dvb_tune.c
dvb_tune.h
dvbin.h
stream_avdevice.c
stream_bluray.c
stream_cb.c
stream_cdda.c
stream_concat.c
stream_dvb.c
stream_dvdnav.c
stream_edl.c
stream_file.c
stream_lavf.c
stream_libarchive.c
stream_libarchive.h
stream_memory.c
stream_mf.c
stream_null.c
stream_slice.c stream: Implement slice:// for reading slices of streams 2020-08-19 17:22:53 +02:00
stream.c stream: Implement slice:// for reading slices of streams 2020-08-19 17:22:53 +02:00
stream.h