From patchwork Fri Aug 16 22:28:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Berclaz X-Patchwork-Id: 35167 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:b6ca:0:b0:48e:c0f8:d0de with SMTP id s10csp716369vqj; Fri, 16 Aug 2024 15:29:17 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCW9VIGCc1TQMlx1ysqDkX6MR/ySqsy+izt00PzWs91w3oPBel/EEC8BvT9yOqhSaQAzpZq0f1yKvszjwiQVID8T0dhjJ0HBW2Z3JA== X-Google-Smtp-Source: AGHT+IEcFtJHSUF9TsKXuRg4lc8HwVLd9yKFhD6AwrcDk2qRyvidLVEMlNxKauFrMZtpVyh47iTU X-Received: by 2002:a2e:888b:0:b0:2ec:5364:c791 with SMTP id 38308e7fff4ca-2f3be5835b1mr25769491fa.17.1723847357339; Fri, 16 Aug 2024 15:29:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723847357; cv=none; d=google.com; s=arc-20160816; b=CMxNJ2LD/bzS8powkgn4dwVBZIldXPnorW4VXx9yFjRM8GgQZyuAi+39ndnWYVTOpt BBkZt+X/NYSsN2pq3mBqRH6hi4LRpvdp6Wj9plAOe8Eynjxf2uiqdRqUNcpb3fYVtQul Dr84gj6dl6eVhVUPKdOfv+Wnhf9WjNLk2keWeBLeqS3YRPK5pQAnajYXG86lQS3/rbOp hTtbFfnT91jGkKpJHNsTbmlyuxuNXnlUA0gMrVV9EH1TKhn7a6m83awAR/idA6mtIeGB soJItoftdKaRg1v4LJnuWG0s71lyrRUHF5m+2n/kTPosPCvYI7mYqIzp9QufX1GZiGLb hcJA== 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:from :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to :delivered-to; bh=LM63gTi+bb1jptpKJULUfdXHV5qo5EOElCtIQg8guFA=; fh=9rpMnfKXTP/u4Vh8uMYwMZ/otx7sycm5KQadsXAVDeQ=; b=FMC10r0EhZM1PU/7ybVYgvU+3dE2Kkf6oKyFskuHOESCcQxFCRvTim9wBTl70+0GlI HMLKLHwsbqlv4YQLMTtnn92SkaqlMq3xQvb+jUgbtuOTKWDF0RekWF331cQMZVE9jJin NOkAFjUMeH9WgyJ7pPz8eIyQmpMaprP+p7067rDoRShSAyaLQnOJHPQ63vltCFH+sKtM r/7p8OaSpTRiD3LC1mTUsloEi/TjzP6VyemjoPHMwiqOWuh4itZydDMCb1sI6eHpXEx7 H2U5my67c223imWT0b755KeHJjQdjDVyih86775NFNI/XrP/fMWa+0SxxkzHsbYEA4L3 joHg==; dara=google.com 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 38308e7fff4ca-2f3b76ebddasi11298101fa.274.2024.08.16.15.29.16; Fri, 16 Aug 2024 15:29:17 -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 0993368DC2C; Sat, 17 Aug 2024 01:29:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pj1-f45.google.com (mail-pj1-f45.google.com [209.85.216.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5233768DB7A for ; Sat, 17 Aug 2024 01:29:04 +0300 (EEST) Received: by mail-pj1-f45.google.com with SMTP id 98e67ed59e1d1-2d3c05ec278so1879295a91.0 for ; Fri, 16 Aug 2024 15:29:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723847342; x=1724452142; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eoU8md0kYp6dhP66qcYi3+CApFjCkePpHnG3OdCVCEg=; b=ekRmtga/nqxTLkcqK9IEjqYM3riqjpqnwhMYIkXIsBvGvg0I8AF4kkcChc0a7T9e9U l02yPN1v85zHMWycxYXtGh5N+O42W9ECnlnVkNvLv/XNrIKL7i2+YEv1tq1NOreLeDs5 Gxd2GoaKYZIArOhCpVpy4PsH1uTFMWht5K6Xnd0t6olnH642NZ4xEc+Q2f7G3G08lEs6 3D6GCYOqABQafRmBzb7oQfM4f+6bNwLzWORnbPLWyM+p/rCvEUdUZ4G2Qn0GCtpDEHmH inrRfg16rnHiJOcsWbV1oQEXQi+d0K0FJ/W/fXKqvckeYdxsa73XOgRPrB2TeySAsh/L RWVA== X-Gm-Message-State: AOJu0Yz78jtJny0EU2QZTaqCCaTIlFyrLQd3b76U2YuI0uyz/BHFiqgh 9Vws1gCx8DMhla0TvbnkOb81Zq4xJrBTNjCHrCIGnXe+IISp9myiVNZ6EQQCHT754mA3Zhx8MOe 6d7aRteyV+9Hd5skC65H5VrjOKgNnA6IQKKhRGPSrBLGeUJNu9PSfOrPKsCEZYBLgYsCk1pkgKI iqXJrd6+VWbmBUo/ev/PdS5OTSOk67D6/33VlR4MLl5kcuFI0l5yx55TbCEzLh6+VyurQCJUyg7 2yYgV8YHJ1dG3Z7Bu9BY2SR7RKLe8UUpBo= X-Received: by 2002:a17:90b:30cb:b0:2d3:db53:5577 with SMTP id 98e67ed59e1d1-2d3e0409ac0mr4555367a91.36.1723847341797; Fri, 16 Aug 2024 15:29:01 -0700 (PDT) Received: from jrb-desktop.mirage.percipient.ai (72-164-150-194.dia.static.qwest.net. [72.164.150.194]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2d3c3e5b9fdsm4640330a91.40.2024.08.16.15.29.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Aug 2024 15:29:01 -0700 (PDT) To: ffmpeg-devel@ffmpeg.org Date: Fri, 16 Aug 2024 15:28:48 -0700 Message-ID: <20240816222849.603644-1-jerome@percipient.ai> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-CLOUD-SEC-AV-Sent: true X-CLOUD-SEC-AV-Info: donwilliamspercipientai,google_mail,monitor X-Gm-Spam: 0 X-Gm-Phishy: 0 X-CLOUD-SEC-AV-Sent: true X-CLOUD-SEC-AV-Info: donwilliamspercipientai,google_mail,monitor X-Gm-Spam: 0 X-Gm-Phishy: 0 Subject: [FFmpeg-devel] [PATCH 0/1] Explanation for "Add option to set DASH stream start time" X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jerome Berclaz via ffmpeg-devel From: Jerome Berclaz Reply-To: FFmpeg development discussions and patches Cc: Jerome Berclaz Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: UwGwDtF4zyZC The need for this patch arose while attempting to live stream a DASH feed with low latency. Since I did not use a timeline, having an accurate start time became crucial. Without it, the player might download segments at incorrect times. Currently, the start time is set to the system time, which might not align with when the live feed actually started. This new parameter allows the user to specify the exact value for `availabilityStartTime` in the manifest file. Note that this new parameter is intended for programmatic usage with libavformat. It is not exposed to the `ffmpeg` binary. Jerome Berclaz (1): add option to set DASH stream start time, instead of relying on system clock libavformat/dashenc.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- 2.43.0