1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00
mpv/core
wm4 51503a0577 options: rename -ss and -endpos, allow relative times
Rename the -ss option to -start, and -endpos to -length. Add a -end
option. The -end option always specifies an absolute end time, as
opposed to -endpos/-length.

All these options (--start, --end, --length) now accept relative times.
Percent positions (e.g. "--start=30%") are interpreted as fractions of
the file duration. Negative times (e.g. "--start=-1:00) are interpreted
relative to the end of the file. Chapters (e.g. "--start=#3") yield the
chapter's time position.

The chapter support might be able to replace --chapter completely, but
for now I am not sure how well this works out with e.g. DVDs and BDs,
and a separate --chapter option is useful interface-wise.
2012-11-16 21:21:15 +01:00
..
input input: silence warning if input.conf is missing 2012-11-16 21:21:14 +01:00
timeline clang: fix all warnings except deprecations 2012-11-13 22:19:18 +01:00
asxparser.c
asxparser.h
av_log.c
av_log.h
av_opts.c
av_opts.h
bstr.c
bstr.h
cfg-mplayer.h options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
codec-cfg.c
codec-cfg.h
command.c
command.h
cpudetect.c
cpudetect.h
defaultopts.c
defaultopts.h
encode_lavc.c
encode_lavc.h
encode.h
m_config.c
m_config.h
m_option.c options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
m_option.h options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
m_property.c
m_property.h
m_struct.c
m_struct.h
mp_common.c
mp_common.h mp_common.h: split parts into mp_talloc.h and compiler.h 2012-11-12 20:08:57 +01:00
mp_core.h
mp_fifo.c
mp_fifo.h
mp_msg.c build: remove doc/locale language auto-detection, simplify 2012-11-14 11:26:43 +01:00
mp_msg.h
mp_osd.h
mp_talloc.h mp_common.h: split parts into mp_talloc.h and compiler.h 2012-11-12 20:08:57 +01:00
mpc_info.h
mplayer.c options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
mplayer.h
options.h options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
parser-cfg.c
parser-cfg.h
parser-mpcmd.c
parser-mpcmd.h
path.c
path.h
playlist_parser.c options: rename -ss and -endpos, allow relative times 2012-11-16 21:21:15 +01:00
playlist_parser.h
playlist.c
playlist.h
quvi.c
screenshot.c
screenshot.h
subopt-helper.c
subopt-helper.h
version.c