On 06.04.2015 20:29, Stephan Holljes wrote:
Signed-off-by: Stephan Holljes<klaxa1...@googlemail.com>
---
doc/protocols.texi | 4 +++-
libavformat/http.c | 7 +++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/doc/protocols.texi b/doc/protocols.texi
index 5b7b6cf..5e9173f 100644
--- a/doc/protocols.texi
+++ b/doc/protocols.texi
@@ -279,7 +279,9 @@ Set initial byte offset.
Try to limit the request to bytes preceding this offset.
@item listen
-If set to 1 enables experimental HTTP server.
+If set to 1 enables experimental HTTP server. This can be used to send data
when
+used as an output option, or read data from a client with HTTP POST when used
as
+an input option.
@end table
You can add an example, something like this:
Streaming a file through network:
Receiver setup:
ffplay -listen 1 -i http://localhost:8181:file.mp4
Sender setup:
ffmpeg -i input.mp4 -c:v copy -c:a copy http://REMOVEIP:8181/file.mp4
Nice stuff.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel