On Fri, 28 Feb 2014, Martin Storsjö wrote:

On Thu, 27 Feb 2014, [email protected] wrote:

From: Jan Ehrhardt <[email protected]>

qt-faststart is terribly slow when the input file and the output file
are on a slow disk like a SD card. By increasing the copy_buffer from
1K to 32M I decreased the processing time on a sample file from
1600 seconds to 4 seconds. The timing difference is during 'copying
rest of file'.

I explicitly tested this, on an SD card, on a windows 8.1 laptop, and there was no measurable speedup by this patch - running through a 23 MB mp4 file with qt-faststart took around 2 seconds both before and after this patch.

I recall reading something related to the original submission of this patch that it was in an environment where all caching was manually disabled - which IMO is quite a significant detail wrt to the patch.

Still, the default block size can surely be increased from 1 KB to something slightly bigger though.

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

Reply via email to