demo3.mp4 | ||
LICENSE | ||
Makefile | ||
qt-faststart.c | ||
README.md |
qt-faststart
-
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:
- it uses open/close/lseek/read from
fcntl.h
instead of flose/fopen/fseeko/ftello. - it read/modify/write mp4 file in-place instead of writing output into another file.
- 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)
- it uses open/close/lseek/read from
To compile:
Run make
To use:
./qt-faststart demo3.mp4
Easy, right?