diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-11-02 16:30:27 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2011-12-15 18:38:06 +0100 |
commit | 2c82ab946b8722a3501069e346809288db69e858 (patch) | |
tree | 4312513eda372d839d1771f296b7f2a7a6173a01 /doc/demuxers.texi | |
parent | b33fd66f46fc8817344eca2468707f4c00568d7f (diff) | |
download | ffmpeg-2c82ab946b8722a3501069e346809288db69e858.tar.gz |
lavf: add SBG demuxer.
Diffstat (limited to 'doc/demuxers.texi')
-rw-r--r-- | doc/demuxers.texi | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 9ec2fcef3d..a7af1c8d08 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -75,4 +75,34 @@ the caller can decide which variant streams to actually receive. The total bitrate of the variant that the stream belongs to is available in a metadata key named "variant_bitrate". +@section sbg + +SBaGen script demuxer. + +This demuxer reads the script language used by SBaGen +@url{http://uazu.net/sbagen/} to generate binaural beats sessions. A SBG +script looks like that: +@example +-SE +a: 300-2.5/3 440+4.5/0 +b: 300-2.5/0 440+4.5/3 +off: - +NOW == a ++0:07:00 == b ++0:14:00 == a ++0:21:00 == b ++0:30:00 off +@end example + +A SBG script can mix absolute and relative timestamps. If the script uses +either only absolute timestamps (including the script start time) or only +relative ones, then its layout is fixed, and the conversion is +straightforward. On the other hand, if the script mixes both kind of +timestamps, then the @var{NOW} reference for relative timestamps will be +taken from the current time of day at the time the script is read, and the +script layout will be frozen according to that reference. That means that if +the script is directly played, the actual times will match the absolute +timestamps up to the sound controller's clock accuracy, but if the user +somehow pauses the playback or seeks, all times will be shifted accordingly. + @c man end INPUT DEVICES |