hlsenc: add use_localtime_mkdir option to automatically create time-based directory
authorJohan Ström <johan@stromnet.se>
Wed, 3 Feb 2016 21:20:07 +0000 (22:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 Feb 2016 15:17:58 +0000 (16:17 +0100)
commit6c31c99289e39ac1bf2b44828d2795086aa0d6a8
treeec9b9793dc7441831f295714cf94dd93a6181500
parent7c11e727f640f8428e71cba5513b4a459366d1b8
hlsenc: add use_localtime_mkdir option to automatically create time-based directory

Use with -use_localtime, and set -hls_segment_filename to a path which
contains a subdirectory i.e. /some/path/%Y%m%d/%Y%m%dT%H%M%S-%s.ts
This will mkdir the %Y%m%d-part of the path if it does not already
exist.
In addition, each filename in the playlist output will be prefixed with
this subdirectory (if playlist and segment shares the same base path).

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
doc/muxers.texi
libavformat/hlsenc.c