player: add --chapters-file option

Note that you can't pass .cue or .edl files to it, at least not yet.

Requested in context of allowing to specify custom chapters. For that
to work well, we probably need to add some sort of chapter metadata
pseudo-demuxer.
This commit is contained in:
wm4
2014-11-02 16:47:23 +01:00
parent 95a5624946
commit 1cebd16350
4 changed files with 32 additions and 5 deletions

View File

@@ -247,6 +247,10 @@ Playback Control
Note: a playlist can be as simple as a text file containing filenames
separated by newlines.
``--chapters-file=<filename>``
Load chapters from this file, instead of using the chapter metadata found
in the main file.
``--sstep=<sec>``
Skip <sec> seconds after every frame.