[FFmpeg-devel] [PATCH] avformat/rtpenc: Add flag AVFMT_NODIMENSIONS.
Michael Niedermayer
michael at niedermayer.cc
Sat Mar 29 01:39:22 EET 2025
Hi
On Wed, Mar 26, 2025 at 01:13:13PM -0700, koushd at gmail.com wrote:
> From: Koushik Dutta <koushd at gmail.com>
>
> 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 codec parameters are available
> on the rtp formats that need it.
>
> Signed-off-by: Koushik Dutta <koushd at gmail.com>
> ---
> libavformat/rtpenc.c | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
In general when muxing a stream, the dimensions are known
Can you explain what you are doing with rtpenc that lacks
known dimensions ?
is this some sort of low latency remuxing ?
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Some people wanted to paint the bikeshed green, some blue and some pink.
People argued and fought, when they finally agreed, only rust was left.
-------------- 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/a63ec321/attachment.sig>
More information about the ffmpeg-devel
mailing list