[FFmpeg-cvslog] doc/bitstream_filters: add setts example

Marth64 git at videolan.org
Sun Dec 10 02:50:18 EET 2023


ffmpeg | branch: master | Marth64 <marth64 at proxyid.net> | Sat Dec  9 13:23:04 2023 -0600| [715e5e3e238d6369aa1e0cd4a351f90c00966dd2] | committer: Stefano Sabatini

doc/bitstream_filters: add setts example

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=715e5e3e238d6369aa1e0cd4a351f90c00966dd2
---

 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):
+ at example
+ffmpeg -i INPUT -c:a copy -bsf:a setts=pts=DTS out.mkv
+ at end example
+
 @anchor{text2movsub}
 @section text2movsub
 



More information about the ffmpeg-cvslog mailing list