[FFmpeg-cvslog] avformat/dashenc: Disable streaming for webm output
Karthick J
git at videolan.org
Tue Apr 16 13:29:43 EEST 2019
ffmpeg | branch: master | Karthick J <kjeyapal at akamai.com> | Wed Apr 10 12:24:40 2019 +0530| [bcde9ec0205656e135dc9cafa66e585dd81301ed] | committer: Karthick J
avformat/dashenc: Disable streaming for webm output
Currently streaming for webm output doesn't work.
Disabling explicitly will make sure that the manifest will get generated correctly.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bcde9ec0205656e135dc9cafa66e585dd81301ed
---
libavformat/dashenc.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 4585a46202..5f1333e436 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -1203,6 +1203,11 @@ static int dash_init(AVFormatContext *s)
"Override -init_seg_name and/or -media_seg_name and/or "
"-single_file_name to end with the extension .webm\n");
}
+ if (c->streaming) {
+ // Streaming not supported as matroskaenc buffers internally before writing the output
+ av_log(s, AV_LOG_WARNING, "One or more streams in WebM output format. Streaming option will be ignored\n");
+ c->streaming = 0;
+ }
}
ctx->oformat = av_guess_format(os->format_name, NULL, NULL);
More information about the ffmpeg-cvslog
mailing list