Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify mov faststart #1654

Closed
5 tasks done
m-sundman opened this issue Jul 10, 2023 · 4 comments
Closed
5 tasks done

Clarify mov faststart #1654

m-sundman opened this issue Jul 10, 2023 · 4 comments

Comments

@m-sundman
Copy link

I have a lot of issues to go through, so in order to make it easier for me to help you, I ask that you please try these things first

Operating System

Linux

Steps to reproduce

  1. Click the (?) in Export options -> Enable MOV Faststart, showing "Enable this to allow faster playback of the resulting file. This may cause processing to take a little longer."
  2. Enable MOV Faststart.
  3. Export a large video, perhaps to a (slow) network drive.

Expected behavior

The "processing to take a little longer".

Actual behavior

The processing taking several hours longer. In fact, it takes 3 times as long as without it, because after the initial export it will re-read, and re-write, the whole exported file again, thus tripling the I/O of the exported file.

My suggestion is to change the help text from "Enable this to allow faster playback of the resulting file. This may cause processing to take a little longer." to "Enable this to allow playback without having to read the end of the file. This makes processing use 3 times as much export I/O, which is negligible for small files but might slow down exporting of large files."

Share log

No response

@mifi
Copy link
Owner

mifi commented Jul 10, 2023

TBh I thought that the difference was negligible, when reading threads like this one: https://superuser.com/questions/856025/any-downsides-to-always-using-the-movflags-faststart-parameter

Someone tried Sintel.2010.1080p.mp4 which is a 523 mb (?) file. How large is the file where you're seeing it taking 3 times as long as without it? that's really something else than "a few extra seconds". This is an interesting datapoint, maybe you could provide your findings in the stack overflow post too?

@m-sundman
Copy link
Author

523 MB is tiny. That'll fit into your filesystem cache in RAM. My file was a few hundred gigs.

@m-sundman
Copy link
Author

m-sundman commented Jul 10, 2023

Also, I don't have enough reputation points on stack to reply, but the 2nd highest answer (by thomasrutter) explains what happens in his first bullet point: "A second pass is required. This potentially doubles the amount of disk I/O as data must be read from input, written to disk, then read from disk and re-written. This can be impractical where I/O speed is very slow, such as when writing to a network drive."

And just to clarify, while it doubles the total I/O it triples the export I/O, so if the export filesystem is slow, like when writing to a network drive, that means the whole operation will take 3 times as long.

@mifi
Copy link
Owner

mifi commented Jul 11, 2023

Ok gotcha. I will add a note about this, thanks

@mifi mifi closed this as completed in fdc974b Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants