You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Your New SJW Waifu 54527611fd turbo based 3 years ago
LICENSE turbo based 3 years ago
Makefile turbo based 3 years ago turbo based 3 years ago
demo3.mp4 turbo based 3 years ago
qt-faststart.c turbo based 3 years ago


  • this source code is originated from ffmpeg project. This is the only one C program that read moov atom metada from Quick Time movies file (.mov, mp4) which does not use any external source code and libraries, just standard C Library.

  • The difference from ffmpeg's source code is:

    1. it uses open/close/lseek/read from fcntl.h instead of flose/fopen/fseeko/ftello.
    2. it read/modify/write mp4 file in-place instead of writing output into another file.
    3. it will be merge into nginx_http_mp4_module, in order to play mp4 file immediately instead of downloading the whole file (in case moov atom was placed in the last)

To compile:

Run make

To use:

./qt-faststart demo3.mp4

Easy, right?