[FFmpeg-devel] [PATCH] libavformat/rtpdec_mpeg4: AAC may not contain AU headers.

2025-04-01 Thread koushd
From: Koushik Dutta The codec information may be in the SDP and not in the stream. Signed-off-by: Koushik Dutta --- libavformat/rtpdec_mpeg4.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c index 6531632b2d..c3

[FFmpeg-devel] [PATCH] libavformat/sdp: VPS is not a mandatory HEVC codec parameter.

2025-03-26 Thread koushd
From: Koushik Dutta Many IP cameras do not place VPS in the SDP, and only send it in the stream. The RTSP SDP only contains SPS/PPS. Signed-off-by: Koushik Dutta --- libavformat/sdp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c

[FFmpeg-devel] [PATCH] avformat/rtpenc: Add flag AVFMT_NODIMENSIONS.

2025-03-26 Thread koushd
From: Koushik Dutta Not all rtp formats require the video dimensions to be available up front. H264 and HEVC will send them as stream parameters. The flag is restrictive and prevents RTP repacketization without parsing the codec information out of the stream. This change checks to see if the cod