From 715e5e3e238d6369aa1e0cd4a351f90c00966dd2 Mon Sep 17 00:00:00 2001 From: Marth64 Date: Sat, 9 Dec 2023 13:23:04 -0600 Subject: [PATCH] doc/bitstream_filters: add setts example --- doc/bitstream_filters.texi | 5 +++++ 1 file changed, 5 insertions(+) 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