Segment set AVFMT_GLOBALHEADER since it is assumed that global headers might be used, it interacts badly with x264 assumption on that flag and mpegts.
The two patches aim to partially workaround another option is adding a AVFMT_ANYHEADER or making the flag not part of the immutable format properties. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
