aboutsummaryrefslogtreecommitdiffstats
path: root/doc/muxers.texi
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2013-08-04 12:25:57 +0300
committerMichael Niedermayer <michaelni@gmx.at>2013-08-04 13:35:54 +0200
commit27cc3e72f8502d6239dcd0f1dd3fe73f1c85355d (patch)
tree9941a2d33e6bfe166ba4d3237609bc1003b7df2b /doc/muxers.texi
parent3415058541a4ad402eefaa8e25041e85e69e633e (diff)
downloadffmpeg-27cc3e72f8502d6239dcd0f1dd3fe73f1c85355d.tar.gz
doc/muxers: Document use case of mpegts muxer option tables_version
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc/muxers.texi')
-rw-r--r--doc/muxers.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/muxers.texi b/doc/muxers.texi
index a3a1878e56..d2041885a0 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -535,6 +535,18 @@ Preserve original timestamps, if value is set to 1. Default value is -1, which
results in shifting timestamps so that they start from 0.
@item -tables_version @var{number}
Set PAT, PMT and SDT version (default 0, valid values are from 0 to 31, inclusively).
+This option allows updating stream structure so that standard consumer may
+detect the change. To do so, reopen output AVFormatContext (in case of API
+usage) or restart ffmpeg instance, cyclically changing tables_version value:
+@example
+ffmpeg -i source1.ts -codec copy -f mpegts -tables_version 0 udp://1.1.1.1:1111
+ffmpeg -i source2.ts -codec copy -f mpegts -tables_version 1 udp://1.1.1.1:1111
+...
+ffmpeg -i source3.ts -codec copy -f mpegts -tables_version 31 udp://1.1.1.1:1111
+ffmpeg -i source1.ts -codec copy -f mpegts -tables_version 0 udp://1.1.1.1:1111
+ffmpeg -i source2.ts -codec copy -f mpegts -tables_version 1 udp://1.1.1.1:1111
+...
+@end example
@end table
Option mpegts_flags may take a set of such flags: