[FFmpeg-devel] [PATCH] doc/bitstream_filters: add setts example

Marth64 marth64 at proxyid.net
Sat Dec 9 21:23:04 EET 2023


---
 doc/bitstream_filters.texi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi
index c63c20370f..145aa8684e 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
 
+Set PTS equal to DTS (not recommended if B-frames are involved):
+ at example
+ffmpeg -i INPUT -c:a copy -bsf:a setts=pts=DTS out.mkv
+ at end example
+
 @anchor{text2movsub}
 @section text2movsub
 
-- 
2.34.1



More information about the ffmpeg-devel mailing list