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 AvC
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
https://www.openh
I have set output format to dash in muxing.c(I have removed audio stream)
Here:
avformat_alloc_output_context2(&oc, NULL, "dash", filename);
Program generated "chunk-stream0-1.m4s" "init-stream0.m4s" "main.mpd"
Looks like everything is good, but video is black when playing using
MP4Client