]> git.sesse.net Git - vlc/commit
cycle: initial support for splitting stream output in time (refs #561)
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 20 Feb 2015 22:01:23 +0000 (00:01 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 20 Feb 2015 22:09:45 +0000 (00:09 +0200)
commitc599964d40d3b2f0aafbb2e5aae2802b9681c8b9
tree9a855f336111de23fb199bfdd4f052c0004a2755
parente9ef30f85d5f71cec57b15f5f4034a17590478f0
cycle: initial support for splitting stream output in time (refs #561)

Example:
 #cycle{duration=20m,
        dst=std{mux=ts,access=file,dst=sport.ts},   duration=5m},
        dst=std{mux=ts,access=file,dst=weather.ts}, duration=5m}

Skips 20 minutes, then records 5 minutes to sport.ts, then 5 more
minutes to weather.ts and restarts.

"duration" specifies the duration of the previous phase
"offset"   specifies the offset at which the previous phase ends
           and the next phase begins
           (mutually exclusive with duration)
"dst"      specifies the stream output chain for the phase
           (if missing, the phase is skipped/discarded)

Durations and offsets are so far expressed as an integer, optionally
followed by a unit: w=week, d=day, h=hour, m=minute, s=second. Second
is the default.

Currently only the decoding time stamp can be used as a reference, but
adding local or UTC clocks should be relatively easy.

ES synchronization and reference frames management is left for
further study.
modules/MODULES_LIST
modules/stream_out/Makefile.am
modules/stream_out/cycle.c [new file with mode: 0644]
po/POTFILES.in