From patchwork Wed Apr 10 06:39:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Diego Felix de Souza via ffmpeg-devel X-Patchwork-Id: 12682 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 9A6B44481A3 for ; Wed, 10 Apr 2019 09:40:00 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7292368AE77; Wed, 10 Apr 2019 09:40:00 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from a1i921.smtp2go.com (a1i921.smtp2go.com [43.228.187.153]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 106FF68AE5B for ; Wed, 10 Apr 2019 09:39:52 +0300 (EEST) Received: from [10.45.33.53] (helo=SmtpCorp) by smtpcorp.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1hE6th-4pkXFY-SN; Wed, 10 Apr 2019 06:39:49 +0000 Received: from [10.80.67.65] (helo=blr-mp4tf.bangalore.corp.akamai.com) by smtpcorp.com with esmtpa (Exim 4.91) (envelope-from ) id 1hE6tg-rlZEV7-Hb; Wed, 10 Apr 2019 06:39:49 +0000 To: ffmpeg-devel@ffmpeg.org Date: Wed, 10 Apr 2019 12:09:42 +0530 Message-Id: <20190410063942.10933-1-kjeyapal@akamai.com> X-Mailer: git-send-email 2.20.1 (Apple Git-117) MIME-Version: 1.0 X-Smtpcorp-Track: 1hE6tgr_ZEV7HP.rcA1TaEVy Feedback-ID: 337386m:337386asVRLGB:337386szOxztoQ4G X-Report-Abuse: Please forward a copy of this message, including all headers, to Subject: [FFmpeg-devel] [PATCH] avformat/dashenc: Disable streaming for webm output X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Karthick J via ffmpeg-devel From: Diego Felix de Souza via ffmpeg-devel Reply-To: FFmpeg development discussions and patches Cc: Karthick J Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" 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);