1.下载:https://bitbucket.org/chromiumembedded/cef/wiki/BranchesAndBuilding 差不多15G
2.编译:https://bitbucket.org/chromiumembedded/cef/wiki/AutomatedBuildSetup.md#markdown-header-246-platform-builder 耗时差不多10小时
3.修改内容: /chromium/src/third_party/ffmpeg/chromium/config/Chromium/mac/x64/config.h 后面添加
--enable-decoder=‘rv10,rv20,rv30,rv40,cook,h263,h263i,mpeg4,msmpeg4v1,msmpeg4v2,msmpeg4v3,amrnb,amrwb,ac3,flv‘ --enable-demuxer=‘rm,mpegvideo,avi,avisynth,h263,aac,amr,ac3,flv,mpegts,mpegtsraw‘ --enable-parser=‘mpegvideo,rv30,rv40,h263,mpeg4video,ac3‘
4.编译参数修改:chromium/src/out/Release_GN_x64/args.gn 添加 proprietary_codecs = true
时间: 2024-11-05 11:55:18