diff mbox series

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

Message ID 20231209192304.783313-1-marth64@proxyid.net
State New
Headers show
Series [FFmpeg-devel] doc/bitstream_filters: add setts example | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Marth64 Dec. 9, 2023, 7:23 p.m. UTC
---
 doc/bitstream_filters.texi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Stefano Sabatini Dec. 10, 2023, 12:51 a.m. UTC | #1
On date Saturday 2023-12-09 13:23:04 -0600, Marth64 wrote:
> ---
>  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):
> +@example
> +ffmpeg -i INPUT -c:a copy -bsf:a setts=pts=DTS out.mkv
> +@end example

Applied, thanks.
diff mbox series

Patch

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