[FFmpeg-devel] Does rtspenc actually support AVFMT_GLOBALHEADER?
John Cox
jc at kynesim.co.uk
Tue Aug 20 14:08:47 EEST 2024
On Mon, 19 Aug 2024 at 19:32, Martin Storsjö <martin at martin.st> wrote:
>
> On Mon, 19 Aug 2024, John Cox wrote:
>
> > Does rtspenc actually support AVFMT_GLOBALHEADER? It is specified in the
> > FFOutputFormat flags but I can't see anywhere in the code where
> > extradata is referenced like it is in other output formats which support
> > that flag.
> >
> > I ask because I have an encoder that supports the flag and when set
> > removes SPS/PPS from the stream and puts them in extradata instead which
> > I believe is the correct behavior - if it isn't then that is my problem
> > and I'd appreciate clarification of what is meant to occur. The
> > transmitted RTSP stream then doesn't contain SPS/PPS.
>
> That's correct, the SPS/PPS gets transmitted in the SDP description, not
> in-band.
Many thanks for the info. I thought something like that should occur
but I couldn't find it.
Now I know where I should be looking.
John Cox
More information about the ffmpeg-devel
mailing list