playwright/browser_patches/ffmpeg
Andrey Lushnikov 29b809887e
devops: fix running docker when executed from cronjob (#3822)
Turns out docker doesn't like faking terminal if STDIN is not attached
to a real terminal.
2020-09-09 17:27:14 -07:00
..
.gitignore devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
archive.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
BUILD_NUMBER devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
build-mac.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
build.sh devops: fix running docker when executed from cronjob (#3822) 2020-09-09 17:27:14 -07:00
clean.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
CONFIG.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
crosscompile-from-linux-to-win.sh devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00
README.md devops: produce ffmpeg builds on bots (#3820) 2020-09-09 17:05:08 -07:00

Playwright and FFMPEG

Playwright requires FFMPEG to produce screncast. Playwright relies on stock FFMPEG on Ubuntu, and bundles FFMPEG binaries for Mac and Windows.

Configuration

We compile libvpx and ffmpeg only. Their source versions and build configurations are defined in //browser_patches/ffmpeg/CONFIG.sh.

Building ffmpeg-mac

Cross-compilation scripts are based on:

Prerequisites:

  • Mac
  • xcode command line tools: xcode-select --install
  • homebrew

Building:

~/playwright$ ./browser_patches/ffmpeg/build.sh --mac

Building ffmpeg-win*

Cross-compilation scripts are based on:

Prerequisites:

Building:

~/playwright$ ./browser_patches/ffmpeg/build.sh --cross-compile-win32
~/playwright$ ./browser_patches/ffmpeg/build.sh --cross-compile-win64