• Jan Ehrhardt's avatar
    qt-faststart: speedup · f4d9148f
    Jan Ehrhardt authored
    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'.
    
    S:\SD_VIDEO\PRG001>e:\utils\qt-faststart 00005.mp4 5.mp4
    ftyp          0 32
    free         32 8
    mdat         40 13744391
    moov   13744431 141848
     patching stco atom...
     patching stco atom...
     writing ftyp atom...
     writing moov atom...
     copying rest of file...
    
    Execution time: 1576.259 s
    
    S:\SD_VIDEO\PRG001>s:\utils\qt-faststart 00005.mp4 5.mp4
    ftyp          0 32
    free         32 8
    mdat         40 13744391
    moov   13744431 141848
     patching stco atom...
     patching stco atom...
     writing ftyp atom...
     writing moov atom...
     copying rest of file...
    
    Execution time: 3.846 s
    Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
    f4d9148f
Name
Last commit
Last update
..
aviocat.c Loading commit data...
bisect-create Loading commit data...
build_libstagefright Loading commit data...
clean-diff Loading commit data...
cws2fws.c Loading commit data...
enum_options.c Loading commit data...
ffeval.c Loading commit data...
fourcc2pixfmt.c Loading commit data...
graph2dot.c Loading commit data...
ismindex.c Loading commit data...
make_chlayout_test Loading commit data...
missing_codec_desc Loading commit data...
patcheck Loading commit data...
pktdumper.c Loading commit data...
probetest.c Loading commit data...
qt-faststart.c Loading commit data...
trasher.c Loading commit data...
unwrap-diff Loading commit data...
yuvcmp.c Loading commit data...