From patchwork Thu Oct 26 15:58:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_Gro=C3=9Fe?= X-Patchwork-Id: 5701 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.90 with SMTP id m26csp975964jah; Thu, 26 Oct 2017 08:59:33 -0700 (PDT) X-Google-Smtp-Source: ABhQp+Q4CzjkjNVFqAXD6kORIz9REOjZ9Ggc9ZbkLDonq/VkeKhSJIuGivbpb9vmkzvcndn60CCG X-Received: by 10.28.152.5 with SMTP id a5mr2072590wme.131.1509033573174; Thu, 26 Oct 2017 08:59:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509033573; cv=none; d=google.com; s=arc-20160816; b=muE2X/p6pS18DhLfsq2Jkfz7iTcXfguOjASq8eKkdcDPteVs/RF6bNm9jmhZ3zAfPN r4plTkLeoYcmr0GkmAradt1NDP1p4/0Qgmet6Pa5+0KJI5MBsowBXaQtkVcMI2xwlnSj MWbfpQKo6oSWQIHrZspnY7rVB/PyWrbHZ5oiGCZ5kn2mzT6GoofAqSvVF8PAZeMsv8M3 tGmIprcn/5o3K45Rmg8K9wEKXMVNuCAQNOGy7U2Dw+uafcaMY1tI6FspRDHGXYJ2iTMo mjJUPVCUPZsHHmETazLMxLTXYqfbIrGnhisTBE3vRx6e0V9jPSujBUeXCS+uOBE9mlcD R3MQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:delivered-to:arc-authentication-results; bh=3OJHAti65CIKZ8vRstc3R0VMB2sm3RuDiNqFuhAN05w=; b=hKDIsl9fm1ganproPTi2ebl4/lnn+uUhLkHpUQSie7zmpsVQjB4kHLOUsB7H8wq2Tx LTr9/BZzNRlO+lecFABz4V4SPMirevhSNlSvzkrviqrqJaWBkfzzz1d8UGlIGsOBBnyX lkV8PG85WjS8eCAQGISr38pMtQQBrUxmy1PiFX0djV3rICvaiKmfY2KrgkXoxgUbhfJ/ hNf0NchPczELN9jAdVFx/oLK7ZLMEH3ql9v1IfO3qBUkRcb0aFVxjDbbsWJWTBqvF/wc nskoJ2AZfDnkqPsneexvT+HQANHjtFHrbNv+1DU9aspJvCskQo6RF2iq8mygG/+G2xPc LoaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 189si1204145wmr.24.2017.10.26.08.59.32; Thu, 26 Oct 2017 08:59:33 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id CA63268A606; Thu, 26 Oct 2017 18:58:57 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from james.theweblords.de (james.theweblords.de [217.11.55.87]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3BAA468A5EB for ; Thu, 26 Oct 2017 18:58:49 +0300 (EEST) Received: (qmail 23974 invoked by uid 210); 26 Oct 2017 15:58:57 -0000 X-Qmail-Scanner-Diagnostics: from wl-r3-231.rz.tu-ilmenau.de (petronios@theweblords.de@wl-r3-231.rz.tu-ilmenau.de) by james (envelope-from , uid 201) with qmail-scanner-2.10st (mhr: 1.0. spamassassin: 3.4.1. perlscan: 2.10st. Clear:RC:1(141.24.16.231):. Processed in 0.044745 secs); 26 Oct 2017 15:58:57 -0000 Received: from wl-r3-231.rz.tu-ilmenau.de (HELO montepegro.fem.tu-ilmenau.de) (petronios@theweblords.de@141.24.16.231) by james.theweblords.de with ESMTPA; 26 Oct 2017 15:58:56 -0000 From: =?UTF-8?q?Peter=20Gro=C3=9Fe?= To: ffmpeg-devel@ffmpeg.org Date: Thu, 26 Oct 2017 17:58:36 +0200 Message-Id: <20171026155840.16816-4-pegro@friiks.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171026155840.16816-1-pegro@friiks.de> References: <20171026155840.16816-1-pegro@friiks.de> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 3/7] dashenc: set DASH related options for the subsequent matroska muxer when using webm 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: , Reply-To: FFmpeg development discussions and patches Cc: =?UTF-8?q?Peter=20Gro=C3=9Fe?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Peter Große --- libavformat/dashenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 1b3acb7ac9..bde093646f 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -776,6 +776,9 @@ static int dash_init(AVFormatContext *s) } else { av_dict_set_int(&opts, "cluster_time_limit", c->min_seg_duration / 1000, 0); av_dict_set_int(&opts, "cluster_size_limit", 5 * 1024 * 1024, 0); // set a large cluster size limit + av_dict_set_int(&opts, "dash", 1, 0); + av_dict_set_int(&opts, "dash_track_number", i + 1, 0); + av_dict_set_int(&opts, "live", 1, 0); } if ((ret = avformat_write_header(ctx, &opts)) < 0) return ret;