On 2024-01-29 19:42 +0100, Anton Khirnov wrote:
[...]
> --- a/doc/bitstream_filters.texi
> +++ b/doc/bitstream_filters.texi
> @@ -887,6 +887,10 @@ For example, to set PTS equal to DTS (not recommended if
> B-frames are involved):
> ffmpeg -i INPUT -c:a copy -bsf:a setts=pts=DTS out.mkv
> @end
Quoting James Almer (2024-01-30 13:39:19)
> > +av_log(ctx, AV_LOG_INFO,
> > + "n:%7"PRIu64" "
> > + "size:%7d "
> > + "pts:%s pt:%s "
> > + "dts:%s dt:%s "
> > + "ds:%"PRId64" d:%s "
>
> Why the trailing space?
On 1/29/2024 3:42 PM, Anton Khirnov wrote:
Analogous to the (a)showinfo lavfi filters, logs basic packet
information. Mainly useful for debugging/testing/development.
---
Changelog | 1 +
doc/bitstream_filters.texi | 4 +++
libavcodec/bitstream_filters.c | 1 +
Quoting Andreas Rheinhardt (2024-01-30 08:17:23)
> > +#include
>
> You should use inttypes.h instead -- it provides everything stdint.h
> provides and the print directive defines like PRId64.
>
> > +static int showinfo_filter(AVBSFContext *ctx, AVPacket *pkt)
> > +{
> > +ShowinfoContext
Anton Khirnov:
> Analogous to the (a)showinfo lavfi filters, logs basic packet
> information. Mainly useful for debugging/testing/development.
> ---
> Changelog | 1 +
> doc/bitstream_filters.texi | 4 +++
> libavcodec/bitstream_filters.c | 1 +
>
Analogous to the (a)showinfo lavfi filters, logs basic packet
information. Mainly useful for debugging/testing/development.
---
Changelog | 1 +
doc/bitstream_filters.texi | 4 +++
libavcodec/bitstream_filters.c | 1 +
libavcodec/bsf/Makefile| 1 +