Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(782)

Side by Side Diff: third_party/ffmpeg/README.chromium

Issue 113748: New FFmpeg public API headers to match our source tarball in deps. (Closed)
Patch Set: Fixes Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | third_party/ffmpeg/avcodec-52.def » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This contains FFmpeg's public header files from the output of a "make install" 1 This contains FFmpeg's public header files from the output of a "make install"
2 command. The header files are from FFmpeg revision 18286. 2 command. The header files are from Chromium's copy of FFmpeg.
3 3
4 Steps to reproduce: 4 Steps to reproduce:
5 1) If on Windows, refer to http://ffmpeg.arrozcru.org for environment setup 5 1) If on Windows, refer to our MinGW/MSYS environment setup:
6 2) Check out FFmpeg from their repository 6 http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/mingw/
7 3) ./configure --prefix=/path/to/chrome/src/third_party/ffmpeg 7 2) Grab Chromium's copy of FFmpeg:
8 4) make && make install 8 http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/ffmpeg/
9 5) Remove bin and lib folders, leaving the include folder behind 9 3) Follow the instructions to build and install.
10 4) Go to your install location and copy the following into the Chromium tree:
11 /path/to/install/include/libavcodec
12 /path/to/install/include/libavformat
13 /path/to/install/include/libavutil
10 14
11 The project contains some hand-written DEF files used to generate import 15 The project contains some hand-written DEF files used to generate import
12 libraries to permit dynamically loading FFmpeg. The libaries are linked in 16 libraries to permit dynamically loading FFmpeg. The libaries are linked in
13 using /DELAYLOAD to avoid having the DLLs present at run-time. 17 using /DELAYLOAD to avoid having the DLLs present at run-time.
14 18
15 We don't use the import libraries generated from building FFmpeg because they 19 We don't use the import libraries generated from building FFmpeg because they
16 export every method by ordinal, which makes binary compatability with different 20 export every method by ordinal, which makes binary compatability with different
17 builds of FFmpeg difficult if not impossible. Furthermore, it is much easier 21 builds of FFmpeg difficult if not impossible. Furthermore, it is much easier
18 to update a DEF file instead of rebuilding FFmpeg to generate new import 22 to update a DEF file instead of rebuilding FFmpeg to generate new import
19 libraries. 23 libraries.
20
OLDNEW
« no previous file with comments | « media/filters/ffmpeg_video_decoder.cc ('k') | third_party/ffmpeg/avcodec-52.def » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698