Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 07:22:55 +0400
committerPhilip Gladstone <philipjsg@users.sourceforge.net>2002-07-27 07:22:55 +0400
commitce8389779605461dbc0d559c9edfeefbafd73336 (patch)
tree88fe0a0382486d3d46cc5cee513eacfd579ed1a4 /doc
parentb71472eb62ec9317bfe119ede3222bf66dbbdb1a (diff)
Add notes on the ?date= format.
Originally committed as revision 825 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/HOWTO-STREAM33
1 files changed, 32 insertions, 1 deletions
diff --git a/doc/HOWTO-STREAM b/doc/HOWTO-STREAM
index 640afb14ec..d260a046b0 100644
--- a/doc/HOWTO-STREAM
+++ b/doc/HOWTO-STREAM
@@ -2,7 +2,7 @@ The FFserver streaming HOWTO
----------------------------
Philip Gladstone <philip-ffserver@gladstonefamily.net>
-Last updated: May 16, 2002
+Last updated: July 26, 2002
0. What is this HOWTO about?
@@ -128,3 +128,34 @@ that will be discarded.
* You may want to adjust the MaxBandwidth in the ffserver.conf to limit
the amount of bandwidth consumed by live streams.
+
+8. Why does the ?buffer / Preroll stop working after a time?
+
+It turns out that (on my machine at least) the number of frames successfully
+grabbed is marginally less than the number that ought to be grabbed. This
+means that the timestamp in the encoded data stream gets behind real time.
+This means that if you say 'preroll 10', then when the stream gets 10
+or more seconds behind, there is no preroll left.
+
+Fixing this requires a require in the internals in how timestampts are
+handled.
+
+9. Does the ?date= stuff work.
+
+Yes (subject to the caution above). Also note that whenever you start
+ffserver, it deletes the ffm file, thus wiping out what you had recorded
+before. This behaviour is a temporary fix to various crashes. The aim is
+to fix it so that the old data is saved if possible.
+
+The format of the ?date=xxxxxx is fairly flexible. You should use one
+of the following formats (the 'T' is literal):
+
+* YYYY-MM-DDTHH:MM:SS (localtime)
+* YYYY-MM-DDTHH:MM:SSZ (UTC)
+
+You can omit the YYYY-MM-DD, and then it refers to the current day. However
+note that ?date=16:00:00 refers to 4PM on the current day -- this may be
+in the future and so unlikely to useful.
+
+You use this by adding the ?date= to the end of the URL for the stream.
+For example: http://localhost:8080/test.asf?date=2002-07-26T23:05:00