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.
|
3 years ago | |
---|---|---|
LICENSE | 3 years ago | |
Makefile | 3 years ago | |
README.md | 3 years ago | |
demo3.mp4 | 3 years ago | |
qt-faststart.c | 3 years ago |
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?