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
I have set output format to dash in muxing.c(I have removed audio stream)
Here:
avformat_alloc_output_context2(, 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
In data martedì 23 ottobre 2012 22:26:10, Stefano Sabatini ha scritto:
Does muxing.c work well?
I tried:
a.mpg
a.avi
a.mpeg
a.ogg
but nothing.
Can't reproduce here.
ffmpeg 1.0 works well.
--
www.denisgottardello.it
Skype: mrdebug
Videosurveillance and home automation!
Using muxing.c example, I obtain this error:
Unable to find a suitable output format for 'a.mpg
The problem is at row avformat_alloc_output_context2(oc, NULL, NULL,
filename); of the muxing.c example.
Does muxing.c work well?
I tried:
a.mpg
a.avi
a.mpeg
a.ogg
but nothing.
--