From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A411C488BE for ; Thu, 20 Jun 2024 13:46:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5CCEF68D871; Thu, 20 Jun 2024 16:46:31 +0300 (EEST) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 280F268D835 for ; Thu, 20 Jun 2024 16:46:24 +0300 (EEST) Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-52c82101407so1478793e87.3 for ; Thu, 20 Jun 2024 06:46:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1718891183; x=1719495983; darn=ffmpeg.org; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=W0rKIUSK6/mN2eg0jEURgz7wqr/GPNxE9+eWgSJt8rU=; b=FNgdwhU5VTS+ffTh5z8Pz/j6VI9c66oVWmFhQvIJwKMz411U/gPOMXx7z0eYbpcJ/g GSLKZJCi+M00ZEe9VwHGfDFC6ndwuOyDRfBvg6eEmyHt/NWwkucintiVi2wnlzk3dHAv qLb19YUvMQ4r91ulcTo3G2oBoSemwgjHmLa9crogphaKg+HFjQak4bkTR6AX3Ji3lsfR 4Xt9U0FnsFCK0MDONCtHykVWGfV26x10kBAZKyC2xOw2qlZAupV6clf6nsN9/H5gi0Mn XFKwVCY6zW3+jBkzUZd1kAfudmuk10b80VLqvqo3c+/i878uvAzA7R4H0S1BVugN5V/j r9OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718891183; x=1719495983; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=W0rKIUSK6/mN2eg0jEURgz7wqr/GPNxE9+eWgSJt8rU=; b=vBC4CQzQXHVtxRC9IBVDEd2Pu43dYKrz75Gh59DmhD1dViPqer9Unz+ClY9u7olofi KazTSazBtUaVfgxcvpG7FWA/34RkYaV/D8nQRrOuDm7lrSdugHSgr4eQFysto6bE+fD7 5+UYApyL7i4Mwp2qW6RBkSvnSxxRHJ8bfWhKi4qsrRyc6yjnLdu0LeKCdpSWGMWDgyix kOy/PiWe3K3Xpmo2ue32KMGd7hO5+2iUHCj3yu6WHaSphnbkIALDnlUFkNl+jjYnAaDg HLkM2fRzxEEaZVUAJjSgY94aLqY5eYBE1gK2iZDfcM/+2haQpwq4QuHYovVUm6Qtmvok Q9bg== X-Gm-Message-State: AOJu0YyUFmt8X47Die9o9tpQKziXvj4ZcKVN80NuzjDYHJ817URCitbO m18+U73VjxvJnHnAnZoO2mxi2o+H6GKWdZPausH84HB22h6l8+LQ7wYMBnvuE+re0j3xlKL5kh8 oAA== X-Google-Smtp-Source: AGHT+IFKjeirah4faPknSTNUjFeTrLFew/1zS54BaREuW83vb0Pt9tLJGlMhJgN/F9i/3C+nalnPig== X-Received: by 2002:a19:5f0a:0:b0:52b:c08d:2da4 with SMTP id 2adb3069b0e04-52ccaa33c19mr3691286e87.25.1718891179072; Thu, 20 Jun 2024 06:46:19 -0700 (PDT) Received: from tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net (tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:11::2]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52ca2887d56sm2050782e87.263.2024.06.20.06.46.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 06:46:18 -0700 (PDT) Date: Thu, 20 Jun 2024 16:46:17 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: ffmpeg-devel@ffmpeg.org In-Reply-To: <20240619130639.22693-1-martin@martin.st> Message-ID: <16cf6860-4d4-d17-62ee-5832e5d9e6c@martin.st> References: <20240619130639.22693-1-martin@martin.st> MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH v3] movenc: Add an option for resilient, hybrid fragmented/non-fragmented muxing 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: , Reply-To: FFmpeg development discussions and patches Cc: dennis@obsproject.com, timo@rothenpieler.org, ffmpeg@gyani.pro Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Wed, 19 Jun 2024, Martin Storsj=F6 wrote: > This allows ending up with a normal, non-fragmented file when > the file is finished, while keeping the file readable if writing > is aborted abruptly at any point. (Normally when writing a > mov/mp4 file, the unfinished file is completely useless unless it > is finished properly.) > > This results in a file where the mdat atom contains (and hides) > all the moof atoms that were part of the fragmented file structure > initially. > --- > v3: Renamed the option to hybrid_fragmented. > --- > doc/muxers.texi | 11 ++++++ > libavformat/movenc.c | 62 +++++++++++++++++++++++++++++++--- > libavformat/movenc.h | 4 ++- > libavformat/version.h | 4 +-- > tests/fate/lavf-container.mak | 3 +- > tests/ref/lavf/mov_hybrid_frag | 3 ++ > 6 files changed, 78 insertions(+), 9 deletions(-) > create mode 100644 tests/ref/lavf/mov_hybrid_frag If there are no more comments on this one, I'll go ahead and push it soon. // Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".