diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-03-04 01:41:22 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-04-07 02:54:30 +0200 |
commit | 3d42d4937b029b604da7d53dce16c72e8edde29c (patch) | |
tree | 19bc74ae8986e15617855955aaa71265ce8d05b9 /doc | |
parent | a013291d26d325ba81d8db758d5e5adccc743cf5 (diff) | |
download | ffmpeg-streaming-3d42d4937b029b604da7d53dce16c72e8edde29c.zip ffmpeg-streaming-3d42d4937b029b604da7d53dce16c72e8edde29c.tar.gz |
proto: introduce listen option in tcp
This way is possible to have simple micro-server act like
ffmpeg -i file.nut -vcodec copy -acodec copy -f nut tcp://foo:1234?listen
Diffstat (limited to 'doc')
-rw-r--r-- | doc/protocols.texi | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/protocols.texi b/doc/protocols.texi index 83c238f..18749ef 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -402,6 +402,23 @@ ffplay sap://[ff0e::2:7ffe] Trasmission Control Protocol. +The required syntax for a TCP url is: +@example +tcp://@var{hostname}:@var{port}[?@var{options}] +@end example + +@table @option + +@item listen +Listen for an incoming connection + +@example +ffmpeg -i @var{input} -f @var{format} tcp://@var{hostname}:@var{port}?listen +ffplay tcp://@var{hostname}:@var{port} +@end example + +@end table + @section udp User Datagram Protocol. |