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

2025-03-29 Thread Michael Niedermayer
Hi Koushik On Fri, Mar 28, 2025 at 11:30:05PM -0700, Koushik Dutta wrote: > Yes, that’s what I am doing. I am repacketizing h264 and hevc without > inspection of the stream itself. RTSP over tcp can transmit rtp packets up > to 64k. Some cameras utilize this to reduce fragmentation overhead but >

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

2025-03-28 Thread Koushik Dutta
Yes, that’s what I am doing. I am repacketizing h264 and hevc without inspection of the stream itself. RTSP over tcp can transmit rtp packets up to 64k. Some cameras utilize this to reduce fragmentation overhead but those large packets need to be fragmented for udp rebroadcast on typical network mt

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

2025-03-28 Thread Michael Niedermayer
Hi On Wed, Mar 26, 2025 at 01:13:13PM -0700, kou...@gmail.com wrote: > 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 pars

[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