[FFmpeg-devel] [PATCH v4] avcodec/h264: ignore POC when flag is set

2024-09-27 Thread Kevin Wang
When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL is set, ignore any out of order POC's as they may still be valid frames. --- Apologies for the non-inlined patch but for some reason patchwork doesn't apply it correctly. This is the same patch as https://ffmpeg.org/pipermail/ff

Re: [FFmpeg-devel] [PATCH v3] avcodec/h264: ignore POC when flag is set

2024-09-17 Thread Kevin Wang
you can provide. On Tue, Sep 17, 2024 at 8:15 AM Anton Khirnov wrote: > > Quoting Kevin Wang (2024-09-16 06:26:34) > > When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL > > is set, ignore any out of order POC's as they may still be valid > > frames.

[FFmpeg-devel] [PATCH v3] avcodec/h264: ignore POC when flag is set

2024-09-15 Thread Kevin Wang
When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL is set, ignore any out of order POC's as they may still be valid frames. --- Reformat with more lines so the patch is better. libavcodec/h264_slice.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libav

[FFmpeg-devel] [PATCH v2] avcodec/h264: ignore POC when flag is set

2024-09-15 Thread Kevin Wang
When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL is set, ignore any out of order POC's as they may still be valid frames. --- Fixes the patch formatting. libavcodec/h264_slice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_slice.c b/li

Re: [FFmpeg-devel] [PATCH] avcodec/h264: ignore POC when flag is set

2024-09-13 Thread Kevin Wang
It seems that my patch didn't get picked up by patchwork :( Did I miss a formatting step? On Fri, Sep 13, 2024 at 1:40 AM wrote: > > From: Kevin Wang > > When the flag AV_CODEC_FLAG_OUTPUT_CORRUPT or AV_CODEC_FLAG2_SHOW_ALL > is set, ignore any out of order POC's a

[FFmpeg-devel] Bitrate estimation API in libavformat muxers

2022-08-23 Thread Kevin Wang
Is there an API to get the bitrate from libavformat muxers that support it? Many streaming protocols now offer some sort of bandwidth estimation, wondering if there is a common way to get the outbound link capacity through libavformat so it can be passed to the encoder easily. Kevin __

Re: [FFmpeg-devel] [PATCH] rtpenc_vp8: Use 15-bit PictureIDs

2022-03-25 Thread Kevin Wang
Hi, ping on this patch? It's quite simple, happy to answer any questions. On Tue, Mar 22, 2022 at 2:25 PM wrote: > From: Kevin Wang > > 7-bit PictureIDs are not supported by WebRTC: > https://groups.google.com/g/discuss-webrtc/c/333-L02vuWA > > In practice, 15-bit

[FFmpeg-devel] Demuxing and decoding raw RTP stream

2022-02-05 Thread Kevin Wang
Hi, I'm implementing a pipeline where I receive inbound RTP packets in memory but I'm having trouble figuring out how to set up libavformat to handle/unwrap the RTP packets. I have all relevant information about the underlying codec necessary but since it's h264 I cannot simply strip the RTP heade