Re: [Libav-user] muxing.c example with dash format

2018-02-14 Thread Yuriy Pryyma
Thank you man it worked On 14.02.18 01:44, salsaman wrote: You may need something like:   /* Some formats want stream headers to be separate. */   if (oc->oformat->flags & AVFMT_GLOBALHEADER)     c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; where oc is your AvFormatContext * and c is your

Re: [Libav-user] muxing.c example with dash format

2018-02-13 Thread salsaman
You may need something like: /* Some formats want stream headers to be separate. */ if (oc->oformat->flags & AVFMT_GLOBALHEADER) c->flags |= AV_CODEC_FLAG_GLOBAL_HEADER; where oc is your AvFormatContext * and c is your AvCodecContext. Gabriel. http://lives-video.com