ffmpeg、libav、avconv有什么异同? [英] What are the differences and similarities between ffmpeg, libav, and avconv?

查看:21
本文介绍了ffmpeg、libav、avconv有什么异同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在 Ubuntu 上运行 ffmpeg 时,它显示:

When I run ffmpeg on Ubuntu, it shows:

$ ffmpeg 
ffmpeg version v0.8, Copyright (c) 2000-2011 the Libav developers
  built on Feb 28 2012 13:27:36 with gcc 4.6.1
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).

或者显示(取决于 Ubuntu 版本):

Or it shows (depending on the Ubuntu version):

$ ffmpeg
ffmpeg version 0.8.5-6:0.8.5-0ubuntu0.12.10.1, Copyright (c) 2000-2012 the Libav developers
  built on Jan 24 2013 14:49:20 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.

我在 http://libav.org 上找到了 avconv.我只是被他们弄糊涂了.

I found avconv on http://libav.org. I am just perplexed by them.

推荐答案

Libav 已死

上次提交是在 2019 年 8 月 21 日.使用 FFmpeg.

Libav is dead

Last commit was on 2019-08-21. Use FFmpeg.

问题中提到的信息相当具有误导性,并且可以理解是造成混乱的根源.

The messages mentioned in the question are rather misleading and understandably a source of confusion.

分叉基本上是 FFmpeg 社区内个性和开发风格冲突的非友好结果.

The fork was basically a non-amicable result of conflicting personalities and development styles within the FFmpeg community.

有一段时间,Libav 和 FFmpeg 分别开发了自己的 ffmpeg 版本.

For a while both Libav and FFmpeg separately developed their own version of ffmpeg.

Libav 然后将他们的 bizarro ffmpeg 重命名为 avconv 以与 FFmpeg 项目保持距离.过渡时期不再发展".显示消息告诉用户开始使用 avconv 而不是他们的 ffmpeg 的假冒版本.这让用户误以为 FFmpeg(该项目)已死,这是不正确的.用词不当,但我无法想象 Libav 不会期待普通用户的这种反应.

Libav then renamed their bizarro ffmpeg to avconv to distance themselves from the FFmpeg project. During the transition period the "not developed anymore" message was displayed to tell users to start using avconv instead of their counterfeit version of ffmpeg. This confused users into thinking that FFmpeg (the project) is dead, which is not true. A bad choice of words, but I can't imagine Libav not expecting such a response by general users.

当伪造的ffmpeg"出现在上游时,这条消息被删除了.终于从 Libav 源码中删除了.

This message was removed upstream when the fake "ffmpeg" was finally removed from the Libav source.

2012 年 6 月,该消息被重新措辞 在 Ubuntu 中用于包 libav - 4:0.8.3-0ubuntu0.12.04.1.不幸的是,新的已弃用"消息引起了额外的用户混淆.

In June 2012, the message was re-worded in Ubuntu for the package libav - 4:0.8.3-0ubuntu0.12.04.1. Unfortunately the new "deprecated" message has caused additional user confusion.

从 Ubuntu 15.04 Vivid Vervet"开始,FFmpeg 的 ffmpeg返回到存储库.

Starting with Ubuntu 15.04 "Vivid Vervet", FFmpeg's ffmpeg is returned to the repositories.

为了使问题更加复杂,Libav 选择了一个 FFmpeg 历史上用来指代其库的名称(libavcodec、libavformat 等).例如 libav-user 邮件列表,用于有关使用 FFmpeg 的问题和讨论库,与 Libav 项目无关.

To further complicate matters, Libav chose a name that was historically used by FFmpeg to refer to its libraries (libavcodec, libavformat, etc). For example the libav-user mailing list, for questions and discussions about using the FFmpeg libraries, is unrelated to the Libav project.

如果您使用的是 avconv,那么您使用的是 Libav.如果您使用的是 ffmpeg,您可能使用的是 FFmpeg 或 Libav.请参阅控制台输出中的第一行以区分不同之处:版权声明将提及 FFmpeg 或 Libav.

If you are using avconv then you are using Libav. If you are using ffmpeg you could be using FFmpeg or Libav. Refer to the first line in the console output to tell the difference: the copyright notice will either mention FFmpeg or Libav.

其次,版本编号方案不同.每个 FFmpeg 或 Libav 库都包含一个显示版本号的 version.h 标头.FFmpeg 将以三位数字结尾,例如 57.67.100,而 Libav 将以一位数字结尾,例如 57.67.0.您还可以通过运行 ffmpegavconv 并查看控制台输出来查看库版本号.

Secondly, the version numbering schemes differ. Each of the FFmpeg or Libav libraries contains a version.h header which shows a version number. FFmpeg will end in three digits, such as 57.67.100, and Libav will end in one digit such as 57.67.0. You can also view the library version numbers by running ffmpeg or avconv and viewing the console output.

有关这种情况的有趣博客文章,以及有关项目之间主要技术差异的讨论,请参阅 FFmpeg/Libav 情况.

For an interesting blog article on the situation, as well as a discussion about the main technical differences between the projects, see The FFmpeg/Libav situation.

这篇关于ffmpeg、libav、avconv有什么异同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆