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

Unified Diff: third_party/ffmpeg/README.chromium

Issue 115625: Checking in FFmpeg sources. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/ffmpeg/ffmpeg-mt.tar.gz » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/ffmpeg/README.chromium
diff --git a/third_party/ffmpeg/README.chromium b/third_party/ffmpeg/README.chromium
new file mode 100644
index 0000000000000000000000000000000000000000..0064ed9e20f1ea313ae957a16e649c0f35aa61cd
--- /dev/null
+++ b/third_party/ffmpeg/README.chromium
@@ -0,0 +1,37 @@
+Contains the sources used to compile FFmpeg binaries used by Google Chrome and
+Chromium.
+
+The FFmpeg source is from Alexander Strange's ffmpeg-mt branch:
+ git://gitorious.org/~astrange/ffmpeg/ffmpeg-mt.git
+ Commit: 42b521db9177ed2d4e62845659fdcd44c59757f9
+
+The libswscale source is from the public libswscale repository:
+ git://git.ffmpeg.org/libswscale
+ Commit: 69fc1002e2c92aac84dccc5047141feefc94b309
+
+Since FFmpeg is sandboxed inside the render process, we're only interested in
+building the absolute minimum.
+
+Example configure flags suitable for Chromium (Ogg+Theora+Vorbis), which will
+build and install to the directory ./chromium-ffmpeg:
+ ./configure --disable-ffmpeg --disable-ffplay --disable-ffserver \
+ --enable-shared --disable-static --disable-debug \
+ --enable-pthreads --disable-network --disable-encoders \
+ --disable-decoders --disable-hwaccels --disable-muxers \
+ --disable-demuxers --disable-parsers --disable-bsfs \
+ --disable-protocols --disable-devices --disable-filters \
+ --enable-decoder=theora --enable-decoder=vorbis \
+ --enable-demuxer=ogg \
+ --prefix=./chromium-ffmpeg
+
+If building on Windows with Chromium's MinGW/MSYS environment, add the following:
+ --cc=gcc-sjlj --enable-memalign-hack
+
+To build:
+ make
+
+To install:
+ make install
+
+Copy the resulting avcodec-52.dll, avformat-52.dll and avutil-50.dll alongside
+chrome.exe.
« no previous file with comments | « no previous file | third_party/ffmpeg/ffmpeg-mt.tar.gz » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698