Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FFmpeg/FFmpeg
base: a8cb21fd62a1
Choose a base ref
...
head repository: FFmpeg/FFmpeg
compare: 59003fe7c064
Choose a head ref
  • 4 commits
  • 2 files changed
  • 3 contributors

Commits on Sep 30, 2012

  1. Copy the full SHA
    13d8783 View commit details
    Browse the repository at this point in the history
  2. qt-faststart: speedup

    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: Michael Niedermayer <michaelni@gmx.at>
    Jan Ehrhardt authored and michaelni committed Sep 30, 2012
    Copy the full SHA
    f4d9148 View commit details
    Browse the repository at this point in the history
  3. qt-faststart: dont allocate a bigger buffer than needed

    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
    michaelni committed Sep 30, 2012
    Copy the full SHA
    610efb6 View commit details
    Browse the repository at this point in the history
  4. qt-faststart: simplify code by using FFMIN

    Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
    michaelni committed Sep 30, 2012
    Copy the full SHA
    59003fe View commit details
    Browse the repository at this point in the history