OLD | NEW |
(Empty) | |
| 1 Contains the sources used to compile FFmpeg binaries used by Google Chrome and |
| 2 Chromium. |
| 3 |
| 4 The FFmpeg source is from Alexander Strange's ffmpeg-mt branch: |
| 5 git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git |
| 6 Commit: 42b521db9177ed2d4e62845659fdcd44c59757f9 |
| 7 |
| 8 The libswscale source is from the public libswscale repository: |
| 9 git://git.ffmpeg.org/libswscale |
| 10 Commit: 69fc1002e2c92aac84dccc5047141feefc94b309 |
| 11 |
| 12 Since FFmpeg is sandboxed inside the render process, we're only interested in |
| 13 building the absolute minimum. |
| 14 |
| 15 Example configure flags suitable for Chromium (Ogg+Theora+Vorbis), which will |
| 16 build and install to the directory ./chromium-ffmpeg: |
| 17 ./configure --disable-ffmpeg --disable-ffplay --disable-ffserver \ |
| 18 --enable-shared --disable-static --disable-debug \ |
| 19 --enable-pthreads --disable-network --disable-encoders \ |
| 20 --disable-decoders --disable-hwaccels --disable-muxers \ |
| 21 --disable-demuxers --disable-parsers --disable-bsfs \ |
| 22 --disable-protocols --disable-devices --disable-filters \ |
| 23 --enable-decoder=theora --enable-decoder=vorbis \ |
| 24 --enable-demuxer=ogg \ |
| 25 --prefix=./chromium-ffmpeg |
| 26 |
| 27 If building on Windows with Chromium's MinGW/MSYS environment, add the following
: |
| 28 --cc=gcc-sjlj --enable-memalign-hack |
| 29 |
| 30 To build: |
| 31 make |
| 32 |
| 33 To install: |
| 34 make install |
| 35 |
| 36 Copy the resulting avcodec-52.dll, avformat-52.dll and avutil-50.dll alongside |
| 37 chrome.exe. |
OLD | NEW |