On 08/20/2013 07:38 AM, John Stebbins wrote:
> On 08/20/2013 07:09 AM, Martin Storsjö wrote:
>> On Mon, 19 Aug 2013, John Stebbins wrote:
>>
>>> From: Clément Bœsch <[email protected]>
>>>
>>> Faststart moves moov atom to beginning of file and rewrites the reset of
>>> the file after muxing is complete.
>>> ---
>>> libavformat/movenc.c | 139 
>>> +++++++++++++++++++++++++++++++++++++++++++++++++--
>>> libavformat/movenc.h |   3 ++
>>> 2 files changed, 138 insertions(+), 4 deletions(-)
>> This still is missing a check for the custom io flag. Sure, you probably 
>> won't try to enable this flag in that setup, but I'd like to have that 
>> clearly pointed out.
>>
>>
> It's there... it disables faststart if custom io is set.
>
> +        if ((mov->flags & FF_MOV_FLAG_FRAGMENT) ||
> +            (s->flags & AVFMT_FLAG_CUSTOM_IO))
> +            mov->flags &= ~FF_MOV_FLAG_FASTSTART;
>

Patch to update muxer doc with faststart option

-- 
John      GnuPG fingerprint: D0EC B3DB C372 D1F1 0B01  83F0 49F1 D7B2 60D4 D0F7

From 1a8129091cc2ef06f2ce4716a1a94c9b5773077e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <[email protected]>
Date: Tue, 20 Aug 2013 08:17:12 -0700
Subject: [PATCH] movenc: add faststart option documentation

---
 doc/muxers.texi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/muxers.texi b/doc/muxers.texi
index 742e72a..f255d3a 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -239,6 +239,10 @@ more efficient), but with this option set, the muxer writes one moof/mdat
 pair for each track, making it easier to separate tracks.
 
 This option is implicitly set when writing ismv (Smooth Streaming) files.
+@item -movflags faststart
+Run a second pass moving the moov atom on top of the file. This
+operation can take a while, and will not work in various situations such
+as fragmented output, thus it is not enabled by default.
 @end table
 
 Smooth Streaming content can be pushed in real time to a publishing
-- 
1.8.3.1

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to