1 Star 0 Fork 1

dengly/webrtc-ffmpeg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
README.chromium 3.51 KB
一键复制 编辑 原始数据 按行查看 历史
Dale Curtis 提交于 2023-11-22 00:24 . README.chromium file
Name: ffmpeg
URL: http://ffmpeg.org/
License: LGPL 2.1
License File: CREDITS.chromium
Shipped: yes
Upstream Git: git://source.ffmpeg.org/ffmpeg.git
Last Upstream Merge: c961ac4b0ca27d451c430553793b3fff88fc78e5, Nov 21 2023
This file documents the layout of the Chromium copy of FFmpeg, some common
tasks, and how to create the build files and related configurations.
FFmpeg Layout:
==============
Chromium's copy of FFmpeg is a fork of the upstream git repository, see the
tags above for the latest merged upstream revision. All of the
Chromium-specific bits, minus the gn files, are located under the chromium/
folder off the root.
BUILD.gn: Has the targets for building FFmpeg for Chrome.
ffmpeg_generated.gni: Pregenerated listing of files necessary to build
every platform. See chromium/scripts/generate_gn.py for more details.
chromium/scripts: Utilities for building the gn and config files.
chromium/config/...: Pregenerated FFmpeg config options for each platform
and architecture; e.g., ChromeOS: ARM-Neon, Linux: X64, etc.
chromium/patches/README: Details of Chromium-specific changes that haven't
yet made it upstream.
Help w/ Common Tasks:
=====================
-- Submitting changes to Chromium's FFmpeg Git repository.
The goal of Chromium's FFmpeg repository is to just be a mirror of the upstream
Git repository. This means every change made must be upstreamed. If you make
a change, please add an entry to chromium/patches/README with a link to the
tracking issue and code review for your change. Reviews are performed with
Gerrit at https://chromium-review.googlesource.com.
1) Create a branch and make a local, single commit. Gerrit differs from
Rietveld in that you must have a single commit, so use git commit --amend
if you need to make changes. Verify that your commit contains a
Change-Id field, which is how Gerrit coalesces separate patch sets into the
same code review.
2) Upload for review:
git cl upload
3) Commit via https://chromium-review.googlesource.com once approved.
4) If needed, submit a Chromium-side change to update DEPS.
-- Upstreaming a patch.
<checkout copy of upstream repo>
git checkout <hash of last Chromium FFmpeg, see tag above> -b my_patch
git apply <patch. pulled from code review or cherry-picked from this repo>
git rebase origin/master
< Follow FFmpeg guide: http://ffmpeg.org/developer.html#Submitting-patches-1 >
Once your change has been upstreamed, please update the chromium/patches/README
file with the status. The next time an upstream merge is done, the committer
will clear out all the patches which have been upstreamed.
-- Cherry-picking a patch from upstream.
# Tell our repo about the upstream one.
git remote add upstream git://source.ffmpeg.org/ffmpeg.git
git fetch upstream
# Create a new branch based off of master for committing our patch.
git checkout origin/master -b my_new_branch
# Pull the patch out of upstream.
git cherry-pick -x <hash of commit in upstream>
<Follow rest of "Submitting changes to Chromium's FFmpeg Git repository.">
Performing An Upstream Merge
============================
Currently this is an extremely tedious process that requires access to a Linux,
Mac, and Windows development machine and lot of blood, sweat, and tears.
The instructions are also prone to going stale, so in the interest of
collaboration and sharing tips we have moved to a public document:
https://docs.google.com/a/chromium.org/document/d/14bqZ9NISsyEO3948wehhJ7wc9deTIz-yHUhF1MQp7Po/edit#
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dengly/webrtc-ffmpeg.git
git@gitee.com:dengly/webrtc-ffmpeg.git
dengly
webrtc-ffmpeg
webrtc-ffmpeg
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385