OLD | NEW |
1 Contains the sources used to compile FFmpeg binaries used by Google Chrome and | 1 Contains the sources used to compile FFmpeg binaries used by Google Chrome and |
2 Chromium. | 2 Chromium. |
3 | 3 |
4 The FFmpeg source is from Alexander Strange's ffmpeg-mt branch: | 4 The FFmpeg source is from Alexander Strange's ffmpeg-mt branch: |
5 git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git | 5 git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git |
6 Date: Oct 10 2010 | 6 Date: Oct 10 2010 |
7 Commit: 3f7521893b9072181763ea176ef8da0c0ad1922a | 7 Commit: 3f7521893b9072181763ea176ef8da0c0ad1922a |
8 This corresponds to r25432 in the mainline ffmpeg repository. | 8 This corresponds to r25432 in the mainline ffmpeg repository. |
9 | 9 |
10 libvpx source | 10 libvpx source |
(...skipping 30 matching lines...) Expand all Loading... |
41 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/06_remove_deco
de_on_config_no_svq3.patch | 41 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/06_remove_deco
de_on_config_no_svq3.patch |
42 patch -p1 --no-backup-if-mismatch < ../patches/ugly/07_get_bits_overrun.p
atch | 42 patch -p1 --no-backup-if-mismatch < ../patches/ugly/07_get_bits_overrun.p
atch |
43 patch -p1 --no-backup-if-mismatch < ../patches/ugly/08_enforce_theora_oob
.patch | 43 patch -p1 --no-backup-if-mismatch < ../patches/ugly/08_enforce_theora_oob
.patch |
44 patch -p1 --no-backup-if-mismatch < ../patches/ugly/09_enforce_vorbis_oob
_divzero.patch | 44 patch -p1 --no-backup-if-mismatch < ../patches/ugly/09_enforce_vorbis_oob
_divzero.patch |
45 patch -p1 --no-backup-if-mismatch < ../patches/ugly/10_aac_oob_read.patch | 45 patch -p1 --no-backup-if-mismatch < ../patches/ugly/10_aac_oob_read.patch |
46 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/11_mkv_buffer_
overflow.patch | 46 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/11_mkv_buffer_
overflow.patch |
47 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/12_ogg_seek_to
_zero.patch | 47 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/12_ogg_seek_to
_zero.patch |
48 patch -p1 --no-backup-if-mismatch < ../patches/ugly/13_remove_avcore.patc
h | 48 patch -p1 --no-backup-if-mismatch < ../patches/ugly/13_remove_avcore.patc
h |
49 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/14_vp8_encode_
options.patch | 49 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/14_vp8_encode_
options.patch |
50 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/15_webp_ffmpeg
.patch | 50 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/15_webp_ffmpeg
.patch |
| 51 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/16_neon_offset
s.patch |
51 cd .. | 52 cd .. |
52 | 53 |
53 There is also a script "make_src_tree.sh" that automates most of the steps | 54 There is also a script "make_src_tree.sh" that automates most of the steps |
54 above for you. It is currently only tested on linux. | 55 above for you. It is currently only tested on linux. |
55 | 56 |
56 NOTE: Under Windows it is recommended to use Chromium's MinGW/MSYS environment | 57 NOTE: Under Windows it is recommended to use Chromium's MinGW/MSYS environment |
57 or 7-Zip to extract the archives. We've experienced issues when using WinRAR. | 58 or 7-Zip to extract the archives. We've experienced issues when using WinRAR. |
58 | 59 |
59 Since FFmpeg is sandboxed inside the render process, we're only interested in | 60 Since FFmpeg is sandboxed inside the render process, we're only interested in |
60 building the absolute minimum. | 61 building the absolute minimum. |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 diff -rpu -N orig ffmpeg-mt >patches/to_upstream/14_vp8_encode_options.pa
tch | 230 diff -rpu -N orig ffmpeg-mt >patches/to_upstream/14_vp8_encode_options.pa
tch |
230 | 231 |
231 rm -rf orig | 232 rm -rf orig |
232 cp -R ffmpeg-mt orig | 233 cp -R ffmpeg-mt orig |
233 cd ffmpeg-mt | 234 cd ffmpeg-mt |
234 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/15_webp_ffmpeg
.patch | 235 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/15_webp_ffmpeg
.patch |
235 cd .. | 236 cd .. |
236 diff -rpu -N orig ffmpeg-mt | 237 diff -rpu -N orig ffmpeg-mt |
237 diff -rpu -N orig ffmpeg-mt >patches/to_upstream/15_webp_ffmpeg.patch | 238 diff -rpu -N orig ffmpeg-mt >patches/to_upstream/15_webp_ffmpeg.patch |
238 | 239 |
| 240 rm -rf orig |
| 241 cp -R ffmpeg-mt orig |
| 242 cd ffmpeg-mt |
| 243 patch -p1 --no-backup-if-mismatch < ../patches/to_upstream/16_neon_offset
s.patch |
| 244 cd .. |
| 245 diff -rpu -N orig ffmpeg-mt |
| 246 diff -rpu -N orig ffmpeg-mt >patches/to_upstream/16_neon_offsets.patch |
| 247 |
239 Testing | 248 Testing |
240 Updates should be tested against | 249 Updates should be tested against |
241 http://wiki.xiph.org/TheoraTestsuite | 250 http://wiki.xiph.org/TheoraTestsuite |
242 WebKit Layout Tests | 251 WebKit Layout Tests |
243 http://www.chromium.org/developers/testing/webkit-layout-tests | 252 http://www.chromium.org/developers/testing/webkit-layout-tests |
244 make -j16 -r test_shell BUILDTYPE=Debug | 253 make -j16 -r test_shell BUILDTYPE=Debug |
245 ./src/webkit/tools/layout_tests/run_webkit_tests.sh --debug media/\* | 254 ./src/webkit/tools/layout_tests/run_webkit_tests.sh --debug media/\* |
246 | 255 |
OLD | NEW |