1. 下载源码
git clone https://git.ffmpeg.org/ffmpeg.git

2. 设置 git 用户的邮箱和姓名
git config --global user.email "email@gmail.com"
git config --global user.name "name"

3. 修改 libavfilter/vf_delogo.c 文件后 commit
git commit -m "libavfilter/vf_delogo: add options start and stop frame number"

commit 927ac32f81e641e3ea78fbdf6a5867f05902ca72 (HEAD -> master)
Author: name <email@gmail.com>
Date: Sat Feb 17 17:04:40 2018 +0800

libavfilter/vf_delogo: add options start and stop frame number

4. 生成 patch 文件
git format-patch -1 927ac32f81e641e3ea78fbdf6a5867f05902ca72 --stdout > ../vf_delogo_add_options.patch

5. 设置 git 的 smtp 参数
git config --global sendemail.from "name <email@gmail.com>"
git config --global sendemail.smtpserver smtp.gmail.com
git config --global sendemail.smtpuser email@gmail.com
git config --global sendemail.smtppass pass
git config --global sendemail.smtpencryption tls
git config --global sendemail.chainreplyto false
git config --global sendemail.smtpserverport 465

6. 发送邮件给 ffmpeg-devel@ffmpeg.org
git send-email ../vf_delogo_add_options.patch

输入 ffmpeg-devel 邮箱地址 ffmpeg-devel@ffmpeg.org, 回车两次就完成.

7.查看是否提交成功

发送邮件过一段时间后,在这里能查到 https://patchwork.ffmpeg.org/project/ffmpeg/list/

有专人进行核实后决定是否采用.

利用 git format-patch 和 git send-email 把修改的 patch 文件发送给 ffmpeg-devel的更多相关文章

  1. How to create and apply a patch with Git

    Creating a patch file with git is quite easy to do, you just need to see how it’s done a few times. ...

  2. Mac下利用(xcode)安装git

    Mac下利用(xcode)安装git 一.AppStore 最安全途径:搜索下载Xcode,(需要AppleID). 其他:直接百度Xcode下载. 二.Xcode 打开Xcode-->Pref ...

  3. linux git patch 和patch以及git diff 命令

    1.git log 查看commit id,修改前为id1,修改后id2 2.根据id1到id2有几次提交来生成几个patch,否则的话会根据所有节点生成很多patch 比如: commit id2 ...

  4. 利用阿里云搭建私有Git服务器

    服务器系统:Centos 6 (查看centos版本命令:lsb_release -a) 客户端系统:Windows 7 一.服务器端安装Git ==通常centos上使用yum源安装的git版本过低 ...

  5. 修改git 提交的用户名和用户Email命令

    首页先查看全局配置:git config --list git config --local --list 法一:使用命令修改git的用户名和提交的邮箱 )修改全局 如果你要修改当前全局的用户名和邮箱 ...

  6. AndroidStudio中利用git下载github或者git.oschina的代码时报错:repository test has failed解决方法

    作者:程序员小冰,CSDN博客:http://blog.csdn.net/qq_21376985 QQ986945193 微博:http://weibo.com/mcxiaobing AndroidS ...

  7. (数据科学学习手札141)利用Learn Git Branching轻松学习git常用操作

    1 简介 大家好我是费老师,Git作为世界上最流行的版本控制系统,可以说是每一位与程序打交道的朋友最值得学习的软件之一.除了管理自己的项目,如果你对参与开源项目感兴趣,那么Git更是联结Github. ...

  8. git使用,Git的skil-map,git配置http/https/socks5代理

    . 检出.克隆库: git clone git://git.openwrt.org/openwrt.git 2. git查看某个文件的修改历史 git log --pretty=oneline 文件名 ...

  9. Git详解之六 Git工具(转)

    Git 工具 现在,你已经学习了管理或者维护 Git 仓库,实现代码控制所需的大多数日常命令和工作流程.你已经完成了跟踪和提交文件的基本任务,并且发挥了暂存区和轻量级的特性分支及合并的威力. 接下来你 ...

随机推荐

  1. MyEclipse项目中,让修改后的Servlet文件立即运行生效方法

    运行的时候用Debug模式发布如图 java 自动生成get set方法的快捷键是什么? Re:在myeclipse中按住shift+alt+s选择 generate getters and sett ...

  2. 使用eclipse粗略统计代码代数【原】

  3. xml实体注入学习

    好久没学习技术了  很多东西都忘了  复习一下 测试代码 <?php $xml = file_get_contents("php://input"); $data = sim ...

  4. 【自适应波束形成】MVDR(Minimum Variance Distortionless Response )笔记

    参考: https://blog.csdn.net/qq_40981790/article/details/80143524 1. MVDR简介(Minimum Variance Distortion ...

  5. Linux基础(一)系统api与库函数的关系

    1. 系统api与库函数的关系 man 2 open 1.1 open 1.2 read/write 实现cat功能 #include <stdio.h> #include <uni ...

  6. 记录MySQL的一些基础操作

    MySQL建表操作 root@localhost 08:05:22> create table stu( -> id int(4) not null, -> name char(20 ...

  7. 深入浅出mybatis之与spring集成

    目录 写在前面 详细配置 1.dataSource(数据源) 2.sqlSessionFactory(Session工厂) 3.Mapper(映射器) 4.TransactionManager(事务管 ...

  8. 随机生成10元素数组并找出最大元素(Java)

    package day01; import java.util.Arrays; import java.util.Random; public class MaxOfArray { public st ...

  9. python中的*和**的用途

    def function_with_one_star(*t):    print(t, type(t)) def function_with_two_stars(**d)    print(d, ty ...

  10. cpp typename关键字

    泛型编程关键字,C#内也有这个概念. 从属名称(dependent names):模板(template)内出现的名称, 相依于某个模板(template)参数, 如T t; 嵌套从属名称(neste ...