On 4/10/19 12:09 PM, Karthick J wrote:
> Currently streaming for webm output doesn't work.
> Disabling explicitly will make sure that the manifest will get generated
> correctly.
> ---
> libavformat/dashenc.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
> index f8d71166d4..d8dcbc1230 100644
> --- a/libavformat/dashenc.c
> +++ b/libavformat/dashenc.c
> @@ -1200,6 +1200,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);
Pushed
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".