[Libav-user] What happens if AV_CODEC_FLAG_GLOBAL_HEADER is set when not needed.

Yurii Monakov monakov.y at gmail.com
Wed Jun 20 20:47:29 EEST 2018

If you stream something (for example, h264 over rtp), setting global
headers flag will produce invalid stream without codec parameters. You have
to use dump_extradata bitstream filter in this case.


вт, 19 июня 2018 г. в 23:07, Carl Eugen Hoyos <ceffmpeg at gmail.com>:

> 2018-06-19 17:42 GMT+02:00, Hristo Ivanov <hivanov.ffmailing at gmail.com>:
> > What happens when the flags is set for formats that does not need it?
> In theory, this can produce invalid files, bitstream filters may help.
> Carl Eugen
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180620/bc2b93bf/attachment.html>

More information about the Libav-user mailing list