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

Michael Niedermayer michael at niedermayer.cc
Sat Mar 29 23:49:24 EET 2025


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
> those large packets need to be fragmented for udp rebroadcast on typical
> network mtu.
> 
> I could inspect the stream for sps and then parse the dimensions out of
> there, or maybe set some dummy values on the rtp encoder somehow and work
> around this. But neither of those seemed like proper solutions given rtp
> doesn’t need to know the steam dimensions for all but 2 codecs.

ok, will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250329/29067614/attachment.sig>


More information about the ffmpeg-devel mailing list