[vlc-commits] cycle: initial support for splitting stream output in time (refs #561)
Rémi Denis-Courmont
git at videolan.org
Fri Feb 20 23:16:38 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Feb 21 00:01:23 2015 +0200| [c599964d40d3b2f0aafbb2e5aae2802b9681c8b9] | committer: Rémi Denis-Courmont
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.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c599964d40d3b2f0aafbb2e5aae2802b9681c8b9
---
modules/MODULES_LIST | 1 +
modules/stream_out/Makefile.am | 2 +
modules/stream_out/cycle.c | 329 ++++++++++++++++++++++++++++++++++++++++
po/POTFILES.in | 1 +
4 files changed, 333 insertions(+)
Diff: http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c599964d40d3b2f0aafbb2e5aae2802b9681c8b9
More information about the vlc-commits
mailing list