aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarth64 <marth64@proxyid.net>2023-12-09 13:23:04 -0600
committerStefano Sabatini <stefasab@gmail.com>2023-12-10 01:44:38 +0100
commit715e5e3e238d6369aa1e0cd4a351f90c00966dd2 (patch)
treec1b5f3fe3f21176b1f4804ac5b97076899ad5238
parentd06518e448c5083969869db9a55877748298327b (diff)
downloadffmpeg-715e5e3e238d6369aa1e0cd4a351f90c00966dd2.tar.gz
doc/bitstream_filters: add setts example
-rw-r--r--doc/bitstream_filters.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index c63c20370f..dc4f85bac0 100644
--- a/doc/bitstream_filters.texi
+++ b/doc/bitstream_filters.texi
@@ -882,6 +882,11 @@ The sample rate of stream packet belongs.
The AV_NOPTS_VALUE constant.
@end table
+For example, to set PTS equal to DTS (not recommended if B-frames are involved):
+@example
+ffmpeg -i INPUT -c:a copy -bsf:a setts=pts=DTS out.mkv
+@end example
+
@anchor{text2movsub}
@section text2movsub